cancelBooking
cancelBooking: {
parameters: {
cookie?: never;
header: { Authorization: string };
path?: never;
query?: never;
};
requestBody: {
content: {
"application/json": {
bookingSource?: "SABRE"
| "SABRE_ORDER";
cancelAll: boolean;
cars?: { itemId: string }[];
confirmationId: string;
cruises?: { itemId: string }[];
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: "HALT_ON_ERROR"
| "ALLOW_PARTIAL_CANCEL";
flights?: { itemId: string }[];
flightTicketOperation?: "VOID" | "REFUND";
hotels?: { itemId: string }[];
notification?: {
email?:
| "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
offerItemId?: string;
receivedFrom?: string;
retentionEndDate?: string;
retentionLabel?: string;
retrieveBooking: boolean;
segments?: { id?: string; sequence?: number }[];
targetPcc?: string;
trains?: { itemId: string }[];
};
};
};
responses: {
"200": {
content: {
"application/json": {
booking?: {
accountingItems?: {
airlineCode?: string;
cardNumber?: string;
cardTypeCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationType?: "Refund"
| "Exchange"
| "First Issuance";
currencyCode?: string;
fareAmount?: string;
fareApplicationType?:
| "Single Traveler"
| "All Travelers"
| "Each Traveler";
formOfPaymentType?: | "Unknown"
| "Cash"
| "Check"
| "Check or Cash"
| "Payment Card"
| "Masked Payment Card";
tariffBasisType?: "Domestic"
| "Foreign"
| "International";
taxAmount?: string;
ticketNumber?: string;
travelerIndices?: number[];
}[];
agencyCustomerNumber?: string;
allSegments?: (
{ id: string } & {
address?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
date?: string;
endAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
endDate?: string;
endLocationCode?: string;
endTime?: string;
locationCode?: string;
startAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
startDate?: string;
startLocationCode?: string;
startTime?: string;
text?: string;
time?: string;
type: string;
vendorCode?: string;
}
)[];
bookingId?: string;
cars?: (
{ itemId: string } & {
carStatusCode?: string;
carStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
collectionAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
collectionSite?: { id?: string; name?: string; phone?: string };
confirmationId?: string;
deliveryAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
deliverySite?: { id?: string; name?: string; phone?: string };
distanceAllowance?: string;
dropOffAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
dropOffContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
dropOffDate: string;
dropOffLocationCode?: string;
dropOffTime: string;
guaranteePaymentNote?: string;
isRefundable: boolean;
numberOfVehicles?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
pickUpAddress: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
pickUpContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
pickUpDate: string;
pickUpLocationCode?: string;
pickUpTime: string;
rateCode?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
specialInstructions?: string;
travelerIndex?: number;
vehicleTypeCode?: string;
vehicleTypeName?: | "Two/Three Door"
| "Two/Four Door"
| "Four/Five Door"
| "Wagon/Estate"
| "Passenger Van"
| "Limousine/Sedan"
| "Sport"
| "Convertible"
| "SUV"
| "Open Air All Terrain"
| "Special"
| "Pick up single/extended cab 2 door"
| "Pick up double cab 4 door"
| "Special Offer Car"
| "Coupe"
| "Monospace"
| "Recreational Vehicle"
| "Motor Home"
| "Two Wheel Vehicle"
| "Roadster"
| "Crossover"
| "Commercial Van/Truck";
vendorCode: string;
vendorName: string;
}
)[];
contactInfo?: { emails?: string[] } & {
emergencyPhones?: string[];
faxes?: string[];
phones?: string[];
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
cruises?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime?: string;
cabinNumber?: string;
confirmationId?: string;
cruiseStatusCode?: string;
cruiseStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
departureDate: string;
departureTime?: string;
fromPortCode: string;
numberOfGuests?: number;
shipCode?: string;
shipName?: string;
toPortCode?: string;
vendorCode: string;
}
)[];
endDate?: string;
fareOffers?: {
cabinBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
cabinBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
checkedBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
checkedBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
flights?: { itemId: string }[];
travelerIndices?: number[];
}[];
fareRules?: {
destinationAirportCode?: string;
exchangePenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
isChangeable?: boolean;
isRefundable?: boolean;
originAirportCode?: string;
owningAirlineCode: string;
passengerCode?: string;
refundPenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
}[];
fares?: {
airlineCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
fareCalculationLine?: string;
fareConstruction?: {
baseRate?: { amount: ...; currencyCode: ... };
brandAttributes?: (...)[];
brandFareCode?: string;
brandFareName?: string;
brandProgramCode?: string;
brandProgramName?: string;
checkedBaggageAllowance?: {
baggagePieces?: ...;
maximumPieces?: ...;
totalWeightInKilograms?: ...;
totalWeightInPounds?: ...;
};
fareBasisCode?: string;
flightIndices?: (...)[];
flights?: (...)[];
isCurrentItinerary?: boolean;
}[];
hasValidPricing: boolean;
isNegotiatedFare?: boolean;
pricedTravelerType?: string;
pricingStatusCode?: "A"
| "H";
pricingStatusName?: "Active" | "History";
pricingTypeCode?: "S" | "A" | "M";
pricingTypeName?: "Unknown" | "System" | "Amended" | "Manual";
recordId?: string;
recordTypeCode?: string;
recordTypeName?: string;
requestedTravelerType?: string;
taxBreakdown?: {
taxAmount?: { amount: ...; currencyCode: ... };
taxCode?: string;
}[];
totals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
tourCode?: string;
travelerIndices?: number[];
}[];
flights?: (
{ itemId: string } & {
aircraftTypeCode?: string;
aircraftTypeName?: string;
airlineCode: string;
airlineName?: string;
arrivalDate: string;
arrivalGate?: string;
arrivalTerminalName?: string;
arrivalTime: string;
bookingClass?: string;
cabinTypeCode?: string;
cabinTypeName?: string;
confirmationId?: string;
departureDate: string;
departureGate?: string;
departureTerminalName?: string;
departureTime: string;
distanceInMiles?: number;
durationInMinutes?: number;
flightNumber: number;
flightStatusCode?: string;
flightStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
fromAirportCode: string;
hiddenStopAircraftTypeCode?: string;
hiddenStopAircraftTypeName?: string;
hiddenStopAirportCode?: string;
hiddenStopArrivalDate?: string;
hiddenStopArrivalTime?: string;
hiddenStopDepartureDate?: string;
hiddenStopDepartureTime?: string;
hiddenStops?: {
aircraftTypeCode?: ...;
aircraftTypeName?: ...;
airportCode?: ...;
arrivalDate?: ...;
arrivalTime?: ...;
departureDate?: ...;
departureTime?: ...;
durationInMinutes?: ...;
}[];
identityDocuments?: { itemId?: ...; status?: ... }[];
isPast?: boolean;
meals?: { code: ...; description: ... }[];
numberOfSeats?: number;
operatingAirlineCode?: string;
operatingAirlineName?: string;
operatingFlightNumber?: number;
seats?: {
characteristics?: ...;
number: ...;
statusCode?: ...;
statusName?: ...;
}[];
sourceType?: "NDC"
| "LCC"
| "ATPCO";
toAirportCode: string;
travelerIndices?: number[];
updatedArrivalDate?: string;
updatedArrivalTime?: string;
updatedDepartureDate?: string;
updatedDepartureTime?: string;
}
)[];
flightTickets?: {
agencyIataNumber?: string;
airlineCode: string;
allCoupons?: (
{ couponStatus: ...; couponStatusCode: ... } & { itemId?: ... }
)[];
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
date: string;
flightCoupons: (
{ itemId: ... } & { couponStatus: ...; couponStatusCode: ... }
)[];
number: string;
payment: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
ticketingPcc?: string;
ticketStatusCode?: string;
ticketStatusName?: "Voided"
| "Issued"
| "Refunded/Exchanged";
travelerIndex: number;
}[];
futureTicketingPolicy?: {
comment?: string;
queueNumber?: string;
ticketingDate?: string;
ticketingPcc?: string;
ticketingTime?: string;
};
hotels?: (
{ itemId: string } & {
address: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... } & { cityCode?: ... };
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
chainCode?: string;
chainName?: string;
checkInDate: string;
checkInTime: string;
checkOutDate: string;
checkOutTime: string;
confirmationId?: string;
contactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
corporateDiscountCode?: number;
guaranteePaymentNote?: string;
guaranteeTypeCode?: number;
guaranteeTypeName?: | "Credit card"
| "Travel agency name/address"
| "Travel agency IATA number"
| "Company name/address"
| "Corporate ID/CD number"
| "Virtual card";
hotelName: string;
hotelStatusCode?: string;
hotelStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
isRefundable: boolean;
leadTravelerIndex?: number;
numberOfGuests?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
paymentPolicy?: "DEPOSIT"
| "GUARANTEE"
| "LATE";
propertyId?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
refundPenaltyPolicyCode?: string;
room?: {
agencyCommission?: {
commissionAmount?: ...;
commissionPercentage?: ...;
currencyCode?: ...;
};
description?: string;
productCode?: string;
quantity: number;
roomRate?: { amount: ...; currencyCode: ... };
roomType: string;
roomTypeCode?: string;
travelerIndices?: (...)[];
};
sabrePropertyId?: string;
sourceTypeCode?: number;
sourceTypeName?: | "Unknown"
| "Legacy"
| "Sabre GDS"
| "Expedia Associate Network"
| "HotelBeds.com"
| "Booking.com"
| "CMNet";
specialInstructions?: string;
}
)[];
isCancelable?: boolean;
isTicketed?: boolean;
journeys?: {
departureDate: string;
departureTime: string;
firstAirportCode: string;
lastAirportCode: string;
numberOfFlights: number;
}[];
nonElectronicTickets?: {
date?: string;
ticketingPcc?: string;
ticketingUserCode?: string;
ticketNumber?: string;
ticketStatus?: "Unknown"
| "Active"
| "Inactive";
time?: string;
travelerIndex?: number;
}[];
otherServices?: {
airlineCode?: string;
chainCode?: string;
serviceMessage?: string;
travelerIndex?: number;
vendorCode?: string;
}[];
payments?: {
carTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightCurrentTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: (...) & (...);
agencyIataNumber?: string;
authentications?: (...)[];
cardHolder?: {
address?: ...;
email?: ...;
givenName: ...;
phone?: ...;
surname: ...;
};
companyAddress?: (...) & (...);
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: ...;
amount: ...;
code: ...;
currencyCode: ...;
expiryDateTime: ...;
requestDateTime: ...;
};
netBalance?: string;
tripType?: (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
tripTypes?: (...)[];
type:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useType?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useTypes?: (...)[];
virtualCard?: {
agencyEmail?: ...;
customerAccountCode?: ...;
hotelFax?: ...;
hotelName?: ...;
rateAmount?: ...;
roomDescription?: ...;
roomType?: ...;
virtualCardCharges?: ...;
};
voucher?: { billingNumber?: ...; type?: ... };
}
)[];
hotelTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
trainTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
};
remarks?: {
alphaCode?: string;
text?: string;
type?: | "INVOICE"
| "ITINERARY"
| "GENERAL"
| "HISTORICAL"
| "CLIENT_ADDRESS"
| "ALPHA_CODED"
| "DELIVERY_ADDRESS"
| "HIDDEN"
| "CORPORATE"
| "FORM_OF_PAYMENT"
| "PRINT_ON_TICKET"
| "FILLER_STRIP"
| "INTERFACE"
| "QUEUE_PLACE";
}[];
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code?: string;
flights?: { itemId: string }[];
message?: string;
name?: string;
statusCode?: string;
statusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
travelerIndices?: number[];
}[];
startDate?: string;
trains?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime: string;
confirmationId?: string;
departureDate: string;
departureTime: string;
fromStationCode: string;
fromStationName?: string;
isRefundable?: boolean;
operatingVendorCode?: string;
operatingVendorName?: string;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
toStationCode: string;
toStationName?: string;
trainName?: string;
trainNumber: string;
trainStatusCode?: string;
trainStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
vendorCode: string;
vendorName?: string;
}
)[];
travelers?: {
address?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
ancillaries?: {
airlineCode?: string;
commercialName?: string;
electronicMiscellaneousDocumentNumber?: string;
flightApplicabilityType?: (...) | (...) | (...);
flights?: (...)[];
isCommissionable?: boolean;
isRefundable?: boolean;
itemId?: string;
numberOfItems?: number;
reasonForIssuanceCode?: string;
reasonForIssuanceName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
source?: (...) | (...);
statusCode?: string;
statusName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
subcode?: string;
totals?: {
currencyCode: ...;
fees?: ...;
subtotal?: ...;
taxes?: ...;
total: ...;
};
vendorCode?: string;
}[];
birthDate?: string;
emails?: string[];
formOfPaymentIndices?: number[];
gender?: | "FEMALE"
| "MALE"
| "INFANT_FEMALE"
| "INFANT_MALE"
| "UNDISCLOSED"
| "UNDEFINED";
givenName: string;
identityDocuments?: {
birthDate?: string;
documentNumber?: string;
documentSubType?: (...)
| (...)
| (...);
documentType:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
expiryDate?: string;
flightIndices?: (...)[];
gender?: (...) | (...) | (...) | (...) | (...) | (...);
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
itemId?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceDestinationAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
surname?: string;
}[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: string;
programType?: (...)
| (...)
| (...)
| (...);
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
middleName?: string;
nameAssociationId?: string;
nameReferenceCode?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
remarks?: {
alphaCode?: string;
text?: string;
type?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}[];
surname: string;
type?: | "ADULT"
| "AGENT"
| "AIRLINE"
| "CHILD"
| "EDUCATION"
| "GOVERNMENT"
| "GROUP"
| "INFANT"
| "MILITARY"
| "SENIOR"
| "SPECIAL"
| "YOUTH";
}[];
travelersGroup?: {
itemId?: string;
name?: string;
numberOfTravelers?: number;
numberOfTravelersRemaining?: number;
};
};
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
refundedTickets?: string[];
request?: {
bookingSource?: "SABRE"
| "SABRE_ORDER";
cancelAll: boolean;
cars?: { itemId: string }[];
confirmationId: string;
cruises?: { itemId: string }[];
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: "HALT_ON_ERROR"
| "ALLOW_PARTIAL_CANCEL";
flights?: { itemId: string }[];
flightTicketOperation?: "VOID" | "REFUND";
hotels?: { itemId: string }[];
notification?: {
email?:
| "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
offerItemId?: string;
receivedFrom?: string;
retentionEndDate?: string;
retentionLabel?: string;
retrieveBooking: boolean;
segments?: { id?: string; sequence?: number }[];
targetPcc?: string;
trains?: { itemId: string }[];
};
tickets?: {
exchangePenalties?: (
{
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
} & {
hasNoShowCost?: boolean;
noShowPenalty?: { penalty?: ...; source?: ... };
source?: (...) | (...) | (...) | (...);
}
)[];
isAutomatedRefundsEligible?: boolean;
isChangeable?: boolean;
isRefundable?: boolean;
isVoidable?: boolean;
number?: string;
refundPenalties?: (
{
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
} & {
hasNoShowCost?: boolean;
noShowPenalty?: { penalty?: ...; source?: ... };
source?: (...) | (...) | (...) | (...);
}
)[];
refundTaxes?: { amount: string; taxCode: string }[];
refundTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
}[];
timestamp?: string;
voidedTickets?: string[];
};
};
headers: { [name: string]: unknown };
};
};
}
Type Declaration
parameters: {
cookie?: never;
header: { Authorization: string };
path?: never;
query?: never;
}
Optionalcookie?: never
header: { Authorization: string }
Optionalpath?: never
Optionalquery?: never
requestBody: {
content: {
"application/json": {
bookingSource?: "SABRE" | "SABRE_ORDER";
cancelAll: boolean;
cars?: { itemId: string }[];
confirmationId: string;
cruises?: { itemId: string }[];
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: "HALT_ON_ERROR"
| "ALLOW_PARTIAL_CANCEL";
flights?: { itemId: string }[];
flightTicketOperation?: "VOID" | "REFUND";
hotels?: { itemId: string }[];
notification?: {
email?:
| "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
offerItemId?: string;
receivedFrom?: string;
retentionEndDate?: string;
retentionLabel?: string;
retrieveBooking: boolean;
segments?: { id?: string; sequence?: number }[];
targetPcc?: string;
trains?: { itemId: string }[];
};
};
}
responses: {
"200": {
content: {
"application/json": {
booking?: {
accountingItems?: {
airlineCode?: string;
cardNumber?: string;
cardTypeCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationType?: "Refund"
| "Exchange"
| "First Issuance";
currencyCode?: string;
fareAmount?: string;
fareApplicationType?:
| "Single Traveler"
| "All Travelers"
| "Each Traveler";
formOfPaymentType?: | "Unknown"
| "Cash"
| "Check"
| "Check or Cash"
| "Payment Card"
| "Masked Payment Card";
tariffBasisType?: "Domestic"
| "Foreign"
| "International";
taxAmount?: string;
ticketNumber?: string;
travelerIndices?: number[];
}[];
agencyCustomerNumber?: string;
allSegments?: (
{ id: string } & {
address?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
date?: string;
endAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
endDate?: string;
endLocationCode?: string;
endTime?: string;
locationCode?: string;
startAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
startDate?: string;
startLocationCode?: string;
startTime?: string;
text?: string;
time?: string;
type: string;
vendorCode?: string;
}
)[];
bookingId?: string;
cars?: (
{ itemId: string } & {
carStatusCode?: string;
carStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
collectionAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
collectionSite?: { id?: string; name?: string; phone?: string };
confirmationId?: string;
deliveryAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
deliverySite?: { id?: string; name?: string; phone?: string };
distanceAllowance?: string;
dropOffAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
dropOffContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
dropOffDate: string;
dropOffLocationCode?: string;
dropOffTime: string;
guaranteePaymentNote?: string;
isRefundable: boolean;
numberOfVehicles?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
pickUpAddress: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
pickUpContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
pickUpDate: string;
pickUpLocationCode?: string;
pickUpTime: string;
rateCode?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
specialInstructions?: string;
travelerIndex?: number;
vehicleTypeCode?: string;
vehicleTypeName?: | "Two/Three Door"
| "Two/Four Door"
| "Four/Five Door"
| "Wagon/Estate"
| "Passenger Van"
| "Limousine/Sedan"
| "Sport"
| "Convertible"
| "SUV"
| "Open Air All Terrain"
| "Special"
| "Pick up single/extended cab 2 door"
| "Pick up double cab 4 door"
| "Special Offer Car"
| "Coupe"
| "Monospace"
| "Recreational Vehicle"
| "Motor Home"
| "Two Wheel Vehicle"
| "Roadster"
| "Crossover"
| "Commercial Van/Truck";
vendorCode: string;
vendorName: string;
}
)[];
contactInfo?: { emails?: string[] } & {
emergencyPhones?: string[];
faxes?: string[];
phones?: string[];
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
cruises?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime?: string;
cabinNumber?: string;
confirmationId?: string;
cruiseStatusCode?: string;
cruiseStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
departureDate: string;
departureTime?: string;
fromPortCode: string;
numberOfGuests?: number;
shipCode?: string;
shipName?: string;
toPortCode?: string;
vendorCode: string;
}
)[];
endDate?: string;
fareOffers?: {
cabinBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
cabinBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
checkedBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
checkedBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
flights?: { itemId: string }[];
travelerIndices?: number[];
}[];
fareRules?: {
destinationAirportCode?: string;
exchangePenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
isChangeable?: boolean;
isRefundable?: boolean;
originAirportCode?: string;
owningAirlineCode: string;
passengerCode?: string;
refundPenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
}[];
fares?: {
airlineCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
fareCalculationLine?: string;
fareConstruction?: {
baseRate?: { amount: ...; currencyCode: ... };
brandAttributes?: (...)[];
brandFareCode?: string;
brandFareName?: string;
brandProgramCode?: string;
brandProgramName?: string;
checkedBaggageAllowance?: {
baggagePieces?: ...;
maximumPieces?: ...;
totalWeightInKilograms?: ...;
totalWeightInPounds?: ...;
};
fareBasisCode?: string;
flightIndices?: (...)[];
flights?: (...)[];
isCurrentItinerary?: boolean;
}[];
hasValidPricing: boolean;
isNegotiatedFare?: boolean;
pricedTravelerType?: string;
pricingStatusCode?: "A"
| "H";
pricingStatusName?: "Active" | "History";
pricingTypeCode?: "S" | "A" | "M";
pricingTypeName?: "Unknown" | "System" | "Amended" | "Manual";
recordId?: string;
recordTypeCode?: string;
recordTypeName?: string;
requestedTravelerType?: string;
taxBreakdown?: {
taxAmount?: { amount: ...; currencyCode: ... };
taxCode?: string;
}[];
totals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
tourCode?: string;
travelerIndices?: number[];
}[];
flights?: (
{ itemId: string } & {
aircraftTypeCode?: string;
aircraftTypeName?: string;
airlineCode: string;
airlineName?: string;
arrivalDate: string;
arrivalGate?: string;
arrivalTerminalName?: string;
arrivalTime: string;
bookingClass?: string;
cabinTypeCode?: string;
cabinTypeName?: string;
confirmationId?: string;
departureDate: string;
departureGate?: string;
departureTerminalName?: string;
departureTime: string;
distanceInMiles?: number;
durationInMinutes?: number;
flightNumber: number;
flightStatusCode?: string;
flightStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
fromAirportCode: string;
hiddenStopAircraftTypeCode?: string;
hiddenStopAircraftTypeName?: string;
hiddenStopAirportCode?: string;
hiddenStopArrivalDate?: string;
hiddenStopArrivalTime?: string;
hiddenStopDepartureDate?: string;
hiddenStopDepartureTime?: string;
hiddenStops?: {
aircraftTypeCode?: ...;
aircraftTypeName?: ...;
airportCode?: ...;
arrivalDate?: ...;
arrivalTime?: ...;
departureDate?: ...;
departureTime?: ...;
durationInMinutes?: ...;
}[];
identityDocuments?: { itemId?: ...; status?: ... }[];
isPast?: boolean;
meals?: { code: ...; description: ... }[];
numberOfSeats?: number;
operatingAirlineCode?: string;
operatingAirlineName?: string;
operatingFlightNumber?: number;
seats?: {
characteristics?: ...;
number: ...;
statusCode?: ...;
statusName?: ...;
}[];
sourceType?: "NDC"
| "LCC"
| "ATPCO";
toAirportCode: string;
travelerIndices?: number[];
updatedArrivalDate?: string;
updatedArrivalTime?: string;
updatedDepartureDate?: string;
updatedDepartureTime?: string;
}
)[];
flightTickets?: {
agencyIataNumber?: string;
airlineCode: string;
allCoupons?: (
{ couponStatus: ...; couponStatusCode: ... } & { itemId?: ... }
)[];
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
date: string;
flightCoupons: (
{ itemId: ... } & { couponStatus: ...; couponStatusCode: ... }
)[];
number: string;
payment: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
ticketingPcc?: string;
ticketStatusCode?: string;
ticketStatusName?: "Voided"
| "Issued"
| "Refunded/Exchanged";
travelerIndex: number;
}[];
futureTicketingPolicy?: {
comment?: string;
queueNumber?: string;
ticketingDate?: string;
ticketingPcc?: string;
ticketingTime?: string;
};
hotels?: (
{ itemId: string } & {
address: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... } & { cityCode?: ... };
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
chainCode?: string;
chainName?: string;
checkInDate: string;
checkInTime: string;
checkOutDate: string;
checkOutTime: string;
confirmationId?: string;
contactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
corporateDiscountCode?: number;
guaranteePaymentNote?: string;
guaranteeTypeCode?: number;
guaranteeTypeName?: | "Credit card"
| "Travel agency name/address"
| "Travel agency IATA number"
| "Company name/address"
| "Corporate ID/CD number"
| "Virtual card";
hotelName: string;
hotelStatusCode?: string;
hotelStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
isRefundable: boolean;
leadTravelerIndex?: number;
numberOfGuests?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
paymentPolicy?: "DEPOSIT"
| "GUARANTEE"
| "LATE";
propertyId?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
refundPenaltyPolicyCode?: string;
room?: {
agencyCommission?: {
commissionAmount?: ...;
commissionPercentage?: ...;
currencyCode?: ...;
};
description?: string;
productCode?: string;
quantity: number;
roomRate?: { amount: ...; currencyCode: ... };
roomType: string;
roomTypeCode?: string;
travelerIndices?: (...)[];
};
sabrePropertyId?: string;
sourceTypeCode?: number;
sourceTypeName?: | "Unknown"
| "Legacy"
| "Sabre GDS"
| "Expedia Associate Network"
| "HotelBeds.com"
| "Booking.com"
| "CMNet";
specialInstructions?: string;
}
)[];
isCancelable?: boolean;
isTicketed?: boolean;
journeys?: {
departureDate: string;
departureTime: string;
firstAirportCode: string;
lastAirportCode: string;
numberOfFlights: number;
}[];
nonElectronicTickets?: {
date?: string;
ticketingPcc?: string;
ticketingUserCode?: string;
ticketNumber?: string;
ticketStatus?: "Unknown"
| "Active"
| "Inactive";
time?: string;
travelerIndex?: number;
}[];
otherServices?: {
airlineCode?: string;
chainCode?: string;
serviceMessage?: string;
travelerIndex?: number;
vendorCode?: string;
}[];
payments?: {
carTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightCurrentTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: (...) & (...);
agencyIataNumber?: string;
authentications?: (...)[];
cardHolder?: {
address?: ...;
email?: ...;
givenName: ...;
phone?: ...;
surname: ...;
};
companyAddress?: (...) & (...);
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: ...;
amount: ...;
code: ...;
currencyCode: ...;
expiryDateTime: ...;
requestDateTime: ...;
};
netBalance?: string;
tripType?: (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
tripTypes?: (...)[];
type:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useType?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useTypes?: (...)[];
virtualCard?: {
agencyEmail?: ...;
customerAccountCode?: ...;
hotelFax?: ...;
hotelName?: ...;
rateAmount?: ...;
roomDescription?: ...;
roomType?: ...;
virtualCardCharges?: ...;
};
voucher?: { billingNumber?: ...; type?: ... };
}
)[];
hotelTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
trainTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
};
remarks?: {
alphaCode?: string;
text?: string;
type?: | "INVOICE"
| "ITINERARY"
| "GENERAL"
| "HISTORICAL"
| "CLIENT_ADDRESS"
| "ALPHA_CODED"
| "DELIVERY_ADDRESS"
| "HIDDEN"
| "CORPORATE"
| "FORM_OF_PAYMENT"
| "PRINT_ON_TICKET"
| "FILLER_STRIP"
| "INTERFACE"
| "QUEUE_PLACE";
}[];
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code?: string;
flights?: { itemId: string }[];
message?: string;
name?: string;
statusCode?: string;
statusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
travelerIndices?: number[];
}[];
startDate?: string;
trains?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime: string;
confirmationId?: string;
departureDate: string;
departureTime: string;
fromStationCode: string;
fromStationName?: string;
isRefundable?: boolean;
operatingVendorCode?: string;
operatingVendorName?: string;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
toStationCode: string;
toStationName?: string;
trainName?: string;
trainNumber: string;
trainStatusCode?: string;
trainStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
vendorCode: string;
vendorName?: string;
}
)[];
travelers?: {
address?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
ancillaries?: {
airlineCode?: string;
commercialName?: string;
electronicMiscellaneousDocumentNumber?: string;
flightApplicabilityType?: (...) | (...) | (...);
flights?: (...)[];
isCommissionable?: boolean;
isRefundable?: boolean;
itemId?: string;
numberOfItems?: number;
reasonForIssuanceCode?: string;
reasonForIssuanceName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
source?: (...) | (...);
statusCode?: string;
statusName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
subcode?: string;
totals?: {
currencyCode: ...;
fees?: ...;
subtotal?: ...;
taxes?: ...;
total: ...;
};
vendorCode?: string;
}[];
birthDate?: string;
emails?: string[];
formOfPaymentIndices?: number[];
gender?: | "FEMALE"
| "MALE"
| "INFANT_FEMALE"
| "INFANT_MALE"
| "UNDISCLOSED"
| "UNDEFINED";
givenName: string;
identityDocuments?: {
birthDate?: string;
documentNumber?: string;
documentSubType?: (...)
| (...)
| (...);
documentType:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
expiryDate?: string;
flightIndices?: (...)[];
gender?: (...) | (...) | (...) | (...) | (...) | (...);
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
itemId?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceDestinationAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
surname?: string;
}[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: string;
programType?: (...)
| (...)
| (...)
| (...);
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
middleName?: string;
nameAssociationId?: string;
nameReferenceCode?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
remarks?: {
alphaCode?: string;
text?: string;
type?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}[];
surname: string;
type?: | "ADULT"
| "AGENT"
| "AIRLINE"
| "CHILD"
| "EDUCATION"
| "GOVERNMENT"
| "GROUP"
| "INFANT"
| "MILITARY"
| "SENIOR"
| "SPECIAL"
| "YOUTH";
}[];
travelersGroup?: {
itemId?: string;
name?: string;
numberOfTravelers?: number;
numberOfTravelersRemaining?: number;
};
};
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
refundedTickets?: string[];
request?: {
bookingSource?: "SABRE"
| "SABRE_ORDER";
cancelAll: boolean;
cars?: { itemId: string }[];
confirmationId: string;
cruises?: { itemId: string }[];
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: "HALT_ON_ERROR"
| "ALLOW_PARTIAL_CANCEL";
flights?: { itemId: string }[];
flightTicketOperation?: "VOID" | "REFUND";
hotels?: { itemId: string }[];
notification?: {
email?:
| "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
offerItemId?: string;
receivedFrom?: string;
retentionEndDate?: string;
retentionLabel?: string;
retrieveBooking: boolean;
segments?: { id?: string; sequence?: number }[];
targetPcc?: string;
trains?: { itemId: string }[];
};
tickets?: {
exchangePenalties?: (
{
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
} & {
hasNoShowCost?: boolean;
noShowPenalty?: { penalty?: ...; source?: ... };
source?: (...) | (...) | (...) | (...);
}
)[];
isAutomatedRefundsEligible?: boolean;
isChangeable?: boolean;
isRefundable?: boolean;
isVoidable?: boolean;
number?: string;
refundPenalties?: (
{
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
} & {
hasNoShowCost?: boolean;
noShowPenalty?: { penalty?: ...; source?: ... };
source?: (...) | (...) | (...) | (...);
}
)[];
refundTaxes?: { amount: string; taxCode: string }[];
refundTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
}[];
timestamp?: string;
voidedTickets?: string[];
};
};
headers: { [name: string]: unknown };
};
}
200: {
content: {
"application/json": {
booking?: {
accountingItems?: {
airlineCode?: string;
cardNumber?: string;
cardTypeCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationType?: "Refund"
| "Exchange"
| "First Issuance";
currencyCode?: string;
fareAmount?: string;
fareApplicationType?:
| "Single Traveler"
| "All Travelers"
| "Each Traveler";
formOfPaymentType?: | "Unknown"
| "Cash"
| "Check"
| "Check or Cash"
| "Payment Card"
| "Masked Payment Card";
tariffBasisType?: "Domestic"
| "Foreign"
| "International";
taxAmount?: string;
ticketNumber?: string;
travelerIndices?: number[];
}[];
agencyCustomerNumber?: string;
allSegments?: (
{ id: string } & {
address?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
date?: string;
endAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
endDate?: string;
endLocationCode?: string;
endTime?: string;
locationCode?: string;
startAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
startDate?: string;
startLocationCode?: string;
startTime?: string;
text?: string;
time?: string;
type: string;
vendorCode?: string;
}
)[];
bookingId?: string;
cars?: (
{ itemId: string } & {
carStatusCode?: string;
carStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
collectionAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
collectionSite?: { id?: string; name?: string; phone?: string };
confirmationId?: string;
deliveryAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
deliverySite?: { id?: string; name?: string; phone?: string };
distanceAllowance?: string;
dropOffAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
dropOffContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
dropOffDate: string;
dropOffLocationCode?: string;
dropOffTime: string;
guaranteePaymentNote?: string;
isRefundable: boolean;
numberOfVehicles?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
pickUpAddress: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
pickUpContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
pickUpDate: string;
pickUpLocationCode?: string;
pickUpTime: string;
rateCode?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
specialInstructions?: string;
travelerIndex?: number;
vehicleTypeCode?: string;
vehicleTypeName?: | "Two/Three Door"
| "Two/Four Door"
| "Four/Five Door"
| "Wagon/Estate"
| "Passenger Van"
| "Limousine/Sedan"
| "Sport"
| "Convertible"
| "SUV"
| "Open Air All Terrain"
| "Special"
| "Pick up single/extended cab 2 door"
| "Pick up double cab 4 door"
| "Special Offer Car"
| "Coupe"
| "Monospace"
| "Recreational Vehicle"
| "Motor Home"
| "Two Wheel Vehicle"
| "Roadster"
| "Crossover"
| "Commercial Van/Truck";
vendorCode: string;
vendorName: string;
}
)[];
contactInfo?: { emails?: string[] } & {
emergencyPhones?: string[];
faxes?: string[];
phones?: string[];
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
cruises?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime?: string;
cabinNumber?: string;
confirmationId?: string;
cruiseStatusCode?: string;
cruiseStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
departureDate: string;
departureTime?: string;
fromPortCode: string;
numberOfGuests?: number;
shipCode?: string;
shipName?: string;
toPortCode?: string;
vendorCode: string;
}
)[];
endDate?: string;
fareOffers?: {
cabinBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
cabinBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
checkedBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
checkedBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
flights?: { itemId: string }[];
travelerIndices?: number[];
}[];
fareRules?: {
destinationAirportCode?: string;
exchangePenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
isChangeable?: boolean;
isRefundable?: boolean;
originAirportCode?: string;
owningAirlineCode: string;
passengerCode?: string;
refundPenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
}[];
fares?: {
airlineCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
fareCalculationLine?: string;
fareConstruction?: {
baseRate?: { amount: ...; currencyCode: ... };
brandAttributes?: (...)[];
brandFareCode?: string;
brandFareName?: string;
brandProgramCode?: string;
brandProgramName?: string;
checkedBaggageAllowance?: {
baggagePieces?: ...;
maximumPieces?: ...;
totalWeightInKilograms?: ...;
totalWeightInPounds?: ...;
};
fareBasisCode?: string;
flightIndices?: (...)[];
flights?: (...)[];
isCurrentItinerary?: boolean;
}[];
hasValidPricing: boolean;
isNegotiatedFare?: boolean;
pricedTravelerType?: string;
pricingStatusCode?: "A"
| "H";
pricingStatusName?: "Active" | "History";
pricingTypeCode?: "S" | "A" | "M";
pricingTypeName?: "Unknown" | "System" | "Amended" | "Manual";
recordId?: string;
recordTypeCode?: string;
recordTypeName?: string;
requestedTravelerType?: string;
taxBreakdown?: {
taxAmount?: { amount: ...; currencyCode: ... };
taxCode?: string;
}[];
totals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
tourCode?: string;
travelerIndices?: number[];
}[];
flights?: (
{ itemId: string } & {
aircraftTypeCode?: string;
aircraftTypeName?: string;
airlineCode: string;
airlineName?: string;
arrivalDate: string;
arrivalGate?: string;
arrivalTerminalName?: string;
arrivalTime: string;
bookingClass?: string;
cabinTypeCode?: string;
cabinTypeName?: string;
confirmationId?: string;
departureDate: string;
departureGate?: string;
departureTerminalName?: string;
departureTime: string;
distanceInMiles?: number;
durationInMinutes?: number;
flightNumber: number;
flightStatusCode?: string;
flightStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
fromAirportCode: string;
hiddenStopAircraftTypeCode?: string;
hiddenStopAircraftTypeName?: string;
hiddenStopAirportCode?: string;
hiddenStopArrivalDate?: string;
hiddenStopArrivalTime?: string;
hiddenStopDepartureDate?: string;
hiddenStopDepartureTime?: string;
hiddenStops?: {
aircraftTypeCode?: ...;
aircraftTypeName?: ...;
airportCode?: ...;
arrivalDate?: ...;
arrivalTime?: ...;
departureDate?: ...;
departureTime?: ...;
durationInMinutes?: ...;
}[];
identityDocuments?: { itemId?: ...; status?: ... }[];
isPast?: boolean;
meals?: { code: ...; description: ... }[];
numberOfSeats?: number;
operatingAirlineCode?: string;
operatingAirlineName?: string;
operatingFlightNumber?: number;
seats?: {
characteristics?: ...;
number: ...;
statusCode?: ...;
statusName?: ...;
}[];
sourceType?: "NDC"
| "LCC"
| "ATPCO";
toAirportCode: string;
travelerIndices?: number[];
updatedArrivalDate?: string;
updatedArrivalTime?: string;
updatedDepartureDate?: string;
updatedDepartureTime?: string;
}
)[];
flightTickets?: {
agencyIataNumber?: string;
airlineCode: string;
allCoupons?: (
{ couponStatus: ...; couponStatusCode: ... } & { itemId?: ... }
)[];
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
date: string;
flightCoupons: (
{ itemId: ... } & { couponStatus: ...; couponStatusCode: ... }
)[];
number: string;
payment: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
ticketingPcc?: string;
ticketStatusCode?: string;
ticketStatusName?: "Voided"
| "Issued"
| "Refunded/Exchanged";
travelerIndex: number;
}[];
futureTicketingPolicy?: {
comment?: string;
queueNumber?: string;
ticketingDate?: string;
ticketingPcc?: string;
ticketingTime?: string;
};
hotels?: (
{ itemId: string } & {
address: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... } & { cityCode?: ... };
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
chainCode?: string;
chainName?: string;
checkInDate: string;
checkInTime: string;
checkOutDate: string;
checkOutTime: string;
confirmationId?: string;
contactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
corporateDiscountCode?: number;
guaranteePaymentNote?: string;
guaranteeTypeCode?: number;
guaranteeTypeName?: | "Credit card"
| "Travel agency name/address"
| "Travel agency IATA number"
| "Company name/address"
| "Corporate ID/CD number"
| "Virtual card";
hotelName: string;
hotelStatusCode?: string;
hotelStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
isRefundable: boolean;
leadTravelerIndex?: number;
numberOfGuests?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
paymentPolicy?: "DEPOSIT"
| "GUARANTEE"
| "LATE";
propertyId?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
refundPenaltyPolicyCode?: string;
room?: {
agencyCommission?: {
commissionAmount?: ...;
commissionPercentage?: ...;
currencyCode?: ...;
};
description?: string;
productCode?: string;
quantity: number;
roomRate?: { amount: ...; currencyCode: ... };
roomType: string;
roomTypeCode?: string;
travelerIndices?: (...)[];
};
sabrePropertyId?: string;
sourceTypeCode?: number;
sourceTypeName?: | "Unknown"
| "Legacy"
| "Sabre GDS"
| "Expedia Associate Network"
| "HotelBeds.com"
| "Booking.com"
| "CMNet";
specialInstructions?: string;
}
)[];
isCancelable?: boolean;
isTicketed?: boolean;
journeys?: {
departureDate: string;
departureTime: string;
firstAirportCode: string;
lastAirportCode: string;
numberOfFlights: number;
}[];
nonElectronicTickets?: {
date?: string;
ticketingPcc?: string;
ticketingUserCode?: string;
ticketNumber?: string;
ticketStatus?: "Unknown"
| "Active"
| "Inactive";
time?: string;
travelerIndex?: number;
}[];
otherServices?: {
airlineCode?: string;
chainCode?: string;
serviceMessage?: string;
travelerIndex?: number;
vendorCode?: string;
}[];
payments?: {
carTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightCurrentTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: (...) & (...);
agencyIataNumber?: string;
authentications?: (...)[];
cardHolder?: {
address?: ...;
email?: ...;
givenName: ...;
phone?: ...;
surname: ...;
};
companyAddress?: (...) & (...);
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: ...;
amount: ...;
code: ...;
currencyCode: ...;
expiryDateTime: ...;
requestDateTime: ...;
};
netBalance?: string;
tripType?: (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
tripTypes?: (...)[];
type:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useType?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useTypes?: (...)[];
virtualCard?: {
agencyEmail?: ...;
customerAccountCode?: ...;
hotelFax?: ...;
hotelName?: ...;
rateAmount?: ...;
roomDescription?: ...;
roomType?: ...;
virtualCardCharges?: ...;
};
voucher?: { billingNumber?: ...; type?: ... };
}
)[];
hotelTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
trainTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
};
remarks?: {
alphaCode?: string;
text?: string;
type?: | "INVOICE"
| "ITINERARY"
| "GENERAL"
| "HISTORICAL"
| "CLIENT_ADDRESS"
| "ALPHA_CODED"
| "DELIVERY_ADDRESS"
| "HIDDEN"
| "CORPORATE"
| "FORM_OF_PAYMENT"
| "PRINT_ON_TICKET"
| "FILLER_STRIP"
| "INTERFACE"
| "QUEUE_PLACE";
}[];
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code?: string;
flights?: { itemId: string }[];
message?: string;
name?: string;
statusCode?: string;
statusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
travelerIndices?: number[];
}[];
startDate?: string;
trains?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime: string;
confirmationId?: string;
departureDate: string;
departureTime: string;
fromStationCode: string;
fromStationName?: string;
isRefundable?: boolean;
operatingVendorCode?: string;
operatingVendorName?: string;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
toStationCode: string;
toStationName?: string;
trainName?: string;
trainNumber: string;
trainStatusCode?: string;
trainStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
vendorCode: string;
vendorName?: string;
}
)[];
travelers?: {
address?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
ancillaries?: {
airlineCode?: string;
commercialName?: string;
electronicMiscellaneousDocumentNumber?: string;
flightApplicabilityType?: (...) | (...) | (...);
flights?: (...)[];
isCommissionable?: boolean;
isRefundable?: boolean;
itemId?: string;
numberOfItems?: number;
reasonForIssuanceCode?: string;
reasonForIssuanceName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
source?: (...) | (...);
statusCode?: string;
statusName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
subcode?: string;
totals?: {
currencyCode: ...;
fees?: ...;
subtotal?: ...;
taxes?: ...;
total: ...;
};
vendorCode?: string;
}[];
birthDate?: string;
emails?: string[];
formOfPaymentIndices?: number[];
gender?: | "FEMALE"
| "MALE"
| "INFANT_FEMALE"
| "INFANT_MALE"
| "UNDISCLOSED"
| "UNDEFINED";
givenName: string;
identityDocuments?: {
birthDate?: string;
documentNumber?: string;
documentSubType?: (...)
| (...)
| (...);
documentType:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
expiryDate?: string;
flightIndices?: (...)[];
gender?: (...) | (...) | (...) | (...) | (...) | (...);
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
itemId?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceDestinationAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
surname?: string;
}[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: string;
programType?: (...)
| (...)
| (...)
| (...);
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
middleName?: string;
nameAssociationId?: string;
nameReferenceCode?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
remarks?: {
alphaCode?: string;
text?: string;
type?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}[];
surname: string;
type?: | "ADULT"
| "AGENT"
| "AIRLINE"
| "CHILD"
| "EDUCATION"
| "GOVERNMENT"
| "GROUP"
| "INFANT"
| "MILITARY"
| "SENIOR"
| "SPECIAL"
| "YOUTH";
}[];
travelersGroup?: {
itemId?: string;
name?: string;
numberOfTravelers?: number;
numberOfTravelersRemaining?: number;
};
};
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
refundedTickets?: string[];
request?: {
bookingSource?: "SABRE"
| "SABRE_ORDER";
cancelAll: boolean;
cars?: { itemId: string }[];
confirmationId: string;
cruises?: { itemId: string }[];
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: "HALT_ON_ERROR"
| "ALLOW_PARTIAL_CANCEL";
flights?: { itemId: string }[];
flightTicketOperation?: "VOID" | "REFUND";
hotels?: { itemId: string }[];
notification?: {
email?:
| "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
offerItemId?: string;
receivedFrom?: string;
retentionEndDate?: string;
retentionLabel?: string;
retrieveBooking: boolean;
segments?: { id?: string; sequence?: number }[];
targetPcc?: string;
trains?: { itemId: string }[];
};
tickets?: {
exchangePenalties?: (
{
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
} & {
hasNoShowCost?: boolean;
noShowPenalty?: { penalty?: ...; source?: ... };
source?: (...) | (...) | (...) | (...);
}
)[];
isAutomatedRefundsEligible?: boolean;
isChangeable?: boolean;
isRefundable?: boolean;
isVoidable?: boolean;
number?: string;
refundPenalties?: (
{
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
} & {
hasNoShowCost?: boolean;
noShowPenalty?: { penalty?: ...; source?: ... };
source?: (...) | (...) | (...) | (...);
}
)[];
refundTaxes?: { amount: string; taxCode: string }[];
refundTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
}[];
timestamp?: string;
voidedTickets?: string[];
};
};
headers: { [name: string]: unknown };
}
checkTickets
checkTickets: {
parameters: {
cookie?: never;
header: { Authorization: string };
path?: never;
query?: never;
};
requestBody: {
content: {
"application/json": {
confirmationId?: string;
targetPcc?: string;
tickets?: {
number?: string;
refundQualifiers?: {
commissionAmount?: string;
commissionOnPenalty?: string;
commissionPercentage?: string;
journeyTypeCode?: "F"
| "M"
| "B";
overrideCancelFee?: string;
overrideTaxes?: {
airportTaxBreakdowns?: { airportCode?: ...; taxAmount?: ... }[];
taxAmount?: string;
taxCode?: string;
}[];
splitRefundAmounts?: { amount?: string }[];
tourCode?: string;
waiverCode?: string;
};
}[];
};
};
};
responses: {
"200": {
content: {
"application/json": {
cancelOffers?: {
offerExpirationDate?: string;
offerExpirationTime?: string;
offerItemId?: string;
offerType?: "VOID"
| "REFUND";
refundTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
}[];
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
request?: {
confirmationId?: string;
targetPcc?: string;
tickets?: {
number?: string;
refundQualifiers?: {
commissionAmount?: string;
commissionOnPenalty?: string;
commissionPercentage?: string;
journeyTypeCode?: "F"
| "M"
| "B";
overrideCancelFee?: string;
overrideTaxes?: {
airportTaxBreakdowns?: ...;
taxAmount?: ...;
taxCode?: ...;
}[];
splitRefundAmounts?: { amount?: ... }[];
tourCode?: string;
waiverCode?: string;
};
}[];
};
tickets?: {
exchangePenalties?: (
{
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
} & {
hasNoShowCost?: boolean;
noShowPenalty?: { penalty?: ...; source?: ... };
source?: (...) | (...) | (...) | (...);
}
)[];
isAutomatedRefundsEligible?: boolean;
isChangeable?: boolean;
isRefundable?: boolean;
isVoidable?: boolean;
number?: string;
refundPenalties?: (
{
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
} & {
hasNoShowCost?: boolean;
noShowPenalty?: { penalty?: ...; source?: ... };
source?: (...) | (...) | (...) | (...);
}
)[];
refundTaxes?: { amount: string; taxCode: string }[];
refundTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
}[];
timestamp?: string;
};
};
headers: { [name: string]: unknown };
};
};
}
Type Declaration
parameters: {
cookie?: never;
header: { Authorization: string };
path?: never;
query?: never;
}
Optionalcookie?: never
header: { Authorization: string }
Optionalpath?: never
Optionalquery?: never
requestBody: {
content: {
"application/json": {
confirmationId?: string;
targetPcc?: string;
tickets?: {
number?: string;
refundQualifiers?: {
commissionAmount?: string;
commissionOnPenalty?: string;
commissionPercentage?: string;
journeyTypeCode?: "F" | "M" | "B";
overrideCancelFee?: string;
overrideTaxes?: {
airportTaxBreakdowns?: { airportCode?: ...; taxAmount?: ... }[];
taxAmount?: string;
taxCode?: string;
}[];
splitRefundAmounts?: { amount?: string }[];
tourCode?: string;
waiverCode?: string;
};
}[];
};
};
}
responses: {
"200": {
content: {
"application/json": {
cancelOffers?: {
offerExpirationDate?: string;
offerExpirationTime?: string;
offerItemId?: string;
offerType?: "VOID" | "REFUND";
refundTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
}[];
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
request?: {
confirmationId?: string;
targetPcc?: string;
tickets?: {
number?: string;
refundQualifiers?: {
commissionAmount?: string;
commissionOnPenalty?: string;
commissionPercentage?: string;
journeyTypeCode?: "F"
| "M"
| "B";
overrideCancelFee?: string;
overrideTaxes?: {
airportTaxBreakdowns?: ...;
taxAmount?: ...;
taxCode?: ...;
}[];
splitRefundAmounts?: { amount?: ... }[];
tourCode?: string;
waiverCode?: string;
};
}[];
};
tickets?: {
exchangePenalties?: (
{
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
} & {
hasNoShowCost?: boolean;
noShowPenalty?: { penalty?: ...; source?: ... };
source?: (...) | (...) | (...) | (...);
}
)[];
isAutomatedRefundsEligible?: boolean;
isChangeable?: boolean;
isRefundable?: boolean;
isVoidable?: boolean;
number?: string;
refundPenalties?: (
{
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
} & {
hasNoShowCost?: boolean;
noShowPenalty?: { penalty?: ...; source?: ... };
source?: (...) | (...) | (...) | (...);
}
)[];
refundTaxes?: { amount: string; taxCode: string }[];
refundTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
}[];
timestamp?: string;
};
};
headers: { [name: string]: unknown };
};
}
200: {
content: {
"application/json": {
cancelOffers?: {
offerExpirationDate?: string;
offerExpirationTime?: string;
offerItemId?: string;
offerType?: "VOID" | "REFUND";
refundTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
}[];
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
request?: {
confirmationId?: string;
targetPcc?: string;
tickets?: {
number?: string;
refundQualifiers?: {
commissionAmount?: string;
commissionOnPenalty?: string;
commissionPercentage?: string;
journeyTypeCode?: "F"
| "M"
| "B";
overrideCancelFee?: string;
overrideTaxes?: {
airportTaxBreakdowns?: ...;
taxAmount?: ...;
taxCode?: ...;
}[];
splitRefundAmounts?: { amount?: ... }[];
tourCode?: string;
waiverCode?: string;
};
}[];
};
tickets?: {
exchangePenalties?: (
{
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
} & {
hasNoShowCost?: boolean;
noShowPenalty?: { penalty?: ...; source?: ... };
source?: (...) | (...) | (...) | (...);
}
)[];
isAutomatedRefundsEligible?: boolean;
isChangeable?: boolean;
isRefundable?: boolean;
isVoidable?: boolean;
number?: string;
refundPenalties?: (
{
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
} & {
hasNoShowCost?: boolean;
noShowPenalty?: { penalty?: ...; source?: ... };
source?: (...) | (...) | (...) | (...);
}
)[];
refundTaxes?: { amount: string; taxCode: string }[];
refundTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
}[];
timestamp?: string;
};
};
headers: { [name: string]: unknown };
}
createBooking
createBooking: {
parameters: {
cookie?: never;
header: { Authorization: string };
path?: never;
query?: never;
};
requestBody: {
content: {
"application/json": {
agency?: {
address?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
agencyCustomerNumber?: string;
contactInfo?: { emails?: string[] };
futureTicketingPolicy?: {
comment?: string;
queueNumber?: string;
ticketingDate?: string;
ticketingPcc?: string;
ticketingTime?: string;
};
ticketingPolicy?: | "TODAY"
| "ALREADY_TICKETED"
| "FUTURE_TICKETING"
| "TICKETING_TIME_LIMIT";
ticketingTimeLimitPolicy?: {
airlineCode?: string;
ticketingDate?: string;
ticketingTime?: string;
};
};
asynchronousUpdateWaitTime: number;
car?: {
bookingKey: string;
collectionAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
collectionSite?: { id?: string; name?: string; phone?: string };
deliveryAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
deliverySite?: { id?: string; name?: string; phone?: string };
emailIndex?: number;
flightIndex?: number;
formOfPayment?: number;
paymentPolicy?: "DEPOSIT" | "GUARANTEE";
quantity: number;
specialInstructions?: string;
travelerIndex?: number;
};
contactInfo?: { emails?: string[] } & {
emergencyPhones?: string[];
faxes?: string[];
phones?: string[];
};
errorHandlingPolicy?: (
| "HALT_ON_ERROR"
| "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
| "DO_NOT_HALT_ON_FLIGHT_PRICING_ERROR"
| "DO_NOT_HALT_ON_HOTEL_BOOKING_ERROR"
| "DO_NOT_HALT_ON_ANCILLARY_BOOKING_ERROR"
| "DO_NOT_HALT_ON_SEAT_BOOKING_ERROR"
| "DO_NOT_HALT_ON_CAR_BOOKING_ERROR"
)[];
flightDetails?: {
flightPricing?: {
priceComparisons?: {
amount?: string;
comparisonType: | "INCREASE_BY_AMOUNT"
| "INCREASE_BY_PERCENT"
| "DECREASE_BY_AMOUNT"
| "DECREASE_BY_PERCENT";
desiredAmount: string;
percent?: string;
}[];
qualifiers?: {
commissionAmount?: string;
commissionPercentage?: string;
endorsements?: { description?: string; useOverride?: boolean };
excludeFareFocusFares?: boolean;
tourCode?: string;
tourCodeOverrides?:
| "REPLACE_WITH_BT"
| "REPLACE_WITH_IT"
| "SUPPRESS_IT"
| "SUPPRESS_IT_AND_FARE";
travelerIndices?: number[];
validatingAirlineCode?: string;
} & {
accountCode?: {
accountCodes: (...)[];
forceAccountCodes?: boolean;
};
adjustedSellingLevel?: {
ignore?: boolean;
markDownAmount?: string;
markUpAmount?: string;
returnBreakdown?: boolean;
};
baggageAllowance?: {
baggagePieces?: ...;
flightIndices?: ...;
totalWeightInKilograms?: ...;
}[];
brandedFares?: { brandCode: ...; flightIndices?: ... }[];
breakFareFlightIndices?: number[];
cabinCode?: string;
commissionContractNames?: string[];
considerMultiTicket?: boolean;
corporateFare?: { corporateIds: (...)[]; forceCorporateId?: boolean };
currencyPricing?: string;
exchangePenalties?: {
applicability?: (...) | (...);
penaltyAmount?: { amount?: ... };
restrictionType: (...) | (...) | (...);
};
excludeBasicEconomyFares?: string[];
exemptTaxes?: string[];
flightIndices?: number[];
forceConnectionFlightIndices?: number[];
forceStopoverFlightIndices?: number[];
hemisphereCode?: number;
journeyCode?: number;
netRemit?: {
cashValue?: { amount: ...; currencyCode: ... };
commercialAgreementReferenceCode?: string;
creditValue?: { amount: ...; currencyCode: ... };
netRemitCode?: string;
};
overrideTaxes?: { amount: ...; taxCode: ... }[];
passengersPricing?: {
forcePassengerCode?: ...;
numberOfpassengers?: ...;
passengerCode?: ...;
}[];
passengerStatus?: "RESIDENT"
| "NATIONALITY"
| "EMPLOYEE";
passengerStatusCountryCode?: string;
payment?: {
amountOnSecondFormOfPayment?: string;
primaryFormOfPayment: number;
secondaryFormOfPayment?: number;
};
priceWithTaxes: boolean;
rebookLowestFares?: boolean;
retailerRule?: { forceQualifiers?: boolean; qualifiers: (...)[] };
settlementMethod?: string;
sideTripFlightIndices?: number[];
spanishIslandResidentDiscountCode?: string;
spanishLargeFamilyDiscountLevel?: number;
specificFares?: { fareBasisCode: ...; flightIndices?: ... }[];
useExcursionFare?: boolean;
useNetFare?: boolean;
usePrivateFare?: boolean;
usePublicFare?: boolean;
useRoundTheWorldFare?: boolean;
};
}[];
flights?: {
airlineCode: string;
arrivalDate?: string;
arrivalTime?: string;
bookingClass: string;
confirmationId?: string;
departureDate: string;
departureTime: string;
flightNumber: number;
flightStatusCode: string;
fromAirportCode: string;
isMarriageGroup?: boolean;
seats?: {
areaPreferences?: (
(...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
)[];
number?: string;
travelerIndex: number;
}[];
source?: "LCC"
| "ATPCO";
toAirportCode: string;
}[];
haltOnFlightStatusCodes?: (
"US"
| "NO"
| "NN"
| "UC"
| "UN"
| "UU"
| "LL"
| "HL"
)[];
retryBookingUnconfirmedFlights?: boolean;
};
flightOffer?: { offerId: string; selectedOfferItems: string[] };
hotel?: {
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
bookingKey: string;
corporateDiscountCode?: number;
formOfPayment?: number;
paymentPolicy?: "DEPOSIT"
| "GUARANTEE"
| "LATE";
rooms?: {
bedTypeCode?: number;
isSmoking: boolean;
physicalDisabilityCode?: number;
roomExtras?: {
amount?: string;
quantity: number;
roomExtraType: number;
}[];
travelerIndices?: number[];
}[];
specialInstruction?: string;
useCsl: boolean;
};
notification?: {
email?: | "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
otherServices?: {
airlineCode?: string;
chainCode?: string;
serviceMessage?: string;
travelerIndex?: number;
vendorCode?: string;
}[];
payment?: {
billingAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
agencyIataNumber?: string;
authentications?: {
amount?: string;
cardNumberCollectionCode?: string;
channelCode?: string;
currencyCode?: string;
electronicCommerceIndicator?: string;
exemptionTypeCode?: string;
issueCode?: string;
mandateTypeCode?: string;
merchantName?: string;
originalPaymentReference?: string;
resultCode?: string;
secureAuthenticationValue?: string;
secureTransactionId?: string;
tokenAuthenticationValue?: string;
updatedDateTime?: string;
verificationResultCode?: string;
version?: string;
}[];
cardHolder?: {
address?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
email?: string;
givenName: string;
phone?: string;
surname: string;
};
companyAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: string;
amount: string;
code: string;
currencyCode: string;
expiryDateTime: string;
requestDateTime: string;
};
netBalance?: string;
tripType?: | "All"
| "Unknown"
| "Corporate/Business"
| "Leisure"
| "Emergency"
| "Family"
| "Group";
tripTypes?: (
| "All"
| "Unknown"
| "Corporate/Business"
| "Leisure"
| "Emergency"
| "Family"
| "Group"
)[];
type: | "INVOICE"
| "CORPORATE"
| "PAYMENTCARD"
| "CASH"
| "CHECK"
| "MISCELLANEOUS"
| "INSTALLMENTS"
| "VIRTUAL_CARD"
| "AGENCY_NAME"
| "AGENCY_IATA"
| "COMPANY_NAME"
| "VOUCHER"
| "DOCKET"
| "GOVERNMENT_TRAVEL_REQUEST";
useType?: | "All"
| "Other"
| "Tour"
| "Unknown"
| "Ancillary"
| "Hotel"
| "Car"
| "Cruise"
| "Airline"
| "Bus/Ground Transportation"
| "Insurance"
| "Low-Cost Carrier"
| "Rail"
| "Specialty Service"
| "Interface Record";
useTypes?: (
| "All"
| "Other"
| "Tour"
| "Unknown"
| "Ancillary"
| "Hotel"
| "Car"
| "Cruise"
| "Airline"
| "Bus/Ground Transportation"
| "Insurance"
| "Low-Cost Carrier"
| "Rail"
| "Specialty Service"
| "Interface Record"
)[];
virtualCard?: {
agencyEmail?: string;
customerAccountCode?: string;
hotelFax?: string;
hotelName?: string;
rateAmount?: { amount: string; currencyCode: string };
roomDescription?: string;
roomType?: string;
virtualCardCharges?: string[];
};
voucher?: { billingNumber?: string; type?: string };
}
)[];
};
profiles?: {
domainId: string;
filterId?: string;
profileName?: string;
profileTypeCode: string;
uniqueId?: string;
}[];
receivedFrom: string;
remarks?: (
{
alphaCode?: string;
text?: string;
type?: | "INVOICE"
| "ITINERARY"
| "GENERAL"
| "HISTORICAL"
| "CLIENT_ADDRESS"
| "ALPHA_CODED"
| "DELIVERY_ADDRESS"
| "HIDDEN"
| "CORPORATE"
| "FORM_OF_PAYMENT"
| "PRINT_ON_TICKET"
| "FILLER_STRIP"
| "INTERFACE"
| "QUEUE_PLACE";
} & {
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
};
}
)[];
retentionEndDate?: string;
retentionLabel?: string;
targetPcc?: string;
travelers?: {
age?: number;
ancillaries?: {
airlineCode: string;
basePrice: string;
commercialName?: string;
currencyCode: string;
electronicMiscellaneousDocumentType: | "ETICKET"
| "STANDALONE"
| "FLIGHT_COUPON_ASSOCIATED"
| "STANDALONE_TICKET_ASSOCIATED"
| "OTHER_THAN_EMD";
firstTravelDate?: string;
flightApplicabilityType?: "Unknown"
| "Single"
| "Multiple";
flightIndices: number[];
groupCode: string;
lastTravelDate?: string;
numberOfItems: number;
purchaseDateTime?: string;
reasonForIssuance?:
| "UNKNOWN"
| "AIR_TRANSPORTATION"
| "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
| "BAGGAGE"
| "FINANCIAL_IMPACT"
| "AIRPORT_SERVICES"
| "MERCHANDISE"
| "INFLIGHT_SERVICES"
| "INDIVIDUAL_AIRLINE_USE";
source?: "ATPCO"
| "MERCHANDISING_MANAGER";
specialServiceIndex?: number;
subcode: string;
totalPrice?: string;
vendorCode?: string;
}[];
birthDate?: string;
emails?: string[];
formOfPaymentIndices?: number[];
gender?: | "FEMALE"
| "MALE"
| "INFANT_FEMALE"
| "INFANT_MALE"
| "UNDISCLOSED"
| "UNDEFINED";
givenName?: string;
id?: string;
identityDocuments?: {
birthDate?: string;
documentNumber?: string;
documentSubType?: "RUC"
| "CUIT/CUIL"
| "NIT";
documentType:
| "MILITARY"
| "PASSPORT"
| "VISA"
| "SECURE_FLIGHT_PASSENGER_DATA"
| "RESIDENCE_ADDRESS"
| "DESTINATION_ADDRESS"
| "KNOWN_TRAVELER_NUMBER"
| "REDRESS_NUMBER"
| "ALIEN_RESIDENT"
| "PERMANENT_RESIDENT"
| "FACILITATION_DOCUMENT"
| "NATIONAL_ID_CARD"
| "NEXUS_CARD"
| "NATURALIZATION_CERTIFICATE"
| "REFUGEE_REENTRY_PERMIT"
| "BORDER_CROSSING_CARD"
| "FISCAL_ID";
expiryDate?: string;
flightIndices?: number[];
gender?: | "FEMALE"
| "MALE"
| "INFANT_FEMALE"
| "INFANT_MALE"
| "UNDISCLOSED"
| "UNDEFINED";
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceOrDestinationAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
surname?: string;
}[];
loyaltyPrograms?: {
programNumber: string;
programType?: | "FREQUENT_FLYER"
| "FREQUENT_RENTER"
| "LOYALTY_ID"
| "CORPORATE_LOYALTY_ID";
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
nameReferenceCode?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
specialServices?: {
code: string;
flightIndices?: number[];
message?: string;
}[];
surname?: string;
}[];
};
};
};
responses: {
"200": {
content: {
"application/json": {
booking?: {
accountingItems?: {
airlineCode?: string;
cardNumber?: string;
cardTypeCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationType?: "Refund"
| "Exchange"
| "First Issuance";
currencyCode?: string;
fareAmount?: string;
fareApplicationType?:
| "Single Traveler"
| "All Travelers"
| "Each Traveler";
formOfPaymentType?: | "Unknown"
| "Cash"
| "Check"
| "Check or Cash"
| "Payment Card"
| "Masked Payment Card";
tariffBasisType?: "Domestic"
| "Foreign"
| "International";
taxAmount?: string;
ticketNumber?: string;
travelerIndices?: number[];
}[];
agencyCustomerNumber?: string;
allSegments?: (
{ id: string } & {
address?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
date?: string;
endAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
endDate?: string;
endLocationCode?: string;
endTime?: string;
locationCode?: string;
startAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
startDate?: string;
startLocationCode?: string;
startTime?: string;
text?: string;
time?: string;
type: string;
vendorCode?: string;
}
)[];
bookingId?: string;
cars?: (
{ itemId: string } & {
carStatusCode?: string;
carStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
collectionAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
collectionSite?: { id?: string; name?: string; phone?: string };
confirmationId?: string;
deliveryAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
deliverySite?: { id?: string; name?: string; phone?: string };
distanceAllowance?: string;
dropOffAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
dropOffContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
dropOffDate: string;
dropOffLocationCode?: string;
dropOffTime: string;
guaranteePaymentNote?: string;
isRefundable: boolean;
numberOfVehicles?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
pickUpAddress: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
pickUpContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
pickUpDate: string;
pickUpLocationCode?: string;
pickUpTime: string;
rateCode?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
specialInstructions?: string;
travelerIndex?: number;
vehicleTypeCode?: string;
vehicleTypeName?: | "Two/Three Door"
| "Two/Four Door"
| "Four/Five Door"
| "Wagon/Estate"
| "Passenger Van"
| "Limousine/Sedan"
| "Sport"
| "Convertible"
| "SUV"
| "Open Air All Terrain"
| "Special"
| "Pick up single/extended cab 2 door"
| "Pick up double cab 4 door"
| "Special Offer Car"
| "Coupe"
| "Monospace"
| "Recreational Vehicle"
| "Motor Home"
| "Two Wheel Vehicle"
| "Roadster"
| "Crossover"
| "Commercial Van/Truck";
vendorCode: string;
vendorName: string;
}
)[];
contactInfo?: { emails?: string[] } & {
emergencyPhones?: string[];
faxes?: string[];
phones?: string[];
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
cruises?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime?: string;
cabinNumber?: string;
confirmationId?: string;
cruiseStatusCode?: string;
cruiseStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
departureDate: string;
departureTime?: string;
fromPortCode: string;
numberOfGuests?: number;
shipCode?: string;
shipName?: string;
toPortCode?: string;
vendorCode: string;
}
)[];
endDate?: string;
fareOffers?: {
cabinBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
cabinBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
checkedBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
checkedBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
flights?: { itemId: string }[];
travelerIndices?: number[];
}[];
fareRules?: {
destinationAirportCode?: string;
exchangePenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
isChangeable?: boolean;
isRefundable?: boolean;
originAirportCode?: string;
owningAirlineCode: string;
passengerCode?: string;
refundPenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
}[];
fares?: {
airlineCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
fareCalculationLine?: string;
fareConstruction?: {
baseRate?: { amount: ...; currencyCode: ... };
brandAttributes?: (...)[];
brandFareCode?: string;
brandFareName?: string;
brandProgramCode?: string;
brandProgramName?: string;
checkedBaggageAllowance?: {
baggagePieces?: ...;
maximumPieces?: ...;
totalWeightInKilograms?: ...;
totalWeightInPounds?: ...;
};
fareBasisCode?: string;
flightIndices?: (...)[];
flights?: (...)[];
isCurrentItinerary?: boolean;
}[];
hasValidPricing: boolean;
isNegotiatedFare?: boolean;
pricedTravelerType?: string;
pricingStatusCode?: "A"
| "H";
pricingStatusName?: "Active" | "History";
pricingTypeCode?: "S" | "A" | "M";
pricingTypeName?: "Unknown" | "System" | "Amended" | "Manual";
recordId?: string;
recordTypeCode?: string;
recordTypeName?: string;
requestedTravelerType?: string;
taxBreakdown?: {
taxAmount?: { amount: ...; currencyCode: ... };
taxCode?: string;
}[];
totals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
tourCode?: string;
travelerIndices?: number[];
}[];
flights?: (
{ itemId: string } & {
aircraftTypeCode?: string;
aircraftTypeName?: string;
airlineCode: string;
airlineName?: string;
arrivalDate: string;
arrivalGate?: string;
arrivalTerminalName?: string;
arrivalTime: string;
bookingClass?: string;
cabinTypeCode?: string;
cabinTypeName?: string;
confirmationId?: string;
departureDate: string;
departureGate?: string;
departureTerminalName?: string;
departureTime: string;
distanceInMiles?: number;
durationInMinutes?: number;
flightNumber: number;
flightStatusCode?: string;
flightStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
fromAirportCode: string;
hiddenStopAircraftTypeCode?: string;
hiddenStopAircraftTypeName?: string;
hiddenStopAirportCode?: string;
hiddenStopArrivalDate?: string;
hiddenStopArrivalTime?: string;
hiddenStopDepartureDate?: string;
hiddenStopDepartureTime?: string;
hiddenStops?: {
aircraftTypeCode?: ...;
aircraftTypeName?: ...;
airportCode?: ...;
arrivalDate?: ...;
arrivalTime?: ...;
departureDate?: ...;
departureTime?: ...;
durationInMinutes?: ...;
}[];
identityDocuments?: { itemId?: ...; status?: ... }[];
isPast?: boolean;
meals?: { code: ...; description: ... }[];
numberOfSeats?: number;
operatingAirlineCode?: string;
operatingAirlineName?: string;
operatingFlightNumber?: number;
seats?: {
characteristics?: ...;
number: ...;
statusCode?: ...;
statusName?: ...;
}[];
sourceType?: "NDC"
| "LCC"
| "ATPCO";
toAirportCode: string;
travelerIndices?: number[];
updatedArrivalDate?: string;
updatedArrivalTime?: string;
updatedDepartureDate?: string;
updatedDepartureTime?: string;
}
)[];
flightTickets?: {
agencyIataNumber?: string;
airlineCode: string;
allCoupons?: (
{ couponStatus: ...; couponStatusCode: ... } & { itemId?: ... }
)[];
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
date: string;
flightCoupons: (
{ itemId: ... } & { couponStatus: ...; couponStatusCode: ... }
)[];
number: string;
payment: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
ticketingPcc?: string;
ticketStatusCode?: string;
ticketStatusName?: "Voided"
| "Issued"
| "Refunded/Exchanged";
travelerIndex: number;
}[];
futureTicketingPolicy?: {
comment?: string;
queueNumber?: string;
ticketingDate?: string;
ticketingPcc?: string;
ticketingTime?: string;
};
hotels?: (
{ itemId: string } & {
address: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... } & { cityCode?: ... };
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
chainCode?: string;
chainName?: string;
checkInDate: string;
checkInTime: string;
checkOutDate: string;
checkOutTime: string;
confirmationId?: string;
contactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
corporateDiscountCode?: number;
guaranteePaymentNote?: string;
guaranteeTypeCode?: number;
guaranteeTypeName?: | "Credit card"
| "Travel agency name/address"
| "Travel agency IATA number"
| "Company name/address"
| "Corporate ID/CD number"
| "Virtual card";
hotelName: string;
hotelStatusCode?: string;
hotelStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
isRefundable: boolean;
leadTravelerIndex?: number;
numberOfGuests?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
paymentPolicy?: "DEPOSIT"
| "GUARANTEE"
| "LATE";
propertyId?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
refundPenaltyPolicyCode?: string;
room?: {
agencyCommission?: {
commissionAmount?: ...;
commissionPercentage?: ...;
currencyCode?: ...;
};
description?: string;
productCode?: string;
quantity: number;
roomRate?: { amount: ...; currencyCode: ... };
roomType: string;
roomTypeCode?: string;
travelerIndices?: (...)[];
};
sabrePropertyId?: string;
sourceTypeCode?: number;
sourceTypeName?: | "Unknown"
| "Legacy"
| "Sabre GDS"
| "Expedia Associate Network"
| "HotelBeds.com"
| "Booking.com"
| "CMNet";
specialInstructions?: string;
}
)[];
isCancelable?: boolean;
isTicketed?: boolean;
journeys?: {
departureDate: string;
departureTime: string;
firstAirportCode: string;
lastAirportCode: string;
numberOfFlights: number;
}[];
nonElectronicTickets?: {
date?: string;
ticketingPcc?: string;
ticketingUserCode?: string;
ticketNumber?: string;
ticketStatus?: "Unknown"
| "Active"
| "Inactive";
time?: string;
travelerIndex?: number;
}[];
otherServices?: {
airlineCode?: string;
chainCode?: string;
serviceMessage?: string;
travelerIndex?: number;
vendorCode?: string;
}[];
payments?: {
carTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightCurrentTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: (...) & (...);
agencyIataNumber?: string;
authentications?: (...)[];
cardHolder?: {
address?: ...;
email?: ...;
givenName: ...;
phone?: ...;
surname: ...;
};
companyAddress?: (...) & (...);
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: ...;
amount: ...;
code: ...;
currencyCode: ...;
expiryDateTime: ...;
requestDateTime: ...;
};
netBalance?: string;
tripType?: (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
tripTypes?: (...)[];
type:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useType?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useTypes?: (...)[];
virtualCard?: {
agencyEmail?: ...;
customerAccountCode?: ...;
hotelFax?: ...;
hotelName?: ...;
rateAmount?: ...;
roomDescription?: ...;
roomType?: ...;
virtualCardCharges?: ...;
};
voucher?: { billingNumber?: ...; type?: ... };
}
)[];
hotelTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
trainTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
};
remarks?: {
alphaCode?: string;
text?: string;
type?: | "INVOICE"
| "ITINERARY"
| "GENERAL"
| "HISTORICAL"
| "CLIENT_ADDRESS"
| "ALPHA_CODED"
| "DELIVERY_ADDRESS"
| "HIDDEN"
| "CORPORATE"
| "FORM_OF_PAYMENT"
| "PRINT_ON_TICKET"
| "FILLER_STRIP"
| "INTERFACE"
| "QUEUE_PLACE";
}[];
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code?: string;
flights?: { itemId: string }[];
message?: string;
name?: string;
statusCode?: string;
statusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
travelerIndices?: number[];
}[];
startDate?: string;
trains?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime: string;
confirmationId?: string;
departureDate: string;
departureTime: string;
fromStationCode: string;
fromStationName?: string;
isRefundable?: boolean;
operatingVendorCode?: string;
operatingVendorName?: string;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
toStationCode: string;
toStationName?: string;
trainName?: string;
trainNumber: string;
trainStatusCode?: string;
trainStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
vendorCode: string;
vendorName?: string;
}
)[];
travelers?: {
address?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
ancillaries?: {
airlineCode?: string;
commercialName?: string;
electronicMiscellaneousDocumentNumber?: string;
flightApplicabilityType?: (...) | (...) | (...);
flights?: (...)[];
isCommissionable?: boolean;
isRefundable?: boolean;
itemId?: string;
numberOfItems?: number;
reasonForIssuanceCode?: string;
reasonForIssuanceName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
source?: (...) | (...);
statusCode?: string;
statusName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
subcode?: string;
totals?: {
currencyCode: ...;
fees?: ...;
subtotal?: ...;
taxes?: ...;
total: ...;
};
vendorCode?: string;
}[];
birthDate?: string;
emails?: string[];
formOfPaymentIndices?: number[];
gender?: | "FEMALE"
| "MALE"
| "INFANT_FEMALE"
| "INFANT_MALE"
| "UNDISCLOSED"
| "UNDEFINED";
givenName: string;
identityDocuments?: {
birthDate?: string;
documentNumber?: string;
documentSubType?: (...)
| (...)
| (...);
documentType:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
expiryDate?: string;
flightIndices?: (...)[];
gender?: (...) | (...) | (...) | (...) | (...) | (...);
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
itemId?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceDestinationAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
surname?: string;
}[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: string;
programType?: (...)
| (...)
| (...)
| (...);
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
middleName?: string;
nameAssociationId?: string;
nameReferenceCode?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
remarks?: {
alphaCode?: string;
text?: string;
type?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}[];
surname: string;
type?: | "ADULT"
| "AGENT"
| "AIRLINE"
| "CHILD"
| "EDUCATION"
| "GOVERNMENT"
| "GROUP"
| "INFANT"
| "MILITARY"
| "SENIOR"
| "SPECIAL"
| "YOUTH";
}[];
travelersGroup?: {
itemId?: string;
name?: string;
numberOfTravelers?: number;
numberOfTravelersRemaining?: number;
};
};
confirmationId?: string;
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
request?: {
agency?: {
address?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
agencyCustomerNumber?: string;
contactInfo?: { emails?: string[] };
futureTicketingPolicy?: {
comment?: string;
queueNumber?: string;
ticketingDate?: string;
ticketingPcc?: string;
ticketingTime?: string;
};
ticketingPolicy?: | "TODAY"
| "ALREADY_TICKETED"
| "FUTURE_TICKETING"
| "TICKETING_TIME_LIMIT";
ticketingTimeLimitPolicy?: {
airlineCode?: string;
ticketingDate?: string;
ticketingTime?: string;
};
};
asynchronousUpdateWaitTime: number;
car?: {
bookingKey: string;
collectionAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
collectionSite?: { id?: string; name?: string; phone?: string };
deliveryAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
deliverySite?: { id?: string; name?: string; phone?: string };
emailIndex?: number;
flightIndex?: number;
formOfPayment?: number;
paymentPolicy?: "DEPOSIT" | "GUARANTEE";
quantity: number;
specialInstructions?: string;
travelerIndex?: number;
};
contactInfo?: { emails?: string[] } & {
emergencyPhones?: string[];
faxes?: string[];
phones?: string[];
};
errorHandlingPolicy?: (
| "HALT_ON_ERROR"
| "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
| "DO_NOT_HALT_ON_FLIGHT_PRICING_ERROR"
| "DO_NOT_HALT_ON_HOTEL_BOOKING_ERROR"
| "DO_NOT_HALT_ON_ANCILLARY_BOOKING_ERROR"
| "DO_NOT_HALT_ON_SEAT_BOOKING_ERROR"
| "DO_NOT_HALT_ON_CAR_BOOKING_ERROR"
)[];
flightDetails?: {
flightPricing?: {
priceComparisons?: {
amount?: ...;
comparisonType: ...;
desiredAmount: ...;
percent?: ...;
}[];
qualifiers?: {
commissionAmount?: ...;
commissionPercentage?: ...;
endorsements?: ...;
excludeFareFocusFares?: ...;
tourCode?: ...;
tourCodeOverrides?: ...;
travelerIndices?: ...;
validatingAirlineCode?: ...;
} & {
accountCode?: ...;
adjustedSellingLevel?: ...;
baggageAllowance?: ...;
brandedFares?: ...;
breakFareFlightIndices?: ...;
cabinCode?: ...;
commissionContractNames?: ...;
considerMultiTicket?: ...;
corporateFare?: ...;
currencyPricing?: ...;
exchangePenalties?: ...;
excludeBasicEconomyFares?: ...;
exemptTaxes?: ...;
flightIndices?: ...;
forceConnectionFlightIndices?: ...;
forceStopoverFlightIndices?: ...;
hemisphereCode?: ...;
journeyCode?: ...;
netRemit?: ...;
overrideTaxes?: ...;
passengersPricing?: ...;
passengerStatus?: ...;
passengerStatusCountryCode?: ...;
payment?: ...;
priceWithTaxes: ...;
rebookLowestFares?: ...;
retailerRule?: ...;
settlementMethod?: ...;
sideTripFlightIndices?: ...;
spanishIslandResidentDiscountCode?: ...;
spanishLargeFamilyDiscountLevel?: ...;
specificFares?: ...;
useExcursionFare?: ...;
useNetFare?: ...;
usePrivateFare?: ...;
usePublicFare?: ...;
useRoundTheWorldFare?: ...;
};
}[];
flights?: {
airlineCode: string;
arrivalDate?: string;
arrivalTime?: string;
bookingClass: string;
confirmationId?: string;
departureDate: string;
departureTime: string;
flightNumber: number;
flightStatusCode: string;
fromAirportCode: string;
isMarriageGroup?: boolean;
seats?: { areaPreferences?: ...; number?: ...; travelerIndex: ... }[];
source?: "LCC" | "ATPCO";
toAirportCode: string;
}[];
haltOnFlightStatusCodes?: (
"US"
| "NO"
| "NN"
| "UC"
| "UN"
| "UU"
| "LL"
| "HL"
)[];
retryBookingUnconfirmedFlights?: boolean;
};
flightOffer?: { offerId: string; selectedOfferItems: string[] };
hotel?: {
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
bookingKey: string;
corporateDiscountCode?: number;
formOfPayment?: number;
paymentPolicy?: "DEPOSIT"
| "GUARANTEE"
| "LATE";
rooms?: {
bedTypeCode?: number;
isSmoking: boolean;
physicalDisabilityCode?: number;
roomExtras?: { amount?: ...; quantity: ...; roomExtraType: ... }[];
travelerIndices?: number[];
}[];
specialInstruction?: string;
useCsl: boolean;
};
notification?: {
email?: | "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
otherServices?: {
airlineCode?: string;
chainCode?: string;
serviceMessage?: string;
travelerIndex?: number;
vendorCode?: string;
}[];
payment?: {
billingAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: (...) & (...);
agencyIataNumber?: string;
authentications?: (...)[];
cardHolder?: {
address?: ...;
email?: ...;
givenName: ...;
phone?: ...;
surname: ...;
};
companyAddress?: (...) & (...);
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: ...;
amount: ...;
code: ...;
currencyCode: ...;
expiryDateTime: ...;
requestDateTime: ...;
};
netBalance?: string;
tripType?: (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
tripTypes?: (...)[];
type:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useType?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useTypes?: (...)[];
virtualCard?: {
agencyEmail?: ...;
customerAccountCode?: ...;
hotelFax?: ...;
hotelName?: ...;
rateAmount?: ...;
roomDescription?: ...;
roomType?: ...;
virtualCardCharges?: ...;
};
voucher?: { billingNumber?: ...; type?: ... };
}
)[];
};
profiles?: {
domainId: string;
filterId?: string;
profileName?: string;
profileTypeCode: string;
uniqueId?: string;
}[];
receivedFrom: string;
remarks?: (
{
alphaCode?: string;
text?: string;
type?: | "INVOICE"
| "ITINERARY"
| "GENERAL"
| "HISTORICAL"
| "CLIENT_ADDRESS"
| "ALPHA_CODED"
| "DELIVERY_ADDRESS"
| "HIDDEN"
| "CORPORATE"
| "FORM_OF_PAYMENT"
| "PRINT_ON_TICKET"
| "FILLER_STRIP"
| "INTERFACE"
| "QUEUE_PLACE";
} & {
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
};
}
)[];
retentionEndDate?: string;
retentionLabel?: string;
targetPcc?: string;
travelers?: {
age?: number;
ancillaries?: {
airlineCode: string;
basePrice: string;
commercialName?: string;
currencyCode: string;
electronicMiscellaneousDocumentType: | (...)
| (...)
| (...)
| (...)
| (...);
firstTravelDate?: string;
flightApplicabilityType?: (...) | (...) | (...);
flightIndices: (...)[];
groupCode: string;
lastTravelDate?: string;
numberOfItems: number;
purchaseDateTime?: string;
reasonForIssuance?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
source?: (...) | (...);
specialServiceIndex?: number;
subcode: string;
totalPrice?: string;
vendorCode?: string;
}[];
birthDate?: string;
emails?: string[];
formOfPaymentIndices?: number[];
gender?: | "FEMALE"
| "MALE"
| "INFANT_FEMALE"
| "INFANT_MALE"
| "UNDISCLOSED"
| "UNDEFINED";
givenName?: string;
id?: string;
identityDocuments?: {
birthDate?: string;
documentNumber?: string;
documentSubType?: (...)
| (...)
| (...);
documentType:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
expiryDate?: string;
flightIndices?: (...)[];
gender?: (...) | (...) | (...) | (...) | (...) | (...);
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceOrDestinationAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
surname?: string;
}[];
loyaltyPrograms?: {
programNumber: string;
programType?: (...)
| (...)
| (...)
| (...);
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
nameReferenceCode?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
specialServices?: {
code: string;
flightIndices?: (...)[];
message?: string;
}[];
surname?: string;
}[];
};
timestamp?: string;
};
};
headers: { [name: string]: unknown };
};
};
}
Type Declaration
parameters: {
cookie?: never;
header: { Authorization: string };
path?: never;
query?: never;
}
Optionalcookie?: never
header: { Authorization: string }
Optionalpath?: never
Optionalquery?: never
requestBody: {
content: {
"application/json": {
agency?: {
address?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
agencyCustomerNumber?: string;
contactInfo?: { emails?: string[] };
futureTicketingPolicy?: {
comment?: string;
queueNumber?: string;
ticketingDate?: string;
ticketingPcc?: string;
ticketingTime?: string;
};
ticketingPolicy?: | "TODAY"
| "ALREADY_TICKETED"
| "FUTURE_TICKETING"
| "TICKETING_TIME_LIMIT";
ticketingTimeLimitPolicy?: {
airlineCode?: string;
ticketingDate?: string;
ticketingTime?: string;
};
};
asynchronousUpdateWaitTime: number;
car?: {
bookingKey: string;
collectionAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
collectionSite?: { id?: string; name?: string; phone?: string };
deliveryAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
deliverySite?: { id?: string; name?: string; phone?: string };
emailIndex?: number;
flightIndex?: number;
formOfPayment?: number;
paymentPolicy?: "DEPOSIT" | "GUARANTEE";
quantity: number;
specialInstructions?: string;
travelerIndex?: number;
};
contactInfo?: { emails?: string[] } & {
emergencyPhones?: string[];
faxes?: string[];
phones?: string[];
};
errorHandlingPolicy?: (
| "HALT_ON_ERROR"
| "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
| "DO_NOT_HALT_ON_FLIGHT_PRICING_ERROR"
| "DO_NOT_HALT_ON_HOTEL_BOOKING_ERROR"
| "DO_NOT_HALT_ON_ANCILLARY_BOOKING_ERROR"
| "DO_NOT_HALT_ON_SEAT_BOOKING_ERROR"
| "DO_NOT_HALT_ON_CAR_BOOKING_ERROR"
)[];
flightDetails?: {
flightPricing?: {
priceComparisons?: {
amount?: string;
comparisonType: | "INCREASE_BY_AMOUNT"
| "INCREASE_BY_PERCENT"
| "DECREASE_BY_AMOUNT"
| "DECREASE_BY_PERCENT";
desiredAmount: string;
percent?: string;
}[];
qualifiers?: {
commissionAmount?: string;
commissionPercentage?: string;
endorsements?: { description?: string; useOverride?: boolean };
excludeFareFocusFares?: boolean;
tourCode?: string;
tourCodeOverrides?:
| "REPLACE_WITH_BT"
| "REPLACE_WITH_IT"
| "SUPPRESS_IT"
| "SUPPRESS_IT_AND_FARE";
travelerIndices?: number[];
validatingAirlineCode?: string;
} & {
accountCode?: {
accountCodes: (...)[];
forceAccountCodes?: boolean;
};
adjustedSellingLevel?: {
ignore?: boolean;
markDownAmount?: string;
markUpAmount?: string;
returnBreakdown?: boolean;
};
baggageAllowance?: {
baggagePieces?: ...;
flightIndices?: ...;
totalWeightInKilograms?: ...;
}[];
brandedFares?: { brandCode: ...; flightIndices?: ... }[];
breakFareFlightIndices?: number[];
cabinCode?: string;
commissionContractNames?: string[];
considerMultiTicket?: boolean;
corporateFare?: { corporateIds: (...)[]; forceCorporateId?: boolean };
currencyPricing?: string;
exchangePenalties?: {
applicability?: (...) | (...);
penaltyAmount?: { amount?: ... };
restrictionType: (...) | (...) | (...);
};
excludeBasicEconomyFares?: string[];
exemptTaxes?: string[];
flightIndices?: number[];
forceConnectionFlightIndices?: number[];
forceStopoverFlightIndices?: number[];
hemisphereCode?: number;
journeyCode?: number;
netRemit?: {
cashValue?: { amount: ...; currencyCode: ... };
commercialAgreementReferenceCode?: string;
creditValue?: { amount: ...; currencyCode: ... };
netRemitCode?: string;
};
overrideTaxes?: { amount: ...; taxCode: ... }[];
passengersPricing?: {
forcePassengerCode?: ...;
numberOfpassengers?: ...;
passengerCode?: ...;
}[];
passengerStatus?: "RESIDENT"
| "NATIONALITY"
| "EMPLOYEE";
passengerStatusCountryCode?: string;
payment?: {
amountOnSecondFormOfPayment?: string;
primaryFormOfPayment: number;
secondaryFormOfPayment?: number;
};
priceWithTaxes: boolean;
rebookLowestFares?: boolean;
retailerRule?: { forceQualifiers?: boolean; qualifiers: (...)[] };
settlementMethod?: string;
sideTripFlightIndices?: number[];
spanishIslandResidentDiscountCode?: string;
spanishLargeFamilyDiscountLevel?: number;
specificFares?: { fareBasisCode: ...; flightIndices?: ... }[];
useExcursionFare?: boolean;
useNetFare?: boolean;
usePrivateFare?: boolean;
usePublicFare?: boolean;
useRoundTheWorldFare?: boolean;
};
}[];
flights?: {
airlineCode: string;
arrivalDate?: string;
arrivalTime?: string;
bookingClass: string;
confirmationId?: string;
departureDate: string;
departureTime: string;
flightNumber: number;
flightStatusCode: string;
fromAirportCode: string;
isMarriageGroup?: boolean;
seats?: {
areaPreferences?: (
(...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
)[];
number?: string;
travelerIndex: number;
}[];
source?: "LCC"
| "ATPCO";
toAirportCode: string;
}[];
haltOnFlightStatusCodes?: (
"US"
| "NO"
| "NN"
| "UC"
| "UN"
| "UU"
| "LL"
| "HL"
)[];
retryBookingUnconfirmedFlights?: boolean;
};
flightOffer?: { offerId: string; selectedOfferItems: string[] };
hotel?: {
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
bookingKey: string;
corporateDiscountCode?: number;
formOfPayment?: number;
paymentPolicy?: "DEPOSIT"
| "GUARANTEE"
| "LATE";
rooms?: {
bedTypeCode?: number;
isSmoking: boolean;
physicalDisabilityCode?: number;
roomExtras?: {
amount?: string;
quantity: number;
roomExtraType: number;
}[];
travelerIndices?: number[];
}[];
specialInstruction?: string;
useCsl: boolean;
};
notification?: {
email?: | "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
otherServices?: {
airlineCode?: string;
chainCode?: string;
serviceMessage?: string;
travelerIndex?: number;
vendorCode?: string;
}[];
payment?: {
billingAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
agencyIataNumber?: string;
authentications?: {
amount?: string;
cardNumberCollectionCode?: string;
channelCode?: string;
currencyCode?: string;
electronicCommerceIndicator?: string;
exemptionTypeCode?: string;
issueCode?: string;
mandateTypeCode?: string;
merchantName?: string;
originalPaymentReference?: string;
resultCode?: string;
secureAuthenticationValue?: string;
secureTransactionId?: string;
tokenAuthenticationValue?: string;
updatedDateTime?: string;
verificationResultCode?: string;
version?: string;
}[];
cardHolder?: {
address?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
email?: string;
givenName: string;
phone?: string;
surname: string;
};
companyAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: string;
amount: string;
code: string;
currencyCode: string;
expiryDateTime: string;
requestDateTime: string;
};
netBalance?: string;
tripType?: | "All"
| "Unknown"
| "Corporate/Business"
| "Leisure"
| "Emergency"
| "Family"
| "Group";
tripTypes?: (
| "All"
| "Unknown"
| "Corporate/Business"
| "Leisure"
| "Emergency"
| "Family"
| "Group"
)[];
type: | "INVOICE"
| "CORPORATE"
| "PAYMENTCARD"
| "CASH"
| "CHECK"
| "MISCELLANEOUS"
| "INSTALLMENTS"
| "VIRTUAL_CARD"
| "AGENCY_NAME"
| "AGENCY_IATA"
| "COMPANY_NAME"
| "VOUCHER"
| "DOCKET"
| "GOVERNMENT_TRAVEL_REQUEST";
useType?: | "All"
| "Other"
| "Tour"
| "Unknown"
| "Ancillary"
| "Hotel"
| "Car"
| "Cruise"
| "Airline"
| "Bus/Ground Transportation"
| "Insurance"
| "Low-Cost Carrier"
| "Rail"
| "Specialty Service"
| "Interface Record";
useTypes?: (
| "All"
| "Other"
| "Tour"
| "Unknown"
| "Ancillary"
| "Hotel"
| "Car"
| "Cruise"
| "Airline"
| "Bus/Ground Transportation"
| "Insurance"
| "Low-Cost Carrier"
| "Rail"
| "Specialty Service"
| "Interface Record"
)[];
virtualCard?: {
agencyEmail?: string;
customerAccountCode?: string;
hotelFax?: string;
hotelName?: string;
rateAmount?: { amount: string; currencyCode: string };
roomDescription?: string;
roomType?: string;
virtualCardCharges?: string[];
};
voucher?: { billingNumber?: string; type?: string };
}
)[];
};
profiles?: {
domainId: string;
filterId?: string;
profileName?: string;
profileTypeCode: string;
uniqueId?: string;
}[];
receivedFrom: string;
remarks?: (
{
alphaCode?: string;
text?: string;
type?: | "INVOICE"
| "ITINERARY"
| "GENERAL"
| "HISTORICAL"
| "CLIENT_ADDRESS"
| "ALPHA_CODED"
| "DELIVERY_ADDRESS"
| "HIDDEN"
| "CORPORATE"
| "FORM_OF_PAYMENT"
| "PRINT_ON_TICKET"
| "FILLER_STRIP"
| "INTERFACE"
| "QUEUE_PLACE";
} & {
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
};
}
)[];
retentionEndDate?: string;
retentionLabel?: string;
targetPcc?: string;
travelers?: {
age?: number;
ancillaries?: {
airlineCode: string;
basePrice: string;
commercialName?: string;
currencyCode: string;
electronicMiscellaneousDocumentType: | "ETICKET"
| "STANDALONE"
| "FLIGHT_COUPON_ASSOCIATED"
| "STANDALONE_TICKET_ASSOCIATED"
| "OTHER_THAN_EMD";
firstTravelDate?: string;
flightApplicabilityType?: "Unknown"
| "Single"
| "Multiple";
flightIndices: number[];
groupCode: string;
lastTravelDate?: string;
numberOfItems: number;
purchaseDateTime?: string;
reasonForIssuance?:
| "UNKNOWN"
| "AIR_TRANSPORTATION"
| "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
| "BAGGAGE"
| "FINANCIAL_IMPACT"
| "AIRPORT_SERVICES"
| "MERCHANDISE"
| "INFLIGHT_SERVICES"
| "INDIVIDUAL_AIRLINE_USE";
source?: "ATPCO"
| "MERCHANDISING_MANAGER";
specialServiceIndex?: number;
subcode: string;
totalPrice?: string;
vendorCode?: string;
}[];
birthDate?: string;
emails?: string[];
formOfPaymentIndices?: number[];
gender?: | "FEMALE"
| "MALE"
| "INFANT_FEMALE"
| "INFANT_MALE"
| "UNDISCLOSED"
| "UNDEFINED";
givenName?: string;
id?: string;
identityDocuments?: {
birthDate?: string;
documentNumber?: string;
documentSubType?: "RUC"
| "CUIT/CUIL"
| "NIT";
documentType:
| "MILITARY"
| "PASSPORT"
| "VISA"
| "SECURE_FLIGHT_PASSENGER_DATA"
| "RESIDENCE_ADDRESS"
| "DESTINATION_ADDRESS"
| "KNOWN_TRAVELER_NUMBER"
| "REDRESS_NUMBER"
| "ALIEN_RESIDENT"
| "PERMANENT_RESIDENT"
| "FACILITATION_DOCUMENT"
| "NATIONAL_ID_CARD"
| "NEXUS_CARD"
| "NATURALIZATION_CERTIFICATE"
| "REFUGEE_REENTRY_PERMIT"
| "BORDER_CROSSING_CARD"
| "FISCAL_ID";
expiryDate?: string;
flightIndices?: number[];
gender?: | "FEMALE"
| "MALE"
| "INFANT_FEMALE"
| "INFANT_MALE"
| "UNDISCLOSED"
| "UNDEFINED";
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceOrDestinationAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
surname?: string;
}[];
loyaltyPrograms?: {
programNumber: string;
programType?: | "FREQUENT_FLYER"
| "FREQUENT_RENTER"
| "LOYALTY_ID"
| "CORPORATE_LOYALTY_ID";
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
nameReferenceCode?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
specialServices?: {
code: string;
flightIndices?: number[];
message?: string;
}[];
surname?: string;
}[];
};
};
}
responses: {
"200": {
content: {
"application/json": {
booking?: {
accountingItems?: {
airlineCode?: string;
cardNumber?: string;
cardTypeCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationType?: "Refund"
| "Exchange"
| "First Issuance";
currencyCode?: string;
fareAmount?: string;
fareApplicationType?:
| "Single Traveler"
| "All Travelers"
| "Each Traveler";
formOfPaymentType?: | "Unknown"
| "Cash"
| "Check"
| "Check or Cash"
| "Payment Card"
| "Masked Payment Card";
tariffBasisType?: "Domestic"
| "Foreign"
| "International";
taxAmount?: string;
ticketNumber?: string;
travelerIndices?: number[];
}[];
agencyCustomerNumber?: string;
allSegments?: (
{ id: string } & {
address?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
date?: string;
endAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
endDate?: string;
endLocationCode?: string;
endTime?: string;
locationCode?: string;
startAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
startDate?: string;
startLocationCode?: string;
startTime?: string;
text?: string;
time?: string;
type: string;
vendorCode?: string;
}
)[];
bookingId?: string;
cars?: (
{ itemId: string } & {
carStatusCode?: string;
carStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
collectionAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
collectionSite?: { id?: string; name?: string; phone?: string };
confirmationId?: string;
deliveryAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
deliverySite?: { id?: string; name?: string; phone?: string };
distanceAllowance?: string;
dropOffAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
dropOffContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
dropOffDate: string;
dropOffLocationCode?: string;
dropOffTime: string;
guaranteePaymentNote?: string;
isRefundable: boolean;
numberOfVehicles?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
pickUpAddress: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
pickUpContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
pickUpDate: string;
pickUpLocationCode?: string;
pickUpTime: string;
rateCode?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
specialInstructions?: string;
travelerIndex?: number;
vehicleTypeCode?: string;
vehicleTypeName?: | "Two/Three Door"
| "Two/Four Door"
| "Four/Five Door"
| "Wagon/Estate"
| "Passenger Van"
| "Limousine/Sedan"
| "Sport"
| "Convertible"
| "SUV"
| "Open Air All Terrain"
| "Special"
| "Pick up single/extended cab 2 door"
| "Pick up double cab 4 door"
| "Special Offer Car"
| "Coupe"
| "Monospace"
| "Recreational Vehicle"
| "Motor Home"
| "Two Wheel Vehicle"
| "Roadster"
| "Crossover"
| "Commercial Van/Truck";
vendorCode: string;
vendorName: string;
}
)[];
contactInfo?: { emails?: string[] } & {
emergencyPhones?: string[];
faxes?: string[];
phones?: string[];
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
cruises?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime?: string;
cabinNumber?: string;
confirmationId?: string;
cruiseStatusCode?: string;
cruiseStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
departureDate: string;
departureTime?: string;
fromPortCode: string;
numberOfGuests?: number;
shipCode?: string;
shipName?: string;
toPortCode?: string;
vendorCode: string;
}
)[];
endDate?: string;
fareOffers?: {
cabinBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
cabinBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
checkedBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
checkedBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
flights?: { itemId: string }[];
travelerIndices?: number[];
}[];
fareRules?: {
destinationAirportCode?: string;
exchangePenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
isChangeable?: boolean;
isRefundable?: boolean;
originAirportCode?: string;
owningAirlineCode: string;
passengerCode?: string;
refundPenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
}[];
fares?: {
airlineCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
fareCalculationLine?: string;
fareConstruction?: {
baseRate?: { amount: ...; currencyCode: ... };
brandAttributes?: (...)[];
brandFareCode?: string;
brandFareName?: string;
brandProgramCode?: string;
brandProgramName?: string;
checkedBaggageAllowance?: {
baggagePieces?: ...;
maximumPieces?: ...;
totalWeightInKilograms?: ...;
totalWeightInPounds?: ...;
};
fareBasisCode?: string;
flightIndices?: (...)[];
flights?: (...)[];
isCurrentItinerary?: boolean;
}[];
hasValidPricing: boolean;
isNegotiatedFare?: boolean;
pricedTravelerType?: string;
pricingStatusCode?: "A"
| "H";
pricingStatusName?: "Active" | "History";
pricingTypeCode?: "S" | "A" | "M";
pricingTypeName?: "Unknown" | "System" | "Amended" | "Manual";
recordId?: string;
recordTypeCode?: string;
recordTypeName?: string;
requestedTravelerType?: string;
taxBreakdown?: {
taxAmount?: { amount: ...; currencyCode: ... };
taxCode?: string;
}[];
totals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
tourCode?: string;
travelerIndices?: number[];
}[];
flights?: (
{ itemId: string } & {
aircraftTypeCode?: string;
aircraftTypeName?: string;
airlineCode: string;
airlineName?: string;
arrivalDate: string;
arrivalGate?: string;
arrivalTerminalName?: string;
arrivalTime: string;
bookingClass?: string;
cabinTypeCode?: string;
cabinTypeName?: string;
confirmationId?: string;
departureDate: string;
departureGate?: string;
departureTerminalName?: string;
departureTime: string;
distanceInMiles?: number;
durationInMinutes?: number;
flightNumber: number;
flightStatusCode?: string;
flightStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
fromAirportCode: string;
hiddenStopAircraftTypeCode?: string;
hiddenStopAircraftTypeName?: string;
hiddenStopAirportCode?: string;
hiddenStopArrivalDate?: string;
hiddenStopArrivalTime?: string;
hiddenStopDepartureDate?: string;
hiddenStopDepartureTime?: string;
hiddenStops?: {
aircraftTypeCode?: ...;
aircraftTypeName?: ...;
airportCode?: ...;
arrivalDate?: ...;
arrivalTime?: ...;
departureDate?: ...;
departureTime?: ...;
durationInMinutes?: ...;
}[];
identityDocuments?: { itemId?: ...; status?: ... }[];
isPast?: boolean;
meals?: { code: ...; description: ... }[];
numberOfSeats?: number;
operatingAirlineCode?: string;
operatingAirlineName?: string;
operatingFlightNumber?: number;
seats?: {
characteristics?: ...;
number: ...;
statusCode?: ...;
statusName?: ...;
}[];
sourceType?: "NDC"
| "LCC"
| "ATPCO";
toAirportCode: string;
travelerIndices?: number[];
updatedArrivalDate?: string;
updatedArrivalTime?: string;
updatedDepartureDate?: string;
updatedDepartureTime?: string;
}
)[];
flightTickets?: {
agencyIataNumber?: string;
airlineCode: string;
allCoupons?: (
{ couponStatus: ...; couponStatusCode: ... } & { itemId?: ... }
)[];
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
date: string;
flightCoupons: (
{ itemId: ... } & { couponStatus: ...; couponStatusCode: ... }
)[];
number: string;
payment: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
ticketingPcc?: string;
ticketStatusCode?: string;
ticketStatusName?: "Voided"
| "Issued"
| "Refunded/Exchanged";
travelerIndex: number;
}[];
futureTicketingPolicy?: {
comment?: string;
queueNumber?: string;
ticketingDate?: string;
ticketingPcc?: string;
ticketingTime?: string;
};
hotels?: (
{ itemId: string } & {
address: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... } & { cityCode?: ... };
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
chainCode?: string;
chainName?: string;
checkInDate: string;
checkInTime: string;
checkOutDate: string;
checkOutTime: string;
confirmationId?: string;
contactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
corporateDiscountCode?: number;
guaranteePaymentNote?: string;
guaranteeTypeCode?: number;
guaranteeTypeName?: | "Credit card"
| "Travel agency name/address"
| "Travel agency IATA number"
| "Company name/address"
| "Corporate ID/CD number"
| "Virtual card";
hotelName: string;
hotelStatusCode?: string;
hotelStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
isRefundable: boolean;
leadTravelerIndex?: number;
numberOfGuests?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
paymentPolicy?: "DEPOSIT"
| "GUARANTEE"
| "LATE";
propertyId?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
refundPenaltyPolicyCode?: string;
room?: {
agencyCommission?: {
commissionAmount?: ...;
commissionPercentage?: ...;
currencyCode?: ...;
};
description?: string;
productCode?: string;
quantity: number;
roomRate?: { amount: ...; currencyCode: ... };
roomType: string;
roomTypeCode?: string;
travelerIndices?: (...)[];
};
sabrePropertyId?: string;
sourceTypeCode?: number;
sourceTypeName?: | "Unknown"
| "Legacy"
| "Sabre GDS"
| "Expedia Associate Network"
| "HotelBeds.com"
| "Booking.com"
| "CMNet";
specialInstructions?: string;
}
)[];
isCancelable?: boolean;
isTicketed?: boolean;
journeys?: {
departureDate: string;
departureTime: string;
firstAirportCode: string;
lastAirportCode: string;
numberOfFlights: number;
}[];
nonElectronicTickets?: {
date?: string;
ticketingPcc?: string;
ticketingUserCode?: string;
ticketNumber?: string;
ticketStatus?: "Unknown"
| "Active"
| "Inactive";
time?: string;
travelerIndex?: number;
}[];
otherServices?: {
airlineCode?: string;
chainCode?: string;
serviceMessage?: string;
travelerIndex?: number;
vendorCode?: string;
}[];
payments?: {
carTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightCurrentTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: (...) & (...);
agencyIataNumber?: string;
authentications?: (...)[];
cardHolder?: {
address?: ...;
email?: ...;
givenName: ...;
phone?: ...;
surname: ...;
};
companyAddress?: (...) & (...);
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: ...;
amount: ...;
code: ...;
currencyCode: ...;
expiryDateTime: ...;
requestDateTime: ...;
};
netBalance?: string;
tripType?: (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
tripTypes?: (...)[];
type:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useType?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useTypes?: (...)[];
virtualCard?: {
agencyEmail?: ...;
customerAccountCode?: ...;
hotelFax?: ...;
hotelName?: ...;
rateAmount?: ...;
roomDescription?: ...;
roomType?: ...;
virtualCardCharges?: ...;
};
voucher?: { billingNumber?: ...; type?: ... };
}
)[];
hotelTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
trainTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
};
remarks?: {
alphaCode?: string;
text?: string;
type?: | "INVOICE"
| "ITINERARY"
| "GENERAL"
| "HISTORICAL"
| "CLIENT_ADDRESS"
| "ALPHA_CODED"
| "DELIVERY_ADDRESS"
| "HIDDEN"
| "CORPORATE"
| "FORM_OF_PAYMENT"
| "PRINT_ON_TICKET"
| "FILLER_STRIP"
| "INTERFACE"
| "QUEUE_PLACE";
}[];
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code?: string;
flights?: { itemId: string }[];
message?: string;
name?: string;
statusCode?: string;
statusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
travelerIndices?: number[];
}[];
startDate?: string;
trains?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime: string;
confirmationId?: string;
departureDate: string;
departureTime: string;
fromStationCode: string;
fromStationName?: string;
isRefundable?: boolean;
operatingVendorCode?: string;
operatingVendorName?: string;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
toStationCode: string;
toStationName?: string;
trainName?: string;
trainNumber: string;
trainStatusCode?: string;
trainStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
vendorCode: string;
vendorName?: string;
}
)[];
travelers?: {
address?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
ancillaries?: {
airlineCode?: string;
commercialName?: string;
electronicMiscellaneousDocumentNumber?: string;
flightApplicabilityType?: (...) | (...) | (...);
flights?: (...)[];
isCommissionable?: boolean;
isRefundable?: boolean;
itemId?: string;
numberOfItems?: number;
reasonForIssuanceCode?: string;
reasonForIssuanceName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
source?: (...) | (...);
statusCode?: string;
statusName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
subcode?: string;
totals?: {
currencyCode: ...;
fees?: ...;
subtotal?: ...;
taxes?: ...;
total: ...;
};
vendorCode?: string;
}[];
birthDate?: string;
emails?: string[];
formOfPaymentIndices?: number[];
gender?: | "FEMALE"
| "MALE"
| "INFANT_FEMALE"
| "INFANT_MALE"
| "UNDISCLOSED"
| "UNDEFINED";
givenName: string;
identityDocuments?: {
birthDate?: string;
documentNumber?: string;
documentSubType?: (...)
| (...)
| (...);
documentType:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
expiryDate?: string;
flightIndices?: (...)[];
gender?: (...) | (...) | (...) | (...) | (...) | (...);
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
itemId?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceDestinationAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
surname?: string;
}[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: string;
programType?: (...)
| (...)
| (...)
| (...);
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
middleName?: string;
nameAssociationId?: string;
nameReferenceCode?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
remarks?: {
alphaCode?: string;
text?: string;
type?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}[];
surname: string;
type?: | "ADULT"
| "AGENT"
| "AIRLINE"
| "CHILD"
| "EDUCATION"
| "GOVERNMENT"
| "GROUP"
| "INFANT"
| "MILITARY"
| "SENIOR"
| "SPECIAL"
| "YOUTH";
}[];
travelersGroup?: {
itemId?: string;
name?: string;
numberOfTravelers?: number;
numberOfTravelersRemaining?: number;
};
};
confirmationId?: string;
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
request?: {
agency?: {
address?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
agencyCustomerNumber?: string;
contactInfo?: { emails?: string[] };
futureTicketingPolicy?: {
comment?: string;
queueNumber?: string;
ticketingDate?: string;
ticketingPcc?: string;
ticketingTime?: string;
};
ticketingPolicy?: | "TODAY"
| "ALREADY_TICKETED"
| "FUTURE_TICKETING"
| "TICKETING_TIME_LIMIT";
ticketingTimeLimitPolicy?: {
airlineCode?: string;
ticketingDate?: string;
ticketingTime?: string;
};
};
asynchronousUpdateWaitTime: number;
car?: {
bookingKey: string;
collectionAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
collectionSite?: { id?: string; name?: string; phone?: string };
deliveryAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
deliverySite?: { id?: string; name?: string; phone?: string };
emailIndex?: number;
flightIndex?: number;
formOfPayment?: number;
paymentPolicy?: "DEPOSIT" | "GUARANTEE";
quantity: number;
specialInstructions?: string;
travelerIndex?: number;
};
contactInfo?: { emails?: string[] } & {
emergencyPhones?: string[];
faxes?: string[];
phones?: string[];
};
errorHandlingPolicy?: (
| "HALT_ON_ERROR"
| "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
| "DO_NOT_HALT_ON_FLIGHT_PRICING_ERROR"
| "DO_NOT_HALT_ON_HOTEL_BOOKING_ERROR"
| "DO_NOT_HALT_ON_ANCILLARY_BOOKING_ERROR"
| "DO_NOT_HALT_ON_SEAT_BOOKING_ERROR"
| "DO_NOT_HALT_ON_CAR_BOOKING_ERROR"
)[];
flightDetails?: {
flightPricing?: {
priceComparisons?: {
amount?: ...;
comparisonType: ...;
desiredAmount: ...;
percent?: ...;
}[];
qualifiers?: {
commissionAmount?: ...;
commissionPercentage?: ...;
endorsements?: ...;
excludeFareFocusFares?: ...;
tourCode?: ...;
tourCodeOverrides?: ...;
travelerIndices?: ...;
validatingAirlineCode?: ...;
} & {
accountCode?: ...;
adjustedSellingLevel?: ...;
baggageAllowance?: ...;
brandedFares?: ...;
breakFareFlightIndices?: ...;
cabinCode?: ...;
commissionContractNames?: ...;
considerMultiTicket?: ...;
corporateFare?: ...;
currencyPricing?: ...;
exchangePenalties?: ...;
excludeBasicEconomyFares?: ...;
exemptTaxes?: ...;
flightIndices?: ...;
forceConnectionFlightIndices?: ...;
forceStopoverFlightIndices?: ...;
hemisphereCode?: ...;
journeyCode?: ...;
netRemit?: ...;
overrideTaxes?: ...;
passengersPricing?: ...;
passengerStatus?: ...;
passengerStatusCountryCode?: ...;
payment?: ...;
priceWithTaxes: ...;
rebookLowestFares?: ...;
retailerRule?: ...;
settlementMethod?: ...;
sideTripFlightIndices?: ...;
spanishIslandResidentDiscountCode?: ...;
spanishLargeFamilyDiscountLevel?: ...;
specificFares?: ...;
useExcursionFare?: ...;
useNetFare?: ...;
usePrivateFare?: ...;
usePublicFare?: ...;
useRoundTheWorldFare?: ...;
};
}[];
flights?: {
airlineCode: string;
arrivalDate?: string;
arrivalTime?: string;
bookingClass: string;
confirmationId?: string;
departureDate: string;
departureTime: string;
flightNumber: number;
flightStatusCode: string;
fromAirportCode: string;
isMarriageGroup?: boolean;
seats?: { areaPreferences?: ...; number?: ...; travelerIndex: ... }[];
source?: "LCC" | "ATPCO";
toAirportCode: string;
}[];
haltOnFlightStatusCodes?: (
"US"
| "NO"
| "NN"
| "UC"
| "UN"
| "UU"
| "LL"
| "HL"
)[];
retryBookingUnconfirmedFlights?: boolean;
};
flightOffer?: { offerId: string; selectedOfferItems: string[] };
hotel?: {
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
bookingKey: string;
corporateDiscountCode?: number;
formOfPayment?: number;
paymentPolicy?: "DEPOSIT"
| "GUARANTEE"
| "LATE";
rooms?: {
bedTypeCode?: number;
isSmoking: boolean;
physicalDisabilityCode?: number;
roomExtras?: { amount?: ...; quantity: ...; roomExtraType: ... }[];
travelerIndices?: number[];
}[];
specialInstruction?: string;
useCsl: boolean;
};
notification?: {
email?: | "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
otherServices?: {
airlineCode?: string;
chainCode?: string;
serviceMessage?: string;
travelerIndex?: number;
vendorCode?: string;
}[];
payment?: {
billingAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: (...) & (...);
agencyIataNumber?: string;
authentications?: (...)[];
cardHolder?: {
address?: ...;
email?: ...;
givenName: ...;
phone?: ...;
surname: ...;
};
companyAddress?: (...) & (...);
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: ...;
amount: ...;
code: ...;
currencyCode: ...;
expiryDateTime: ...;
requestDateTime: ...;
};
netBalance?: string;
tripType?: (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
tripTypes?: (...)[];
type:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useType?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useTypes?: (...)[];
virtualCard?: {
agencyEmail?: ...;
customerAccountCode?: ...;
hotelFax?: ...;
hotelName?: ...;
rateAmount?: ...;
roomDescription?: ...;
roomType?: ...;
virtualCardCharges?: ...;
};
voucher?: { billingNumber?: ...; type?: ... };
}
)[];
};
profiles?: {
domainId: string;
filterId?: string;
profileName?: string;
profileTypeCode: string;
uniqueId?: string;
}[];
receivedFrom: string;
remarks?: (
{
alphaCode?: string;
text?: string;
type?: | "INVOICE"
| "ITINERARY"
| "GENERAL"
| "HISTORICAL"
| "CLIENT_ADDRESS"
| "ALPHA_CODED"
| "DELIVERY_ADDRESS"
| "HIDDEN"
| "CORPORATE"
| "FORM_OF_PAYMENT"
| "PRINT_ON_TICKET"
| "FILLER_STRIP"
| "INTERFACE"
| "QUEUE_PLACE";
} & {
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
};
}
)[];
retentionEndDate?: string;
retentionLabel?: string;
targetPcc?: string;
travelers?: {
age?: number;
ancillaries?: {
airlineCode: string;
basePrice: string;
commercialName?: string;
currencyCode: string;
electronicMiscellaneousDocumentType: | (...)
| (...)
| (...)
| (...)
| (...);
firstTravelDate?: string;
flightApplicabilityType?: (...) | (...) | (...);
flightIndices: (...)[];
groupCode: string;
lastTravelDate?: string;
numberOfItems: number;
purchaseDateTime?: string;
reasonForIssuance?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
source?: (...) | (...);
specialServiceIndex?: number;
subcode: string;
totalPrice?: string;
vendorCode?: string;
}[];
birthDate?: string;
emails?: string[];
formOfPaymentIndices?: number[];
gender?: | "FEMALE"
| "MALE"
| "INFANT_FEMALE"
| "INFANT_MALE"
| "UNDISCLOSED"
| "UNDEFINED";
givenName?: string;
id?: string;
identityDocuments?: {
birthDate?: string;
documentNumber?: string;
documentSubType?: (...)
| (...)
| (...);
documentType:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
expiryDate?: string;
flightIndices?: (...)[];
gender?: (...) | (...) | (...) | (...) | (...) | (...);
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceOrDestinationAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
surname?: string;
}[];
loyaltyPrograms?: {
programNumber: string;
programType?: (...)
| (...)
| (...)
| (...);
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
nameReferenceCode?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
specialServices?: {
code: string;
flightIndices?: (...)[];
message?: string;
}[];
surname?: string;
}[];
};
timestamp?: string;
};
};
headers: { [name: string]: unknown };
};
}
200: {
content: {
"application/json": {
booking?: {
accountingItems?: {
airlineCode?: string;
cardNumber?: string;
cardTypeCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationType?: "Refund"
| "Exchange"
| "First Issuance";
currencyCode?: string;
fareAmount?: string;
fareApplicationType?:
| "Single Traveler"
| "All Travelers"
| "Each Traveler";
formOfPaymentType?: | "Unknown"
| "Cash"
| "Check"
| "Check or Cash"
| "Payment Card"
| "Masked Payment Card";
tariffBasisType?: "Domestic"
| "Foreign"
| "International";
taxAmount?: string;
ticketNumber?: string;
travelerIndices?: number[];
}[];
agencyCustomerNumber?: string;
allSegments?: (
{ id: string } & {
address?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
date?: string;
endAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
endDate?: string;
endLocationCode?: string;
endTime?: string;
locationCode?: string;
startAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
startDate?: string;
startLocationCode?: string;
startTime?: string;
text?: string;
time?: string;
type: string;
vendorCode?: string;
}
)[];
bookingId?: string;
cars?: (
{ itemId: string } & {
carStatusCode?: string;
carStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
collectionAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
collectionSite?: { id?: string; name?: string; phone?: string };
confirmationId?: string;
deliveryAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
deliverySite?: { id?: string; name?: string; phone?: string };
distanceAllowance?: string;
dropOffAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
dropOffContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
dropOffDate: string;
dropOffLocationCode?: string;
dropOffTime: string;
guaranteePaymentNote?: string;
isRefundable: boolean;
numberOfVehicles?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
pickUpAddress: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
pickUpContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
pickUpDate: string;
pickUpLocationCode?: string;
pickUpTime: string;
rateCode?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
specialInstructions?: string;
travelerIndex?: number;
vehicleTypeCode?: string;
vehicleTypeName?: | "Two/Three Door"
| "Two/Four Door"
| "Four/Five Door"
| "Wagon/Estate"
| "Passenger Van"
| "Limousine/Sedan"
| "Sport"
| "Convertible"
| "SUV"
| "Open Air All Terrain"
| "Special"
| "Pick up single/extended cab 2 door"
| "Pick up double cab 4 door"
| "Special Offer Car"
| "Coupe"
| "Monospace"
| "Recreational Vehicle"
| "Motor Home"
| "Two Wheel Vehicle"
| "Roadster"
| "Crossover"
| "Commercial Van/Truck";
vendorCode: string;
vendorName: string;
}
)[];
contactInfo?: { emails?: string[] } & {
emergencyPhones?: string[];
faxes?: string[];
phones?: string[];
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
cruises?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime?: string;
cabinNumber?: string;
confirmationId?: string;
cruiseStatusCode?: string;
cruiseStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
departureDate: string;
departureTime?: string;
fromPortCode: string;
numberOfGuests?: number;
shipCode?: string;
shipName?: string;
toPortCode?: string;
vendorCode: string;
}
)[];
endDate?: string;
fareOffers?: {
cabinBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
cabinBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
checkedBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
checkedBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
flights?: { itemId: string }[];
travelerIndices?: number[];
}[];
fareRules?: {
destinationAirportCode?: string;
exchangePenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
isChangeable?: boolean;
isRefundable?: boolean;
originAirportCode?: string;
owningAirlineCode: string;
passengerCode?: string;
refundPenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
}[];
fares?: {
airlineCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
fareCalculationLine?: string;
fareConstruction?: {
baseRate?: { amount: ...; currencyCode: ... };
brandAttributes?: (...)[];
brandFareCode?: string;
brandFareName?: string;
brandProgramCode?: string;
brandProgramName?: string;
checkedBaggageAllowance?: {
baggagePieces?: ...;
maximumPieces?: ...;
totalWeightInKilograms?: ...;
totalWeightInPounds?: ...;
};
fareBasisCode?: string;
flightIndices?: (...)[];
flights?: (...)[];
isCurrentItinerary?: boolean;
}[];
hasValidPricing: boolean;
isNegotiatedFare?: boolean;
pricedTravelerType?: string;
pricingStatusCode?: "A"
| "H";
pricingStatusName?: "Active" | "History";
pricingTypeCode?: "S" | "A" | "M";
pricingTypeName?: "Unknown" | "System" | "Amended" | "Manual";
recordId?: string;
recordTypeCode?: string;
recordTypeName?: string;
requestedTravelerType?: string;
taxBreakdown?: {
taxAmount?: { amount: ...; currencyCode: ... };
taxCode?: string;
}[];
totals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
tourCode?: string;
travelerIndices?: number[];
}[];
flights?: (
{ itemId: string } & {
aircraftTypeCode?: string;
aircraftTypeName?: string;
airlineCode: string;
airlineName?: string;
arrivalDate: string;
arrivalGate?: string;
arrivalTerminalName?: string;
arrivalTime: string;
bookingClass?: string;
cabinTypeCode?: string;
cabinTypeName?: string;
confirmationId?: string;
departureDate: string;
departureGate?: string;
departureTerminalName?: string;
departureTime: string;
distanceInMiles?: number;
durationInMinutes?: number;
flightNumber: number;
flightStatusCode?: string;
flightStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
fromAirportCode: string;
hiddenStopAircraftTypeCode?: string;
hiddenStopAircraftTypeName?: string;
hiddenStopAirportCode?: string;
hiddenStopArrivalDate?: string;
hiddenStopArrivalTime?: string;
hiddenStopDepartureDate?: string;
hiddenStopDepartureTime?: string;
hiddenStops?: {
aircraftTypeCode?: ...;
aircraftTypeName?: ...;
airportCode?: ...;
arrivalDate?: ...;
arrivalTime?: ...;
departureDate?: ...;
departureTime?: ...;
durationInMinutes?: ...;
}[];
identityDocuments?: { itemId?: ...; status?: ... }[];
isPast?: boolean;
meals?: { code: ...; description: ... }[];
numberOfSeats?: number;
operatingAirlineCode?: string;
operatingAirlineName?: string;
operatingFlightNumber?: number;
seats?: {
characteristics?: ...;
number: ...;
statusCode?: ...;
statusName?: ...;
}[];
sourceType?: "NDC"
| "LCC"
| "ATPCO";
toAirportCode: string;
travelerIndices?: number[];
updatedArrivalDate?: string;
updatedArrivalTime?: string;
updatedDepartureDate?: string;
updatedDepartureTime?: string;
}
)[];
flightTickets?: {
agencyIataNumber?: string;
airlineCode: string;
allCoupons?: (
{ couponStatus: ...; couponStatusCode: ... } & { itemId?: ... }
)[];
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
date: string;
flightCoupons: (
{ itemId: ... } & { couponStatus: ...; couponStatusCode: ... }
)[];
number: string;
payment: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
ticketingPcc?: string;
ticketStatusCode?: string;
ticketStatusName?: "Voided"
| "Issued"
| "Refunded/Exchanged";
travelerIndex: number;
}[];
futureTicketingPolicy?: {
comment?: string;
queueNumber?: string;
ticketingDate?: string;
ticketingPcc?: string;
ticketingTime?: string;
};
hotels?: (
{ itemId: string } & {
address: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... } & { cityCode?: ... };
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
chainCode?: string;
chainName?: string;
checkInDate: string;
checkInTime: string;
checkOutDate: string;
checkOutTime: string;
confirmationId?: string;
contactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
corporateDiscountCode?: number;
guaranteePaymentNote?: string;
guaranteeTypeCode?: number;
guaranteeTypeName?: | "Credit card"
| "Travel agency name/address"
| "Travel agency IATA number"
| "Company name/address"
| "Corporate ID/CD number"
| "Virtual card";
hotelName: string;
hotelStatusCode?: string;
hotelStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
isRefundable: boolean;
leadTravelerIndex?: number;
numberOfGuests?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
paymentPolicy?: "DEPOSIT"
| "GUARANTEE"
| "LATE";
propertyId?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
refundPenaltyPolicyCode?: string;
room?: {
agencyCommission?: {
commissionAmount?: ...;
commissionPercentage?: ...;
currencyCode?: ...;
};
description?: string;
productCode?: string;
quantity: number;
roomRate?: { amount: ...; currencyCode: ... };
roomType: string;
roomTypeCode?: string;
travelerIndices?: (...)[];
};
sabrePropertyId?: string;
sourceTypeCode?: number;
sourceTypeName?: | "Unknown"
| "Legacy"
| "Sabre GDS"
| "Expedia Associate Network"
| "HotelBeds.com"
| "Booking.com"
| "CMNet";
specialInstructions?: string;
}
)[];
isCancelable?: boolean;
isTicketed?: boolean;
journeys?: {
departureDate: string;
departureTime: string;
firstAirportCode: string;
lastAirportCode: string;
numberOfFlights: number;
}[];
nonElectronicTickets?: {
date?: string;
ticketingPcc?: string;
ticketingUserCode?: string;
ticketNumber?: string;
ticketStatus?: "Unknown"
| "Active"
| "Inactive";
time?: string;
travelerIndex?: number;
}[];
otherServices?: {
airlineCode?: string;
chainCode?: string;
serviceMessage?: string;
travelerIndex?: number;
vendorCode?: string;
}[];
payments?: {
carTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightCurrentTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: (...) & (...);
agencyIataNumber?: string;
authentications?: (...)[];
cardHolder?: {
address?: ...;
email?: ...;
givenName: ...;
phone?: ...;
surname: ...;
};
companyAddress?: (...) & (...);
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: ...;
amount: ...;
code: ...;
currencyCode: ...;
expiryDateTime: ...;
requestDateTime: ...;
};
netBalance?: string;
tripType?: (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
tripTypes?: (...)[];
type:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useType?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useTypes?: (...)[];
virtualCard?: {
agencyEmail?: ...;
customerAccountCode?: ...;
hotelFax?: ...;
hotelName?: ...;
rateAmount?: ...;
roomDescription?: ...;
roomType?: ...;
virtualCardCharges?: ...;
};
voucher?: { billingNumber?: ...; type?: ... };
}
)[];
hotelTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
trainTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
};
remarks?: {
alphaCode?: string;
text?: string;
type?: | "INVOICE"
| "ITINERARY"
| "GENERAL"
| "HISTORICAL"
| "CLIENT_ADDRESS"
| "ALPHA_CODED"
| "DELIVERY_ADDRESS"
| "HIDDEN"
| "CORPORATE"
| "FORM_OF_PAYMENT"
| "PRINT_ON_TICKET"
| "FILLER_STRIP"
| "INTERFACE"
| "QUEUE_PLACE";
}[];
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code?: string;
flights?: { itemId: string }[];
message?: string;
name?: string;
statusCode?: string;
statusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
travelerIndices?: number[];
}[];
startDate?: string;
trains?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime: string;
confirmationId?: string;
departureDate: string;
departureTime: string;
fromStationCode: string;
fromStationName?: string;
isRefundable?: boolean;
operatingVendorCode?: string;
operatingVendorName?: string;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
toStationCode: string;
toStationName?: string;
trainName?: string;
trainNumber: string;
trainStatusCode?: string;
trainStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
vendorCode: string;
vendorName?: string;
}
)[];
travelers?: {
address?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
ancillaries?: {
airlineCode?: string;
commercialName?: string;
electronicMiscellaneousDocumentNumber?: string;
flightApplicabilityType?: (...) | (...) | (...);
flights?: (...)[];
isCommissionable?: boolean;
isRefundable?: boolean;
itemId?: string;
numberOfItems?: number;
reasonForIssuanceCode?: string;
reasonForIssuanceName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
source?: (...) | (...);
statusCode?: string;
statusName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
subcode?: string;
totals?: {
currencyCode: ...;
fees?: ...;
subtotal?: ...;
taxes?: ...;
total: ...;
};
vendorCode?: string;
}[];
birthDate?: string;
emails?: string[];
formOfPaymentIndices?: number[];
gender?: | "FEMALE"
| "MALE"
| "INFANT_FEMALE"
| "INFANT_MALE"
| "UNDISCLOSED"
| "UNDEFINED";
givenName: string;
identityDocuments?: {
birthDate?: string;
documentNumber?: string;
documentSubType?: (...)
| (...)
| (...);
documentType:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
expiryDate?: string;
flightIndices?: (...)[];
gender?: (...) | (...) | (...) | (...) | (...) | (...);
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
itemId?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceDestinationAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
surname?: string;
}[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: string;
programType?: (...)
| (...)
| (...)
| (...);
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
middleName?: string;
nameAssociationId?: string;
nameReferenceCode?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
remarks?: {
alphaCode?: string;
text?: string;
type?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}[];
surname: string;
type?: | "ADULT"
| "AGENT"
| "AIRLINE"
| "CHILD"
| "EDUCATION"
| "GOVERNMENT"
| "GROUP"
| "INFANT"
| "MILITARY"
| "SENIOR"
| "SPECIAL"
| "YOUTH";
}[];
travelersGroup?: {
itemId?: string;
name?: string;
numberOfTravelers?: number;
numberOfTravelersRemaining?: number;
};
};
confirmationId?: string;
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
request?: {
agency?: {
address?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
agencyCustomerNumber?: string;
contactInfo?: { emails?: string[] };
futureTicketingPolicy?: {
comment?: string;
queueNumber?: string;
ticketingDate?: string;
ticketingPcc?: string;
ticketingTime?: string;
};
ticketingPolicy?: | "TODAY"
| "ALREADY_TICKETED"
| "FUTURE_TICKETING"
| "TICKETING_TIME_LIMIT";
ticketingTimeLimitPolicy?: {
airlineCode?: string;
ticketingDate?: string;
ticketingTime?: string;
};
};
asynchronousUpdateWaitTime: number;
car?: {
bookingKey: string;
collectionAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
collectionSite?: { id?: string; name?: string; phone?: string };
deliveryAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
deliverySite?: { id?: string; name?: string; phone?: string };
emailIndex?: number;
flightIndex?: number;
formOfPayment?: number;
paymentPolicy?: "DEPOSIT" | "GUARANTEE";
quantity: number;
specialInstructions?: string;
travelerIndex?: number;
};
contactInfo?: { emails?: string[] } & {
emergencyPhones?: string[];
faxes?: string[];
phones?: string[];
};
errorHandlingPolicy?: (
| "HALT_ON_ERROR"
| "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
| "DO_NOT_HALT_ON_FLIGHT_PRICING_ERROR"
| "DO_NOT_HALT_ON_HOTEL_BOOKING_ERROR"
| "DO_NOT_HALT_ON_ANCILLARY_BOOKING_ERROR"
| "DO_NOT_HALT_ON_SEAT_BOOKING_ERROR"
| "DO_NOT_HALT_ON_CAR_BOOKING_ERROR"
)[];
flightDetails?: {
flightPricing?: {
priceComparisons?: {
amount?: ...;
comparisonType: ...;
desiredAmount: ...;
percent?: ...;
}[];
qualifiers?: {
commissionAmount?: ...;
commissionPercentage?: ...;
endorsements?: ...;
excludeFareFocusFares?: ...;
tourCode?: ...;
tourCodeOverrides?: ...;
travelerIndices?: ...;
validatingAirlineCode?: ...;
} & {
accountCode?: ...;
adjustedSellingLevel?: ...;
baggageAllowance?: ...;
brandedFares?: ...;
breakFareFlightIndices?: ...;
cabinCode?: ...;
commissionContractNames?: ...;
considerMultiTicket?: ...;
corporateFare?: ...;
currencyPricing?: ...;
exchangePenalties?: ...;
excludeBasicEconomyFares?: ...;
exemptTaxes?: ...;
flightIndices?: ...;
forceConnectionFlightIndices?: ...;
forceStopoverFlightIndices?: ...;
hemisphereCode?: ...;
journeyCode?: ...;
netRemit?: ...;
overrideTaxes?: ...;
passengersPricing?: ...;
passengerStatus?: ...;
passengerStatusCountryCode?: ...;
payment?: ...;
priceWithTaxes: ...;
rebookLowestFares?: ...;
retailerRule?: ...;
settlementMethod?: ...;
sideTripFlightIndices?: ...;
spanishIslandResidentDiscountCode?: ...;
spanishLargeFamilyDiscountLevel?: ...;
specificFares?: ...;
useExcursionFare?: ...;
useNetFare?: ...;
usePrivateFare?: ...;
usePublicFare?: ...;
useRoundTheWorldFare?: ...;
};
}[];
flights?: {
airlineCode: string;
arrivalDate?: string;
arrivalTime?: string;
bookingClass: string;
confirmationId?: string;
departureDate: string;
departureTime: string;
flightNumber: number;
flightStatusCode: string;
fromAirportCode: string;
isMarriageGroup?: boolean;
seats?: { areaPreferences?: ...; number?: ...; travelerIndex: ... }[];
source?: "LCC" | "ATPCO";
toAirportCode: string;
}[];
haltOnFlightStatusCodes?: (
"US"
| "NO"
| "NN"
| "UC"
| "UN"
| "UU"
| "LL"
| "HL"
)[];
retryBookingUnconfirmedFlights?: boolean;
};
flightOffer?: { offerId: string; selectedOfferItems: string[] };
hotel?: {
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
bookingKey: string;
corporateDiscountCode?: number;
formOfPayment?: number;
paymentPolicy?: "DEPOSIT"
| "GUARANTEE"
| "LATE";
rooms?: {
bedTypeCode?: number;
isSmoking: boolean;
physicalDisabilityCode?: number;
roomExtras?: { amount?: ...; quantity: ...; roomExtraType: ... }[];
travelerIndices?: number[];
}[];
specialInstruction?: string;
useCsl: boolean;
};
notification?: {
email?: | "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
otherServices?: {
airlineCode?: string;
chainCode?: string;
serviceMessage?: string;
travelerIndex?: number;
vendorCode?: string;
}[];
payment?: {
billingAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: (...) & (...);
agencyIataNumber?: string;
authentications?: (...)[];
cardHolder?: {
address?: ...;
email?: ...;
givenName: ...;
phone?: ...;
surname: ...;
};
companyAddress?: (...) & (...);
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: ...;
amount: ...;
code: ...;
currencyCode: ...;
expiryDateTime: ...;
requestDateTime: ...;
};
netBalance?: string;
tripType?: (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
tripTypes?: (...)[];
type:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useType?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useTypes?: (...)[];
virtualCard?: {
agencyEmail?: ...;
customerAccountCode?: ...;
hotelFax?: ...;
hotelName?: ...;
rateAmount?: ...;
roomDescription?: ...;
roomType?: ...;
virtualCardCharges?: ...;
};
voucher?: { billingNumber?: ...; type?: ... };
}
)[];
};
profiles?: {
domainId: string;
filterId?: string;
profileName?: string;
profileTypeCode: string;
uniqueId?: string;
}[];
receivedFrom: string;
remarks?: (
{
alphaCode?: string;
text?: string;
type?: | "INVOICE"
| "ITINERARY"
| "GENERAL"
| "HISTORICAL"
| "CLIENT_ADDRESS"
| "ALPHA_CODED"
| "DELIVERY_ADDRESS"
| "HIDDEN"
| "CORPORATE"
| "FORM_OF_PAYMENT"
| "PRINT_ON_TICKET"
| "FILLER_STRIP"
| "INTERFACE"
| "QUEUE_PLACE";
} & {
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
};
}
)[];
retentionEndDate?: string;
retentionLabel?: string;
targetPcc?: string;
travelers?: {
age?: number;
ancillaries?: {
airlineCode: string;
basePrice: string;
commercialName?: string;
currencyCode: string;
electronicMiscellaneousDocumentType: | (...)
| (...)
| (...)
| (...)
| (...);
firstTravelDate?: string;
flightApplicabilityType?: (...) | (...) | (...);
flightIndices: (...)[];
groupCode: string;
lastTravelDate?: string;
numberOfItems: number;
purchaseDateTime?: string;
reasonForIssuance?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
source?: (...) | (...);
specialServiceIndex?: number;
subcode: string;
totalPrice?: string;
vendorCode?: string;
}[];
birthDate?: string;
emails?: string[];
formOfPaymentIndices?: number[];
gender?: | "FEMALE"
| "MALE"
| "INFANT_FEMALE"
| "INFANT_MALE"
| "UNDISCLOSED"
| "UNDEFINED";
givenName?: string;
id?: string;
identityDocuments?: {
birthDate?: string;
documentNumber?: string;
documentSubType?: (...)
| (...)
| (...);
documentType:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
expiryDate?: string;
flightIndices?: (...)[];
gender?: (...) | (...) | (...) | (...) | (...) | (...);
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceOrDestinationAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
surname?: string;
}[];
loyaltyPrograms?: {
programNumber: string;
programType?: (...)
| (...)
| (...)
| (...);
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
nameReferenceCode?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
specialServices?: {
code: string;
flightIndices?: (...)[];
message?: string;
}[];
surname?: string;
}[];
};
timestamp?: string;
};
};
headers: { [name: string]: unknown };
}
fulfillTickets
fulfillTickets: {
parameters: {
cookie?: never;
header: { Authorization: string };
path?: never;
query?: never;
};
requestBody: {
content: {
"application/json": {
acceptNegotiatedFare: boolean;
acceptPriceChanges: boolean;
backDatePriceQuoteMethod?: "Reprice"
| "Override"
| "Quit";
bookingSource?: "SABRE" | "SABRE_ORDER";
commitTicketToBookingWaitTime: number;
confirmationId: string;
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: (
| "ALLOW_PARTIAL_FULFILLMENT"
| "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
)[];
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
authentications?: { channelCode?: string }[];
manualApprovalCode?: string;
type:
| "PAYMENTCARD"
| "CASH"
| "CHECK"
| "MISCELLANEOUS"
| "INSTALLMENTS"
| "VIRTUAL_CARD";
virtualCardCode?: string;
}
)[];
fulfillments: {
ancillaryIds?: string[];
payment?: {
amountOnSecondFormOfPayment?: string;
primaryFormOfPayment: number;
secondaryFormOfPayment?: number;
};
serviceFee?: {
currencyCode?: string;
customerReference?: string;
description?: string;
overrideAmount?: string;
};
ticketingQualifiers?: {
commissionAmount?: string;
commissionPercentage?: string;
endorsements?: { description?: string; useOverride?: boolean };
excludeFareFocusFares?: boolean;
tourCode?: string;
tourCodeOverrides?:
| "REPLACE_WITH_BT"
| "REPLACE_WITH_IT"
| "SUPPRESS_IT"
| "SUPPRESS_IT_AND_FARE";
travelerIndices?: number[];
validatingAirlineCode?: string;
} & {
baggageAllowance?: {
baggagePieces?: number;
flights?: (...)[];
totalWeightInKilograms?: number;
}[];
brandedFares?: { brandCode: string; flights?: (...)[] }[];
discountApprovalCode?: string;
exemptTaxes?: string[];
futurePricingLines?: {
firstLineNumber: number;
lastLineNumber?: number;
travelerIndex?: number;
}[];
isNetFareCommission: boolean;
netRemit?: {
cashAmount?: string;
commercialAgreementReferenceCode?: string;
creditAmount?: string;
discountAmount?: string;
netRemitCode?: string;
sellingFareAmount?: string;
tourCode?: string;
};
penalties?: {
applicability?: (...)
| (...);
isChangeable?: boolean;
maximumPenalty?: { amount: ...; currencyCode: ... };
type: (...) | (...) | (...);
}[];
priceQuoteRecordIds?: string[];
priceWithTaxes: boolean;
printDocuments?: "All"
| "Invoice"
| "Electronic Ticketing Receipt";
returnFareFlexibilityDetails: boolean;
sideTripFlights?: { itemId: string }[];
spanishLargeFamilyDiscountLevel?: number;
specificFares?: { fareBasisCode: string; flights?: (...)[] }[];
validityDates?: {
endDate?: string;
flights?: (...)[];
startDate?: string;
}[];
};
}[];
generateSingleInvoice: boolean;
notificationEmail?: | "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
priceQuoteExpirationMethod?: "Reprice"
| "Override"
| "Quit";
receivedFrom: string;
retainAccounting: boolean;
targetPcc?: string;
travelers?: { givenName: string; middleName?: string; surname: string }[];
};
};
};
responses: {
"200": {
content: {
"application/json": {
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
request?: {
acceptNegotiatedFare: boolean;
acceptPriceChanges: boolean;
backDatePriceQuoteMethod?: "Reprice"
| "Override"
| "Quit";
bookingSource?: "SABRE" | "SABRE_ORDER";
commitTicketToBookingWaitTime: number;
confirmationId: string;
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: (
| "ALLOW_PARTIAL_FULFILLMENT"
| "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
)[];
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
authentications?: { channelCode?: ... }[];
manualApprovalCode?: string;
type:
| "PAYMENTCARD"
| "CASH"
| "CHECK"
| "MISCELLANEOUS"
| "INSTALLMENTS"
| "VIRTUAL_CARD";
virtualCardCode?: string;
}
)[];
fulfillments: {
ancillaryIds?: string[];
payment?: {
amountOnSecondFormOfPayment?: string;
primaryFormOfPayment: number;
secondaryFormOfPayment?: number;
};
serviceFee?: {
currencyCode?: string;
customerReference?: string;
description?: string;
overrideAmount?: string;
};
ticketingQualifiers?: {
commissionAmount?: string;
commissionPercentage?: string;
endorsements?: { description?: ...; useOverride?: ... };
excludeFareFocusFares?: boolean;
tourCode?: string;
tourCodeOverrides?: (...) | (...) | (...) | (...);
travelerIndices?: (...)[];
validatingAirlineCode?: string;
} & {
baggageAllowance?: (...)[];
brandedFares?: (...)[];
discountApprovalCode?: string;
exemptTaxes?: (...)[];
futurePricingLines?: (...)[];
isNetFareCommission: boolean;
netRemit?: {
cashAmount?: ...;
commercialAgreementReferenceCode?: ...;
creditAmount?: ...;
discountAmount?: ...;
netRemitCode?: ...;
sellingFareAmount?: ...;
tourCode?: ...;
};
penalties?: (...)[];
priceQuoteRecordIds?: (...)[];
priceWithTaxes: boolean;
printDocuments?: (...) | (...) | (...);
returnFareFlexibilityDetails: boolean;
sideTripFlights?: (...)[];
spanishLargeFamilyDiscountLevel?: number;
specificFares?: (...)[];
validityDates?: (...)[];
};
}[];
generateSingleInvoice: boolean;
notificationEmail?: | "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
priceQuoteExpirationMethod?: "Reprice"
| "Override"
| "Quit";
receivedFrom: string;
retainAccounting: boolean;
targetPcc?: string;
travelers?: {
givenName: string;
middleName?: string;
surname: string;
}[];
};
tickets?: {
date: string;
isCommitted?: boolean;
number: string;
payment: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
ticketingPcc?: string;
ticketStatusCode?: string;
ticketStatusName?: "Voided"
| "Issued"
| "Refunded/Exchanged";
travelerGivenName?: string;
travelerSurname?: string;
}[];
timestamp?: string;
};
};
headers: { [name: string]: unknown };
};
};
}
Type Declaration
parameters: {
cookie?: never;
header: { Authorization: string };
path?: never;
query?: never;
}
Optionalcookie?: never
header: { Authorization: string }
Optionalpath?: never
Optionalquery?: never
requestBody: {
content: {
"application/json": {
acceptNegotiatedFare: boolean;
acceptPriceChanges: boolean;
backDatePriceQuoteMethod?: "Reprice" | "Override" | "Quit";
bookingSource?: "SABRE" | "SABRE_ORDER";
commitTicketToBookingWaitTime: number;
confirmationId: string;
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: (
| "ALLOW_PARTIAL_FULFILLMENT"
| "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
)[];
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
authentications?: { channelCode?: string }[];
manualApprovalCode?: string;
type:
| "PAYMENTCARD"
| "CASH"
| "CHECK"
| "MISCELLANEOUS"
| "INSTALLMENTS"
| "VIRTUAL_CARD";
virtualCardCode?: string;
}
)[];
fulfillments: {
ancillaryIds?: string[];
payment?: {
amountOnSecondFormOfPayment?: string;
primaryFormOfPayment: number;
secondaryFormOfPayment?: number;
};
serviceFee?: {
currencyCode?: string;
customerReference?: string;
description?: string;
overrideAmount?: string;
};
ticketingQualifiers?: {
commissionAmount?: string;
commissionPercentage?: string;
endorsements?: { description?: string; useOverride?: boolean };
excludeFareFocusFares?: boolean;
tourCode?: string;
tourCodeOverrides?:
| "REPLACE_WITH_BT"
| "REPLACE_WITH_IT"
| "SUPPRESS_IT"
| "SUPPRESS_IT_AND_FARE";
travelerIndices?: number[];
validatingAirlineCode?: string;
} & {
baggageAllowance?: {
baggagePieces?: number;
flights?: (...)[];
totalWeightInKilograms?: number;
}[];
brandedFares?: { brandCode: string; flights?: (...)[] }[];
discountApprovalCode?: string;
exemptTaxes?: string[];
futurePricingLines?: {
firstLineNumber: number;
lastLineNumber?: number;
travelerIndex?: number;
}[];
isNetFareCommission: boolean;
netRemit?: {
cashAmount?: string;
commercialAgreementReferenceCode?: string;
creditAmount?: string;
discountAmount?: string;
netRemitCode?: string;
sellingFareAmount?: string;
tourCode?: string;
};
penalties?: {
applicability?: (...)
| (...);
isChangeable?: boolean;
maximumPenalty?: { amount: ...; currencyCode: ... };
type: (...) | (...) | (...);
}[];
priceQuoteRecordIds?: string[];
priceWithTaxes: boolean;
printDocuments?: "All"
| "Invoice"
| "Electronic Ticketing Receipt";
returnFareFlexibilityDetails: boolean;
sideTripFlights?: { itemId: string }[];
spanishLargeFamilyDiscountLevel?: number;
specificFares?: { fareBasisCode: string; flights?: (...)[] }[];
validityDates?: {
endDate?: string;
flights?: (...)[];
startDate?: string;
}[];
};
}[];
generateSingleInvoice: boolean;
notificationEmail?: | "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
priceQuoteExpirationMethod?: "Reprice"
| "Override"
| "Quit";
receivedFrom: string;
retainAccounting: boolean;
targetPcc?: string;
travelers?: { givenName: string; middleName?: string; surname: string }[];
};
};
}
responses: {
"200": {
content: {
"application/json": {
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
request?: {
acceptNegotiatedFare: boolean;
acceptPriceChanges: boolean;
backDatePriceQuoteMethod?: "Reprice"
| "Override"
| "Quit";
bookingSource?: "SABRE" | "SABRE_ORDER";
commitTicketToBookingWaitTime: number;
confirmationId: string;
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: (
| "ALLOW_PARTIAL_FULFILLMENT"
| "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
)[];
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
authentications?: { channelCode?: ... }[];
manualApprovalCode?: string;
type:
| "PAYMENTCARD"
| "CASH"
| "CHECK"
| "MISCELLANEOUS"
| "INSTALLMENTS"
| "VIRTUAL_CARD";
virtualCardCode?: string;
}
)[];
fulfillments: {
ancillaryIds?: string[];
payment?: {
amountOnSecondFormOfPayment?: string;
primaryFormOfPayment: number;
secondaryFormOfPayment?: number;
};
serviceFee?: {
currencyCode?: string;
customerReference?: string;
description?: string;
overrideAmount?: string;
};
ticketingQualifiers?: {
commissionAmount?: string;
commissionPercentage?: string;
endorsements?: { description?: ...; useOverride?: ... };
excludeFareFocusFares?: boolean;
tourCode?: string;
tourCodeOverrides?: (...) | (...) | (...) | (...);
travelerIndices?: (...)[];
validatingAirlineCode?: string;
} & {
baggageAllowance?: (...)[];
brandedFares?: (...)[];
discountApprovalCode?: string;
exemptTaxes?: (...)[];
futurePricingLines?: (...)[];
isNetFareCommission: boolean;
netRemit?: {
cashAmount?: ...;
commercialAgreementReferenceCode?: ...;
creditAmount?: ...;
discountAmount?: ...;
netRemitCode?: ...;
sellingFareAmount?: ...;
tourCode?: ...;
};
penalties?: (...)[];
priceQuoteRecordIds?: (...)[];
priceWithTaxes: boolean;
printDocuments?: (...) | (...) | (...);
returnFareFlexibilityDetails: boolean;
sideTripFlights?: (...)[];
spanishLargeFamilyDiscountLevel?: number;
specificFares?: (...)[];
validityDates?: (...)[];
};
}[];
generateSingleInvoice: boolean;
notificationEmail?: | "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
priceQuoteExpirationMethod?: "Reprice"
| "Override"
| "Quit";
receivedFrom: string;
retainAccounting: boolean;
targetPcc?: string;
travelers?: { givenName: string; middleName?: string; surname: string }[];
};
tickets?: {
date: string;
isCommitted?: boolean;
number: string;
payment: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
ticketingPcc?: string;
ticketStatusCode?: string;
ticketStatusName?: "Voided"
| "Issued"
| "Refunded/Exchanged";
travelerGivenName?: string;
travelerSurname?: string;
}[];
timestamp?: string;
};
};
headers: { [name: string]: unknown };
};
}
200: {
content: {
"application/json": {
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
request?: {
acceptNegotiatedFare: boolean;
acceptPriceChanges: boolean;
backDatePriceQuoteMethod?: "Reprice"
| "Override"
| "Quit";
bookingSource?: "SABRE" | "SABRE_ORDER";
commitTicketToBookingWaitTime: number;
confirmationId: string;
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: (
| "ALLOW_PARTIAL_FULFILLMENT"
| "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
)[];
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
authentications?: { channelCode?: ... }[];
manualApprovalCode?: string;
type:
| "PAYMENTCARD"
| "CASH"
| "CHECK"
| "MISCELLANEOUS"
| "INSTALLMENTS"
| "VIRTUAL_CARD";
virtualCardCode?: string;
}
)[];
fulfillments: {
ancillaryIds?: string[];
payment?: {
amountOnSecondFormOfPayment?: string;
primaryFormOfPayment: number;
secondaryFormOfPayment?: number;
};
serviceFee?: {
currencyCode?: string;
customerReference?: string;
description?: string;
overrideAmount?: string;
};
ticketingQualifiers?: {
commissionAmount?: string;
commissionPercentage?: string;
endorsements?: { description?: ...; useOverride?: ... };
excludeFareFocusFares?: boolean;
tourCode?: string;
tourCodeOverrides?: (...) | (...) | (...) | (...);
travelerIndices?: (...)[];
validatingAirlineCode?: string;
} & {
baggageAllowance?: (...)[];
brandedFares?: (...)[];
discountApprovalCode?: string;
exemptTaxes?: (...)[];
futurePricingLines?: (...)[];
isNetFareCommission: boolean;
netRemit?: {
cashAmount?: ...;
commercialAgreementReferenceCode?: ...;
creditAmount?: ...;
discountAmount?: ...;
netRemitCode?: ...;
sellingFareAmount?: ...;
tourCode?: ...;
};
penalties?: (...)[];
priceQuoteRecordIds?: (...)[];
priceWithTaxes: boolean;
printDocuments?: (...) | (...) | (...);
returnFareFlexibilityDetails: boolean;
sideTripFlights?: (...)[];
spanishLargeFamilyDiscountLevel?: number;
specificFares?: (...)[];
validityDates?: (...)[];
};
}[];
generateSingleInvoice: boolean;
notificationEmail?: | "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
priceQuoteExpirationMethod?: "Reprice"
| "Override"
| "Quit";
receivedFrom: string;
retainAccounting: boolean;
targetPcc?: string;
travelers?: { givenName: string; middleName?: string; surname: string }[];
};
tickets?: {
date: string;
isCommitted?: boolean;
number: string;
payment: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
ticketingPcc?: string;
ticketStatusCode?: string;
ticketStatusName?: "Voided"
| "Issued"
| "Refunded/Exchanged";
travelerGivenName?: string;
travelerSurname?: string;
}[];
timestamp?: string;
};
};
headers: { [name: string]: unknown };
}
getBooking
getBooking: {
parameters: {
cookie?: never;
header: { Authorization: string };
path?: never;
query?: never;
};
requestBody: {
content: {
"application/json": {
bookingSource?: "SABRE"
| "SABRE_ORDER";
confirmationId: string;
extraFeatures?: { returnEmptySeatObjects: boolean } & {
returnFiscalId: boolean;
returnFrequentRenter: boolean;
returnWalletFormsOfPayment: boolean;
} & Record<string, never>;
givenName?: string;
middleName?: string;
returnOnly?: (
| "FLIGHTS"
| "FLIGHT_PENALTY"
| "BAGGAGE_POLICY"
| "JOURNEYS"
| "HOTELS"
| "HOTEL_ADDRESS"
| "CARS"
| "CAR_RENTAL_ADDRESS"
| "CAR_RENTAL_PENALTY"
| "TRAINS"
| "CRUISES"
| "ALL_SEGMENTS"
| "TRAVELERS"
| "TICKETS"
| "PAYMENTS"
| "PENALTIES"
| "REMARKS"
| "IS_CANCELABLE"
| "IS_TICKETED"
| "CONTACT_INFO"
| "OTHER_SERVICES"
| "SPECIAL_SERVICES"
| "FARES"
| "CREATION_DETAILS"
| "ANCILLARIES"
| "FORMS_OF_PAYMENT"
| "RETENTION_DATE"
| "ACCOUNTING_ITEMS"
| "NON_ELECTRONIC_TICKETS"
)[];
surname?: string;
targetPcc?: string;
unmaskPaymentCardNumbers?: boolean;
};
};
};
responses: {
"200": {
content: {
"application/json": {
accountingItems?: {
airlineCode?: string;
cardNumber?: string;
cardTypeCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationType?: "Refund"
| "Exchange"
| "First Issuance";
currencyCode?: string;
fareAmount?: string;
fareApplicationType?:
| "Single Traveler"
| "All Travelers"
| "Each Traveler";
formOfPaymentType?: | "Unknown"
| "Cash"
| "Check"
| "Check or Cash"
| "Payment Card"
| "Masked Payment Card";
tariffBasisType?: "Domestic"
| "Foreign"
| "International";
taxAmount?: string;
ticketNumber?: string;
travelerIndices?: number[];
}[];
agencyCustomerNumber?: string;
allSegments?: (
{ id: string } & {
address?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
date?: string;
endAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
endDate?: string;
endLocationCode?: string;
endTime?: string;
locationCode?: string;
startAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
startDate?: string;
startLocationCode?: string;
startTime?: string;
text?: string;
time?: string;
type: string;
vendorCode?: string;
}
)[];
bookingId?: string;
cars?: (
{ itemId: string } & {
carStatusCode?: string;
carStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
collectionAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
collectionSite?: { id?: string; name?: string; phone?: string };
confirmationId?: string;
deliveryAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
deliverySite?: { id?: string; name?: string; phone?: string };
distanceAllowance?: string;
dropOffAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
dropOffContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
dropOffDate: string;
dropOffLocationCode?: string;
dropOffTime: string;
guaranteePaymentNote?: string;
isRefundable: boolean;
numberOfVehicles?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
pickUpAddress: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
pickUpContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
pickUpDate: string;
pickUpLocationCode?: string;
pickUpTime: string;
rateCode?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
specialInstructions?: string;
travelerIndex?: number;
vehicleTypeCode?: string;
vehicleTypeName?: | "Two/Three Door"
| "Two/Four Door"
| "Four/Five Door"
| "Wagon/Estate"
| "Passenger Van"
| "Limousine/Sedan"
| "Sport"
| "Convertible"
| "SUV"
| "Open Air All Terrain"
| "Special"
| "Pick up single/extended cab 2 door"
| "Pick up double cab 4 door"
| "Special Offer Car"
| "Coupe"
| "Monospace"
| "Recreational Vehicle"
| "Motor Home"
| "Two Wheel Vehicle"
| "Roadster"
| "Crossover"
| "Commercial Van/Truck";
vendorCode: string;
vendorName: string;
}
)[];
contactInfo?: { emails?: string[] } & {
emergencyPhones?: string[];
faxes?: string[];
phones?: string[];
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
cruises?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime?: string;
cabinNumber?: string;
confirmationId?: string;
cruiseStatusCode?: string;
cruiseStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
departureDate: string;
departureTime?: string;
fromPortCode: string;
numberOfGuests?: number;
shipCode?: string;
shipName?: string;
toPortCode?: string;
vendorCode: string;
}
)[];
endDate?: string;
fareOffers?: {
cabinBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
cabinBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
checkedBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
checkedBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
flights?: { itemId: string }[];
travelerIndices?: number[];
}[];
fareRules?: {
destinationAirportCode?: string;
exchangePenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
isChangeable?: boolean;
isRefundable?: boolean;
originAirportCode?: string;
owningAirlineCode: string;
passengerCode?: string;
refundPenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
}[];
fares?: {
airlineCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
fareCalculationLine?: string;
fareConstruction?: {
baseRate?: { amount: ...; currencyCode: ... };
brandAttributes?: (...)[];
brandFareCode?: string;
brandFareName?: string;
brandProgramCode?: string;
brandProgramName?: string;
checkedBaggageAllowance?: {
baggagePieces?: ...;
maximumPieces?: ...;
totalWeightInKilograms?: ...;
totalWeightInPounds?: ...;
};
fareBasisCode?: string;
flightIndices?: (...)[];
flights?: (...)[];
isCurrentItinerary?: boolean;
}[];
hasValidPricing: boolean;
isNegotiatedFare?: boolean;
pricedTravelerType?: string;
pricingStatusCode?: "A"
| "H";
pricingStatusName?: "Active" | "History";
pricingTypeCode?: "S" | "A" | "M";
pricingTypeName?: "Unknown" | "System" | "Amended" | "Manual";
recordId?: string;
recordTypeCode?: string;
recordTypeName?: string;
requestedTravelerType?: string;
taxBreakdown?: {
taxAmount?: { amount: ...; currencyCode: ... };
taxCode?: string;
}[];
totals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
tourCode?: string;
travelerIndices?: number[];
}[];
flights?: (
{ itemId: string } & {
aircraftTypeCode?: string;
aircraftTypeName?: string;
airlineCode: string;
airlineName?: string;
arrivalDate: string;
arrivalGate?: string;
arrivalTerminalName?: string;
arrivalTime: string;
bookingClass?: string;
cabinTypeCode?: string;
cabinTypeName?: string;
confirmationId?: string;
departureDate: string;
departureGate?: string;
departureTerminalName?: string;
departureTime: string;
distanceInMiles?: number;
durationInMinutes?: number;
flightNumber: number;
flightStatusCode?: string;
flightStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
fromAirportCode: string;
hiddenStopAircraftTypeCode?: string;
hiddenStopAircraftTypeName?: string;
hiddenStopAirportCode?: string;
hiddenStopArrivalDate?: string;
hiddenStopArrivalTime?: string;
hiddenStopDepartureDate?: string;
hiddenStopDepartureTime?: string;
hiddenStops?: {
aircraftTypeCode?: ...;
aircraftTypeName?: ...;
airportCode?: ...;
arrivalDate?: ...;
arrivalTime?: ...;
departureDate?: ...;
departureTime?: ...;
durationInMinutes?: ...;
}[];
identityDocuments?: { itemId?: ...; status?: ... }[];
isPast?: boolean;
meals?: { code: ...; description: ... }[];
numberOfSeats?: number;
operatingAirlineCode?: string;
operatingAirlineName?: string;
operatingFlightNumber?: number;
seats?: {
characteristics?: ...;
number: ...;
statusCode?: ...;
statusName?: ...;
}[];
sourceType?: "NDC"
| "LCC"
| "ATPCO";
toAirportCode: string;
travelerIndices?: number[];
updatedArrivalDate?: string;
updatedArrivalTime?: string;
updatedDepartureDate?: string;
updatedDepartureTime?: string;
}
)[];
flightTickets?: {
agencyIataNumber?: string;
airlineCode: string;
allCoupons?: (
{ couponStatus: ...; couponStatusCode: ... } & { itemId?: ... }
)[];
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
date: string;
flightCoupons: (
{ itemId: ... } & { couponStatus: ...; couponStatusCode: ... }
)[];
number: string;
payment: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
ticketingPcc?: string;
ticketStatusCode?: string;
ticketStatusName?: "Voided"
| "Issued"
| "Refunded/Exchanged";
travelerIndex: number;
}[];
futureTicketingPolicy?: {
comment?: string;
queueNumber?: string;
ticketingDate?: string;
ticketingPcc?: string;
ticketingTime?: string;
};
hotels?: (
{ itemId: string } & {
address: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... } & { cityCode?: ... };
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
chainCode?: string;
chainName?: string;
checkInDate: string;
checkInTime: string;
checkOutDate: string;
checkOutTime: string;
confirmationId?: string;
contactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
corporateDiscountCode?: number;
guaranteePaymentNote?: string;
guaranteeTypeCode?: number;
guaranteeTypeName?: | "Credit card"
| "Travel agency name/address"
| "Travel agency IATA number"
| "Company name/address"
| "Corporate ID/CD number"
| "Virtual card";
hotelName: string;
hotelStatusCode?: string;
hotelStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
isRefundable: boolean;
leadTravelerIndex?: number;
numberOfGuests?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
paymentPolicy?: "DEPOSIT"
| "GUARANTEE"
| "LATE";
propertyId?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
refundPenaltyPolicyCode?: string;
room?: {
agencyCommission?: {
commissionAmount?: ...;
commissionPercentage?: ...;
currencyCode?: ...;
};
description?: string;
productCode?: string;
quantity: number;
roomRate?: { amount: ...; currencyCode: ... };
roomType: string;
roomTypeCode?: string;
travelerIndices?: (...)[];
};
sabrePropertyId?: string;
sourceTypeCode?: number;
sourceTypeName?: | "Unknown"
| "Legacy"
| "Sabre GDS"
| "Expedia Associate Network"
| "HotelBeds.com"
| "Booking.com"
| "CMNet";
specialInstructions?: string;
}
)[];
isCancelable?: boolean;
isTicketed?: boolean;
journeys?: {
departureDate: string;
departureTime: string;
firstAirportCode: string;
lastAirportCode: string;
numberOfFlights: number;
}[];
nonElectronicTickets?: {
date?: string;
ticketingPcc?: string;
ticketingUserCode?: string;
ticketNumber?: string;
ticketStatus?: "Unknown"
| "Active"
| "Inactive";
time?: string;
travelerIndex?: number;
}[];
otherServices?: {
airlineCode?: string;
chainCode?: string;
serviceMessage?: string;
travelerIndex?: number;
vendorCode?: string;
}[];
payments?: {
carTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightCurrentTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: (...) & (...);
agencyIataNumber?: string;
authentications?: (...)[];
cardHolder?: {
address?: ...;
email?: ...;
givenName: ...;
phone?: ...;
surname: ...;
};
companyAddress?: (...) & (...);
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: ...;
amount: ...;
code: ...;
currencyCode: ...;
expiryDateTime: ...;
requestDateTime: ...;
};
netBalance?: string;
tripType?: (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
tripTypes?: (...)[];
type:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useType?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useTypes?: (...)[];
virtualCard?: {
agencyEmail?: ...;
customerAccountCode?: ...;
hotelFax?: ...;
hotelName?: ...;
rateAmount?: ...;
roomDescription?: ...;
roomType?: ...;
virtualCardCharges?: ...;
};
voucher?: { billingNumber?: ...; type?: ... };
}
)[];
hotelTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
trainTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
};
remarks?: {
alphaCode?: string;
text?: string;
type?: | "INVOICE"
| "ITINERARY"
| "GENERAL"
| "HISTORICAL"
| "CLIENT_ADDRESS"
| "ALPHA_CODED"
| "DELIVERY_ADDRESS"
| "HIDDEN"
| "CORPORATE"
| "FORM_OF_PAYMENT"
| "PRINT_ON_TICKET"
| "FILLER_STRIP"
| "INTERFACE"
| "QUEUE_PLACE";
}[];
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code?: string;
flights?: { itemId: string }[];
message?: string;
name?: string;
statusCode?: string;
statusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
travelerIndices?: number[];
}[];
startDate?: string;
trains?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime: string;
confirmationId?: string;
departureDate: string;
departureTime: string;
fromStationCode: string;
fromStationName?: string;
isRefundable?: boolean;
operatingVendorCode?: string;
operatingVendorName?: string;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
toStationCode: string;
toStationName?: string;
trainName?: string;
trainNumber: string;
trainStatusCode?: string;
trainStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
vendorCode: string;
vendorName?: string;
}
)[];
travelers?: {
address?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
ancillaries?: {
airlineCode?: string;
commercialName?: string;
electronicMiscellaneousDocumentNumber?: string;
flightApplicabilityType?: (...) | (...) | (...);
flights?: (...)[];
isCommissionable?: boolean;
isRefundable?: boolean;
itemId?: string;
numberOfItems?: number;
reasonForIssuanceCode?: string;
reasonForIssuanceName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
source?: (...) | (...);
statusCode?: string;
statusName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
subcode?: string;
totals?: {
currencyCode: ...;
fees?: ...;
subtotal?: ...;
taxes?: ...;
total: ...;
};
vendorCode?: string;
}[];
birthDate?: string;
emails?: string[];
formOfPaymentIndices?: number[];
gender?: | "FEMALE"
| "MALE"
| "INFANT_FEMALE"
| "INFANT_MALE"
| "UNDISCLOSED"
| "UNDEFINED";
givenName: string;
identityDocuments?: {
birthDate?: string;
documentNumber?: string;
documentSubType?: (...)
| (...)
| (...);
documentType:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
expiryDate?: string;
flightIndices?: (...)[];
gender?: (...) | (...) | (...) | (...) | (...) | (...);
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
itemId?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceDestinationAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
surname?: string;
}[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: string;
programType?: (...)
| (...)
| (...)
| (...);
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
middleName?: string;
nameAssociationId?: string;
nameReferenceCode?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
remarks?: {
alphaCode?: string;
text?: string;
type?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}[];
surname: string;
type?: | "ADULT"
| "AGENT"
| "AIRLINE"
| "CHILD"
| "EDUCATION"
| "GOVERNMENT"
| "GROUP"
| "INFANT"
| "MILITARY"
| "SENIOR"
| "SPECIAL"
| "YOUTH";
}[];
travelersGroup?: {
itemId?: string;
name?: string;
numberOfTravelers?: number;
numberOfTravelersRemaining?: number;
};
} & {
bookingSignature?: string;
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
request?: {
bookingSource?: "SABRE"
| "SABRE_ORDER";
confirmationId: string;
extraFeatures?: { returnEmptySeatObjects: boolean } & {
returnFiscalId: boolean;
returnFrequentRenter: boolean;
returnWalletFormsOfPayment: boolean;
} & Record<string, never>;
givenName?: string;
middleName?: string;
returnOnly?: (
| "FLIGHTS"
| "FLIGHT_PENALTY"
| "BAGGAGE_POLICY"
| "JOURNEYS"
| "HOTELS"
| "HOTEL_ADDRESS"
| "CARS"
| "CAR_RENTAL_ADDRESS"
| "CAR_RENTAL_PENALTY"
| "TRAINS"
| "CRUISES"
| "ALL_SEGMENTS"
| "TRAVELERS"
| "TICKETS"
| "PAYMENTS"
| "PENALTIES"
| "REMARKS"
| "IS_CANCELABLE"
| "IS_TICKETED"
| "CONTACT_INFO"
| "OTHER_SERVICES"
| "SPECIAL_SERVICES"
| "FARES"
| "CREATION_DETAILS"
| "ANCILLARIES"
| "FORMS_OF_PAYMENT"
| "RETENTION_DATE"
| "ACCOUNTING_ITEMS"
| "NON_ELECTRONIC_TICKETS"
)[];
surname?: string;
targetPcc?: string;
unmaskPaymentCardNumbers?: boolean;
};
timestamp?: string;
};
};
headers: { [name: string]: unknown };
};
};
}
Type Declaration
parameters: {
cookie?: never;
header: { Authorization: string };
path?: never;
query?: never;
}
Optionalcookie?: never
header: { Authorization: string }
Optionalpath?: never
Optionalquery?: never
requestBody: {
content: {
"application/json": {
bookingSource?: "SABRE" | "SABRE_ORDER";
confirmationId: string;
extraFeatures?: { returnEmptySeatObjects: boolean } & {
returnFiscalId: boolean;
returnFrequentRenter: boolean;
returnWalletFormsOfPayment: boolean;
} & Record<string, never>;
givenName?: string;
middleName?: string;
returnOnly?: (
| "FLIGHTS"
| "FLIGHT_PENALTY"
| "BAGGAGE_POLICY"
| "JOURNEYS"
| "HOTELS"
| "HOTEL_ADDRESS"
| "CARS"
| "CAR_RENTAL_ADDRESS"
| "CAR_RENTAL_PENALTY"
| "TRAINS"
| "CRUISES"
| "ALL_SEGMENTS"
| "TRAVELERS"
| "TICKETS"
| "PAYMENTS"
| "PENALTIES"
| "REMARKS"
| "IS_CANCELABLE"
| "IS_TICKETED"
| "CONTACT_INFO"
| "OTHER_SERVICES"
| "SPECIAL_SERVICES"
| "FARES"
| "CREATION_DETAILS"
| "ANCILLARIES"
| "FORMS_OF_PAYMENT"
| "RETENTION_DATE"
| "ACCOUNTING_ITEMS"
| "NON_ELECTRONIC_TICKETS"
)[];
surname?: string;
targetPcc?: string;
unmaskPaymentCardNumbers?: boolean;
};
};
}
responses: {
"200": {
content: {
"application/json": {
accountingItems?: {
airlineCode?: string;
cardNumber?: string;
cardTypeCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationType?: "Refund"
| "Exchange"
| "First Issuance";
currencyCode?: string;
fareAmount?: string;
fareApplicationType?:
| "Single Traveler"
| "All Travelers"
| "Each Traveler";
formOfPaymentType?: | "Unknown"
| "Cash"
| "Check"
| "Check or Cash"
| "Payment Card"
| "Masked Payment Card";
tariffBasisType?: "Domestic"
| "Foreign"
| "International";
taxAmount?: string;
ticketNumber?: string;
travelerIndices?: number[];
}[];
agencyCustomerNumber?: string;
allSegments?: (
{ id: string } & {
address?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
date?: string;
endAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
endDate?: string;
endLocationCode?: string;
endTime?: string;
locationCode?: string;
startAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
startDate?: string;
startLocationCode?: string;
startTime?: string;
text?: string;
time?: string;
type: string;
vendorCode?: string;
}
)[];
bookingId?: string;
cars?: (
{ itemId: string } & {
carStatusCode?: string;
carStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
collectionAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
collectionSite?: { id?: string; name?: string; phone?: string };
confirmationId?: string;
deliveryAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
deliverySite?: { id?: string; name?: string; phone?: string };
distanceAllowance?: string;
dropOffAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
dropOffContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
dropOffDate: string;
dropOffLocationCode?: string;
dropOffTime: string;
guaranteePaymentNote?: string;
isRefundable: boolean;
numberOfVehicles?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
pickUpAddress: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
pickUpContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
pickUpDate: string;
pickUpLocationCode?: string;
pickUpTime: string;
rateCode?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
specialInstructions?: string;
travelerIndex?: number;
vehicleTypeCode?: string;
vehicleTypeName?: | "Two/Three Door"
| "Two/Four Door"
| "Four/Five Door"
| "Wagon/Estate"
| "Passenger Van"
| "Limousine/Sedan"
| "Sport"
| "Convertible"
| "SUV"
| "Open Air All Terrain"
| "Special"
| "Pick up single/extended cab 2 door"
| "Pick up double cab 4 door"
| "Special Offer Car"
| "Coupe"
| "Monospace"
| "Recreational Vehicle"
| "Motor Home"
| "Two Wheel Vehicle"
| "Roadster"
| "Crossover"
| "Commercial Van/Truck";
vendorCode: string;
vendorName: string;
}
)[];
contactInfo?: { emails?: string[] } & {
emergencyPhones?: string[];
faxes?: string[];
phones?: string[];
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
cruises?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime?: string;
cabinNumber?: string;
confirmationId?: string;
cruiseStatusCode?: string;
cruiseStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
departureDate: string;
departureTime?: string;
fromPortCode: string;
numberOfGuests?: number;
shipCode?: string;
shipName?: string;
toPortCode?: string;
vendorCode: string;
}
)[];
endDate?: string;
fareOffers?: {
cabinBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
cabinBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
checkedBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
checkedBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
flights?: { itemId: string }[];
travelerIndices?: number[];
}[];
fareRules?: {
destinationAirportCode?: string;
exchangePenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
isChangeable?: boolean;
isRefundable?: boolean;
originAirportCode?: string;
owningAirlineCode: string;
passengerCode?: string;
refundPenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
}[];
fares?: {
airlineCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
fareCalculationLine?: string;
fareConstruction?: {
baseRate?: { amount: ...; currencyCode: ... };
brandAttributes?: (...)[];
brandFareCode?: string;
brandFareName?: string;
brandProgramCode?: string;
brandProgramName?: string;
checkedBaggageAllowance?: {
baggagePieces?: ...;
maximumPieces?: ...;
totalWeightInKilograms?: ...;
totalWeightInPounds?: ...;
};
fareBasisCode?: string;
flightIndices?: (...)[];
flights?: (...)[];
isCurrentItinerary?: boolean;
}[];
hasValidPricing: boolean;
isNegotiatedFare?: boolean;
pricedTravelerType?: string;
pricingStatusCode?: "A"
| "H";
pricingStatusName?: "Active" | "History";
pricingTypeCode?: "S" | "A" | "M";
pricingTypeName?: "Unknown" | "System" | "Amended" | "Manual";
recordId?: string;
recordTypeCode?: string;
recordTypeName?: string;
requestedTravelerType?: string;
taxBreakdown?: {
taxAmount?: { amount: ...; currencyCode: ... };
taxCode?: string;
}[];
totals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
tourCode?: string;
travelerIndices?: number[];
}[];
flights?: (
{ itemId: string } & {
aircraftTypeCode?: string;
aircraftTypeName?: string;
airlineCode: string;
airlineName?: string;
arrivalDate: string;
arrivalGate?: string;
arrivalTerminalName?: string;
arrivalTime: string;
bookingClass?: string;
cabinTypeCode?: string;
cabinTypeName?: string;
confirmationId?: string;
departureDate: string;
departureGate?: string;
departureTerminalName?: string;
departureTime: string;
distanceInMiles?: number;
durationInMinutes?: number;
flightNumber: number;
flightStatusCode?: string;
flightStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
fromAirportCode: string;
hiddenStopAircraftTypeCode?: string;
hiddenStopAircraftTypeName?: string;
hiddenStopAirportCode?: string;
hiddenStopArrivalDate?: string;
hiddenStopArrivalTime?: string;
hiddenStopDepartureDate?: string;
hiddenStopDepartureTime?: string;
hiddenStops?: {
aircraftTypeCode?: ...;
aircraftTypeName?: ...;
airportCode?: ...;
arrivalDate?: ...;
arrivalTime?: ...;
departureDate?: ...;
departureTime?: ...;
durationInMinutes?: ...;
}[];
identityDocuments?: { itemId?: ...; status?: ... }[];
isPast?: boolean;
meals?: { code: ...; description: ... }[];
numberOfSeats?: number;
operatingAirlineCode?: string;
operatingAirlineName?: string;
operatingFlightNumber?: number;
seats?: {
characteristics?: ...;
number: ...;
statusCode?: ...;
statusName?: ...;
}[];
sourceType?: "NDC"
| "LCC"
| "ATPCO";
toAirportCode: string;
travelerIndices?: number[];
updatedArrivalDate?: string;
updatedArrivalTime?: string;
updatedDepartureDate?: string;
updatedDepartureTime?: string;
}
)[];
flightTickets?: {
agencyIataNumber?: string;
airlineCode: string;
allCoupons?: (
{ couponStatus: ...; couponStatusCode: ... } & { itemId?: ... }
)[];
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
date: string;
flightCoupons: (
{ itemId: ... } & { couponStatus: ...; couponStatusCode: ... }
)[];
number: string;
payment: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
ticketingPcc?: string;
ticketStatusCode?: string;
ticketStatusName?: "Voided"
| "Issued"
| "Refunded/Exchanged";
travelerIndex: number;
}[];
futureTicketingPolicy?: {
comment?: string;
queueNumber?: string;
ticketingDate?: string;
ticketingPcc?: string;
ticketingTime?: string;
};
hotels?: (
{ itemId: string } & {
address: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... } & { cityCode?: ... };
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
chainCode?: string;
chainName?: string;
checkInDate: string;
checkInTime: string;
checkOutDate: string;
checkOutTime: string;
confirmationId?: string;
contactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
corporateDiscountCode?: number;
guaranteePaymentNote?: string;
guaranteeTypeCode?: number;
guaranteeTypeName?: | "Credit card"
| "Travel agency name/address"
| "Travel agency IATA number"
| "Company name/address"
| "Corporate ID/CD number"
| "Virtual card";
hotelName: string;
hotelStatusCode?: string;
hotelStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
isRefundable: boolean;
leadTravelerIndex?: number;
numberOfGuests?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
paymentPolicy?: "DEPOSIT"
| "GUARANTEE"
| "LATE";
propertyId?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
refundPenaltyPolicyCode?: string;
room?: {
agencyCommission?: {
commissionAmount?: ...;
commissionPercentage?: ...;
currencyCode?: ...;
};
description?: string;
productCode?: string;
quantity: number;
roomRate?: { amount: ...; currencyCode: ... };
roomType: string;
roomTypeCode?: string;
travelerIndices?: (...)[];
};
sabrePropertyId?: string;
sourceTypeCode?: number;
sourceTypeName?: | "Unknown"
| "Legacy"
| "Sabre GDS"
| "Expedia Associate Network"
| "HotelBeds.com"
| "Booking.com"
| "CMNet";
specialInstructions?: string;
}
)[];
isCancelable?: boolean;
isTicketed?: boolean;
journeys?: {
departureDate: string;
departureTime: string;
firstAirportCode: string;
lastAirportCode: string;
numberOfFlights: number;
}[];
nonElectronicTickets?: {
date?: string;
ticketingPcc?: string;
ticketingUserCode?: string;
ticketNumber?: string;
ticketStatus?: "Unknown"
| "Active"
| "Inactive";
time?: string;
travelerIndex?: number;
}[];
otherServices?: {
airlineCode?: string;
chainCode?: string;
serviceMessage?: string;
travelerIndex?: number;
vendorCode?: string;
}[];
payments?: {
carTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightCurrentTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: (...) & (...);
agencyIataNumber?: string;
authentications?: (...)[];
cardHolder?: {
address?: ...;
email?: ...;
givenName: ...;
phone?: ...;
surname: ...;
};
companyAddress?: (...) & (...);
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: ...;
amount: ...;
code: ...;
currencyCode: ...;
expiryDateTime: ...;
requestDateTime: ...;
};
netBalance?: string;
tripType?: (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
tripTypes?: (...)[];
type:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useType?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useTypes?: (...)[];
virtualCard?: {
agencyEmail?: ...;
customerAccountCode?: ...;
hotelFax?: ...;
hotelName?: ...;
rateAmount?: ...;
roomDescription?: ...;
roomType?: ...;
virtualCardCharges?: ...;
};
voucher?: { billingNumber?: ...; type?: ... };
}
)[];
hotelTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
trainTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
};
remarks?: {
alphaCode?: string;
text?: string;
type?: | "INVOICE"
| "ITINERARY"
| "GENERAL"
| "HISTORICAL"
| "CLIENT_ADDRESS"
| "ALPHA_CODED"
| "DELIVERY_ADDRESS"
| "HIDDEN"
| "CORPORATE"
| "FORM_OF_PAYMENT"
| "PRINT_ON_TICKET"
| "FILLER_STRIP"
| "INTERFACE"
| "QUEUE_PLACE";
}[];
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code?: string;
flights?: { itemId: string }[];
message?: string;
name?: string;
statusCode?: string;
statusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
travelerIndices?: number[];
}[];
startDate?: string;
trains?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime: string;
confirmationId?: string;
departureDate: string;
departureTime: string;
fromStationCode: string;
fromStationName?: string;
isRefundable?: boolean;
operatingVendorCode?: string;
operatingVendorName?: string;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
toStationCode: string;
toStationName?: string;
trainName?: string;
trainNumber: string;
trainStatusCode?: string;
trainStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
vendorCode: string;
vendorName?: string;
}
)[];
travelers?: {
address?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
ancillaries?: {
airlineCode?: string;
commercialName?: string;
electronicMiscellaneousDocumentNumber?: string;
flightApplicabilityType?: (...) | (...) | (...);
flights?: (...)[];
isCommissionable?: boolean;
isRefundable?: boolean;
itemId?: string;
numberOfItems?: number;
reasonForIssuanceCode?: string;
reasonForIssuanceName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
source?: (...) | (...);
statusCode?: string;
statusName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
subcode?: string;
totals?: {
currencyCode: ...;
fees?: ...;
subtotal?: ...;
taxes?: ...;
total: ...;
};
vendorCode?: string;
}[];
birthDate?: string;
emails?: string[];
formOfPaymentIndices?: number[];
gender?: | "FEMALE"
| "MALE"
| "INFANT_FEMALE"
| "INFANT_MALE"
| "UNDISCLOSED"
| "UNDEFINED";
givenName: string;
identityDocuments?: {
birthDate?: string;
documentNumber?: string;
documentSubType?: (...)
| (...)
| (...);
documentType:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
expiryDate?: string;
flightIndices?: (...)[];
gender?: (...) | (...) | (...) | (...) | (...) | (...);
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
itemId?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceDestinationAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
surname?: string;
}[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: string;
programType?: (...)
| (...)
| (...)
| (...);
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
middleName?: string;
nameAssociationId?: string;
nameReferenceCode?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
remarks?: {
alphaCode?: string;
text?: string;
type?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}[];
surname: string;
type?: | "ADULT"
| "AGENT"
| "AIRLINE"
| "CHILD"
| "EDUCATION"
| "GOVERNMENT"
| "GROUP"
| "INFANT"
| "MILITARY"
| "SENIOR"
| "SPECIAL"
| "YOUTH";
}[];
travelersGroup?: {
itemId?: string;
name?: string;
numberOfTravelers?: number;
numberOfTravelersRemaining?: number;
};
} & {
bookingSignature?: string;
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
request?: {
bookingSource?: "SABRE"
| "SABRE_ORDER";
confirmationId: string;
extraFeatures?: { returnEmptySeatObjects: boolean } & {
returnFiscalId: boolean;
returnFrequentRenter: boolean;
returnWalletFormsOfPayment: boolean;
} & Record<string, never>;
givenName?: string;
middleName?: string;
returnOnly?: (
| "FLIGHTS"
| "FLIGHT_PENALTY"
| "BAGGAGE_POLICY"
| "JOURNEYS"
| "HOTELS"
| "HOTEL_ADDRESS"
| "CARS"
| "CAR_RENTAL_ADDRESS"
| "CAR_RENTAL_PENALTY"
| "TRAINS"
| "CRUISES"
| "ALL_SEGMENTS"
| "TRAVELERS"
| "TICKETS"
| "PAYMENTS"
| "PENALTIES"
| "REMARKS"
| "IS_CANCELABLE"
| "IS_TICKETED"
| "CONTACT_INFO"
| "OTHER_SERVICES"
| "SPECIAL_SERVICES"
| "FARES"
| "CREATION_DETAILS"
| "ANCILLARIES"
| "FORMS_OF_PAYMENT"
| "RETENTION_DATE"
| "ACCOUNTING_ITEMS"
| "NON_ELECTRONIC_TICKETS"
)[];
surname?: string;
targetPcc?: string;
unmaskPaymentCardNumbers?: boolean;
};
timestamp?: string;
};
};
headers: { [name: string]: unknown };
};
}
200: {
content: {
"application/json": {
accountingItems?: {
airlineCode?: string;
cardNumber?: string;
cardTypeCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationType?: "Refund"
| "Exchange"
| "First Issuance";
currencyCode?: string;
fareAmount?: string;
fareApplicationType?:
| "Single Traveler"
| "All Travelers"
| "Each Traveler";
formOfPaymentType?: | "Unknown"
| "Cash"
| "Check"
| "Check or Cash"
| "Payment Card"
| "Masked Payment Card";
tariffBasisType?: "Domestic"
| "Foreign"
| "International";
taxAmount?: string;
ticketNumber?: string;
travelerIndices?: number[];
}[];
agencyCustomerNumber?: string;
allSegments?: (
{ id: string } & {
address?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
date?: string;
endAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
endDate?: string;
endLocationCode?: string;
endTime?: string;
locationCode?: string;
startAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
startDate?: string;
startLocationCode?: string;
startTime?: string;
text?: string;
time?: string;
type: string;
vendorCode?: string;
}
)[];
bookingId?: string;
cars?: (
{ itemId: string } & {
carStatusCode?: string;
carStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
collectionAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
collectionSite?: { id?: string; name?: string; phone?: string };
confirmationId?: string;
deliveryAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
deliverySite?: { id?: string; name?: string; phone?: string };
distanceAllowance?: string;
dropOffAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
dropOffContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
dropOffDate: string;
dropOffLocationCode?: string;
dropOffTime: string;
guaranteePaymentNote?: string;
isRefundable: boolean;
numberOfVehicles?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
pickUpAddress: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
pickUpContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
pickUpDate: string;
pickUpLocationCode?: string;
pickUpTime: string;
rateCode?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
specialInstructions?: string;
travelerIndex?: number;
vehicleTypeCode?: string;
vehicleTypeName?: | "Two/Three Door"
| "Two/Four Door"
| "Four/Five Door"
| "Wagon/Estate"
| "Passenger Van"
| "Limousine/Sedan"
| "Sport"
| "Convertible"
| "SUV"
| "Open Air All Terrain"
| "Special"
| "Pick up single/extended cab 2 door"
| "Pick up double cab 4 door"
| "Special Offer Car"
| "Coupe"
| "Monospace"
| "Recreational Vehicle"
| "Motor Home"
| "Two Wheel Vehicle"
| "Roadster"
| "Crossover"
| "Commercial Van/Truck";
vendorCode: string;
vendorName: string;
}
)[];
contactInfo?: { emails?: string[] } & {
emergencyPhones?: string[];
faxes?: string[];
phones?: string[];
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
cruises?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime?: string;
cabinNumber?: string;
confirmationId?: string;
cruiseStatusCode?: string;
cruiseStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
departureDate: string;
departureTime?: string;
fromPortCode: string;
numberOfGuests?: number;
shipCode?: string;
shipName?: string;
toPortCode?: string;
vendorCode: string;
}
)[];
endDate?: string;
fareOffers?: {
cabinBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
cabinBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
checkedBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
checkedBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
flights?: { itemId: string }[];
travelerIndices?: number[];
}[];
fareRules?: {
destinationAirportCode?: string;
exchangePenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
isChangeable?: boolean;
isRefundable?: boolean;
originAirportCode?: string;
owningAirlineCode: string;
passengerCode?: string;
refundPenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
}[];
fares?: {
airlineCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
fareCalculationLine?: string;
fareConstruction?: {
baseRate?: { amount: ...; currencyCode: ... };
brandAttributes?: (...)[];
brandFareCode?: string;
brandFareName?: string;
brandProgramCode?: string;
brandProgramName?: string;
checkedBaggageAllowance?: {
baggagePieces?: ...;
maximumPieces?: ...;
totalWeightInKilograms?: ...;
totalWeightInPounds?: ...;
};
fareBasisCode?: string;
flightIndices?: (...)[];
flights?: (...)[];
isCurrentItinerary?: boolean;
}[];
hasValidPricing: boolean;
isNegotiatedFare?: boolean;
pricedTravelerType?: string;
pricingStatusCode?: "A"
| "H";
pricingStatusName?: "Active" | "History";
pricingTypeCode?: "S" | "A" | "M";
pricingTypeName?: "Unknown" | "System" | "Amended" | "Manual";
recordId?: string;
recordTypeCode?: string;
recordTypeName?: string;
requestedTravelerType?: string;
taxBreakdown?: {
taxAmount?: { amount: ...; currencyCode: ... };
taxCode?: string;
}[];
totals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
tourCode?: string;
travelerIndices?: number[];
}[];
flights?: (
{ itemId: string } & {
aircraftTypeCode?: string;
aircraftTypeName?: string;
airlineCode: string;
airlineName?: string;
arrivalDate: string;
arrivalGate?: string;
arrivalTerminalName?: string;
arrivalTime: string;
bookingClass?: string;
cabinTypeCode?: string;
cabinTypeName?: string;
confirmationId?: string;
departureDate: string;
departureGate?: string;
departureTerminalName?: string;
departureTime: string;
distanceInMiles?: number;
durationInMinutes?: number;
flightNumber: number;
flightStatusCode?: string;
flightStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
fromAirportCode: string;
hiddenStopAircraftTypeCode?: string;
hiddenStopAircraftTypeName?: string;
hiddenStopAirportCode?: string;
hiddenStopArrivalDate?: string;
hiddenStopArrivalTime?: string;
hiddenStopDepartureDate?: string;
hiddenStopDepartureTime?: string;
hiddenStops?: {
aircraftTypeCode?: ...;
aircraftTypeName?: ...;
airportCode?: ...;
arrivalDate?: ...;
arrivalTime?: ...;
departureDate?: ...;
departureTime?: ...;
durationInMinutes?: ...;
}[];
identityDocuments?: { itemId?: ...; status?: ... }[];
isPast?: boolean;
meals?: { code: ...; description: ... }[];
numberOfSeats?: number;
operatingAirlineCode?: string;
operatingAirlineName?: string;
operatingFlightNumber?: number;
seats?: {
characteristics?: ...;
number: ...;
statusCode?: ...;
statusName?: ...;
}[];
sourceType?: "NDC"
| "LCC"
| "ATPCO";
toAirportCode: string;
travelerIndices?: number[];
updatedArrivalDate?: string;
updatedArrivalTime?: string;
updatedDepartureDate?: string;
updatedDepartureTime?: string;
}
)[];
flightTickets?: {
agencyIataNumber?: string;
airlineCode: string;
allCoupons?: (
{ couponStatus: ...; couponStatusCode: ... } & { itemId?: ... }
)[];
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
date: string;
flightCoupons: (
{ itemId: ... } & { couponStatus: ...; couponStatusCode: ... }
)[];
number: string;
payment: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
ticketingPcc?: string;
ticketStatusCode?: string;
ticketStatusName?: "Voided"
| "Issued"
| "Refunded/Exchanged";
travelerIndex: number;
}[];
futureTicketingPolicy?: {
comment?: string;
queueNumber?: string;
ticketingDate?: string;
ticketingPcc?: string;
ticketingTime?: string;
};
hotels?: (
{ itemId: string } & {
address: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... } & { cityCode?: ... };
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
chainCode?: string;
chainName?: string;
checkInDate: string;
checkInTime: string;
checkOutDate: string;
checkOutTime: string;
confirmationId?: string;
contactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
corporateDiscountCode?: number;
guaranteePaymentNote?: string;
guaranteeTypeCode?: number;
guaranteeTypeName?: | "Credit card"
| "Travel agency name/address"
| "Travel agency IATA number"
| "Company name/address"
| "Corporate ID/CD number"
| "Virtual card";
hotelName: string;
hotelStatusCode?: string;
hotelStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
isRefundable: boolean;
leadTravelerIndex?: number;
numberOfGuests?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
paymentPolicy?: "DEPOSIT"
| "GUARANTEE"
| "LATE";
propertyId?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
refundPenaltyPolicyCode?: string;
room?: {
agencyCommission?: {
commissionAmount?: ...;
commissionPercentage?: ...;
currencyCode?: ...;
};
description?: string;
productCode?: string;
quantity: number;
roomRate?: { amount: ...; currencyCode: ... };
roomType: string;
roomTypeCode?: string;
travelerIndices?: (...)[];
};
sabrePropertyId?: string;
sourceTypeCode?: number;
sourceTypeName?: | "Unknown"
| "Legacy"
| "Sabre GDS"
| "Expedia Associate Network"
| "HotelBeds.com"
| "Booking.com"
| "CMNet";
specialInstructions?: string;
}
)[];
isCancelable?: boolean;
isTicketed?: boolean;
journeys?: {
departureDate: string;
departureTime: string;
firstAirportCode: string;
lastAirportCode: string;
numberOfFlights: number;
}[];
nonElectronicTickets?: {
date?: string;
ticketingPcc?: string;
ticketingUserCode?: string;
ticketNumber?: string;
ticketStatus?: "Unknown"
| "Active"
| "Inactive";
time?: string;
travelerIndex?: number;
}[];
otherServices?: {
airlineCode?: string;
chainCode?: string;
serviceMessage?: string;
travelerIndex?: number;
vendorCode?: string;
}[];
payments?: {
carTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightCurrentTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: (...) & (...);
agencyIataNumber?: string;
authentications?: (...)[];
cardHolder?: {
address?: ...;
email?: ...;
givenName: ...;
phone?: ...;
surname: ...;
};
companyAddress?: (...) & (...);
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: ...;
amount: ...;
code: ...;
currencyCode: ...;
expiryDateTime: ...;
requestDateTime: ...;
};
netBalance?: string;
tripType?: (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
tripTypes?: (...)[];
type:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useType?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useTypes?: (...)[];
virtualCard?: {
agencyEmail?: ...;
customerAccountCode?: ...;
hotelFax?: ...;
hotelName?: ...;
rateAmount?: ...;
roomDescription?: ...;
roomType?: ...;
virtualCardCharges?: ...;
};
voucher?: { billingNumber?: ...; type?: ... };
}
)[];
hotelTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
trainTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
};
remarks?: {
alphaCode?: string;
text?: string;
type?: | "INVOICE"
| "ITINERARY"
| "GENERAL"
| "HISTORICAL"
| "CLIENT_ADDRESS"
| "ALPHA_CODED"
| "DELIVERY_ADDRESS"
| "HIDDEN"
| "CORPORATE"
| "FORM_OF_PAYMENT"
| "PRINT_ON_TICKET"
| "FILLER_STRIP"
| "INTERFACE"
| "QUEUE_PLACE";
}[];
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code?: string;
flights?: { itemId: string }[];
message?: string;
name?: string;
statusCode?: string;
statusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
travelerIndices?: number[];
}[];
startDate?: string;
trains?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime: string;
confirmationId?: string;
departureDate: string;
departureTime: string;
fromStationCode: string;
fromStationName?: string;
isRefundable?: boolean;
operatingVendorCode?: string;
operatingVendorName?: string;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
toStationCode: string;
toStationName?: string;
trainName?: string;
trainNumber: string;
trainStatusCode?: string;
trainStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
vendorCode: string;
vendorName?: string;
}
)[];
travelers?: {
address?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
ancillaries?: {
airlineCode?: string;
commercialName?: string;
electronicMiscellaneousDocumentNumber?: string;
flightApplicabilityType?: (...) | (...) | (...);
flights?: (...)[];
isCommissionable?: boolean;
isRefundable?: boolean;
itemId?: string;
numberOfItems?: number;
reasonForIssuanceCode?: string;
reasonForIssuanceName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
source?: (...) | (...);
statusCode?: string;
statusName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
subcode?: string;
totals?: {
currencyCode: ...;
fees?: ...;
subtotal?: ...;
taxes?: ...;
total: ...;
};
vendorCode?: string;
}[];
birthDate?: string;
emails?: string[];
formOfPaymentIndices?: number[];
gender?: | "FEMALE"
| "MALE"
| "INFANT_FEMALE"
| "INFANT_MALE"
| "UNDISCLOSED"
| "UNDEFINED";
givenName: string;
identityDocuments?: {
birthDate?: string;
documentNumber?: string;
documentSubType?: (...)
| (...)
| (...);
documentType:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
expiryDate?: string;
flightIndices?: (...)[];
gender?: (...) | (...) | (...) | (...) | (...) | (...);
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
itemId?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceDestinationAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
surname?: string;
}[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: string;
programType?: (...)
| (...)
| (...)
| (...);
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
middleName?: string;
nameAssociationId?: string;
nameReferenceCode?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
remarks?: {
alphaCode?: string;
text?: string;
type?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}[];
surname: string;
type?: | "ADULT"
| "AGENT"
| "AIRLINE"
| "CHILD"
| "EDUCATION"
| "GOVERNMENT"
| "GROUP"
| "INFANT"
| "MILITARY"
| "SENIOR"
| "SPECIAL"
| "YOUTH";
}[];
travelersGroup?: {
itemId?: string;
name?: string;
numberOfTravelers?: number;
numberOfTravelersRemaining?: number;
};
} & {
bookingSignature?: string;
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
request?: {
bookingSource?: "SABRE"
| "SABRE_ORDER";
confirmationId: string;
extraFeatures?: { returnEmptySeatObjects: boolean } & {
returnFiscalId: boolean;
returnFrequentRenter: boolean;
returnWalletFormsOfPayment: boolean;
} & Record<string, never>;
givenName?: string;
middleName?: string;
returnOnly?: (
| "FLIGHTS"
| "FLIGHT_PENALTY"
| "BAGGAGE_POLICY"
| "JOURNEYS"
| "HOTELS"
| "HOTEL_ADDRESS"
| "CARS"
| "CAR_RENTAL_ADDRESS"
| "CAR_RENTAL_PENALTY"
| "TRAINS"
| "CRUISES"
| "ALL_SEGMENTS"
| "TRAVELERS"
| "TICKETS"
| "PAYMENTS"
| "PENALTIES"
| "REMARKS"
| "IS_CANCELABLE"
| "IS_TICKETED"
| "CONTACT_INFO"
| "OTHER_SERVICES"
| "SPECIAL_SERVICES"
| "FARES"
| "CREATION_DETAILS"
| "ANCILLARIES"
| "FORMS_OF_PAYMENT"
| "RETENTION_DATE"
| "ACCOUNTING_ITEMS"
| "NON_ELECTRONIC_TICKETS"
)[];
surname?: string;
targetPcc?: string;
unmaskPaymentCardNumbers?: boolean;
};
timestamp?: string;
};
};
headers: { [name: string]: unknown };
}
modifyBooking
modifyBooking: {
parameters: {
cookie?: never;
header: { Authorization: string };
path?: never;
query?: never;
};
requestBody: {
content: {
"application/json": {
after: {
agencyCustomerNumber?: string;
creationDetails?: { agencyIataNumber?: string };
flights?: { seats?: { number: string; offerItemId?: string }[] }[];
hotels?: (
{ itemId: string } & {
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
bookingKey?: string;
checkInDate?: string;
checkOutDate?: string;
corporateDiscountCode?: number;
formOfPaymentIndex?: number;
leadTravelerIndex: number;
numberOfGuests: number;
paymentPolicy: "DEPOSIT"
| "GUARANTEE"
| "LATE";
room: { productCode?: string; travelerIndices: number[] };
specialInstructions?: string;
}
)[];
payments?: {
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
agencyIataNumber?: string;
authentications?: {
amount?: ...;
cardNumberCollectionCode?: ...;
channelCode?: ...;
currencyCode?: ...;
electronicCommerceIndicator?: ...;
exemptionTypeCode?: ...;
issueCode?: ...;
mandateTypeCode?: ...;
merchantName?: ...;
originalPaymentReference?: ...;
resultCode?: ...;
secureAuthenticationValue?: ...;
secureTransactionId?: ...;
tokenAuthenticationValue?: ...;
updatedDateTime?: ...;
verificationResultCode?: ...;
version?: ...;
}[];
cardHolder?: {
address?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
email?: string;
givenName: string;
phone?: string;
surname: string;
};
companyAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: string;
amount: string;
code: string;
currencyCode: string;
expiryDateTime: string;
requestDateTime: string;
};
netBalance?: string;
tripType?: | "All"
| "Unknown"
| "Corporate/Business"
| "Leisure"
| "Emergency"
| "Family"
| "Group";
tripTypes?: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
type:
| "INVOICE"
| "CORPORATE"
| "PAYMENTCARD"
| "CASH"
| "CHECK"
| "MISCELLANEOUS"
| "INSTALLMENTS"
| "VIRTUAL_CARD"
| "AGENCY_NAME"
| "AGENCY_IATA"
| "COMPANY_NAME"
| "VOUCHER"
| "DOCKET"
| "GOVERNMENT_TRAVEL_REQUEST";
useType?: | "All"
| "Other"
| "Tour"
| "Unknown"
| "Ancillary"
| "Hotel"
| "Car"
| "Cruise"
| "Airline"
| "Bus/Ground Transportation"
| "Insurance"
| "Low-Cost Carrier"
| "Rail"
| "Specialty Service"
| "Interface Record";
useTypes?: (
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
)[];
virtualCard?: {
agencyEmail?: string;
customerAccountCode?: string;
hotelFax?: string;
hotelName?: string;
rateAmount?: { amount: ...; currencyCode: ... };
roomDescription?: string;
roomType?: string;
virtualCardCharges?: (...)[];
};
voucher?: { billingNumber?: string; type?: string };
}
)[];
};
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code: string;
flights?: { itemId: string }[];
message?: string;
travelerIndices?: number[];
}[];
travelers?: {
birthDate?: string;
emails?: string[];
givenName?: string;
identityDocuments?: (
{
birthDate?: string;
documentNumber?: string;
documentType: | (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
expiryDate?: string;
gender?: (...) | (...) | (...) | (...) | (...) | (...);
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceDestinationAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
surname?: string;
} & { flights?: (...)[] }
)[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: string;
programType?:
| "FREQUENT_FLYER"
| "FREQUENT_RENTER"
| "LOYALTY_ID"
| "CORPORATE_LOYALTY_ID";
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
middleName?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
surname?: string;
}[];
};
before: {
agencyCustomerNumber?: string;
creationDetails?: { agencyIataNumber?: string };
flights?: { seats?: { number: string; offerItemId?: string }[] }[];
hotels?: (
{ itemId: string } & {
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
bookingKey?: string;
checkInDate?: string;
checkOutDate?: string;
corporateDiscountCode?: number;
formOfPaymentIndex?: number;
leadTravelerIndex: number;
numberOfGuests: number;
paymentPolicy: "DEPOSIT"
| "GUARANTEE"
| "LATE";
room: { productCode?: string; travelerIndices: number[] };
specialInstructions?: string;
}
)[];
payments?: {
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
agencyIataNumber?: string;
authentications?: {
amount?: ...;
cardNumberCollectionCode?: ...;
channelCode?: ...;
currencyCode?: ...;
electronicCommerceIndicator?: ...;
exemptionTypeCode?: ...;
issueCode?: ...;
mandateTypeCode?: ...;
merchantName?: ...;
originalPaymentReference?: ...;
resultCode?: ...;
secureAuthenticationValue?: ...;
secureTransactionId?: ...;
tokenAuthenticationValue?: ...;
updatedDateTime?: ...;
verificationResultCode?: ...;
version?: ...;
}[];
cardHolder?: {
address?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
email?: string;
givenName: string;
phone?: string;
surname: string;
};
companyAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: string;
amount: string;
code: string;
currencyCode: string;
expiryDateTime: string;
requestDateTime: string;
};
netBalance?: string;
tripType?: | "All"
| "Unknown"
| "Corporate/Business"
| "Leisure"
| "Emergency"
| "Family"
| "Group";
tripTypes?: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
type:
| "INVOICE"
| "CORPORATE"
| "PAYMENTCARD"
| "CASH"
| "CHECK"
| "MISCELLANEOUS"
| "INSTALLMENTS"
| "VIRTUAL_CARD"
| "AGENCY_NAME"
| "AGENCY_IATA"
| "COMPANY_NAME"
| "VOUCHER"
| "DOCKET"
| "GOVERNMENT_TRAVEL_REQUEST";
useType?: | "All"
| "Other"
| "Tour"
| "Unknown"
| "Ancillary"
| "Hotel"
| "Car"
| "Cruise"
| "Airline"
| "Bus/Ground Transportation"
| "Insurance"
| "Low-Cost Carrier"
| "Rail"
| "Specialty Service"
| "Interface Record";
useTypes?: (
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
)[];
virtualCard?: {
agencyEmail?: string;
customerAccountCode?: string;
hotelFax?: string;
hotelName?: string;
rateAmount?: { amount: ...; currencyCode: ... };
roomDescription?: string;
roomType?: string;
virtualCardCharges?: (...)[];
};
voucher?: { billingNumber?: string; type?: string };
}
)[];
};
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code: string;
flights?: { itemId: string }[];
message?: string;
travelerIndices?: number[];
}[];
travelers?: {
birthDate?: string;
emails?: string[];
givenName?: string;
identityDocuments?: (
{
birthDate?: string;
documentNumber?: string;
documentType: | (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
expiryDate?: string;
gender?: (...) | (...) | (...) | (...) | (...) | (...);
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceDestinationAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
surname?: string;
} & { flights?: (...)[] }
)[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: string;
programType?:
| "FREQUENT_FLYER"
| "FREQUENT_RENTER"
| "LOYALTY_ID"
| "CORPORATE_LOYALTY_ID";
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
middleName?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
surname?: string;
}[];
};
bookingSignature: string;
bookingSource?: "SABRE"
| "SABRE_ORDER";
confirmationId: string;
extraFeatures?: {
returnFiscalId: boolean;
returnFrequentRenter: boolean;
returnWalletFormsOfPayment: boolean;
};
receivedFrom: string;
retrieveBooking: boolean;
targetPcc?: string;
unmaskPaymentCardNumbers?: boolean;
};
};
};
responses: {
"200": {
content: {
"application/json": {
booking?: {
accountingItems?: {
airlineCode?: string;
cardNumber?: string;
cardTypeCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationType?: "Refund"
| "Exchange"
| "First Issuance";
currencyCode?: string;
fareAmount?: string;
fareApplicationType?:
| "Single Traveler"
| "All Travelers"
| "Each Traveler";
formOfPaymentType?: | "Unknown"
| "Cash"
| "Check"
| "Check or Cash"
| "Payment Card"
| "Masked Payment Card";
tariffBasisType?: "Domestic"
| "Foreign"
| "International";
taxAmount?: string;
ticketNumber?: string;
travelerIndices?: number[];
}[];
agencyCustomerNumber?: string;
allSegments?: (
{ id: string } & {
address?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
date?: string;
endAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
endDate?: string;
endLocationCode?: string;
endTime?: string;
locationCode?: string;
startAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
startDate?: string;
startLocationCode?: string;
startTime?: string;
text?: string;
time?: string;
type: string;
vendorCode?: string;
}
)[];
bookingId?: string;
cars?: (
{ itemId: string } & {
carStatusCode?: string;
carStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
collectionAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
collectionSite?: { id?: string; name?: string; phone?: string };
confirmationId?: string;
deliveryAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
deliverySite?: { id?: string; name?: string; phone?: string };
distanceAllowance?: string;
dropOffAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
dropOffContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
dropOffDate: string;
dropOffLocationCode?: string;
dropOffTime: string;
guaranteePaymentNote?: string;
isRefundable: boolean;
numberOfVehicles?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
pickUpAddress: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
pickUpContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
pickUpDate: string;
pickUpLocationCode?: string;
pickUpTime: string;
rateCode?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
specialInstructions?: string;
travelerIndex?: number;
vehicleTypeCode?: string;
vehicleTypeName?: | "Two/Three Door"
| "Two/Four Door"
| "Four/Five Door"
| "Wagon/Estate"
| "Passenger Van"
| "Limousine/Sedan"
| "Sport"
| "Convertible"
| "SUV"
| "Open Air All Terrain"
| "Special"
| "Pick up single/extended cab 2 door"
| "Pick up double cab 4 door"
| "Special Offer Car"
| "Coupe"
| "Monospace"
| "Recreational Vehicle"
| "Motor Home"
| "Two Wheel Vehicle"
| "Roadster"
| "Crossover"
| "Commercial Van/Truck";
vendorCode: string;
vendorName: string;
}
)[];
contactInfo?: { emails?: string[] } & {
emergencyPhones?: string[];
faxes?: string[];
phones?: string[];
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
cruises?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime?: string;
cabinNumber?: string;
confirmationId?: string;
cruiseStatusCode?: string;
cruiseStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
departureDate: string;
departureTime?: string;
fromPortCode: string;
numberOfGuests?: number;
shipCode?: string;
shipName?: string;
toPortCode?: string;
vendorCode: string;
}
)[];
endDate?: string;
fareOffers?: {
cabinBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
cabinBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
checkedBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
checkedBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
flights?: { itemId: string }[];
travelerIndices?: number[];
}[];
fareRules?: {
destinationAirportCode?: string;
exchangePenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
isChangeable?: boolean;
isRefundable?: boolean;
originAirportCode?: string;
owningAirlineCode: string;
passengerCode?: string;
refundPenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
}[];
fares?: {
airlineCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
fareCalculationLine?: string;
fareConstruction?: {
baseRate?: { amount: ...; currencyCode: ... };
brandAttributes?: (...)[];
brandFareCode?: string;
brandFareName?: string;
brandProgramCode?: string;
brandProgramName?: string;
checkedBaggageAllowance?: {
baggagePieces?: ...;
maximumPieces?: ...;
totalWeightInKilograms?: ...;
totalWeightInPounds?: ...;
};
fareBasisCode?: string;
flightIndices?: (...)[];
flights?: (...)[];
isCurrentItinerary?: boolean;
}[];
hasValidPricing: boolean;
isNegotiatedFare?: boolean;
pricedTravelerType?: string;
pricingStatusCode?: "A"
| "H";
pricingStatusName?: "Active" | "History";
pricingTypeCode?: "S" | "A" | "M";
pricingTypeName?: "Unknown" | "System" | "Amended" | "Manual";
recordId?: string;
recordTypeCode?: string;
recordTypeName?: string;
requestedTravelerType?: string;
taxBreakdown?: {
taxAmount?: { amount: ...; currencyCode: ... };
taxCode?: string;
}[];
totals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
tourCode?: string;
travelerIndices?: number[];
}[];
flights?: (
{ itemId: string } & {
aircraftTypeCode?: string;
aircraftTypeName?: string;
airlineCode: string;
airlineName?: string;
arrivalDate: string;
arrivalGate?: string;
arrivalTerminalName?: string;
arrivalTime: string;
bookingClass?: string;
cabinTypeCode?: string;
cabinTypeName?: string;
confirmationId?: string;
departureDate: string;
departureGate?: string;
departureTerminalName?: string;
departureTime: string;
distanceInMiles?: number;
durationInMinutes?: number;
flightNumber: number;
flightStatusCode?: string;
flightStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
fromAirportCode: string;
hiddenStopAircraftTypeCode?: string;
hiddenStopAircraftTypeName?: string;
hiddenStopAirportCode?: string;
hiddenStopArrivalDate?: string;
hiddenStopArrivalTime?: string;
hiddenStopDepartureDate?: string;
hiddenStopDepartureTime?: string;
hiddenStops?: {
aircraftTypeCode?: ...;
aircraftTypeName?: ...;
airportCode?: ...;
arrivalDate?: ...;
arrivalTime?: ...;
departureDate?: ...;
departureTime?: ...;
durationInMinutes?: ...;
}[];
identityDocuments?: { itemId?: ...; status?: ... }[];
isPast?: boolean;
meals?: { code: ...; description: ... }[];
numberOfSeats?: number;
operatingAirlineCode?: string;
operatingAirlineName?: string;
operatingFlightNumber?: number;
seats?: {
characteristics?: ...;
number: ...;
statusCode?: ...;
statusName?: ...;
}[];
sourceType?: "NDC"
| "LCC"
| "ATPCO";
toAirportCode: string;
travelerIndices?: number[];
updatedArrivalDate?: string;
updatedArrivalTime?: string;
updatedDepartureDate?: string;
updatedDepartureTime?: string;
}
)[];
flightTickets?: {
agencyIataNumber?: string;
airlineCode: string;
allCoupons?: (
{ couponStatus: ...; couponStatusCode: ... } & { itemId?: ... }
)[];
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
date: string;
flightCoupons: (
{ itemId: ... } & { couponStatus: ...; couponStatusCode: ... }
)[];
number: string;
payment: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
ticketingPcc?: string;
ticketStatusCode?: string;
ticketStatusName?: "Voided"
| "Issued"
| "Refunded/Exchanged";
travelerIndex: number;
}[];
futureTicketingPolicy?: {
comment?: string;
queueNumber?: string;
ticketingDate?: string;
ticketingPcc?: string;
ticketingTime?: string;
};
hotels?: (
{ itemId: string } & {
address: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... } & { cityCode?: ... };
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
chainCode?: string;
chainName?: string;
checkInDate: string;
checkInTime: string;
checkOutDate: string;
checkOutTime: string;
confirmationId?: string;
contactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
corporateDiscountCode?: number;
guaranteePaymentNote?: string;
guaranteeTypeCode?: number;
guaranteeTypeName?: | "Credit card"
| "Travel agency name/address"
| "Travel agency IATA number"
| "Company name/address"
| "Corporate ID/CD number"
| "Virtual card";
hotelName: string;
hotelStatusCode?: string;
hotelStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
isRefundable: boolean;
leadTravelerIndex?: number;
numberOfGuests?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
paymentPolicy?: "DEPOSIT"
| "GUARANTEE"
| "LATE";
propertyId?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
refundPenaltyPolicyCode?: string;
room?: {
agencyCommission?: {
commissionAmount?: ...;
commissionPercentage?: ...;
currencyCode?: ...;
};
description?: string;
productCode?: string;
quantity: number;
roomRate?: { amount: ...; currencyCode: ... };
roomType: string;
roomTypeCode?: string;
travelerIndices?: (...)[];
};
sabrePropertyId?: string;
sourceTypeCode?: number;
sourceTypeName?: | "Unknown"
| "Legacy"
| "Sabre GDS"
| "Expedia Associate Network"
| "HotelBeds.com"
| "Booking.com"
| "CMNet";
specialInstructions?: string;
}
)[];
isCancelable?: boolean;
isTicketed?: boolean;
journeys?: {
departureDate: string;
departureTime: string;
firstAirportCode: string;
lastAirportCode: string;
numberOfFlights: number;
}[];
nonElectronicTickets?: {
date?: string;
ticketingPcc?: string;
ticketingUserCode?: string;
ticketNumber?: string;
ticketStatus?: "Unknown"
| "Active"
| "Inactive";
time?: string;
travelerIndex?: number;
}[];
otherServices?: {
airlineCode?: string;
chainCode?: string;
serviceMessage?: string;
travelerIndex?: number;
vendorCode?: string;
}[];
payments?: {
carTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightCurrentTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: (...) & (...);
agencyIataNumber?: string;
authentications?: (...)[];
cardHolder?: {
address?: ...;
email?: ...;
givenName: ...;
phone?: ...;
surname: ...;
};
companyAddress?: (...) & (...);
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: ...;
amount: ...;
code: ...;
currencyCode: ...;
expiryDateTime: ...;
requestDateTime: ...;
};
netBalance?: string;
tripType?: (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
tripTypes?: (...)[];
type:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useType?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useTypes?: (...)[];
virtualCard?: {
agencyEmail?: ...;
customerAccountCode?: ...;
hotelFax?: ...;
hotelName?: ...;
rateAmount?: ...;
roomDescription?: ...;
roomType?: ...;
virtualCardCharges?: ...;
};
voucher?: { billingNumber?: ...; type?: ... };
}
)[];
hotelTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
trainTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
};
remarks?: {
alphaCode?: string;
text?: string;
type?: | "INVOICE"
| "ITINERARY"
| "GENERAL"
| "HISTORICAL"
| "CLIENT_ADDRESS"
| "ALPHA_CODED"
| "DELIVERY_ADDRESS"
| "HIDDEN"
| "CORPORATE"
| "FORM_OF_PAYMENT"
| "PRINT_ON_TICKET"
| "FILLER_STRIP"
| "INTERFACE"
| "QUEUE_PLACE";
}[];
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code?: string;
flights?: { itemId: string }[];
message?: string;
name?: string;
statusCode?: string;
statusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
travelerIndices?: number[];
}[];
startDate?: string;
trains?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime: string;
confirmationId?: string;
departureDate: string;
departureTime: string;
fromStationCode: string;
fromStationName?: string;
isRefundable?: boolean;
operatingVendorCode?: string;
operatingVendorName?: string;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
toStationCode: string;
toStationName?: string;
trainName?: string;
trainNumber: string;
trainStatusCode?: string;
trainStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
vendorCode: string;
vendorName?: string;
}
)[];
travelers?: {
address?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
ancillaries?: {
airlineCode?: string;
commercialName?: string;
electronicMiscellaneousDocumentNumber?: string;
flightApplicabilityType?: (...) | (...) | (...);
flights?: (...)[];
isCommissionable?: boolean;
isRefundable?: boolean;
itemId?: string;
numberOfItems?: number;
reasonForIssuanceCode?: string;
reasonForIssuanceName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
source?: (...) | (...);
statusCode?: string;
statusName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
subcode?: string;
totals?: {
currencyCode: ...;
fees?: ...;
subtotal?: ...;
taxes?: ...;
total: ...;
};
vendorCode?: string;
}[];
birthDate?: string;
emails?: string[];
formOfPaymentIndices?: number[];
gender?: | "FEMALE"
| "MALE"
| "INFANT_FEMALE"
| "INFANT_MALE"
| "UNDISCLOSED"
| "UNDEFINED";
givenName: string;
identityDocuments?: {
birthDate?: string;
documentNumber?: string;
documentSubType?: (...)
| (...)
| (...);
documentType:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
expiryDate?: string;
flightIndices?: (...)[];
gender?: (...) | (...) | (...) | (...) | (...) | (...);
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
itemId?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceDestinationAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
surname?: string;
}[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: string;
programType?: (...)
| (...)
| (...)
| (...);
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
middleName?: string;
nameAssociationId?: string;
nameReferenceCode?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
remarks?: {
alphaCode?: string;
text?: string;
type?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}[];
surname: string;
type?: | "ADULT"
| "AGENT"
| "AIRLINE"
| "CHILD"
| "EDUCATION"
| "GOVERNMENT"
| "GROUP"
| "INFANT"
| "MILITARY"
| "SENIOR"
| "SPECIAL"
| "YOUTH";
}[];
travelersGroup?: {
itemId?: string;
name?: string;
numberOfTravelers?: number;
numberOfTravelersRemaining?: number;
};
};
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
request?: {
after: {
agencyCustomerNumber?: string;
creationDetails?: { agencyIataNumber?: string };
flights?: { seats?: { number: ...; offerItemId?: ... }[] }[];
hotels?: (
{ itemId: string } & {
associatedFlightDetails?: {
arrivalAirlineCode?: ...;
arrivalFlightNumber?: ...;
arrivalTime?: ...;
departureAirlineCode?: ...;
departureFlightNumber?: ...;
departureTime?: ...;
};
bookingKey?: string;
checkInDate?: string;
checkOutDate?: string;
corporateDiscountCode?: number;
formOfPaymentIndex?: number;
leadTravelerIndex: number;
numberOfGuests: number;
paymentPolicy: (...)
| (...)
| (...);
room: { productCode?: ...; travelerIndices: ... };
specialInstructions?: string;
}
)[];
payments?: {
formsOfPayment?: (
{
airlinePlanCode?: ...;
cardNumber?: ...;
cardSecurityCode?: ...;
cardTypeCode?: ...;
expiryDate?: ...;
extendedPayment?: ...;
installmentAmount?: ...;
miscellaneousCreditCode?: ...;
numberOfInstallments?: ...;
} & {
agencyAddress?: ...;
agencyIataNumber?: ...;
authentications?: ...;
cardHolder?: ...;
companyAddress?: ...;
corporateId?: ...;
docketDescription?: ...;
docketIssuingAgentInitials?: ...;
docketNumber?: ...;
docketPrefix?: ...;
governmentTravelRequestDescription?: ...;
invoiceDescription?: ...;
isAgencyPaymentCard?: ...;
manualApproval?: ...;
netBalance?: ...;
tripType?: ...;
tripTypes?: ...;
type: ...;
useType?: ...;
useTypes?: ...;
virtualCard?: ...;
voucher?: ...;
}
)[];
};
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code: string;
flights?: { itemId: ... }[];
message?: string;
travelerIndices?: number[];
}[];
travelers?: {
birthDate?: string;
emails?: string[];
givenName?: string;
identityDocuments?: ((...) & (...))[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: ...;
programType?: ...;
receiverCode?: ...;
supplierCode?: ...;
tierLevel?: ...;
}[];
middleName?: string;
passengerCode?: string;
phones?: { label?: ...; number: ... }[];
surname?: string;
}[];
};
before: {
agencyCustomerNumber?: string;
creationDetails?: { agencyIataNumber?: string };
flights?: { seats?: { number: ...; offerItemId?: ... }[] }[];
hotels?: (
{ itemId: string } & {
associatedFlightDetails?: {
arrivalAirlineCode?: ...;
arrivalFlightNumber?: ...;
arrivalTime?: ...;
departureAirlineCode?: ...;
departureFlightNumber?: ...;
departureTime?: ...;
};
bookingKey?: string;
checkInDate?: string;
checkOutDate?: string;
corporateDiscountCode?: number;
formOfPaymentIndex?: number;
leadTravelerIndex: number;
numberOfGuests: number;
paymentPolicy: (...)
| (...)
| (...);
room: { productCode?: ...; travelerIndices: ... };
specialInstructions?: string;
}
)[];
payments?: {
formsOfPayment?: (
{
airlinePlanCode?: ...;
cardNumber?: ...;
cardSecurityCode?: ...;
cardTypeCode?: ...;
expiryDate?: ...;
extendedPayment?: ...;
installmentAmount?: ...;
miscellaneousCreditCode?: ...;
numberOfInstallments?: ...;
} & {
agencyAddress?: ...;
agencyIataNumber?: ...;
authentications?: ...;
cardHolder?: ...;
companyAddress?: ...;
corporateId?: ...;
docketDescription?: ...;
docketIssuingAgentInitials?: ...;
docketNumber?: ...;
docketPrefix?: ...;
governmentTravelRequestDescription?: ...;
invoiceDescription?: ...;
isAgencyPaymentCard?: ...;
manualApproval?: ...;
netBalance?: ...;
tripType?: ...;
tripTypes?: ...;
type: ...;
useType?: ...;
useTypes?: ...;
virtualCard?: ...;
voucher?: ...;
}
)[];
};
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code: string;
flights?: { itemId: ... }[];
message?: string;
travelerIndices?: number[];
}[];
travelers?: {
birthDate?: string;
emails?: string[];
givenName?: string;
identityDocuments?: ((...) & (...))[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: ...;
programType?: ...;
receiverCode?: ...;
supplierCode?: ...;
tierLevel?: ...;
}[];
middleName?: string;
passengerCode?: string;
phones?: { label?: ...; number: ... }[];
surname?: string;
}[];
};
bookingSignature: string;
bookingSource?: "SABRE"
| "SABRE_ORDER";
confirmationId: string;
extraFeatures?: {
returnFiscalId: boolean;
returnFrequentRenter: boolean;
returnWalletFormsOfPayment: boolean;
};
receivedFrom: string;
retrieveBooking: boolean;
targetPcc?: string;
unmaskPaymentCardNumbers?: boolean;
};
timestamp?: string;
};
};
headers: { [name: string]: unknown };
};
};
}
Type Declaration
parameters: {
cookie?: never;
header: { Authorization: string };
path?: never;
query?: never;
}
Optionalcookie?: never
header: { Authorization: string }
Optionalpath?: never
Optionalquery?: never
requestBody: {
content: {
"application/json": {
after: {
agencyCustomerNumber?: string;
creationDetails?: { agencyIataNumber?: string };
flights?: { seats?: { number: string; offerItemId?: string }[] }[];
hotels?: (
{ itemId: string } & {
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
bookingKey?: string;
checkInDate?: string;
checkOutDate?: string;
corporateDiscountCode?: number;
formOfPaymentIndex?: number;
leadTravelerIndex: number;
numberOfGuests: number;
paymentPolicy: "DEPOSIT"
| "GUARANTEE"
| "LATE";
room: { productCode?: string; travelerIndices: number[] };
specialInstructions?: string;
}
)[];
payments?: {
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
agencyIataNumber?: string;
authentications?: {
amount?: ...;
cardNumberCollectionCode?: ...;
channelCode?: ...;
currencyCode?: ...;
electronicCommerceIndicator?: ...;
exemptionTypeCode?: ...;
issueCode?: ...;
mandateTypeCode?: ...;
merchantName?: ...;
originalPaymentReference?: ...;
resultCode?: ...;
secureAuthenticationValue?: ...;
secureTransactionId?: ...;
tokenAuthenticationValue?: ...;
updatedDateTime?: ...;
verificationResultCode?: ...;
version?: ...;
}[];
cardHolder?: {
address?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
email?: string;
givenName: string;
phone?: string;
surname: string;
};
companyAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: string;
amount: string;
code: string;
currencyCode: string;
expiryDateTime: string;
requestDateTime: string;
};
netBalance?: string;
tripType?: | "All"
| "Unknown"
| "Corporate/Business"
| "Leisure"
| "Emergency"
| "Family"
| "Group";
tripTypes?: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
type:
| "INVOICE"
| "CORPORATE"
| "PAYMENTCARD"
| "CASH"
| "CHECK"
| "MISCELLANEOUS"
| "INSTALLMENTS"
| "VIRTUAL_CARD"
| "AGENCY_NAME"
| "AGENCY_IATA"
| "COMPANY_NAME"
| "VOUCHER"
| "DOCKET"
| "GOVERNMENT_TRAVEL_REQUEST";
useType?: | "All"
| "Other"
| "Tour"
| "Unknown"
| "Ancillary"
| "Hotel"
| "Car"
| "Cruise"
| "Airline"
| "Bus/Ground Transportation"
| "Insurance"
| "Low-Cost Carrier"
| "Rail"
| "Specialty Service"
| "Interface Record";
useTypes?: (
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
)[];
virtualCard?: {
agencyEmail?: string;
customerAccountCode?: string;
hotelFax?: string;
hotelName?: string;
rateAmount?: { amount: ...; currencyCode: ... };
roomDescription?: string;
roomType?: string;
virtualCardCharges?: (...)[];
};
voucher?: { billingNumber?: string; type?: string };
}
)[];
};
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code: string;
flights?: { itemId: string }[];
message?: string;
travelerIndices?: number[];
}[];
travelers?: {
birthDate?: string;
emails?: string[];
givenName?: string;
identityDocuments?: (
{
birthDate?: string;
documentNumber?: string;
documentType: | (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
expiryDate?: string;
gender?: (...) | (...) | (...) | (...) | (...) | (...);
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceDestinationAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
surname?: string;
} & { flights?: (...)[] }
)[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: string;
programType?:
| "FREQUENT_FLYER"
| "FREQUENT_RENTER"
| "LOYALTY_ID"
| "CORPORATE_LOYALTY_ID";
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
middleName?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
surname?: string;
}[];
};
before: {
agencyCustomerNumber?: string;
creationDetails?: { agencyIataNumber?: string };
flights?: { seats?: { number: string; offerItemId?: string }[] }[];
hotels?: (
{ itemId: string } & {
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
bookingKey?: string;
checkInDate?: string;
checkOutDate?: string;
corporateDiscountCode?: number;
formOfPaymentIndex?: number;
leadTravelerIndex: number;
numberOfGuests: number;
paymentPolicy: "DEPOSIT"
| "GUARANTEE"
| "LATE";
room: { productCode?: string; travelerIndices: number[] };
specialInstructions?: string;
}
)[];
payments?: {
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
agencyIataNumber?: string;
authentications?: {
amount?: ...;
cardNumberCollectionCode?: ...;
channelCode?: ...;
currencyCode?: ...;
electronicCommerceIndicator?: ...;
exemptionTypeCode?: ...;
issueCode?: ...;
mandateTypeCode?: ...;
merchantName?: ...;
originalPaymentReference?: ...;
resultCode?: ...;
secureAuthenticationValue?: ...;
secureTransactionId?: ...;
tokenAuthenticationValue?: ...;
updatedDateTime?: ...;
verificationResultCode?: ...;
version?: ...;
}[];
cardHolder?: {
address?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
email?: string;
givenName: string;
phone?: string;
surname: string;
};
companyAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: string;
amount: string;
code: string;
currencyCode: string;
expiryDateTime: string;
requestDateTime: string;
};
netBalance?: string;
tripType?: | "All"
| "Unknown"
| "Corporate/Business"
| "Leisure"
| "Emergency"
| "Family"
| "Group";
tripTypes?: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
type:
| "INVOICE"
| "CORPORATE"
| "PAYMENTCARD"
| "CASH"
| "CHECK"
| "MISCELLANEOUS"
| "INSTALLMENTS"
| "VIRTUAL_CARD"
| "AGENCY_NAME"
| "AGENCY_IATA"
| "COMPANY_NAME"
| "VOUCHER"
| "DOCKET"
| "GOVERNMENT_TRAVEL_REQUEST";
useType?: | "All"
| "Other"
| "Tour"
| "Unknown"
| "Ancillary"
| "Hotel"
| "Car"
| "Cruise"
| "Airline"
| "Bus/Ground Transportation"
| "Insurance"
| "Low-Cost Carrier"
| "Rail"
| "Specialty Service"
| "Interface Record";
useTypes?: (
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
)[];
virtualCard?: {
agencyEmail?: string;
customerAccountCode?: string;
hotelFax?: string;
hotelName?: string;
rateAmount?: { amount: ...; currencyCode: ... };
roomDescription?: string;
roomType?: string;
virtualCardCharges?: (...)[];
};
voucher?: { billingNumber?: string; type?: string };
}
)[];
};
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code: string;
flights?: { itemId: string }[];
message?: string;
travelerIndices?: number[];
}[];
travelers?: {
birthDate?: string;
emails?: string[];
givenName?: string;
identityDocuments?: (
{
birthDate?: string;
documentNumber?: string;
documentType: | (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
expiryDate?: string;
gender?: (...) | (...) | (...) | (...) | (...) | (...);
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceDestinationAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
surname?: string;
} & { flights?: (...)[] }
)[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: string;
programType?:
| "FREQUENT_FLYER"
| "FREQUENT_RENTER"
| "LOYALTY_ID"
| "CORPORATE_LOYALTY_ID";
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
middleName?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
surname?: string;
}[];
};
bookingSignature: string;
bookingSource?: "SABRE"
| "SABRE_ORDER";
confirmationId: string;
extraFeatures?: {
returnFiscalId: boolean;
returnFrequentRenter: boolean;
returnWalletFormsOfPayment: boolean;
};
receivedFrom: string;
retrieveBooking: boolean;
targetPcc?: string;
unmaskPaymentCardNumbers?: boolean;
};
};
}
responses: {
"200": {
content: {
"application/json": {
booking?: {
accountingItems?: {
airlineCode?: string;
cardNumber?: string;
cardTypeCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationType?: "Refund"
| "Exchange"
| "First Issuance";
currencyCode?: string;
fareAmount?: string;
fareApplicationType?:
| "Single Traveler"
| "All Travelers"
| "Each Traveler";
formOfPaymentType?: | "Unknown"
| "Cash"
| "Check"
| "Check or Cash"
| "Payment Card"
| "Masked Payment Card";
tariffBasisType?: "Domestic"
| "Foreign"
| "International";
taxAmount?: string;
ticketNumber?: string;
travelerIndices?: number[];
}[];
agencyCustomerNumber?: string;
allSegments?: (
{ id: string } & {
address?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
date?: string;
endAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
endDate?: string;
endLocationCode?: string;
endTime?: string;
locationCode?: string;
startAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
startDate?: string;
startLocationCode?: string;
startTime?: string;
text?: string;
time?: string;
type: string;
vendorCode?: string;
}
)[];
bookingId?: string;
cars?: (
{ itemId: string } & {
carStatusCode?: string;
carStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
collectionAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
collectionSite?: { id?: string; name?: string; phone?: string };
confirmationId?: string;
deliveryAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
deliverySite?: { id?: string; name?: string; phone?: string };
distanceAllowance?: string;
dropOffAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
dropOffContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
dropOffDate: string;
dropOffLocationCode?: string;
dropOffTime: string;
guaranteePaymentNote?: string;
isRefundable: boolean;
numberOfVehicles?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
pickUpAddress: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
pickUpContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
pickUpDate: string;
pickUpLocationCode?: string;
pickUpTime: string;
rateCode?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
specialInstructions?: string;
travelerIndex?: number;
vehicleTypeCode?: string;
vehicleTypeName?: | "Two/Three Door"
| "Two/Four Door"
| "Four/Five Door"
| "Wagon/Estate"
| "Passenger Van"
| "Limousine/Sedan"
| "Sport"
| "Convertible"
| "SUV"
| "Open Air All Terrain"
| "Special"
| "Pick up single/extended cab 2 door"
| "Pick up double cab 4 door"
| "Special Offer Car"
| "Coupe"
| "Monospace"
| "Recreational Vehicle"
| "Motor Home"
| "Two Wheel Vehicle"
| "Roadster"
| "Crossover"
| "Commercial Van/Truck";
vendorCode: string;
vendorName: string;
}
)[];
contactInfo?: { emails?: string[] } & {
emergencyPhones?: string[];
faxes?: string[];
phones?: string[];
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
cruises?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime?: string;
cabinNumber?: string;
confirmationId?: string;
cruiseStatusCode?: string;
cruiseStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
departureDate: string;
departureTime?: string;
fromPortCode: string;
numberOfGuests?: number;
shipCode?: string;
shipName?: string;
toPortCode?: string;
vendorCode: string;
}
)[];
endDate?: string;
fareOffers?: {
cabinBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
cabinBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
checkedBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
checkedBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
flights?: { itemId: string }[];
travelerIndices?: number[];
}[];
fareRules?: {
destinationAirportCode?: string;
exchangePenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
isChangeable?: boolean;
isRefundable?: boolean;
originAirportCode?: string;
owningAirlineCode: string;
passengerCode?: string;
refundPenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
}[];
fares?: {
airlineCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
fareCalculationLine?: string;
fareConstruction?: {
baseRate?: { amount: ...; currencyCode: ... };
brandAttributes?: (...)[];
brandFareCode?: string;
brandFareName?: string;
brandProgramCode?: string;
brandProgramName?: string;
checkedBaggageAllowance?: {
baggagePieces?: ...;
maximumPieces?: ...;
totalWeightInKilograms?: ...;
totalWeightInPounds?: ...;
};
fareBasisCode?: string;
flightIndices?: (...)[];
flights?: (...)[];
isCurrentItinerary?: boolean;
}[];
hasValidPricing: boolean;
isNegotiatedFare?: boolean;
pricedTravelerType?: string;
pricingStatusCode?: "A"
| "H";
pricingStatusName?: "Active" | "History";
pricingTypeCode?: "S" | "A" | "M";
pricingTypeName?: "Unknown" | "System" | "Amended" | "Manual";
recordId?: string;
recordTypeCode?: string;
recordTypeName?: string;
requestedTravelerType?: string;
taxBreakdown?: {
taxAmount?: { amount: ...; currencyCode: ... };
taxCode?: string;
}[];
totals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
tourCode?: string;
travelerIndices?: number[];
}[];
flights?: (
{ itemId: string } & {
aircraftTypeCode?: string;
aircraftTypeName?: string;
airlineCode: string;
airlineName?: string;
arrivalDate: string;
arrivalGate?: string;
arrivalTerminalName?: string;
arrivalTime: string;
bookingClass?: string;
cabinTypeCode?: string;
cabinTypeName?: string;
confirmationId?: string;
departureDate: string;
departureGate?: string;
departureTerminalName?: string;
departureTime: string;
distanceInMiles?: number;
durationInMinutes?: number;
flightNumber: number;
flightStatusCode?: string;
flightStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
fromAirportCode: string;
hiddenStopAircraftTypeCode?: string;
hiddenStopAircraftTypeName?: string;
hiddenStopAirportCode?: string;
hiddenStopArrivalDate?: string;
hiddenStopArrivalTime?: string;
hiddenStopDepartureDate?: string;
hiddenStopDepartureTime?: string;
hiddenStops?: {
aircraftTypeCode?: ...;
aircraftTypeName?: ...;
airportCode?: ...;
arrivalDate?: ...;
arrivalTime?: ...;
departureDate?: ...;
departureTime?: ...;
durationInMinutes?: ...;
}[];
identityDocuments?: { itemId?: ...; status?: ... }[];
isPast?: boolean;
meals?: { code: ...; description: ... }[];
numberOfSeats?: number;
operatingAirlineCode?: string;
operatingAirlineName?: string;
operatingFlightNumber?: number;
seats?: {
characteristics?: ...;
number: ...;
statusCode?: ...;
statusName?: ...;
}[];
sourceType?: "NDC"
| "LCC"
| "ATPCO";
toAirportCode: string;
travelerIndices?: number[];
updatedArrivalDate?: string;
updatedArrivalTime?: string;
updatedDepartureDate?: string;
updatedDepartureTime?: string;
}
)[];
flightTickets?: {
agencyIataNumber?: string;
airlineCode: string;
allCoupons?: (
{ couponStatus: ...; couponStatusCode: ... } & { itemId?: ... }
)[];
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
date: string;
flightCoupons: (
{ itemId: ... } & { couponStatus: ...; couponStatusCode: ... }
)[];
number: string;
payment: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
ticketingPcc?: string;
ticketStatusCode?: string;
ticketStatusName?: "Voided"
| "Issued"
| "Refunded/Exchanged";
travelerIndex: number;
}[];
futureTicketingPolicy?: {
comment?: string;
queueNumber?: string;
ticketingDate?: string;
ticketingPcc?: string;
ticketingTime?: string;
};
hotels?: (
{ itemId: string } & {
address: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... } & { cityCode?: ... };
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
chainCode?: string;
chainName?: string;
checkInDate: string;
checkInTime: string;
checkOutDate: string;
checkOutTime: string;
confirmationId?: string;
contactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
corporateDiscountCode?: number;
guaranteePaymentNote?: string;
guaranteeTypeCode?: number;
guaranteeTypeName?: | "Credit card"
| "Travel agency name/address"
| "Travel agency IATA number"
| "Company name/address"
| "Corporate ID/CD number"
| "Virtual card";
hotelName: string;
hotelStatusCode?: string;
hotelStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
isRefundable: boolean;
leadTravelerIndex?: number;
numberOfGuests?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
paymentPolicy?: "DEPOSIT"
| "GUARANTEE"
| "LATE";
propertyId?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
refundPenaltyPolicyCode?: string;
room?: {
agencyCommission?: {
commissionAmount?: ...;
commissionPercentage?: ...;
currencyCode?: ...;
};
description?: string;
productCode?: string;
quantity: number;
roomRate?: { amount: ...; currencyCode: ... };
roomType: string;
roomTypeCode?: string;
travelerIndices?: (...)[];
};
sabrePropertyId?: string;
sourceTypeCode?: number;
sourceTypeName?: | "Unknown"
| "Legacy"
| "Sabre GDS"
| "Expedia Associate Network"
| "HotelBeds.com"
| "Booking.com"
| "CMNet";
specialInstructions?: string;
}
)[];
isCancelable?: boolean;
isTicketed?: boolean;
journeys?: {
departureDate: string;
departureTime: string;
firstAirportCode: string;
lastAirportCode: string;
numberOfFlights: number;
}[];
nonElectronicTickets?: {
date?: string;
ticketingPcc?: string;
ticketingUserCode?: string;
ticketNumber?: string;
ticketStatus?: "Unknown"
| "Active"
| "Inactive";
time?: string;
travelerIndex?: number;
}[];
otherServices?: {
airlineCode?: string;
chainCode?: string;
serviceMessage?: string;
travelerIndex?: number;
vendorCode?: string;
}[];
payments?: {
carTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightCurrentTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: (...) & (...);
agencyIataNumber?: string;
authentications?: (...)[];
cardHolder?: {
address?: ...;
email?: ...;
givenName: ...;
phone?: ...;
surname: ...;
};
companyAddress?: (...) & (...);
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: ...;
amount: ...;
code: ...;
currencyCode: ...;
expiryDateTime: ...;
requestDateTime: ...;
};
netBalance?: string;
tripType?: (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
tripTypes?: (...)[];
type:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useType?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useTypes?: (...)[];
virtualCard?: {
agencyEmail?: ...;
customerAccountCode?: ...;
hotelFax?: ...;
hotelName?: ...;
rateAmount?: ...;
roomDescription?: ...;
roomType?: ...;
virtualCardCharges?: ...;
};
voucher?: { billingNumber?: ...; type?: ... };
}
)[];
hotelTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
trainTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
};
remarks?: {
alphaCode?: string;
text?: string;
type?: | "INVOICE"
| "ITINERARY"
| "GENERAL"
| "HISTORICAL"
| "CLIENT_ADDRESS"
| "ALPHA_CODED"
| "DELIVERY_ADDRESS"
| "HIDDEN"
| "CORPORATE"
| "FORM_OF_PAYMENT"
| "PRINT_ON_TICKET"
| "FILLER_STRIP"
| "INTERFACE"
| "QUEUE_PLACE";
}[];
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code?: string;
flights?: { itemId: string }[];
message?: string;
name?: string;
statusCode?: string;
statusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
travelerIndices?: number[];
}[];
startDate?: string;
trains?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime: string;
confirmationId?: string;
departureDate: string;
departureTime: string;
fromStationCode: string;
fromStationName?: string;
isRefundable?: boolean;
operatingVendorCode?: string;
operatingVendorName?: string;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
toStationCode: string;
toStationName?: string;
trainName?: string;
trainNumber: string;
trainStatusCode?: string;
trainStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
vendorCode: string;
vendorName?: string;
}
)[];
travelers?: {
address?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
ancillaries?: {
airlineCode?: string;
commercialName?: string;
electronicMiscellaneousDocumentNumber?: string;
flightApplicabilityType?: (...) | (...) | (...);
flights?: (...)[];
isCommissionable?: boolean;
isRefundable?: boolean;
itemId?: string;
numberOfItems?: number;
reasonForIssuanceCode?: string;
reasonForIssuanceName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
source?: (...) | (...);
statusCode?: string;
statusName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
subcode?: string;
totals?: {
currencyCode: ...;
fees?: ...;
subtotal?: ...;
taxes?: ...;
total: ...;
};
vendorCode?: string;
}[];
birthDate?: string;
emails?: string[];
formOfPaymentIndices?: number[];
gender?: | "FEMALE"
| "MALE"
| "INFANT_FEMALE"
| "INFANT_MALE"
| "UNDISCLOSED"
| "UNDEFINED";
givenName: string;
identityDocuments?: {
birthDate?: string;
documentNumber?: string;
documentSubType?: (...)
| (...)
| (...);
documentType:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
expiryDate?: string;
flightIndices?: (...)[];
gender?: (...) | (...) | (...) | (...) | (...) | (...);
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
itemId?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceDestinationAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
surname?: string;
}[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: string;
programType?: (...)
| (...)
| (...)
| (...);
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
middleName?: string;
nameAssociationId?: string;
nameReferenceCode?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
remarks?: {
alphaCode?: string;
text?: string;
type?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}[];
surname: string;
type?: | "ADULT"
| "AGENT"
| "AIRLINE"
| "CHILD"
| "EDUCATION"
| "GOVERNMENT"
| "GROUP"
| "INFANT"
| "MILITARY"
| "SENIOR"
| "SPECIAL"
| "YOUTH";
}[];
travelersGroup?: {
itemId?: string;
name?: string;
numberOfTravelers?: number;
numberOfTravelersRemaining?: number;
};
};
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
request?: {
after: {
agencyCustomerNumber?: string;
creationDetails?: { agencyIataNumber?: string };
flights?: { seats?: { number: ...; offerItemId?: ... }[] }[];
hotels?: (
{ itemId: string } & {
associatedFlightDetails?: {
arrivalAirlineCode?: ...;
arrivalFlightNumber?: ...;
arrivalTime?: ...;
departureAirlineCode?: ...;
departureFlightNumber?: ...;
departureTime?: ...;
};
bookingKey?: string;
checkInDate?: string;
checkOutDate?: string;
corporateDiscountCode?: number;
formOfPaymentIndex?: number;
leadTravelerIndex: number;
numberOfGuests: number;
paymentPolicy: (...)
| (...)
| (...);
room: { productCode?: ...; travelerIndices: ... };
specialInstructions?: string;
}
)[];
payments?: {
formsOfPayment?: (
{
airlinePlanCode?: ...;
cardNumber?: ...;
cardSecurityCode?: ...;
cardTypeCode?: ...;
expiryDate?: ...;
extendedPayment?: ...;
installmentAmount?: ...;
miscellaneousCreditCode?: ...;
numberOfInstallments?: ...;
} & {
agencyAddress?: ...;
agencyIataNumber?: ...;
authentications?: ...;
cardHolder?: ...;
companyAddress?: ...;
corporateId?: ...;
docketDescription?: ...;
docketIssuingAgentInitials?: ...;
docketNumber?: ...;
docketPrefix?: ...;
governmentTravelRequestDescription?: ...;
invoiceDescription?: ...;
isAgencyPaymentCard?: ...;
manualApproval?: ...;
netBalance?: ...;
tripType?: ...;
tripTypes?: ...;
type: ...;
useType?: ...;
useTypes?: ...;
virtualCard?: ...;
voucher?: ...;
}
)[];
};
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code: string;
flights?: { itemId: ... }[];
message?: string;
travelerIndices?: number[];
}[];
travelers?: {
birthDate?: string;
emails?: string[];
givenName?: string;
identityDocuments?: ((...) & (...))[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: ...;
programType?: ...;
receiverCode?: ...;
supplierCode?: ...;
tierLevel?: ...;
}[];
middleName?: string;
passengerCode?: string;
phones?: { label?: ...; number: ... }[];
surname?: string;
}[];
};
before: {
agencyCustomerNumber?: string;
creationDetails?: { agencyIataNumber?: string };
flights?: { seats?: { number: ...; offerItemId?: ... }[] }[];
hotels?: (
{ itemId: string } & {
associatedFlightDetails?: {
arrivalAirlineCode?: ...;
arrivalFlightNumber?: ...;
arrivalTime?: ...;
departureAirlineCode?: ...;
departureFlightNumber?: ...;
departureTime?: ...;
};
bookingKey?: string;
checkInDate?: string;
checkOutDate?: string;
corporateDiscountCode?: number;
formOfPaymentIndex?: number;
leadTravelerIndex: number;
numberOfGuests: number;
paymentPolicy: (...)
| (...)
| (...);
room: { productCode?: ...; travelerIndices: ... };
specialInstructions?: string;
}
)[];
payments?: {
formsOfPayment?: (
{
airlinePlanCode?: ...;
cardNumber?: ...;
cardSecurityCode?: ...;
cardTypeCode?: ...;
expiryDate?: ...;
extendedPayment?: ...;
installmentAmount?: ...;
miscellaneousCreditCode?: ...;
numberOfInstallments?: ...;
} & {
agencyAddress?: ...;
agencyIataNumber?: ...;
authentications?: ...;
cardHolder?: ...;
companyAddress?: ...;
corporateId?: ...;
docketDescription?: ...;
docketIssuingAgentInitials?: ...;
docketNumber?: ...;
docketPrefix?: ...;
governmentTravelRequestDescription?: ...;
invoiceDescription?: ...;
isAgencyPaymentCard?: ...;
manualApproval?: ...;
netBalance?: ...;
tripType?: ...;
tripTypes?: ...;
type: ...;
useType?: ...;
useTypes?: ...;
virtualCard?: ...;
voucher?: ...;
}
)[];
};
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code: string;
flights?: { itemId: ... }[];
message?: string;
travelerIndices?: number[];
}[];
travelers?: {
birthDate?: string;
emails?: string[];
givenName?: string;
identityDocuments?: ((...) & (...))[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: ...;
programType?: ...;
receiverCode?: ...;
supplierCode?: ...;
tierLevel?: ...;
}[];
middleName?: string;
passengerCode?: string;
phones?: { label?: ...; number: ... }[];
surname?: string;
}[];
};
bookingSignature: string;
bookingSource?: "SABRE"
| "SABRE_ORDER";
confirmationId: string;
extraFeatures?: {
returnFiscalId: boolean;
returnFrequentRenter: boolean;
returnWalletFormsOfPayment: boolean;
};
receivedFrom: string;
retrieveBooking: boolean;
targetPcc?: string;
unmaskPaymentCardNumbers?: boolean;
};
timestamp?: string;
};
};
headers: { [name: string]: unknown };
};
}
200: {
content: {
"application/json": {
booking?: {
accountingItems?: {
airlineCode?: string;
cardNumber?: string;
cardTypeCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationType?: "Refund"
| "Exchange"
| "First Issuance";
currencyCode?: string;
fareAmount?: string;
fareApplicationType?:
| "Single Traveler"
| "All Travelers"
| "Each Traveler";
formOfPaymentType?: | "Unknown"
| "Cash"
| "Check"
| "Check or Cash"
| "Payment Card"
| "Masked Payment Card";
tariffBasisType?: "Domestic"
| "Foreign"
| "International";
taxAmount?: string;
ticketNumber?: string;
travelerIndices?: number[];
}[];
agencyCustomerNumber?: string;
allSegments?: (
{ id: string } & {
address?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
date?: string;
endAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
endDate?: string;
endLocationCode?: string;
endTime?: string;
locationCode?: string;
startAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
startDate?: string;
startLocationCode?: string;
startTime?: string;
text?: string;
time?: string;
type: string;
vendorCode?: string;
}
)[];
bookingId?: string;
cars?: (
{ itemId: string } & {
carStatusCode?: string;
carStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
collectionAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
collectionSite?: { id?: string; name?: string; phone?: string };
confirmationId?: string;
deliveryAddress?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
};
deliverySite?: { id?: string; name?: string; phone?: string };
distanceAllowance?: string;
dropOffAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
dropOffContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
dropOffDate: string;
dropOffLocationCode?: string;
dropOffTime: string;
guaranteePaymentNote?: string;
isRefundable: boolean;
numberOfVehicles?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
pickUpAddress: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... };
pickUpContactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
pickUpDate: string;
pickUpLocationCode?: string;
pickUpTime: string;
rateCode?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
specialInstructions?: string;
travelerIndex?: number;
vehicleTypeCode?: string;
vehicleTypeName?: | "Two/Three Door"
| "Two/Four Door"
| "Four/Five Door"
| "Wagon/Estate"
| "Passenger Van"
| "Limousine/Sedan"
| "Sport"
| "Convertible"
| "SUV"
| "Open Air All Terrain"
| "Special"
| "Pick up single/extended cab 2 door"
| "Pick up double cab 4 door"
| "Special Offer Car"
| "Coupe"
| "Monospace"
| "Recreational Vehicle"
| "Motor Home"
| "Two Wheel Vehicle"
| "Roadster"
| "Crossover"
| "Commercial Van/Truck";
vendorCode: string;
vendorName: string;
}
)[];
contactInfo?: { emails?: string[] } & {
emergencyPhones?: string[];
faxes?: string[];
phones?: string[];
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
cruises?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime?: string;
cabinNumber?: string;
confirmationId?: string;
cruiseStatusCode?: string;
cruiseStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
departureDate: string;
departureTime?: string;
fromPortCode: string;
numberOfGuests?: number;
shipCode?: string;
shipName?: string;
toPortCode?: string;
vendorCode: string;
}
)[];
endDate?: string;
fareOffers?: {
cabinBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
cabinBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
checkedBaggageAllowance?: {
baggagePieces?: {
fee?: ...;
isCheckInOnly?: ...;
maximumSizeInCentimeters?: ...;
maximumSizeInInches?: ...;
maximumWeightInKilograms?: ...;
maximumWeightInPounds?: ...;
numberOfPieces: ...;
specialItemDescription?: ...;
}[];
maximumPieces?: number;
totalWeightInKilograms?: number;
totalWeightInPounds?: number;
};
checkedBaggageCharges?: {
fee?: { amount: ...; currencyCode: ... };
isCheckInOnly?: boolean;
maximumSizeInCentimeters?: number;
maximumSizeInInches?: number;
maximumWeightInKilograms?: number;
maximumWeightInPounds?: number;
numberOfPieces: number;
specialItemDescription?: string;
}[];
flights?: { itemId: string }[];
travelerIndices?: number[];
}[];
fareRules?: {
destinationAirportCode?: string;
exchangePenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
isChangeable?: boolean;
isRefundable?: boolean;
originAirportCode?: string;
owningAirlineCode: string;
passengerCode?: string;
refundPenalties?: {
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
}[];
}[];
fares?: {
airlineCode?: string;
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
creationDetails?: {
agencyIataNumber?: string;
creationDate?: string;
creationTime?: string;
creationUserSine?: string;
primeHostId?: string;
purchaseDeadlineDate?: string;
purchaseDeadlineTime?: string;
userHomePcc?: string;
userWorkPcc?: string;
};
fareCalculationLine?: string;
fareConstruction?: {
baseRate?: { amount: ...; currencyCode: ... };
brandAttributes?: (...)[];
brandFareCode?: string;
brandFareName?: string;
brandProgramCode?: string;
brandProgramName?: string;
checkedBaggageAllowance?: {
baggagePieces?: ...;
maximumPieces?: ...;
totalWeightInKilograms?: ...;
totalWeightInPounds?: ...;
};
fareBasisCode?: string;
flightIndices?: (...)[];
flights?: (...)[];
isCurrentItinerary?: boolean;
}[];
hasValidPricing: boolean;
isNegotiatedFare?: boolean;
pricedTravelerType?: string;
pricingStatusCode?: "A"
| "H";
pricingStatusName?: "Active" | "History";
pricingTypeCode?: "S" | "A" | "M";
pricingTypeName?: "Unknown" | "System" | "Amended" | "Manual";
recordId?: string;
recordTypeCode?: string;
recordTypeName?: string;
requestedTravelerType?: string;
taxBreakdown?: {
taxAmount?: { amount: ...; currencyCode: ... };
taxCode?: string;
}[];
totals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
tourCode?: string;
travelerIndices?: number[];
}[];
flights?: (
{ itemId: string } & {
aircraftTypeCode?: string;
aircraftTypeName?: string;
airlineCode: string;
airlineName?: string;
arrivalDate: string;
arrivalGate?: string;
arrivalTerminalName?: string;
arrivalTime: string;
bookingClass?: string;
cabinTypeCode?: string;
cabinTypeName?: string;
confirmationId?: string;
departureDate: string;
departureGate?: string;
departureTerminalName?: string;
departureTime: string;
distanceInMiles?: number;
durationInMinutes?: number;
flightNumber: number;
flightStatusCode?: string;
flightStatusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
fromAirportCode: string;
hiddenStopAircraftTypeCode?: string;
hiddenStopAircraftTypeName?: string;
hiddenStopAirportCode?: string;
hiddenStopArrivalDate?: string;
hiddenStopArrivalTime?: string;
hiddenStopDepartureDate?: string;
hiddenStopDepartureTime?: string;
hiddenStops?: {
aircraftTypeCode?: ...;
aircraftTypeName?: ...;
airportCode?: ...;
arrivalDate?: ...;
arrivalTime?: ...;
departureDate?: ...;
departureTime?: ...;
durationInMinutes?: ...;
}[];
identityDocuments?: { itemId?: ...; status?: ... }[];
isPast?: boolean;
meals?: { code: ...; description: ... }[];
numberOfSeats?: number;
operatingAirlineCode?: string;
operatingAirlineName?: string;
operatingFlightNumber?: number;
seats?: {
characteristics?: ...;
number: ...;
statusCode?: ...;
statusName?: ...;
}[];
sourceType?: "NDC"
| "LCC"
| "ATPCO";
toAirportCode: string;
travelerIndices?: number[];
updatedArrivalDate?: string;
updatedArrivalTime?: string;
updatedDepartureDate?: string;
updatedDepartureTime?: string;
}
)[];
flightTickets?: {
agencyIataNumber?: string;
airlineCode: string;
allCoupons?: (
{ couponStatus: ...; couponStatusCode: ... } & { itemId?: ... }
)[];
commission?: {
commissionAmount?: string;
commissionPercentage?: string;
currencyCode?: string;
};
date: string;
flightCoupons: (
{ itemId: ... } & { couponStatus: ...; couponStatusCode: ... }
)[];
number: string;
payment: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
ticketingPcc?: string;
ticketStatusCode?: string;
ticketStatusName?: "Voided"
| "Issued"
| "Refunded/Exchanged";
travelerIndex: number;
}[];
futureTicketingPolicy?: {
comment?: string;
queueNumber?: string;
ticketingDate?: string;
ticketingPcc?: string;
ticketingTime?: string;
};
hotels?: (
{ itemId: string } & {
address: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
} & { freeText?: ...; name?: ... } & { cityCode?: ... };
associatedFlightDetails?: {
arrivalAirlineCode?: string;
arrivalFlightNumber?: number;
arrivalTime?: string;
departureAirlineCode?: string;
departureFlightNumber?: number;
departureTime?: string;
};
chainCode?: string;
chainName?: string;
checkInDate: string;
checkInTime: string;
checkOutDate: string;
checkOutTime: string;
confirmationId?: string;
contactInfo?: { emails?: ... } & {
emergencyPhones?: ...;
faxes?: ...;
phones?: ...;
};
corporateDiscountCode?: number;
guaranteePaymentNote?: string;
guaranteeTypeCode?: number;
guaranteeTypeName?: | "Credit card"
| "Travel agency name/address"
| "Travel agency IATA number"
| "Company name/address"
| "Corporate ID/CD number"
| "Virtual card";
hotelName: string;
hotelStatusCode?: string;
hotelStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
isRefundable: boolean;
leadTravelerIndex?: number;
numberOfGuests?: number;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
paymentPolicy?: "DEPOSIT"
| "GUARANTEE"
| "LATE";
propertyId?: string;
refundPenalties?: {
applicableFromDate?: ...;
applicableToDate?: ...;
penalty: ...;
}[];
refundPenaltyPolicyCode?: string;
room?: {
agencyCommission?: {
commissionAmount?: ...;
commissionPercentage?: ...;
currencyCode?: ...;
};
description?: string;
productCode?: string;
quantity: number;
roomRate?: { amount: ...; currencyCode: ... };
roomType: string;
roomTypeCode?: string;
travelerIndices?: (...)[];
};
sabrePropertyId?: string;
sourceTypeCode?: number;
sourceTypeName?: | "Unknown"
| "Legacy"
| "Sabre GDS"
| "Expedia Associate Network"
| "HotelBeds.com"
| "Booking.com"
| "CMNet";
specialInstructions?: string;
}
)[];
isCancelable?: boolean;
isTicketed?: boolean;
journeys?: {
departureDate: string;
departureTime: string;
firstAirportCode: string;
lastAirportCode: string;
numberOfFlights: number;
}[];
nonElectronicTickets?: {
date?: string;
ticketingPcc?: string;
ticketingUserCode?: string;
ticketNumber?: string;
ticketStatus?: "Unknown"
| "Active"
| "Inactive";
time?: string;
travelerIndex?: number;
}[];
otherServices?: {
airlineCode?: string;
chainCode?: string;
serviceMessage?: string;
travelerIndex?: number;
vendorCode?: string;
}[];
payments?: {
carTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightCurrentTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
flightTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
formsOfPayment?: (
{
airlinePlanCode?: string;
cardNumber?: string;
cardSecurityCode?: string;
cardTypeCode?: string;
expiryDate?: string;
extendedPayment?: number;
installmentAmount?: string;
miscellaneousCreditCode?: string;
numberOfInstallments?: number;
} & {
agencyAddress?: (...) & (...);
agencyIataNumber?: string;
authentications?: (...)[];
cardHolder?: {
address?: ...;
email?: ...;
givenName: ...;
phone?: ...;
surname: ...;
};
companyAddress?: (...) & (...);
corporateId?: string;
docketDescription?: string;
docketIssuingAgentInitials?: string;
docketNumber?: string;
docketPrefix?: string;
governmentTravelRequestDescription?: string;
invoiceDescription?: string;
isAgencyPaymentCard?: boolean;
manualApproval?: {
airlineCode: ...;
amount: ...;
code: ...;
currencyCode: ...;
expiryDateTime: ...;
requestDateTime: ...;
};
netBalance?: string;
tripType?: (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
tripTypes?: (...)[];
type:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useType?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
useTypes?: (...)[];
virtualCard?: {
agencyEmail?: ...;
customerAccountCode?: ...;
hotelFax?: ...;
hotelName?: ...;
rateAmount?: ...;
roomDescription?: ...;
roomType?: ...;
virtualCardCharges?: ...;
};
voucher?: { billingNumber?: ...; type?: ... };
}
)[];
hotelTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
trainTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
}[];
};
remarks?: {
alphaCode?: string;
text?: string;
type?: | "INVOICE"
| "ITINERARY"
| "GENERAL"
| "HISTORICAL"
| "CLIENT_ADDRESS"
| "ALPHA_CODED"
| "DELIVERY_ADDRESS"
| "HIDDEN"
| "CORPORATE"
| "FORM_OF_PAYMENT"
| "PRINT_ON_TICKET"
| "FILLER_STRIP"
| "INTERFACE"
| "QUEUE_PLACE";
}[];
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code?: string;
flights?: { itemId: string }[];
message?: string;
name?: string;
statusCode?: string;
statusName?:
| "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
travelerIndices?: number[];
}[];
startDate?: string;
trains?: (
{ itemId: string } & {
arrivalDate: string;
arrivalTime: string;
confirmationId?: string;
departureDate: string;
departureTime: string;
fromStationCode: string;
fromStationName?: string;
isRefundable?: boolean;
operatingVendorCode?: string;
operatingVendorName?: string;
payment?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
toStationCode: string;
toStationName?: string;
trainName?: string;
trainNumber: string;
trainStatusCode?: string;
trainStatusName?: | "Unknown"
| "Confirmed"
| "On Request"
| "Pending"
| "Cancelled"
| "Unconfirmed"
| "Waitlisted"
| "Infant/No Seat"
| "Priority Waitlist"
| "Quote"
| "Space Available"
| "Pending Quote"
| "No Seat"
| "Standby";
vendorCode: string;
vendorName?: string;
}
)[];
travelers?: {
address?: {
city?: string;
countryCode?: string;
postalCode?: string;
stateProvince?: string;
street?: string;
} & { freeText?: string; name?: string };
ancillaries?: {
airlineCode?: string;
commercialName?: string;
electronicMiscellaneousDocumentNumber?: string;
flightApplicabilityType?: (...) | (...) | (...);
flights?: (...)[];
isCommissionable?: boolean;
isRefundable?: boolean;
itemId?: string;
numberOfItems?: number;
reasonForIssuanceCode?: string;
reasonForIssuanceName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
source?: (...) | (...);
statusCode?: string;
statusName?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
subcode?: string;
totals?: {
currencyCode: ...;
fees?: ...;
subtotal?: ...;
taxes?: ...;
total: ...;
};
vendorCode?: string;
}[];
birthDate?: string;
emails?: string[];
formOfPaymentIndices?: number[];
gender?: | "FEMALE"
| "MALE"
| "INFANT_FEMALE"
| "INFANT_MALE"
| "UNDISCLOSED"
| "UNDEFINED";
givenName: string;
identityDocuments?: {
birthDate?: string;
documentNumber?: string;
documentSubType?: (...)
| (...)
| (...);
documentType:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
expiryDate?: string;
flightIndices?: (...)[];
gender?: (...) | (...) | (...) | (...) | (...) | (...);
givenName?: string;
hostCountryCode?: string;
isLapChildDocument?: boolean;
isPrimaryDocumentHolder?: boolean;
issueDate?: string;
issuingCountryCode?: string;
itemId?: string;
middleName?: string;
placeOfBirth?: string;
placeOfIssue?: string;
residenceCountryCode?: string;
residenceDestinationAddress?: {
city?: ...;
countryCode?: ...;
postalCode?: ...;
stateProvince?: ...;
street?: ...;
};
surname?: string;
}[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: string;
programType?: (...)
| (...)
| (...)
| (...);
receiverCode?: string;
supplierCode?: string;
tierLevel?: number;
}[];
middleName?: string;
nameAssociationId?: string;
nameReferenceCode?: string;
passengerCode?: string;
phones?: { label?: string; number: string }[];
remarks?: {
alphaCode?: string;
text?: string;
type?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}[];
surname: string;
type?: | "ADULT"
| "AGENT"
| "AIRLINE"
| "CHILD"
| "EDUCATION"
| "GOVERNMENT"
| "GROUP"
| "INFANT"
| "MILITARY"
| "SENIOR"
| "SPECIAL"
| "YOUTH";
}[];
travelersGroup?: {
itemId?: string;
name?: string;
numberOfTravelers?: number;
numberOfTravelersRemaining?: number;
};
};
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
request?: {
after: {
agencyCustomerNumber?: string;
creationDetails?: { agencyIataNumber?: string };
flights?: { seats?: { number: ...; offerItemId?: ... }[] }[];
hotels?: (
{ itemId: string } & {
associatedFlightDetails?: {
arrivalAirlineCode?: ...;
arrivalFlightNumber?: ...;
arrivalTime?: ...;
departureAirlineCode?: ...;
departureFlightNumber?: ...;
departureTime?: ...;
};
bookingKey?: string;
checkInDate?: string;
checkOutDate?: string;
corporateDiscountCode?: number;
formOfPaymentIndex?: number;
leadTravelerIndex: number;
numberOfGuests: number;
paymentPolicy: (...)
| (...)
| (...);
room: { productCode?: ...; travelerIndices: ... };
specialInstructions?: string;
}
)[];
payments?: {
formsOfPayment?: (
{
airlinePlanCode?: ...;
cardNumber?: ...;
cardSecurityCode?: ...;
cardTypeCode?: ...;
expiryDate?: ...;
extendedPayment?: ...;
installmentAmount?: ...;
miscellaneousCreditCode?: ...;
numberOfInstallments?: ...;
} & {
agencyAddress?: ...;
agencyIataNumber?: ...;
authentications?: ...;
cardHolder?: ...;
companyAddress?: ...;
corporateId?: ...;
docketDescription?: ...;
docketIssuingAgentInitials?: ...;
docketNumber?: ...;
docketPrefix?: ...;
governmentTravelRequestDescription?: ...;
invoiceDescription?: ...;
isAgencyPaymentCard?: ...;
manualApproval?: ...;
netBalance?: ...;
tripType?: ...;
tripTypes?: ...;
type: ...;
useType?: ...;
useTypes?: ...;
virtualCard?: ...;
voucher?: ...;
}
)[];
};
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code: string;
flights?: { itemId: ... }[];
message?: string;
travelerIndices?: number[];
}[];
travelers?: {
birthDate?: string;
emails?: string[];
givenName?: string;
identityDocuments?: ((...) & (...))[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: ...;
programType?: ...;
receiverCode?: ...;
supplierCode?: ...;
tierLevel?: ...;
}[];
middleName?: string;
passengerCode?: string;
phones?: { label?: ...; number: ... }[];
surname?: string;
}[];
};
before: {
agencyCustomerNumber?: string;
creationDetails?: { agencyIataNumber?: string };
flights?: { seats?: { number: ...; offerItemId?: ... }[] }[];
hotels?: (
{ itemId: string } & {
associatedFlightDetails?: {
arrivalAirlineCode?: ...;
arrivalFlightNumber?: ...;
arrivalTime?: ...;
departureAirlineCode?: ...;
departureFlightNumber?: ...;
departureTime?: ...;
};
bookingKey?: string;
checkInDate?: string;
checkOutDate?: string;
corporateDiscountCode?: number;
formOfPaymentIndex?: number;
leadTravelerIndex: number;
numberOfGuests: number;
paymentPolicy: (...)
| (...)
| (...);
room: { productCode?: ...; travelerIndices: ... };
specialInstructions?: string;
}
)[];
payments?: {
formsOfPayment?: (
{
airlinePlanCode?: ...;
cardNumber?: ...;
cardSecurityCode?: ...;
cardTypeCode?: ...;
expiryDate?: ...;
extendedPayment?: ...;
installmentAmount?: ...;
miscellaneousCreditCode?: ...;
numberOfInstallments?: ...;
} & {
agencyAddress?: ...;
agencyIataNumber?: ...;
authentications?: ...;
cardHolder?: ...;
companyAddress?: ...;
corporateId?: ...;
docketDescription?: ...;
docketIssuingAgentInitials?: ...;
docketNumber?: ...;
docketPrefix?: ...;
governmentTravelRequestDescription?: ...;
invoiceDescription?: ...;
isAgencyPaymentCard?: ...;
manualApproval?: ...;
netBalance?: ...;
tripType?: ...;
tripTypes?: ...;
type: ...;
useType?: ...;
useTypes?: ...;
virtualCard?: ...;
voucher?: ...;
}
)[];
};
retentionEndDate?: string;
retentionLabel?: string;
specialServices?: {
code: string;
flights?: { itemId: ... }[];
message?: string;
travelerIndices?: number[];
}[];
travelers?: {
birthDate?: string;
emails?: string[];
givenName?: string;
identityDocuments?: ((...) & (...))[];
isGrouped?: boolean;
loyaltyPrograms?: {
programNumber: ...;
programType?: ...;
receiverCode?: ...;
supplierCode?: ...;
tierLevel?: ...;
}[];
middleName?: string;
passengerCode?: string;
phones?: { label?: ...; number: ... }[];
surname?: string;
}[];
};
bookingSignature: string;
bookingSource?: "SABRE"
| "SABRE_ORDER";
confirmationId: string;
extraFeatures?: {
returnFiscalId: boolean;
returnFrequentRenter: boolean;
returnWalletFormsOfPayment: boolean;
};
receivedFrom: string;
retrieveBooking: boolean;
targetPcc?: string;
unmaskPaymentCardNumbers?: boolean;
};
timestamp?: string;
};
};
headers: { [name: string]: unknown };
}
refundTickets
refundTickets: {
parameters: {
cookie?: never;
header: { Authorization: string };
path?: never;
query?: never;
};
requestBody: {
content: {
"application/json": {
confirmationId?: string;
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: "HALT_ON_ERROR"
| "ALLOW_PARTIAL_CANCEL";
notification?: {
email?:
| "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
receivedFrom?: string;
targetPcc?: string;
tickets?: {
number?: string;
refundQualifiers?: {
commissionAmount?: string;
commissionOnPenalty?: string;
commissionPercentage?: string;
journeyTypeCode?: "F"
| "M"
| "B";
overrideCancelFee?: string;
overrideTaxes?: {
airportTaxBreakdowns?: { airportCode?: ...; taxAmount?: ... }[];
taxAmount?: string;
taxCode?: string;
}[];
splitRefundAmounts?: { amount?: string }[];
tourCode?: string;
waiverCode?: string;
};
}[];
};
};
};
responses: {
"200": {
content: {
"application/json": {
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
refundedTickets?: string[];
request?: {
confirmationId?: string;
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: "HALT_ON_ERROR"
| "ALLOW_PARTIAL_CANCEL";
notification?: {
email?:
| "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
receivedFrom?: string;
targetPcc?: string;
tickets?: {
number?: string;
refundQualifiers?: {
commissionAmount?: string;
commissionOnPenalty?: string;
commissionPercentage?: string;
journeyTypeCode?: "F"
| "M"
| "B";
overrideCancelFee?: string;
overrideTaxes?: {
airportTaxBreakdowns?: ...;
taxAmount?: ...;
taxCode?: ...;
}[];
splitRefundAmounts?: { amount?: ... }[];
tourCode?: string;
waiverCode?: string;
};
}[];
};
tickets?: {
exchangePenalties?: (
{
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
} & {
hasNoShowCost?: boolean;
noShowPenalty?: { penalty?: ...; source?: ... };
source?: (...) | (...) | (...) | (...);
}
)[];
isAutomatedRefundsEligible?: boolean;
isChangeable?: boolean;
isRefundable?: boolean;
isVoidable?: boolean;
number?: string;
refundPenalties?: (
{
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
} & {
hasNoShowCost?: boolean;
noShowPenalty?: { penalty?: ...; source?: ... };
source?: (...) | (...) | (...) | (...);
}
)[];
refundTaxes?: { amount: string; taxCode: string }[];
refundTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
}[];
timestamp?: string;
};
};
headers: { [name: string]: unknown };
};
};
}
Type Declaration
parameters: {
cookie?: never;
header: { Authorization: string };
path?: never;
query?: never;
}
Optionalcookie?: never
header: { Authorization: string }
Optionalpath?: never
Optionalquery?: never
requestBody: {
content: {
"application/json": {
confirmationId?: string;
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: "HALT_ON_ERROR"
| "ALLOW_PARTIAL_CANCEL";
notification?: {
email?:
| "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
receivedFrom?: string;
targetPcc?: string;
tickets?: {
number?: string;
refundQualifiers?: {
commissionAmount?: string;
commissionOnPenalty?: string;
commissionPercentage?: string;
journeyTypeCode?: "F"
| "M"
| "B";
overrideCancelFee?: string;
overrideTaxes?: {
airportTaxBreakdowns?: { airportCode?: ...; taxAmount?: ... }[];
taxAmount?: string;
taxCode?: string;
}[];
splitRefundAmounts?: { amount?: string }[];
tourCode?: string;
waiverCode?: string;
};
}[];
};
};
}
responses: {
"200": {
content: {
"application/json": {
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
refundedTickets?: string[];
request?: {
confirmationId?: string;
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: "HALT_ON_ERROR"
| "ALLOW_PARTIAL_CANCEL";
notification?: {
email?:
| "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
receivedFrom?: string;
targetPcc?: string;
tickets?: {
number?: string;
refundQualifiers?: {
commissionAmount?: string;
commissionOnPenalty?: string;
commissionPercentage?: string;
journeyTypeCode?: "F"
| "M"
| "B";
overrideCancelFee?: string;
overrideTaxes?: {
airportTaxBreakdowns?: ...;
taxAmount?: ...;
taxCode?: ...;
}[];
splitRefundAmounts?: { amount?: ... }[];
tourCode?: string;
waiverCode?: string;
};
}[];
};
tickets?: {
exchangePenalties?: (
{
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
} & {
hasNoShowCost?: boolean;
noShowPenalty?: { penalty?: ...; source?: ... };
source?: (...) | (...) | (...) | (...);
}
)[];
isAutomatedRefundsEligible?: boolean;
isChangeable?: boolean;
isRefundable?: boolean;
isVoidable?: boolean;
number?: string;
refundPenalties?: (
{
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
} & {
hasNoShowCost?: boolean;
noShowPenalty?: { penalty?: ...; source?: ... };
source?: (...) | (...) | (...) | (...);
}
)[];
refundTaxes?: { amount: string; taxCode: string }[];
refundTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
}[];
timestamp?: string;
};
};
headers: { [name: string]: unknown };
};
}
200: {
content: {
"application/json": {
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
refundedTickets?: string[];
request?: {
confirmationId?: string;
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: "HALT_ON_ERROR"
| "ALLOW_PARTIAL_CANCEL";
notification?: {
email?:
| "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
receivedFrom?: string;
targetPcc?: string;
tickets?: {
number?: string;
refundQualifiers?: {
commissionAmount?: string;
commissionOnPenalty?: string;
commissionPercentage?: string;
journeyTypeCode?: "F"
| "M"
| "B";
overrideCancelFee?: string;
overrideTaxes?: {
airportTaxBreakdowns?: ...;
taxAmount?: ...;
taxCode?: ...;
}[];
splitRefundAmounts?: { amount?: ... }[];
tourCode?: string;
waiverCode?: string;
};
}[];
};
tickets?: {
exchangePenalties?: (
{
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
} & {
hasNoShowCost?: boolean;
noShowPenalty?: { penalty?: ...; source?: ... };
source?: (...) | (...) | (...) | (...);
}
)[];
isAutomatedRefundsEligible?: boolean;
isChangeable?: boolean;
isRefundable?: boolean;
isVoidable?: boolean;
number?: string;
refundPenalties?: (
{
applicability: (...)
| (...);
conditionsApply: boolean;
penalty: { amount: ...; currencyCode: ... };
} & {
hasNoShowCost?: boolean;
noShowPenalty?: { penalty?: ...; source?: ... };
source?: (...) | (...) | (...) | (...);
}
)[];
refundTaxes?: { amount: string; taxCode: string }[];
refundTotals?: {
currencyCode: string;
fees?: string;
subtotal?: string;
taxes?: string;
total: string;
};
}[];
timestamp?: string;
};
};
headers: { [name: string]: unknown };
}
voidTickets
voidTickets: {
parameters: {
cookie?: never;
header: { Authorization: string };
path?: never;
query?: never;
};
requestBody: {
content: {
"application/json": {
confirmationId?: string;
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: "HALT_ON_ERROR"
| "ALLOW_PARTIAL_CANCEL";
notification?: {
email?:
| "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
receivedFrom?: string;
targetPcc?: string;
tickets?: string[];
};
};
};
responses: {
"200": {
content: {
"application/json": {
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
request?: {
confirmationId?: string;
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: "HALT_ON_ERROR"
| "ALLOW_PARTIAL_CANCEL";
notification?: {
email?:
| "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
receivedFrom?: string;
targetPcc?: string;
tickets?: string[];
};
timestamp?: string;
voidedTickets?: string[];
};
};
headers: { [name: string]: unknown };
};
};
}
Type Declaration
parameters: {
cookie?: never;
header: { Authorization: string };
path?: never;
query?: never;
}
Optionalcookie?: never
header: { Authorization: string }
Optionalpath?: never
Optionalquery?: never
requestBody: {
content: {
"application/json": {
confirmationId?: string;
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: "HALT_ON_ERROR"
| "ALLOW_PARTIAL_CANCEL";
notification?: {
email?:
| "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
receivedFrom?: string;
targetPcc?: string;
tickets?: string[];
};
};
}
responses: {
"200": {
content: {
"application/json": {
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
request?: {
confirmationId?: string;
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: "HALT_ON_ERROR"
| "ALLOW_PARTIAL_CANCEL";
notification?: {
email?:
| "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
receivedFrom?: string;
targetPcc?: string;
tickets?: string[];
};
timestamp?: string;
voidedTickets?: string[];
};
};
headers: { [name: string]: unknown };
};
}
200: {
content: {
"application/json": {
errors?: {
category: string;
description?: string;
fieldName?: string;
fieldPath?: string;
fieldValue?: string;
type: string;
}[];
request?: {
confirmationId?: string;
designatePrinters?: {
hardcopy?: { address?: string; spacing?: string };
invoiceItinerary?: string;
profileNumber?: number;
ticket?: { address?: string; countryCode?: string };
}[];
errorHandlingPolicy?: "HALT_ON_ERROR"
| "ALLOW_PARTIAL_CANCEL";
notification?: {
email?:
| "DEFAULT"
| "INVOICE"
| "ETICKET"
| "ETICKET_PDF"
| "ITINERARY"
| "ITINERARY_PDF";
queuePlacement?: {
futureQueuePlacementDate?: string;
pcc?: string;
prefatoryInstructionCode: number;
queueName?: string;
queueNumber?: number;
}[];
};
receivedFrom?: string;
targetPcc?: string;
tickets?: string[];
};
timestamp?: string;
voidedTickets?: string[];
};
};
headers: { [name: string]: unknown };
}
Description
The bearer authentication token.
Example