Documentation
    Preparing search index...
    interface components {
        headers: never;
        parameters: never;
        pathItems: never;
        requestBodies: never;
        responses: never;
        schemas: {
            AccountCode: { accountCodes: string[]; forceAccountCodes?: boolean };
            AccountingFormOfPaymentTypeEnum:
                | "Unknown"
                | "Cash"
                | "Check"
                | "Check or Cash"
                | "Payment Card"
                | "Masked Payment Card";
            AccountingItem: {
                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[];
            };
            AccountingItemCreationTypeEnum: "Refund"
            | "Exchange"
            | "First Issuance";
            Address: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            };
            AdjustedSellingLevel: {
                ignore?: boolean;
                markDownAmount?: string;
                markUpAmount?: string;
                returnBreakdown?: boolean;
            };
            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;
                };
            };
            AirportTaxBreakdown: { airportCode?: string; taxAmount?: string };
            Ancillary: {
                airlineCode?: string;
                commercialName?: string;
                electronicMiscellaneousDocumentNumber?: string;
                flightApplicabilityType?: "Unknown" | "Single" | "Multiple";
                flights?: { itemId: string }[];
                isCommissionable?: boolean;
                isRefundable?: boolean;
                itemId?: string;
                numberOfItems?: number;
                reasonForIssuanceCode?: string;
                reasonForIssuanceName?:
                    | "UNKNOWN"
                    | "AIR_TRANSPORTATION"
                    | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                    | "BAGGAGE"
                    | "FINANCIAL_IMPACT"
                    | "AIRPORT_SERVICES"
                    | "MERCHANDISE"
                    | "INFLIGHT_SERVICES"
                    | "INDIVIDUAL_AIRLINE_USE";
                source?: "ATPCO"
                | "MERCHANDISING_MANAGER";
                statusCode?: string;
                statusName?:
                    | "Confirmed"
                    | "Confirmed with EMD issued"
                    | "On Request"
                    | "Pending"
                    | "Cancelled"
                    | "Unconfirmed"
                    | "Confirmed with pending payment"
                    | "Schedule change";
                subcode?: string;
                totals?: {
                    currencyCode: string;
                    fees?: string;
                    subtotal?: string;
                    taxes?: string;
                    total: string;
                };
                vendorCode?: string;
            };
            AncillarySourceEnum: "ATPCO"
            | "MERCHANDISING_MANAGER";
            AncillaryStatusNameEnum:
                | "Confirmed"
                | "Confirmed with EMD issued"
                | "On Request"
                | "Pending"
                | "Cancelled"
                | "Unconfirmed"
                | "Confirmed with pending payment"
                | "Schedule change";
            AssociatedFlightDetails: {
                arrivalAirlineCode?: string;
                arrivalFlightNumber?: number;
                arrivalTime?: string;
                departureAirlineCode?: string;
                departureFlightNumber?: number;
                departureTime?: string;
            };
            BaggageAllowance: {
                baggagePieces?: {
                    fee?: { amount: string; currencyCode: string };
                    isCheckInOnly?: boolean;
                    maximumSizeInCentimeters?: number;
                    maximumSizeInInches?: number;
                    maximumWeightInKilograms?: number;
                    maximumWeightInPounds?: number;
                    numberOfPieces: number;
                    specialItemDescription?: string;
                }[];
                maximumPieces?: number;
                totalWeightInKilograms?: number;
                totalWeightInPounds?: number;
            };
            BaggagePolicy: {
                fee?: { amount: string; currencyCode: string };
                isCheckInOnly?: boolean;
                maximumSizeInCentimeters?: number;
                maximumSizeInInches?: number;
                maximumWeightInKilograms?: number;
                maximumWeightInPounds?: number;
                numberOfPieces: number;
                specialItemDescription?: string;
            };
            BasicFormOfPayment: {
                airlinePlanCode?: string;
                cardNumber?: string;
                cardSecurityCode?: string;
                cardTypeCode?: string;
                expiryDate?: string;
                extendedPayment?: number;
                installmentAmount?: string;
                miscellaneousCreditCode?: string;
                numberOfInstallments?: number;
            };
            BookAncillary: {
                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;
            };
            BookBaggageAllowance: {
                baggagePieces?: number;
                flightIndices?: number[];
                totalWeightInKilograms?: number;
            };
            BookIdentityDocument: {
                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;
            };
            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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        date?: string;
                        endAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        endDate?: string;
                        endLocationCode?: string;
                        endTime?: string;
                        locationCode?: string;
                        startAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        dropOffContactInfo?: { emails?: string[] } & {
                            emergencyPhones?: string[];
                            faxes?: string[];
                            phones?: string[];
                        };
                        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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        pickUpContactInfo?: { emails?: string[] } & {
                            emergencyPhones?: string[];
                            faxes?: string[];
                            phones?: string[];
                        };
                        pickUpDate: string;
                        pickUpLocationCode?: string;
                        pickUpTime: string;
                        rateCode?: string;
                        refundPenalties?: {
                            applicableFromDate?: string;
                            applicableToDate?: string;
                            penalty: { amount: string; currencyCode: string };
                        }[];
                        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?: { amount: string; currencyCode: string };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        maximumPieces?: number;
                        totalWeightInKilograms?: number;
                        totalWeightInPounds?: number;
                    };
                    cabinBaggageCharges?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    checkedBaggageAllowance?: {
                        baggagePieces?: {
                            fee?: { amount: string; currencyCode: string };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        maximumPieces?: number;
                        totalWeightInKilograms?: number;
                        totalWeightInPounds?: number;
                    };
                    checkedBaggageCharges?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    flights?: { itemId: string }[];
                    travelerIndices?: number[];
                }[];
                fareRules?: {
                    destinationAirportCode?: string;
                    exchangePenalties?: {
                        applicability: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        conditionsApply: boolean;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                    isChangeable?: boolean;
                    isRefundable?: boolean;
                    originAirportCode?: string;
                    owningAirlineCode: string;
                    passengerCode?: string;
                    refundPenalties?: {
                        applicability: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        conditionsApply: boolean;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                }[];
                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: string; currencyCode: string };
                        brandAttributes?: { description?: string; itemId?: string }[];
                        brandFareCode?: string;
                        brandFareName?: string;
                        brandProgramCode?: string;
                        brandProgramName?: string;
                        checkedBaggageAllowance?: {
                            baggagePieces?: {
                                fee?: { amount: string; currencyCode: string };
                                isCheckInOnly?: boolean;
                                maximumSizeInCentimeters?: number;
                                maximumSizeInInches?: number;
                                maximumWeightInKilograms?: number;
                                maximumWeightInPounds?: number;
                                numberOfPieces: number;
                                specialItemDescription?: string;
                            }[];
                            maximumPieces?: number;
                            totalWeightInKilograms?: number;
                            totalWeightInPounds?: number;
                        };
                        fareBasisCode?: string;
                        flightIndices?: number[];
                        flights?: { itemId: string }[];
                        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: string; currencyCode: string };
                        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?: string;
                            aircraftTypeName?: string;
                            airportCode?: string;
                            arrivalDate?: string;
                            arrivalTime?: string;
                            departureDate?: string;
                            departureTime?: string;
                            durationInMinutes?: number;
                        }[];
                        identityDocuments?: {
                            itemId?: string;
                            status?: | "Unknown"
                            | "Confirmed"
                            | "On Request"
                            | "Pending"
                            | "Cancelled"
                            | "Unconfirmed"
                            | "Waitlisted"
                            | "Infant/No Seat"
                            | "Priority Waitlist"
                            | "Quote"
                            | "Space Available"
                            | "Pending Quote"
                            | "No Seat"
                            | "Standby";
                        }[];
                        isPast?: boolean;
                        meals?: {
                            code: string;
                            description: | "Meal"
                            | "Alcoholic beverages for purchase"
                            | "Breakfast"
                            | "Cold meal"
                            | "Complimentary alcoholic beverages"
                            | "Continental breakfast"
                            | "Dinner"
                            | "Food for purchase"
                            | "Food and beverage for purchase"
                            | "Hot meal"
                            | "Lunch"
                            | "No meal service"
                            | "Refreshment"
                            | "Refreshment for purchase"
                            | "Snack";
                        }[];
                        numberOfSeats?: number;
                        operatingAirlineCode?: string;
                        operatingAirlineName?: string;
                        operatingFlightNumber?: number;
                        seats?: {
                            characteristics?: string[];
                            number: 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";
                        }[];
                        sourceType?: "NDC"
                        | "LCC"
                        | "ATPCO";
                        toAirportCode: string;
                        travelerIndices?: number[];
                        updatedArrivalDate?: string;
                        updatedArrivalTime?: string;
                        updatedDepartureDate?: string;
                        updatedDepartureTime?: string;
                    }
                )[];
                flightTickets?: {
                    agencyIataNumber?: string;
                    airlineCode: string;
                    allCoupons?: (
                        {
                            couponStatus: | "Airport Control"
                            | "Lifted"
                            | "Checked In"
                            | "Exchanged"
                            | "Flown"
                            | "Not Flown"
                            | "Refunded"
                            | "Voided"
                            | "Printed"
                            | "Okay"
                            | "Reactivated"
                            | "Irregular Operations"
                            | "Print Exchange"
                            | "Paper Ticket"
                            | "Suspended"
                            | "Locked";
                            couponStatusCode: | "AL"
                            | "PE"
                            | "XX"
                            | "S"
                            | "P"
                            | "B"
                            | "E"
                            | "BD"
                            | "CK"
                            | "I"
                            | "RF"
                            | "V"
                            | "PR"
                            | "IO"
                            | "T";
                        } & { itemId?: string }
                    )[];
                    commission?: {
                        commissionAmount?: string;
                        commissionPercentage?: string;
                        currencyCode?: string;
                    };
                    date: string;
                    flightCoupons: (
                        { itemId: string } & {
                            couponStatus:
                                | "Airport Control"
                                | "Lifted"
                                | "Checked In"
                                | "Exchanged"
                                | "Flown"
                                | "Not Flown"
                                | "Refunded"
                                | "Voided"
                                | "Printed"
                                | "Okay"
                                | "Reactivated"
                                | "Irregular Operations"
                                | "Print Exchange"
                                | "Paper Ticket"
                                | "Suspended"
                                | "Locked";
                            couponStatusCode: | "AL"
                            | "PE"
                            | "XX"
                            | "S"
                            | "P"
                            | "B"
                            | "E"
                            | "BD"
                            | "CK"
                            | "I"
                            | "RF"
                            | "V"
                            | "PR"
                            | "IO"
                            | "T";
                        }
                    )[];
                    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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string } & { cityCode?: string };
                        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?: string[] } & {
                            emergencyPhones?: string[];
                            faxes?: string[];
                            phones?: string[];
                        };
                        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?: string;
                            applicableToDate?: string;
                            penalty: { amount: string; currencyCode: string };
                        }[];
                        refundPenaltyPolicyCode?: string;
                        room?: {
                            agencyCommission?: {
                                commissionAmount?: string;
                                commissionPercentage?: string;
                                currencyCode?: string;
                            };
                            description?: string;
                            productCode?: string;
                            quantity: number;
                            roomRate?: { amount: string; currencyCode: string };
                            roomType: string;
                            roomTypeCode?: string;
                            travelerIndices?: number[];
                        };
                        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?: {
                                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 };
                        }
                    )[];
                    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?: "Unknown" | "Single" | "Multiple";
                        flights?: { itemId: string }[];
                        isCommissionable?: boolean;
                        isRefundable?: boolean;
                        itemId?: string;
                        numberOfItems?: number;
                        reasonForIssuanceCode?: string;
                        reasonForIssuanceName?:
                            | "UNKNOWN"
                            | "AIR_TRANSPORTATION"
                            | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                            | "BAGGAGE"
                            | "FINANCIAL_IMPACT"
                            | "AIRPORT_SERVICES"
                            | "MERCHANDISE"
                            | "INFLIGHT_SERVICES"
                            | "INDIVIDUAL_AIRLINE_USE";
                        source?: "ATPCO"
                        | "MERCHANDISING_MANAGER";
                        statusCode?: string;
                        statusName?:
                            | "Confirmed"
                            | "Confirmed with EMD issued"
                            | "On Request"
                            | "Pending"
                            | "Cancelled"
                            | "Unconfirmed"
                            | "Confirmed with pending payment"
                            | "Schedule change";
                        subcode?: string;
                        totals?: {
                            currencyCode: string;
                            fees?: string;
                            subtotal?: string;
                            taxes?: string;
                            total: string;
                        };
                        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?: "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;
                        itemId?: string;
                        middleName?: string;
                        placeOfBirth?: string;
                        placeOfIssue?: string;
                        residenceCountryCode?: string;
                        residenceDestinationAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        };
                        surname?: string;
                    }[];
                    isGrouped?: boolean;
                    loyaltyPrograms?: {
                        programNumber: string;
                        programType?: | "FREQUENT_FLYER"
                        | "FREQUENT_RENTER"
                        | "LOYALTY_ID"
                        | "CORPORATE_LOYALTY_ID";
                        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?:
                            | "INVOICE"
                            | "ITINERARY"
                            | "GENERAL"
                            | "HISTORICAL"
                            | "CLIENT_ADDRESS"
                            | "ALPHA_CODED"
                            | "DELIVERY_ADDRESS"
                            | "HIDDEN"
                            | "CORPORATE"
                            | "FORM_OF_PAYMENT"
                            | "PRINT_ON_TICKET"
                            | "FILLER_STRIP"
                            | "INTERFACE"
                            | "QUEUE_PLACE";
                    }[];
                    surname: string;
                    type?: | "ADULT"
                    | "AGENT"
                    | "AIRLINE"
                    | "CHILD"
                    | "EDUCATION"
                    | "GOVERNMENT"
                    | "GROUP"
                    | "INFANT"
                    | "MILITARY"
                    | "SENIOR"
                    | "SPECIAL"
                    | "YOUTH";
                }[];
                travelersGroup?: {
                    itemId?: string;
                    name?: string;
                    numberOfTravelers?: number;
                    numberOfTravelersRemaining?: number;
                };
            };
            BookingSourceEnum: "SABRE"
            | "SABRE_ORDER";
            BookingToModify: {
                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?: 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 };
                        }
                    )[];
                };
                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: | "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;
                            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;
                            residenceDestinationAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            };
                            surname?: string;
                        } & { flights?: { itemId: string }[] }
                    )[];
                    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;
                }[];
            };
            BookRemark: {
                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;
                };
            };
            BookSeat: {
                areaPreferences?: (
                    | "AISLE"
                    | "BULKHEAD"
                    | "FRONT"
                    | "LEFT_SIDE"
                    | "RIGHT_SIDE"
                    | "TAIL"
                    | "WINDOW"
                )[];
                number?: string;
                travelerIndex: number;
            };
            BookSpecialService: {
                code: string;
                flightIndices?: number[];
                message?: string;
            };
            BookTraveler: {
                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;
            };
            BrandAttribute: { description?: string; itemId?: string };
            BrandedFare: { brandCode: string; flightIndices?: number[] };
            CancelBookingRequest: {
                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 }[];
            };
            CancelBookingResponse: {
                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?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            date?: string;
                            endAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            endDate?: string;
                            endLocationCode?: string;
                            endTime?: string;
                            locationCode?: string;
                            startAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            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?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            dropOffContactInfo?: { emails?: string[] } & {
                                emergencyPhones?: string[];
                                faxes?: string[];
                                phones?: string[];
                            };
                            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?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            pickUpContactInfo?: { emails?: string[] } & {
                                emergencyPhones?: string[];
                                faxes?: string[];
                                phones?: string[];
                            };
                            pickUpDate: string;
                            pickUpLocationCode?: string;
                            pickUpTime: string;
                            rateCode?: string;
                            refundPenalties?: {
                                applicableFromDate?: string;
                                applicableToDate?: string;
                                penalty: { amount: string; currencyCode: string };
                            }[];
                            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?: { amount: string; currencyCode: string };
                                isCheckInOnly?: boolean;
                                maximumSizeInCentimeters?: number;
                                maximumSizeInInches?: number;
                                maximumWeightInKilograms?: number;
                                maximumWeightInPounds?: number;
                                numberOfPieces: number;
                                specialItemDescription?: string;
                            }[];
                            maximumPieces?: number;
                            totalWeightInKilograms?: number;
                            totalWeightInPounds?: number;
                        };
                        cabinBaggageCharges?: {
                            fee?: { amount: string; currencyCode: string };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        checkedBaggageAllowance?: {
                            baggagePieces?: {
                                fee?: { amount: string; currencyCode: string };
                                isCheckInOnly?: boolean;
                                maximumSizeInCentimeters?: number;
                                maximumSizeInInches?: number;
                                maximumWeightInKilograms?: number;
                                maximumWeightInPounds?: number;
                                numberOfPieces: number;
                                specialItemDescription?: string;
                            }[];
                            maximumPieces?: number;
                            totalWeightInKilograms?: number;
                            totalWeightInPounds?: number;
                        };
                        checkedBaggageCharges?: {
                            fee?: { amount: string; currencyCode: string };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        flights?: { itemId: string }[];
                        travelerIndices?: number[];
                    }[];
                    fareRules?: {
                        destinationAirportCode?: string;
                        exchangePenalties?: {
                            applicability: "BEFORE_DEPARTURE"
                            | "AFTER_DEPARTURE";
                            conditionsApply: boolean;
                            penalty: { amount: string; currencyCode: string };
                        }[];
                        isChangeable?: boolean;
                        isRefundable?: boolean;
                        originAirportCode?: string;
                        owningAirlineCode: string;
                        passengerCode?: string;
                        refundPenalties?: {
                            applicability: "BEFORE_DEPARTURE"
                            | "AFTER_DEPARTURE";
                            conditionsApply: boolean;
                            penalty: { amount: string; currencyCode: string };
                        }[];
                    }[];
                    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: string; currencyCode: string };
                            brandAttributes?: { description?: string; itemId?: string }[];
                            brandFareCode?: string;
                            brandFareName?: string;
                            brandProgramCode?: string;
                            brandProgramName?: string;
                            checkedBaggageAllowance?: {
                                baggagePieces?: {
                                    fee?: { amount: ...; currencyCode: ... };
                                    isCheckInOnly?: boolean;
                                    maximumSizeInCentimeters?: number;
                                    maximumSizeInInches?: number;
                                    maximumWeightInKilograms?: number;
                                    maximumWeightInPounds?: number;
                                    numberOfPieces: number;
                                    specialItemDescription?: string;
                                }[];
                                maximumPieces?: number;
                                totalWeightInKilograms?: number;
                                totalWeightInPounds?: number;
                            };
                            fareBasisCode?: string;
                            flightIndices?: number[];
                            flights?: { itemId: string }[];
                            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: string; currencyCode: string };
                            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?: string;
                                aircraftTypeName?: string;
                                airportCode?: string;
                                arrivalDate?: string;
                                arrivalTime?: string;
                                departureDate?: string;
                                departureTime?: string;
                                durationInMinutes?: number;
                            }[];
                            identityDocuments?: {
                                itemId?: string;
                                status?: | "Unknown"
                                | "Confirmed"
                                | "On Request"
                                | "Pending"
                                | "Cancelled"
                                | "Unconfirmed"
                                | "Waitlisted"
                                | "Infant/No Seat"
                                | "Priority Waitlist"
                                | "Quote"
                                | "Space Available"
                                | "Pending Quote"
                                | "No Seat"
                                | "Standby";
                            }[];
                            isPast?: boolean;
                            meals?: {
                                code: string;
                                description: | "Meal"
                                | "Alcoholic beverages for purchase"
                                | "Breakfast"
                                | "Cold meal"
                                | "Complimentary alcoholic beverages"
                                | "Continental breakfast"
                                | "Dinner"
                                | "Food for purchase"
                                | "Food and beverage for purchase"
                                | "Hot meal"
                                | "Lunch"
                                | "No meal service"
                                | "Refreshment"
                                | "Refreshment for purchase"
                                | "Snack";
                            }[];
                            numberOfSeats?: number;
                            operatingAirlineCode?: string;
                            operatingAirlineName?: string;
                            operatingFlightNumber?: number;
                            seats?: {
                                characteristics?: string[];
                                number: 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";
                            }[];
                            sourceType?: "NDC"
                            | "LCC"
                            | "ATPCO";
                            toAirportCode: string;
                            travelerIndices?: number[];
                            updatedArrivalDate?: string;
                            updatedArrivalTime?: string;
                            updatedDepartureDate?: string;
                            updatedDepartureTime?: string;
                        }
                    )[];
                    flightTickets?: {
                        agencyIataNumber?: string;
                        airlineCode: string;
                        allCoupons?: (
                            {
                                couponStatus: | "Airport Control"
                                | "Lifted"
                                | "Checked In"
                                | "Exchanged"
                                | "Flown"
                                | "Not Flown"
                                | "Refunded"
                                | "Voided"
                                | "Printed"
                                | "Okay"
                                | "Reactivated"
                                | "Irregular Operations"
                                | "Print Exchange"
                                | "Paper Ticket"
                                | "Suspended"
                                | "Locked";
                                couponStatusCode: | "AL"
                                | "PE"
                                | "XX"
                                | "S"
                                | "P"
                                | "B"
                                | "E"
                                | "BD"
                                | "CK"
                                | "I"
                                | "RF"
                                | "V"
                                | "PR"
                                | "IO"
                                | "T";
                            } & { itemId?: string }
                        )[];
                        commission?: {
                            commissionAmount?: string;
                            commissionPercentage?: string;
                            currencyCode?: string;
                        };
                        date: string;
                        flightCoupons: (
                            { itemId: string } & {
                                couponStatus:
                                    | "Airport Control"
                                    | "Lifted"
                                    | "Checked In"
                                    | "Exchanged"
                                    | "Flown"
                                    | "Not Flown"
                                    | "Refunded"
                                    | "Voided"
                                    | "Printed"
                                    | "Okay"
                                    | "Reactivated"
                                    | "Irregular Operations"
                                    | "Print Exchange"
                                    | "Paper Ticket"
                                    | "Suspended"
                                    | "Locked";
                                couponStatusCode: | "AL"
                                | "PE"
                                | "XX"
                                | "S"
                                | "P"
                                | "B"
                                | "E"
                                | "BD"
                                | "CK"
                                | "I"
                                | "RF"
                                | "V"
                                | "PR"
                                | "IO"
                                | "T";
                            }
                        )[];
                        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?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string } & { cityCode?: string };
                            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?: string[] } & {
                                emergencyPhones?: string[];
                                faxes?: string[];
                                phones?: string[];
                            };
                            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?: string;
                                applicableToDate?: string;
                                penalty: { amount: string; currencyCode: string };
                            }[];
                            refundPenaltyPolicyCode?: string;
                            room?: {
                                agencyCommission?: {
                                    commissionAmount?: string;
                                    commissionPercentage?: string;
                                    currencyCode?: string;
                                };
                                description?: string;
                                productCode?: string;
                                quantity: number;
                                roomRate?: { amount: string; currencyCode: string };
                                roomType: string;
                                roomTypeCode?: string;
                                travelerIndices?: number[];
                            };
                            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?: {
                                    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 };
                            }
                        )[];
                        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?: "Unknown" | "Single" | "Multiple";
                            flights?: { itemId: string }[];
                            isCommissionable?: boolean;
                            isRefundable?: boolean;
                            itemId?: string;
                            numberOfItems?: number;
                            reasonForIssuanceCode?: string;
                            reasonForIssuanceName?:
                                | "UNKNOWN"
                                | "AIR_TRANSPORTATION"
                                | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                                | "BAGGAGE"
                                | "FINANCIAL_IMPACT"
                                | "AIRPORT_SERVICES"
                                | "MERCHANDISE"
                                | "INFLIGHT_SERVICES"
                                | "INDIVIDUAL_AIRLINE_USE";
                            source?: "ATPCO"
                            | "MERCHANDISING_MANAGER";
                            statusCode?: string;
                            statusName?:
                                | "Confirmed"
                                | "Confirmed with EMD issued"
                                | "On Request"
                                | "Pending"
                                | "Cancelled"
                                | "Unconfirmed"
                                | "Confirmed with pending payment"
                                | "Schedule change";
                            subcode?: string;
                            totals?: {
                                currencyCode: string;
                                fees?: string;
                                subtotal?: string;
                                taxes?: string;
                                total: string;
                            };
                            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?: "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;
                            itemId?: string;
                            middleName?: string;
                            placeOfBirth?: string;
                            placeOfIssue?: string;
                            residenceCountryCode?: string;
                            residenceDestinationAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            };
                            surname?: string;
                        }[];
                        isGrouped?: boolean;
                        loyaltyPrograms?: {
                            programNumber: string;
                            programType?: | "FREQUENT_FLYER"
                            | "FREQUENT_RENTER"
                            | "LOYALTY_ID"
                            | "CORPORATE_LOYALTY_ID";
                            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?:
                                | "INVOICE"
                                | "ITINERARY"
                                | "GENERAL"
                                | "HISTORICAL"
                                | "CLIENT_ADDRESS"
                                | "ALPHA_CODED"
                                | "DELIVERY_ADDRESS"
                                | "HIDDEN"
                                | "CORPORATE"
                                | "FORM_OF_PAYMENT"
                                | "PRINT_ON_TICKET"
                                | "FILLER_STRIP"
                                | "INTERFACE"
                                | "QUEUE_PLACE";
                        }[];
                        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: "BEFORE_DEPARTURE"
                            | "AFTER_DEPARTURE";
                            conditionsApply: boolean;
                            penalty: { amount: string; currencyCode: string };
                        } & {
                            hasNoShowCost?: boolean;
                            noShowPenalty?: {
                                penalty?: { amount: string; currencyCode: string };
                                source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                            };
                            source?: "Unknown"
                            | "Category 33"
                            | "Category 31"
                            | "Category 16";
                        }
                    )[];
                    isAutomatedRefundsEligible?: boolean;
                    isChangeable?: boolean;
                    isRefundable?: boolean;
                    isVoidable?: boolean;
                    number?: string;
                    refundPenalties?: (
                        {
                            applicability: "BEFORE_DEPARTURE"
                            | "AFTER_DEPARTURE";
                            conditionsApply: boolean;
                            penalty: { amount: string; currencyCode: string };
                        } & {
                            hasNoShowCost?: boolean;
                            noShowPenalty?: {
                                penalty?: { amount: string; currencyCode: string };
                                source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                            };
                            source?: "Unknown"
                            | "Category 33"
                            | "Category 31"
                            | "Category 16";
                        }
                    )[];
                    refundTaxes?: { amount: string; taxCode: string }[];
                    refundTotals?: {
                        currencyCode: string;
                        fees?: string;
                        subtotal?: string;
                        taxes?: string;
                        total: string;
                    };
                }[];
                timestamp?: string;
                voidedTickets?: string[];
            };
            CancelErrorPolicyEnum: "HALT_ON_ERROR"
            | "ALLOW_PARTIAL_CANCEL";
            CancelOffer: {
                offerExpirationDate?: string;
                offerExpirationTime?: string;
                offerItemId?: string;
                offerType?: "VOID" | "REFUND";
                refundTotals?: {
                    currencyCode: string;
                    fees?: string;
                    subtotal?: string;
                    taxes?: string;
                    total: string;
                };
            };
            CancelOfferTypeEnum: "VOID"
            | "REFUND";
            Car: { 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?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string };
                dropOffContactInfo?: { emails?: string[] } & {
                    emergencyPhones?: string[];
                    faxes?: string[];
                    phones?: string[];
                };
                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?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string };
                pickUpContactInfo?: { emails?: string[] } & {
                    emergencyPhones?: string[];
                    faxes?: string[];
                    phones?: string[];
                };
                pickUpDate: string;
                pickUpLocationCode?: string;
                pickUpTime: string;
                rateCode?: string;
                refundPenalties?: {
                    applicableFromDate?: string;
                    applicableToDate?: string;
                    penalty: { amount: string; currencyCode: string };
                }[];
                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;
            };
            CardHolder: {
                address?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                };
                email?: string;
                givenName: string;
                phone?: string;
                surname: string;
            };
            CarItem: {
                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?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string };
                dropOffContactInfo?: { emails?: string[] } & {
                    emergencyPhones?: string[];
                    faxes?: string[];
                    phones?: string[];
                };
                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?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string };
                pickUpContactInfo?: { emails?: string[] } & {
                    emergencyPhones?: string[];
                    faxes?: string[];
                    phones?: string[];
                };
                pickUpDate: string;
                pickUpLocationCode?: string;
                pickUpTime: string;
                rateCode?: string;
                refundPenalties?: {
                    applicableFromDate?: string;
                    applicableToDate?: string;
                    penalty: { amount: string; currencyCode: string };
                }[];
                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;
            };
            CarPaymentPolicyEnum: "DEPOSIT"
            | "GUARANTEE";
            CarReference: { itemId: string };
            CarRentalSite: { id?: string; name?: string; phone?: string };
            CarToBook: {
                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;
            };
            CheckTicketsRequest: {
                confirmationId?: string;
                targetPcc?: string;
                tickets?: {
                    number?: string;
                    refundQualifiers?: {
                        commissionAmount?: string;
                        commissionOnPenalty?: string;
                        commissionPercentage?: string;
                        journeyTypeCode?: "F"
                        | "M"
                        | "B";
                        overrideCancelFee?: string;
                        overrideTaxes?: {
                            airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
                            taxAmount?: string;
                            taxCode?: string;
                        }[];
                        splitRefundAmounts?: { amount?: string }[];
                        tourCode?: string;
                        waiverCode?: string;
                    };
                }[];
            };
            CheckTicketsResponse: {
                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?: {
                                    airportCode?: string;
                                    taxAmount?: string;
                                }[];
                                taxAmount?: string;
                                taxCode?: string;
                            }[];
                            splitRefundAmounts?: { amount?: string }[];
                            tourCode?: string;
                            waiverCode?: string;
                        };
                    }[];
                };
                tickets?: {
                    exchangePenalties?: (
                        {
                            applicability: "BEFORE_DEPARTURE"
                            | "AFTER_DEPARTURE";
                            conditionsApply: boolean;
                            penalty: { amount: string; currencyCode: string };
                        } & {
                            hasNoShowCost?: boolean;
                            noShowPenalty?: {
                                penalty?: { amount: string; currencyCode: string };
                                source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                            };
                            source?: "Unknown"
                            | "Category 33"
                            | "Category 31"
                            | "Category 16";
                        }
                    )[];
                    isAutomatedRefundsEligible?: boolean;
                    isChangeable?: boolean;
                    isRefundable?: boolean;
                    isVoidable?: boolean;
                    number?: string;
                    refundPenalties?: (
                        {
                            applicability: "BEFORE_DEPARTURE"
                            | "AFTER_DEPARTURE";
                            conditionsApply: boolean;
                            penalty: { amount: string; currencyCode: string };
                        } & {
                            hasNoShowCost?: boolean;
                            noShowPenalty?: {
                                penalty?: { amount: string; currencyCode: string };
                                source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                            };
                            source?: "Unknown"
                            | "Category 33"
                            | "Category 31"
                            | "Category 16";
                        }
                    )[];
                    refundTaxes?: { amount: string; taxCode: string }[];
                    refundTotals?: {
                        currencyCode: string;
                        fees?: string;
                        subtotal?: string;
                        taxes?: string;
                        total: string;
                    };
                }[];
                timestamp?: string;
            };
            Commission: {
                commissionAmount?: string;
                commissionPercentage?: string;
                currencyCode?: string;
            };
            CommonExtraFeatures: {
                returnFiscalId: boolean;
                returnFrequentRenter: boolean;
                returnWalletFormsOfPayment: boolean;
            };
            ComparisonTypeEnum: | "INCREASE_BY_AMOUNT"
            | "INCREASE_BY_PERCENT"
            | "DECREASE_BY_AMOUNT"
            | "DECREASE_BY_PERCENT";
            ContactInformation: { emails?: string[] } & {
                emergencyPhones?: string[];
                faxes?: string[];
                phones?: string[];
            };
            CorporateFare: { corporateIds: string[]; forceCorporateId?: boolean };
            CouponStatus: {
                couponStatus:
                    | "Airport Control"
                    | "Lifted"
                    | "Checked In"
                    | "Exchanged"
                    | "Flown"
                    | "Not Flown"
                    | "Refunded"
                    | "Voided"
                    | "Printed"
                    | "Okay"
                    | "Reactivated"
                    | "Irregular Operations"
                    | "Print Exchange"
                    | "Paper Ticket"
                    | "Suspended"
                    | "Locked";
                couponStatusCode: | "AL"
                | "PE"
                | "XX"
                | "S"
                | "P"
                | "B"
                | "E"
                | "BD"
                | "CK"
                | "I"
                | "RF"
                | "V"
                | "PR"
                | "IO"
                | "T";
            };
            CouponStatusCodeEnum: | "AL"
            | "PE"
            | "XX"
            | "S"
            | "P"
            | "B"
            | "E"
            | "BD"
            | "CK"
            | "I"
            | "RF"
            | "V"
            | "PR"
            | "IO"
            | "T";
            CouponStatusEnum: | "Airport Control"
            | "Lifted"
            | "Checked In"
            | "Exchanged"
            | "Flown"
            | "Not Flown"
            | "Refunded"
            | "Voided"
            | "Printed"
            | "Okay"
            | "Reactivated"
            | "Irregular Operations"
            | "Print Exchange"
            | "Paper Ticket"
            | "Suspended"
            | "Locked";
            CreateBookingRequest: {
                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: string[];
                                forceAccountCodes?: boolean;
                            };
                            adjustedSellingLevel?: {
                                ignore?: boolean;
                                markDownAmount?: string;
                                markUpAmount?: string;
                                returnBreakdown?: boolean;
                            };
                            baggageAllowance?: {
                                baggagePieces?: number;
                                flightIndices?: number[];
                                totalWeightInKilograms?: number;
                            }[];
                            brandedFares?: { brandCode: string; flightIndices?: number[] }[];
                            breakFareFlightIndices?: number[];
                            cabinCode?: string;
                            commissionContractNames?: string[];
                            considerMultiTicket?: boolean;
                            corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                            currencyPricing?: string;
                            exchangePenalties?: {
                                applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                                penaltyAmount?: { amount?: string };
                                restrictionType:
                                    | "CHANGEABLE"
                                    | "REFUNDABLE"
                                    | "CHANGEABLE_AND_REFUNDABLE";
                            };
                            excludeBasicEconomyFares?: string[];
                            exemptTaxes?: string[];
                            flightIndices?: number[];
                            forceConnectionFlightIndices?: number[];
                            forceStopoverFlightIndices?: number[];
                            hemisphereCode?: number;
                            journeyCode?: number;
                            netRemit?: {
                                cashValue?: { amount: string; currencyCode: string };
                                commercialAgreementReferenceCode?: string;
                                creditValue?: { amount: string; currencyCode: string };
                                netRemitCode?: string;
                            };
                            overrideTaxes?: { amount: string; taxCode: string }[];
                            passengersPricing?: {
                                forcePassengerCode?: boolean;
                                numberOfpassengers?: number;
                                passengerCode?: string;
                            }[];
                            passengerStatus?: "RESIDENT"
                            | "NATIONALITY"
                            | "EMPLOYEE";
                            passengerStatusCountryCode?: string;
                            payment?: {
                                amountOnSecondFormOfPayment?: string;
                                primaryFormOfPayment: number;
                                secondaryFormOfPayment?: number;
                            };
                            priceWithTaxes: boolean;
                            rebookLowestFares?: boolean;
                            retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                            settlementMethod?: string;
                            sideTripFlightIndices?: number[];
                            spanishIslandResidentDiscountCode?: string;
                            spanishLargeFamilyDiscountLevel?: number;
                            specificFares?: { fareBasisCode: string; flightIndices?: number[] }[];
                            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?: (
                                | "AISLE"
                                | "BULKHEAD"
                                | "FRONT"
                                | "LEFT_SIDE"
                                | "RIGHT_SIDE"
                                | "TAIL"
                                | "WINDOW"
                            )[];
                            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;
                }[];
            };
            CreateBookingResponse: {
                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?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            date?: string;
                            endAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            endDate?: string;
                            endLocationCode?: string;
                            endTime?: string;
                            locationCode?: string;
                            startAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            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?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            dropOffContactInfo?: { emails?: string[] } & {
                                emergencyPhones?: string[];
                                faxes?: string[];
                                phones?: string[];
                            };
                            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?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            pickUpContactInfo?: { emails?: string[] } & {
                                emergencyPhones?: string[];
                                faxes?: string[];
                                phones?: string[];
                            };
                            pickUpDate: string;
                            pickUpLocationCode?: string;
                            pickUpTime: string;
                            rateCode?: string;
                            refundPenalties?: {
                                applicableFromDate?: string;
                                applicableToDate?: string;
                                penalty: { amount: string; currencyCode: string };
                            }[];
                            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?: { amount: string; currencyCode: string };
                                isCheckInOnly?: boolean;
                                maximumSizeInCentimeters?: number;
                                maximumSizeInInches?: number;
                                maximumWeightInKilograms?: number;
                                maximumWeightInPounds?: number;
                                numberOfPieces: number;
                                specialItemDescription?: string;
                            }[];
                            maximumPieces?: number;
                            totalWeightInKilograms?: number;
                            totalWeightInPounds?: number;
                        };
                        cabinBaggageCharges?: {
                            fee?: { amount: string; currencyCode: string };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        checkedBaggageAllowance?: {
                            baggagePieces?: {
                                fee?: { amount: string; currencyCode: string };
                                isCheckInOnly?: boolean;
                                maximumSizeInCentimeters?: number;
                                maximumSizeInInches?: number;
                                maximumWeightInKilograms?: number;
                                maximumWeightInPounds?: number;
                                numberOfPieces: number;
                                specialItemDescription?: string;
                            }[];
                            maximumPieces?: number;
                            totalWeightInKilograms?: number;
                            totalWeightInPounds?: number;
                        };
                        checkedBaggageCharges?: {
                            fee?: { amount: string; currencyCode: string };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        flights?: { itemId: string }[];
                        travelerIndices?: number[];
                    }[];
                    fareRules?: {
                        destinationAirportCode?: string;
                        exchangePenalties?: {
                            applicability: "BEFORE_DEPARTURE"
                            | "AFTER_DEPARTURE";
                            conditionsApply: boolean;
                            penalty: { amount: string; currencyCode: string };
                        }[];
                        isChangeable?: boolean;
                        isRefundable?: boolean;
                        originAirportCode?: string;
                        owningAirlineCode: string;
                        passengerCode?: string;
                        refundPenalties?: {
                            applicability: "BEFORE_DEPARTURE"
                            | "AFTER_DEPARTURE";
                            conditionsApply: boolean;
                            penalty: { amount: string; currencyCode: string };
                        }[];
                    }[];
                    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: string; currencyCode: string };
                            brandAttributes?: { description?: string; itemId?: string }[];
                            brandFareCode?: string;
                            brandFareName?: string;
                            brandProgramCode?: string;
                            brandProgramName?: string;
                            checkedBaggageAllowance?: {
                                baggagePieces?: {
                                    fee?: { amount: ...; currencyCode: ... };
                                    isCheckInOnly?: boolean;
                                    maximumSizeInCentimeters?: number;
                                    maximumSizeInInches?: number;
                                    maximumWeightInKilograms?: number;
                                    maximumWeightInPounds?: number;
                                    numberOfPieces: number;
                                    specialItemDescription?: string;
                                }[];
                                maximumPieces?: number;
                                totalWeightInKilograms?: number;
                                totalWeightInPounds?: number;
                            };
                            fareBasisCode?: string;
                            flightIndices?: number[];
                            flights?: { itemId: string }[];
                            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: string; currencyCode: string };
                            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?: string;
                                aircraftTypeName?: string;
                                airportCode?: string;
                                arrivalDate?: string;
                                arrivalTime?: string;
                                departureDate?: string;
                                departureTime?: string;
                                durationInMinutes?: number;
                            }[];
                            identityDocuments?: {
                                itemId?: string;
                                status?: | "Unknown"
                                | "Confirmed"
                                | "On Request"
                                | "Pending"
                                | "Cancelled"
                                | "Unconfirmed"
                                | "Waitlisted"
                                | "Infant/No Seat"
                                | "Priority Waitlist"
                                | "Quote"
                                | "Space Available"
                                | "Pending Quote"
                                | "No Seat"
                                | "Standby";
                            }[];
                            isPast?: boolean;
                            meals?: {
                                code: string;
                                description: | "Meal"
                                | "Alcoholic beverages for purchase"
                                | "Breakfast"
                                | "Cold meal"
                                | "Complimentary alcoholic beverages"
                                | "Continental breakfast"
                                | "Dinner"
                                | "Food for purchase"
                                | "Food and beverage for purchase"
                                | "Hot meal"
                                | "Lunch"
                                | "No meal service"
                                | "Refreshment"
                                | "Refreshment for purchase"
                                | "Snack";
                            }[];
                            numberOfSeats?: number;
                            operatingAirlineCode?: string;
                            operatingAirlineName?: string;
                            operatingFlightNumber?: number;
                            seats?: {
                                characteristics?: string[];
                                number: 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";
                            }[];
                            sourceType?: "NDC"
                            | "LCC"
                            | "ATPCO";
                            toAirportCode: string;
                            travelerIndices?: number[];
                            updatedArrivalDate?: string;
                            updatedArrivalTime?: string;
                            updatedDepartureDate?: string;
                            updatedDepartureTime?: string;
                        }
                    )[];
                    flightTickets?: {
                        agencyIataNumber?: string;
                        airlineCode: string;
                        allCoupons?: (
                            {
                                couponStatus: | "Airport Control"
                                | "Lifted"
                                | "Checked In"
                                | "Exchanged"
                                | "Flown"
                                | "Not Flown"
                                | "Refunded"
                                | "Voided"
                                | "Printed"
                                | "Okay"
                                | "Reactivated"
                                | "Irregular Operations"
                                | "Print Exchange"
                                | "Paper Ticket"
                                | "Suspended"
                                | "Locked";
                                couponStatusCode: | "AL"
                                | "PE"
                                | "XX"
                                | "S"
                                | "P"
                                | "B"
                                | "E"
                                | "BD"
                                | "CK"
                                | "I"
                                | "RF"
                                | "V"
                                | "PR"
                                | "IO"
                                | "T";
                            } & { itemId?: string }
                        )[];
                        commission?: {
                            commissionAmount?: string;
                            commissionPercentage?: string;
                            currencyCode?: string;
                        };
                        date: string;
                        flightCoupons: (
                            { itemId: string } & {
                                couponStatus:
                                    | "Airport Control"
                                    | "Lifted"
                                    | "Checked In"
                                    | "Exchanged"
                                    | "Flown"
                                    | "Not Flown"
                                    | "Refunded"
                                    | "Voided"
                                    | "Printed"
                                    | "Okay"
                                    | "Reactivated"
                                    | "Irregular Operations"
                                    | "Print Exchange"
                                    | "Paper Ticket"
                                    | "Suspended"
                                    | "Locked";
                                couponStatusCode: | "AL"
                                | "PE"
                                | "XX"
                                | "S"
                                | "P"
                                | "B"
                                | "E"
                                | "BD"
                                | "CK"
                                | "I"
                                | "RF"
                                | "V"
                                | "PR"
                                | "IO"
                                | "T";
                            }
                        )[];
                        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?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string } & { cityCode?: string };
                            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?: string[] } & {
                                emergencyPhones?: string[];
                                faxes?: string[];
                                phones?: string[];
                            };
                            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?: string;
                                applicableToDate?: string;
                                penalty: { amount: string; currencyCode: string };
                            }[];
                            refundPenaltyPolicyCode?: string;
                            room?: {
                                agencyCommission?: {
                                    commissionAmount?: string;
                                    commissionPercentage?: string;
                                    currencyCode?: string;
                                };
                                description?: string;
                                productCode?: string;
                                quantity: number;
                                roomRate?: { amount: string; currencyCode: string };
                                roomType: string;
                                roomTypeCode?: string;
                                travelerIndices?: number[];
                            };
                            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?: {
                                    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 };
                            }
                        )[];
                        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?: "Unknown" | "Single" | "Multiple";
                            flights?: { itemId: string }[];
                            isCommissionable?: boolean;
                            isRefundable?: boolean;
                            itemId?: string;
                            numberOfItems?: number;
                            reasonForIssuanceCode?: string;
                            reasonForIssuanceName?:
                                | "UNKNOWN"
                                | "AIR_TRANSPORTATION"
                                | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                                | "BAGGAGE"
                                | "FINANCIAL_IMPACT"
                                | "AIRPORT_SERVICES"
                                | "MERCHANDISE"
                                | "INFLIGHT_SERVICES"
                                | "INDIVIDUAL_AIRLINE_USE";
                            source?: "ATPCO"
                            | "MERCHANDISING_MANAGER";
                            statusCode?: string;
                            statusName?:
                                | "Confirmed"
                                | "Confirmed with EMD issued"
                                | "On Request"
                                | "Pending"
                                | "Cancelled"
                                | "Unconfirmed"
                                | "Confirmed with pending payment"
                                | "Schedule change";
                            subcode?: string;
                            totals?: {
                                currencyCode: string;
                                fees?: string;
                                subtotal?: string;
                                taxes?: string;
                                total: string;
                            };
                            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?: "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;
                            itemId?: string;
                            middleName?: string;
                            placeOfBirth?: string;
                            placeOfIssue?: string;
                            residenceCountryCode?: string;
                            residenceDestinationAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            };
                            surname?: string;
                        }[];
                        isGrouped?: boolean;
                        loyaltyPrograms?: {
                            programNumber: string;
                            programType?: | "FREQUENT_FLYER"
                            | "FREQUENT_RENTER"
                            | "LOYALTY_ID"
                            | "CORPORATE_LOYALTY_ID";
                            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?:
                                | "INVOICE"
                                | "ITINERARY"
                                | "GENERAL"
                                | "HISTORICAL"
                                | "CLIENT_ADDRESS"
                                | "ALPHA_CODED"
                                | "DELIVERY_ADDRESS"
                                | "HIDDEN"
                                | "CORPORATE"
                                | "FORM_OF_PAYMENT"
                                | "PRINT_ON_TICKET"
                                | "FILLER_STRIP"
                                | "INTERFACE"
                                | "QUEUE_PLACE";
                        }[];
                        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?: 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: string[];
                                    forceAccountCodes?: boolean;
                                };
                                adjustedSellingLevel?: {
                                    ignore?: boolean;
                                    markDownAmount?: string;
                                    markUpAmount?: string;
                                    returnBreakdown?: boolean;
                                };
                                baggageAllowance?: {
                                    baggagePieces?: number;
                                    flightIndices?: (...)[];
                                    totalWeightInKilograms?: number;
                                }[];
                                brandedFares?: { brandCode: string; flightIndices?: (...)[] }[];
                                breakFareFlightIndices?: number[];
                                cabinCode?: string;
                                commissionContractNames?: string[];
                                considerMultiTicket?: boolean;
                                corporateFare?: {
                                    corporateIds: string[];
                                    forceCorporateId?: boolean;
                                };
                                currencyPricing?: string;
                                exchangePenalties?: {
                                    applicability?: "BEFORE_DEPARTURE"
                                    | "AFTER_DEPARTURE";
                                    penaltyAmount?: { amount?: string };
                                    restrictionType:
                                        | "CHANGEABLE"
                                        | "REFUNDABLE"
                                        | "CHANGEABLE_AND_REFUNDABLE";
                                };
                                excludeBasicEconomyFares?: string[];
                                exemptTaxes?: string[];
                                flightIndices?: number[];
                                forceConnectionFlightIndices?: number[];
                                forceStopoverFlightIndices?: number[];
                                hemisphereCode?: number;
                                journeyCode?: number;
                                netRemit?: {
                                    cashValue?: { amount: string; currencyCode: string };
                                    commercialAgreementReferenceCode?: string;
                                    creditValue?: { amount: string; currencyCode: string };
                                    netRemitCode?: string;
                                };
                                overrideTaxes?: { amount: string; taxCode: string }[];
                                passengersPricing?: {
                                    forcePassengerCode?: boolean;
                                    numberOfpassengers?: number;
                                    passengerCode?: string;
                                }[];
                                passengerStatus?: "RESIDENT"
                                | "NATIONALITY"
                                | "EMPLOYEE";
                                passengerStatusCountryCode?: string;
                                payment?: {
                                    amountOnSecondFormOfPayment?: string;
                                    primaryFormOfPayment: number;
                                    secondaryFormOfPayment?: number;
                                };
                                priceWithTaxes: boolean;
                                rebookLowestFares?: boolean;
                                retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                                settlementMethod?: string;
                                sideTripFlightIndices?: number[];
                                spanishIslandResidentDiscountCode?: string;
                                spanishLargeFamilyDiscountLevel?: number;
                                specificFares?: { fareBasisCode: string; 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?: (
                                    | "AISLE"
                                    | "BULKHEAD"
                                    | "FRONT"
                                    | "LEFT_SIDE"
                                    | "RIGHT_SIDE"
                                    | "TAIL"
                                    | "WINDOW"
                                )[];
                                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;
                    }[];
                };
                timestamp?: string;
            };
            CreateErrorPolicyEnum: | "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";
            CreationDetails: {
                agencyIataNumber?: string;
                creationDate?: string;
                creationTime?: string;
                creationUserSine?: string;
                primeHostId?: string;
                purchaseDeadlineDate?: string;
                purchaseDeadlineTime?: string;
                userHomePcc?: string;
                userWorkPcc?: string;
            };
            CreationDetailsToModify: { agencyIataNumber?: string };
            Cruise: { 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;
            };
            CruiseItem: {
                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;
            };
            CruiseReference: { itemId: string };
            DateRangeRefundPenalty: {
                applicableFromDate?: string;
                applicableToDate?: string;
                penalty: { amount: string; currencyCode: string };
            };
            DocumentSubTypeEnum: "RUC"
            | "CUIT/CUIL"
            | "NIT";
            DocumentTypeEnum:
                | "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";
            ElectronicMiscellaneousDocumentTypeEnum: | "ETICKET"
            | "STANDALONE"
            | "FLIGHT_COUPON_ASSOCIATED"
            | "STANDALONE_TICKET_ASSOCIATED"
            | "OTHER_THAN_EMD";
            EmailContacts: { emails?: string[] };
            Endorsements: { description?: string; useOverride?: boolean };
            Error: {
                category: string;
                description?: string;
                fieldName?: string;
                fieldPath?: string;
                fieldValue?: string;
                type: string;
            };
            ExtraFeatures: { returnEmptySeatObjects: boolean } & {
                returnFiscalId: boolean;
                returnFrequentRenter: boolean;
                returnWalletFormsOfPayment: boolean;
            } & Record<string, never>;
            Fare: {
                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: string; currencyCode: string };
                    brandAttributes?: { description?: string; itemId?: string }[];
                    brandFareCode?: string;
                    brandFareName?: string;
                    brandProgramCode?: string;
                    brandProgramName?: string;
                    checkedBaggageAllowance?: {
                        baggagePieces?: {
                            fee?: { amount: string; currencyCode: string };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        maximumPieces?: number;
                        totalWeightInKilograms?: number;
                        totalWeightInPounds?: number;
                    };
                    fareBasisCode?: string;
                    flightIndices?: number[];
                    flights?: { itemId: string }[];
                    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: string; currencyCode: string };
                    taxCode?: string;
                }[];
                totals?: {
                    currencyCode: string;
                    fees?: string;
                    subtotal?: string;
                    taxes?: string;
                    total: string;
                };
                tourCode?: string;
                travelerIndices?: number[];
            };
            FareApplicationTypeEnum: | "Single Traveler"
            | "All Travelers"
            | "Each Traveler";
            FareComponent: {
                baseRate?: { amount: string; currencyCode: string };
                brandAttributes?: { description?: string; itemId?: string }[];
                brandFareCode?: string;
                brandFareName?: string;
                brandProgramCode?: string;
                brandProgramName?: string;
                checkedBaggageAllowance?: {
                    baggagePieces?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    maximumPieces?: number;
                    totalWeightInKilograms?: number;
                    totalWeightInPounds?: number;
                };
                fareBasisCode?: string;
                flightIndices?: number[];
                flights?: { itemId: string }[];
                isCurrentItinerary?: boolean;
            };
            FareOffer: {
                cabinBaggageAllowance?: {
                    baggagePieces?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    maximumPieces?: number;
                    totalWeightInKilograms?: number;
                    totalWeightInPounds?: number;
                };
                cabinBaggageCharges?: {
                    fee?: { amount: string; currencyCode: string };
                    isCheckInOnly?: boolean;
                    maximumSizeInCentimeters?: number;
                    maximumSizeInInches?: number;
                    maximumWeightInKilograms?: number;
                    maximumWeightInPounds?: number;
                    numberOfPieces: number;
                    specialItemDescription?: string;
                }[];
                checkedBaggageAllowance?: {
                    baggagePieces?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    maximumPieces?: number;
                    totalWeightInKilograms?: number;
                    totalWeightInPounds?: number;
                };
                checkedBaggageCharges?: {
                    fee?: { amount: string; currencyCode: string };
                    isCheckInOnly?: boolean;
                    maximumSizeInCentimeters?: number;
                    maximumSizeInInches?: number;
                    maximumWeightInKilograms?: number;
                    maximumWeightInPounds?: number;
                    numberOfPieces: number;
                    specialItemDescription?: string;
                }[];
                flights?: { itemId: string }[];
                travelerIndices?: number[];
            };
            FareRule: {
                destinationAirportCode?: string;
                exchangePenalties?: {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                }[];
                isChangeable?: boolean;
                isRefundable?: boolean;
                originAirportCode?: string;
                owningAirlineCode: string;
                passengerCode?: string;
                refundPenalties?: {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                }[];
            };
            FareRulePenalty: {
                applicability: "BEFORE_DEPARTURE"
                | "AFTER_DEPARTURE";
                conditionsApply: boolean;
                penalty: { amount: string; currencyCode: string };
            };
            FareRulePenaltyApplicabilityEnum: "BEFORE_DEPARTURE"
            | "AFTER_DEPARTURE";
            FareRuleRestrictionEnum:
                | "CHANGEABLE"
                | "REFUNDABLE"
                | "CHANGEABLE_AND_REFUNDABLE";
            Flight: { 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?: string;
                    aircraftTypeName?: string;
                    airportCode?: string;
                    arrivalDate?: string;
                    arrivalTime?: string;
                    departureDate?: string;
                    departureTime?: string;
                    durationInMinutes?: number;
                }[];
                identityDocuments?: {
                    itemId?: string;
                    status?: | "Unknown"
                    | "Confirmed"
                    | "On Request"
                    | "Pending"
                    | "Cancelled"
                    | "Unconfirmed"
                    | "Waitlisted"
                    | "Infant/No Seat"
                    | "Priority Waitlist"
                    | "Quote"
                    | "Space Available"
                    | "Pending Quote"
                    | "No Seat"
                    | "Standby";
                }[];
                isPast?: boolean;
                meals?: {
                    code: string;
                    description: | "Meal"
                    | "Alcoholic beverages for purchase"
                    | "Breakfast"
                    | "Cold meal"
                    | "Complimentary alcoholic beverages"
                    | "Continental breakfast"
                    | "Dinner"
                    | "Food for purchase"
                    | "Food and beverage for purchase"
                    | "Hot meal"
                    | "Lunch"
                    | "No meal service"
                    | "Refreshment"
                    | "Refreshment for purchase"
                    | "Snack";
                }[];
                numberOfSeats?: number;
                operatingAirlineCode?: string;
                operatingAirlineName?: string;
                operatingFlightNumber?: number;
                seats?: {
                    characteristics?: string[];
                    number: 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";
                }[];
                sourceType?: "NDC"
                | "LCC"
                | "ATPCO";
                toAirportCode: string;
                travelerIndices?: number[];
                updatedArrivalDate?: string;
                updatedArrivalTime?: string;
                updatedDepartureDate?: string;
                updatedDepartureTime?: string;
            };
            FlightApplicabilityTypeEnum: "Unknown"
            | "Single"
            | "Multiple";
            FlightCoupon: { 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?: string;
                    aircraftTypeName?: string;
                    airportCode?: string;
                    arrivalDate?: string;
                    arrivalTime?: string;
                    departureDate?: string;
                    departureTime?: string;
                    durationInMinutes?: number;
                }[];
                identityDocuments?: {
                    itemId?: string;
                    status?: | "Unknown"
                    | "Confirmed"
                    | "On Request"
                    | "Pending"
                    | "Cancelled"
                    | "Unconfirmed"
                    | "Waitlisted"
                    | "Infant/No Seat"
                    | "Priority Waitlist"
                    | "Quote"
                    | "Space Available"
                    | "Pending Quote"
                    | "No Seat"
                    | "Standby";
                }[];
                isPast?: boolean;
                meals?: {
                    code: string;
                    description: | "Meal"
                    | "Alcoholic beverages for purchase"
                    | "Breakfast"
                    | "Cold meal"
                    | "Complimentary alcoholic beverages"
                    | "Continental breakfast"
                    | "Dinner"
                    | "Food for purchase"
                    | "Food and beverage for purchase"
                    | "Hot meal"
                    | "Lunch"
                    | "No meal service"
                    | "Refreshment"
                    | "Refreshment for purchase"
                    | "Snack";
                }[];
                numberOfSeats?: number;
                operatingAirlineCode?: string;
                operatingAirlineName?: string;
                operatingFlightNumber?: number;
                seats?: {
                    characteristics?: string[];
                    number: 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";
                }[];
                sourceType?: "NDC"
                | "LCC"
                | "ATPCO";
                toAirportCode: string;
                travelerIndices?: number[];
                updatedArrivalDate?: string;
                updatedArrivalTime?: string;
                updatedDepartureDate?: string;
                updatedDepartureTime?: string;
            } & {
                couponStatus: | "Airport Control"
                | "Lifted"
                | "Checked In"
                | "Exchanged"
                | "Flown"
                | "Not Flown"
                | "Refunded"
                | "Voided"
                | "Printed"
                | "Okay"
                | "Reactivated"
                | "Irregular Operations"
                | "Print Exchange"
                | "Paper Ticket"
                | "Suspended"
                | "Locked";
                couponStatusCode: | "AL"
                | "PE"
                | "XX"
                | "S"
                | "P"
                | "B"
                | "E"
                | "BD"
                | "CK"
                | "I"
                | "RF"
                | "V"
                | "PR"
                | "IO"
                | "T";
            };
            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: string[];
                            forceAccountCodes?: boolean;
                        };
                        adjustedSellingLevel?: {
                            ignore?: boolean;
                            markDownAmount?: string;
                            markUpAmount?: string;
                            returnBreakdown?: boolean;
                        };
                        baggageAllowance?: {
                            baggagePieces?: number;
                            flightIndices?: number[];
                            totalWeightInKilograms?: number;
                        }[];
                        brandedFares?: { brandCode: string; flightIndices?: number[] }[];
                        breakFareFlightIndices?: number[];
                        cabinCode?: string;
                        commissionContractNames?: string[];
                        considerMultiTicket?: boolean;
                        corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                        currencyPricing?: string;
                        exchangePenalties?: {
                            applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                            penaltyAmount?: { amount?: string };
                            restrictionType:
                                | "CHANGEABLE"
                                | "REFUNDABLE"
                                | "CHANGEABLE_AND_REFUNDABLE";
                        };
                        excludeBasicEconomyFares?: string[];
                        exemptTaxes?: string[];
                        flightIndices?: number[];
                        forceConnectionFlightIndices?: number[];
                        forceStopoverFlightIndices?: number[];
                        hemisphereCode?: number;
                        journeyCode?: number;
                        netRemit?: {
                            cashValue?: { amount: string; currencyCode: string };
                            commercialAgreementReferenceCode?: string;
                            creditValue?: { amount: string; currencyCode: string };
                            netRemitCode?: string;
                        };
                        overrideTaxes?: { amount: string; taxCode: string }[];
                        passengersPricing?: {
                            forcePassengerCode?: boolean;
                            numberOfpassengers?: number;
                            passengerCode?: string;
                        }[];
                        passengerStatus?: "RESIDENT"
                        | "NATIONALITY"
                        | "EMPLOYEE";
                        passengerStatusCountryCode?: string;
                        payment?: {
                            amountOnSecondFormOfPayment?: string;
                            primaryFormOfPayment: number;
                            secondaryFormOfPayment?: number;
                        };
                        priceWithTaxes: boolean;
                        rebookLowestFares?: boolean;
                        retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                        settlementMethod?: string;
                        sideTripFlightIndices?: number[];
                        spanishIslandResidentDiscountCode?: string;
                        spanishLargeFamilyDiscountLevel?: number;
                        specificFares?: { fareBasisCode: string; flightIndices?: number[] }[];
                        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?: (
                            | "AISLE"
                            | "BULKHEAD"
                            | "FRONT"
                            | "LEFT_SIDE"
                            | "RIGHT_SIDE"
                            | "TAIL"
                            | "WINDOW"
                        )[];
                        number?: string;
                        travelerIndex: number;
                    }[];
                    source?: "LCC"
                    | "ATPCO";
                    toAirportCode: string;
                }[];
                haltOnFlightStatusCodes?: (
                    "US"
                    | "NO"
                    | "NN"
                    | "UC"
                    | "UN"
                    | "UU"
                    | "LL"
                    | "HL"
                )[];
                retryBookingUnconfirmedFlights?: boolean;
            };
            FlightItem: {
                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?: string;
                    aircraftTypeName?: string;
                    airportCode?: string;
                    arrivalDate?: string;
                    arrivalTime?: string;
                    departureDate?: string;
                    departureTime?: string;
                    durationInMinutes?: number;
                }[];
                identityDocuments?: {
                    itemId?: string;
                    status?: | "Unknown"
                    | "Confirmed"
                    | "On Request"
                    | "Pending"
                    | "Cancelled"
                    | "Unconfirmed"
                    | "Waitlisted"
                    | "Infant/No Seat"
                    | "Priority Waitlist"
                    | "Quote"
                    | "Space Available"
                    | "Pending Quote"
                    | "No Seat"
                    | "Standby";
                }[];
                isPast?: boolean;
                meals?: {
                    code: string;
                    description: | "Meal"
                    | "Alcoholic beverages for purchase"
                    | "Breakfast"
                    | "Cold meal"
                    | "Complimentary alcoholic beverages"
                    | "Continental breakfast"
                    | "Dinner"
                    | "Food for purchase"
                    | "Food and beverage for purchase"
                    | "Hot meal"
                    | "Lunch"
                    | "No meal service"
                    | "Refreshment"
                    | "Refreshment for purchase"
                    | "Snack";
                }[];
                numberOfSeats?: number;
                operatingAirlineCode?: string;
                operatingAirlineName?: string;
                operatingFlightNumber?: number;
                seats?: {
                    characteristics?: string[];
                    number: 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";
                }[];
                sourceType?: "NDC"
                | "LCC"
                | "ATPCO";
                toAirportCode: string;
                travelerIndices?: number[];
                updatedArrivalDate?: string;
                updatedArrivalTime?: string;
                updatedDepartureDate?: string;
                updatedDepartureTime?: string;
            };
            FlightOffer: { offerId: string; selectedOfferItems: string[] };
            FlightReference: { itemId: string };
            FlightReferenceCoupon: { itemId: string } & {
                couponStatus:
                    | "Airport Control"
                    | "Lifted"
                    | "Checked In"
                    | "Exchanged"
                    | "Flown"
                    | "Not Flown"
                    | "Refunded"
                    | "Voided"
                    | "Printed"
                    | "Okay"
                    | "Reactivated"
                    | "Irregular Operations"
                    | "Print Exchange"
                    | "Paper Ticket"
                    | "Suspended"
                    | "Locked";
                couponStatusCode: | "AL"
                | "PE"
                | "XX"
                | "S"
                | "P"
                | "B"
                | "E"
                | "BD"
                | "CK"
                | "I"
                | "RF"
                | "V"
                | "PR"
                | "IO"
                | "T";
            };
            FlightSourceEnum: "NDC"
            | "LCC"
            | "ATPCO";
            FlightTicket: {
                agencyIataNumber?: string;
                airlineCode: string;
                allCoupons?: (
                    {
                        couponStatus: | "Airport Control"
                        | "Lifted"
                        | "Checked In"
                        | "Exchanged"
                        | "Flown"
                        | "Not Flown"
                        | "Refunded"
                        | "Voided"
                        | "Printed"
                        | "Okay"
                        | "Reactivated"
                        | "Irregular Operations"
                        | "Print Exchange"
                        | "Paper Ticket"
                        | "Suspended"
                        | "Locked";
                        couponStatusCode: | "AL"
                        | "PE"
                        | "XX"
                        | "S"
                        | "P"
                        | "B"
                        | "E"
                        | "BD"
                        | "CK"
                        | "I"
                        | "RF"
                        | "V"
                        | "PR"
                        | "IO"
                        | "T";
                    } & { itemId?: string }
                )[];
                commission?: {
                    commissionAmount?: string;
                    commissionPercentage?: string;
                    currencyCode?: string;
                };
                date: string;
                flightCoupons: (
                    { itemId: string } & {
                        couponStatus:
                            | "Airport Control"
                            | "Lifted"
                            | "Checked In"
                            | "Exchanged"
                            | "Flown"
                            | "Not Flown"
                            | "Refunded"
                            | "Voided"
                            | "Printed"
                            | "Okay"
                            | "Reactivated"
                            | "Irregular Operations"
                            | "Print Exchange"
                            | "Paper Ticket"
                            | "Suspended"
                            | "Locked";
                        couponStatusCode: | "AL"
                        | "PE"
                        | "XX"
                        | "S"
                        | "P"
                        | "B"
                        | "E"
                        | "BD"
                        | "CK"
                        | "I"
                        | "RF"
                        | "V"
                        | "PR"
                        | "IO"
                        | "T";
                    }
                )[];
                number: string;
                payment: {
                    currencyCode: string;
                    fees?: string;
                    subtotal?: string;
                    taxes?: string;
                    total: string;
                };
                ticketingPcc?: string;
                ticketStatusCode?: string;
                ticketStatusName?: "Voided"
                | "Issued"
                | "Refunded/Exchanged";
                travelerIndex: number;
            };
            FlightTicketOperationEnum: "VOID"
            | "REFUND";
            FlightToBook: {
                airlineCode: string;
                arrivalDate?: string;
                arrivalTime?: string;
                bookingClass: string;
                confirmationId?: string;
                departureDate: string;
                departureTime: string;
                flightNumber: number;
                flightStatusCode: string;
                fromAirportCode: string;
                isMarriageGroup?: boolean;
                seats?: {
                    areaPreferences?: (
                        | "AISLE"
                        | "BULKHEAD"
                        | "FRONT"
                        | "LEFT_SIDE"
                        | "RIGHT_SIDE"
                        | "TAIL"
                        | "WINDOW"
                    )[];
                    number?: string;
                    travelerIndex: number;
                }[];
                source?: "LCC"
                | "ATPCO";
                toAirportCode: string;
            };
            FlightToBookSourceEnum: "LCC"
            | "ATPCO";
            FlightToModify: { seats?: { number: string; offerItemId?: string }[] };
            FormOfPayment: {
                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 };
            };
            FormOfPaymentTripTypeEnum: | "All"
            | "Unknown"
            | "Corporate/Business"
            | "Leisure"
            | "Emergency"
            | "Family"
            | "Group";
            FormOfPaymentTypeEnum: | "INVOICE"
            | "CORPORATE"
            | "PAYMENTCARD"
            | "CASH"
            | "CHECK"
            | "MISCELLANEOUS"
            | "INSTALLMENTS"
            | "VIRTUAL_CARD"
            | "AGENCY_NAME"
            | "AGENCY_IATA"
            | "COMPANY_NAME"
            | "VOUCHER"
            | "DOCKET"
            | "GOVERNMENT_TRAVEL_REQUEST";
            FormOfPaymentUseTypeEnum: | "All"
            | "Other"
            | "Tour"
            | "Unknown"
            | "Ancillary"
            | "Hotel"
            | "Car"
            | "Cruise"
            | "Airline"
            | "Bus/Ground Transportation"
            | "Insurance"
            | "Low-Cost Carrier"
            | "Rail"
            | "Specialty Service"
            | "Interface Record";
            FulfillBaggageAllowance: {
                baggagePieces?: number;
                flights?: { itemId: string }[];
                totalWeightInKilograms?: number;
            };
            FulfillBrandedFare: { brandCode: string; flights?: { itemId: string }[] };
            FulfillDocumentsEnum: "All" | "Invoice" | "Electronic Ticketing Receipt";
            FulfillErrorPolicyEnum:
                | "ALLOW_PARTIAL_FULFILLMENT"
                | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR";
            FulfillFormOfPayment: {
                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;
            };
            FulfillFormOfPaymentTypeEnum: | "PAYMENTCARD"
            | "CASH"
            | "CHECK"
            | "MISCELLANEOUS"
            | "INSTALLMENTS"
            | "VIRTUAL_CARD";
            FulfillmentDetails: {
                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?: { itemId: string }[];
                        totalWeightInKilograms?: number;
                    }[];
                    brandedFares?: { brandCode: string; flights?: { itemId: string }[] }[];
                    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?: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        isChangeable?: boolean;
                        maximumPenalty?: { amount: string; currencyCode: string };
                        type: "Changeable" | "Either or" | "Refundable";
                    }[];
                    priceQuoteRecordIds?: string[];
                    priceWithTaxes: boolean;
                    printDocuments?: "All"
                    | "Invoice"
                    | "Electronic Ticketing Receipt";
                    returnFareFlexibilityDetails: boolean;
                    sideTripFlights?: { itemId: string }[];
                    spanishLargeFamilyDiscountLevel?: number;
                    specificFares?: {
                        fareBasisCode: string;
                        flights?: { itemId: string }[];
                    }[];
                    validityDates?: {
                        endDate?: string;
                        flights?: { itemId: string }[];
                        startDate?: string;
                    }[];
                };
            };
            FulfillNetRemit: {
                cashAmount?: string;
                commercialAgreementReferenceCode?: string;
                creditAmount?: string;
                discountAmount?: string;
                netRemitCode?: string;
                sellingFareAmount?: string;
                tourCode?: string;
            };
            FulfillQualifiers: {
                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?: { itemId: string }[];
                    totalWeightInKilograms?: number;
                }[];
                brandedFares?: { brandCode: string; flights?: { itemId: string }[] }[];
                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?: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    isChangeable?: boolean;
                    maximumPenalty?: { amount: string; currencyCode: string };
                    type: "Changeable" | "Either or" | "Refundable";
                }[];
                priceQuoteRecordIds?: string[];
                priceWithTaxes: boolean;
                printDocuments?: "All"
                | "Invoice"
                | "Electronic Ticketing Receipt";
                returnFareFlexibilityDetails: boolean;
                sideTripFlights?: { itemId: string }[];
                spanishLargeFamilyDiscountLevel?: number;
                specificFares?: { fareBasisCode: string; flights?: { itemId: string }[] }[];
                validityDates?: {
                    endDate?: string;
                    flights?: { itemId: string }[];
                    startDate?: string;
                }[];
            };
            FulfillSpecificFare: {
                fareBasisCode: string;
                flights?: { itemId: string }[];
            };
            FulfillStrongCustomerAuthentication: { channelCode?: string };
            FulfillTicket: {
                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;
            };
            FulfillTicketsRequest: {
                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?: { itemId: string }[];
                            totalWeightInKilograms?: number;
                        }[];
                        brandedFares?: { brandCode: string; flights?: { itemId: string }[] }[];
                        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?: "BEFORE_DEPARTURE"
                            | "AFTER_DEPARTURE";
                            isChangeable?: boolean;
                            maximumPenalty?: { amount: string; currencyCode: string };
                            type: "Changeable" | "Either or" | "Refundable";
                        }[];
                        priceQuoteRecordIds?: string[];
                        priceWithTaxes: boolean;
                        printDocuments?: "All"
                        | "Invoice"
                        | "Electronic Ticketing Receipt";
                        returnFareFlexibilityDetails: boolean;
                        sideTripFlights?: { itemId: string }[];
                        spanishLargeFamilyDiscountLevel?: number;
                        specificFares?: {
                            fareBasisCode: string;
                            flights?: { itemId: string }[];
                        }[];
                        validityDates?: {
                            endDate?: string;
                            flights?: { itemId: string }[];
                            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 }[];
            };
            FulfillTicketsResponse: {
                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?: 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?: { itemId: ... }[];
                                totalWeightInKilograms?: number;
                            }[];
                            brandedFares?: { brandCode: string; flights?: { itemId: ... }[] }[];
                            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?: "BEFORE_DEPARTURE"
                                | "AFTER_DEPARTURE";
                                isChangeable?: boolean;
                                maximumPenalty?: { amount: string; currencyCode: string };
                                type: "Changeable" | "Either or" | "Refundable";
                            }[];
                            priceQuoteRecordIds?: string[];
                            priceWithTaxes: boolean;
                            printDocuments?: "All"
                            | "Invoice"
                            | "Electronic Ticketing Receipt";
                            returnFareFlexibilityDetails: boolean;
                            sideTripFlights?: { itemId: string }[];
                            spanishLargeFamilyDiscountLevel?: number;
                            specificFares?: { fareBasisCode: string; flights?: { itemId: ... }[] }[];
                            validityDates?: {
                                endDate?: string;
                                flights?: { itemId: ... }[];
                                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 }[];
                };
                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;
            };
            FutureProcessing: {
                firstLineNumber: number;
                lastLineNumber?: number;
                travelerIndex?: number;
            };
            FutureTicketingPolicy: {
                comment?: string;
                queueNumber?: string;
                ticketingDate?: string;
                ticketingPcc?: string;
                ticketingTime?: string;
            };
            GenderEnum: | "FEMALE"
            | "MALE"
            | "INFANT_FEMALE"
            | "INFANT_MALE"
            | "UNDISCLOSED"
            | "UNDEFINED";
            GenericAddress: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string };
            GetBookingRequest: {
                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;
            };
            GetBookingResponse: {
                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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        date?: string;
                        endAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        endDate?: string;
                        endLocationCode?: string;
                        endTime?: string;
                        locationCode?: string;
                        startAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        dropOffContactInfo?: { emails?: string[] } & {
                            emergencyPhones?: string[];
                            faxes?: string[];
                            phones?: string[];
                        };
                        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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        pickUpContactInfo?: { emails?: string[] } & {
                            emergencyPhones?: string[];
                            faxes?: string[];
                            phones?: string[];
                        };
                        pickUpDate: string;
                        pickUpLocationCode?: string;
                        pickUpTime: string;
                        rateCode?: string;
                        refundPenalties?: {
                            applicableFromDate?: string;
                            applicableToDate?: string;
                            penalty: { amount: string; currencyCode: string };
                        }[];
                        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?: { amount: string; currencyCode: string };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        maximumPieces?: number;
                        totalWeightInKilograms?: number;
                        totalWeightInPounds?: number;
                    };
                    cabinBaggageCharges?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    checkedBaggageAllowance?: {
                        baggagePieces?: {
                            fee?: { amount: string; currencyCode: string };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        maximumPieces?: number;
                        totalWeightInKilograms?: number;
                        totalWeightInPounds?: number;
                    };
                    checkedBaggageCharges?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    flights?: { itemId: string }[];
                    travelerIndices?: number[];
                }[];
                fareRules?: {
                    destinationAirportCode?: string;
                    exchangePenalties?: {
                        applicability: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        conditionsApply: boolean;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                    isChangeable?: boolean;
                    isRefundable?: boolean;
                    originAirportCode?: string;
                    owningAirlineCode: string;
                    passengerCode?: string;
                    refundPenalties?: {
                        applicability: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        conditionsApply: boolean;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                }[];
                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: string; currencyCode: string };
                        brandAttributes?: { description?: string; itemId?: string }[];
                        brandFareCode?: string;
                        brandFareName?: string;
                        brandProgramCode?: string;
                        brandProgramName?: string;
                        checkedBaggageAllowance?: {
                            baggagePieces?: {
                                fee?: { amount: ...; currencyCode: ... };
                                isCheckInOnly?: boolean;
                                maximumSizeInCentimeters?: number;
                                maximumSizeInInches?: number;
                                maximumWeightInKilograms?: number;
                                maximumWeightInPounds?: number;
                                numberOfPieces: number;
                                specialItemDescription?: string;
                            }[];
                            maximumPieces?: number;
                            totalWeightInKilograms?: number;
                            totalWeightInPounds?: number;
                        };
                        fareBasisCode?: string;
                        flightIndices?: number[];
                        flights?: { itemId: string }[];
                        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: string; currencyCode: string };
                        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?: string;
                            aircraftTypeName?: string;
                            airportCode?: string;
                            arrivalDate?: string;
                            arrivalTime?: string;
                            departureDate?: string;
                            departureTime?: string;
                            durationInMinutes?: number;
                        }[];
                        identityDocuments?: {
                            itemId?: string;
                            status?: | "Unknown"
                            | "Confirmed"
                            | "On Request"
                            | "Pending"
                            | "Cancelled"
                            | "Unconfirmed"
                            | "Waitlisted"
                            | "Infant/No Seat"
                            | "Priority Waitlist"
                            | "Quote"
                            | "Space Available"
                            | "Pending Quote"
                            | "No Seat"
                            | "Standby";
                        }[];
                        isPast?: boolean;
                        meals?: {
                            code: string;
                            description: | "Meal"
                            | "Alcoholic beverages for purchase"
                            | "Breakfast"
                            | "Cold meal"
                            | "Complimentary alcoholic beverages"
                            | "Continental breakfast"
                            | "Dinner"
                            | "Food for purchase"
                            | "Food and beverage for purchase"
                            | "Hot meal"
                            | "Lunch"
                            | "No meal service"
                            | "Refreshment"
                            | "Refreshment for purchase"
                            | "Snack";
                        }[];
                        numberOfSeats?: number;
                        operatingAirlineCode?: string;
                        operatingAirlineName?: string;
                        operatingFlightNumber?: number;
                        seats?: {
                            characteristics?: string[];
                            number: 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";
                        }[];
                        sourceType?: "NDC"
                        | "LCC"
                        | "ATPCO";
                        toAirportCode: string;
                        travelerIndices?: number[];
                        updatedArrivalDate?: string;
                        updatedArrivalTime?: string;
                        updatedDepartureDate?: string;
                        updatedDepartureTime?: string;
                    }
                )[];
                flightTickets?: {
                    agencyIataNumber?: string;
                    airlineCode: string;
                    allCoupons?: (
                        {
                            couponStatus: | "Airport Control"
                            | "Lifted"
                            | "Checked In"
                            | "Exchanged"
                            | "Flown"
                            | "Not Flown"
                            | "Refunded"
                            | "Voided"
                            | "Printed"
                            | "Okay"
                            | "Reactivated"
                            | "Irregular Operations"
                            | "Print Exchange"
                            | "Paper Ticket"
                            | "Suspended"
                            | "Locked";
                            couponStatusCode: | "AL"
                            | "PE"
                            | "XX"
                            | "S"
                            | "P"
                            | "B"
                            | "E"
                            | "BD"
                            | "CK"
                            | "I"
                            | "RF"
                            | "V"
                            | "PR"
                            | "IO"
                            | "T";
                        } & { itemId?: string }
                    )[];
                    commission?: {
                        commissionAmount?: string;
                        commissionPercentage?: string;
                        currencyCode?: string;
                    };
                    date: string;
                    flightCoupons: (
                        { itemId: string } & {
                            couponStatus:
                                | "Airport Control"
                                | "Lifted"
                                | "Checked In"
                                | "Exchanged"
                                | "Flown"
                                | "Not Flown"
                                | "Refunded"
                                | "Voided"
                                | "Printed"
                                | "Okay"
                                | "Reactivated"
                                | "Irregular Operations"
                                | "Print Exchange"
                                | "Paper Ticket"
                                | "Suspended"
                                | "Locked";
                            couponStatusCode: | "AL"
                            | "PE"
                            | "XX"
                            | "S"
                            | "P"
                            | "B"
                            | "E"
                            | "BD"
                            | "CK"
                            | "I"
                            | "RF"
                            | "V"
                            | "PR"
                            | "IO"
                            | "T";
                        }
                    )[];
                    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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string } & { cityCode?: string };
                        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?: string[] } & {
                            emergencyPhones?: string[];
                            faxes?: string[];
                            phones?: string[];
                        };
                        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?: string;
                            applicableToDate?: string;
                            penalty: { amount: string; currencyCode: string };
                        }[];
                        refundPenaltyPolicyCode?: string;
                        room?: {
                            agencyCommission?: {
                                commissionAmount?: string;
                                commissionPercentage?: string;
                                currencyCode?: string;
                            };
                            description?: string;
                            productCode?: string;
                            quantity: number;
                            roomRate?: { amount: string; currencyCode: string };
                            roomType: string;
                            roomTypeCode?: string;
                            travelerIndices?: number[];
                        };
                        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?: {
                                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 };
                        }
                    )[];
                    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?: "Unknown" | "Single" | "Multiple";
                        flights?: { itemId: string }[];
                        isCommissionable?: boolean;
                        isRefundable?: boolean;
                        itemId?: string;
                        numberOfItems?: number;
                        reasonForIssuanceCode?: string;
                        reasonForIssuanceName?:
                            | "UNKNOWN"
                            | "AIR_TRANSPORTATION"
                            | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                            | "BAGGAGE"
                            | "FINANCIAL_IMPACT"
                            | "AIRPORT_SERVICES"
                            | "MERCHANDISE"
                            | "INFLIGHT_SERVICES"
                            | "INDIVIDUAL_AIRLINE_USE";
                        source?: "ATPCO"
                        | "MERCHANDISING_MANAGER";
                        statusCode?: string;
                        statusName?:
                            | "Confirmed"
                            | "Confirmed with EMD issued"
                            | "On Request"
                            | "Pending"
                            | "Cancelled"
                            | "Unconfirmed"
                            | "Confirmed with pending payment"
                            | "Schedule change";
                        subcode?: string;
                        totals?: {
                            currencyCode: string;
                            fees?: string;
                            subtotal?: string;
                            taxes?: string;
                            total: string;
                        };
                        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?: "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;
                        itemId?: string;
                        middleName?: string;
                        placeOfBirth?: string;
                        placeOfIssue?: string;
                        residenceCountryCode?: string;
                        residenceDestinationAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        };
                        surname?: string;
                    }[];
                    isGrouped?: boolean;
                    loyaltyPrograms?: {
                        programNumber: string;
                        programType?: | "FREQUENT_FLYER"
                        | "FREQUENT_RENTER"
                        | "LOYALTY_ID"
                        | "CORPORATE_LOYALTY_ID";
                        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?:
                            | "INVOICE"
                            | "ITINERARY"
                            | "GENERAL"
                            | "HISTORICAL"
                            | "CLIENT_ADDRESS"
                            | "ALPHA_CODED"
                            | "DELIVERY_ADDRESS"
                            | "HIDDEN"
                            | "CORPORATE"
                            | "FORM_OF_PAYMENT"
                            | "PRINT_ON_TICKET"
                            | "FILLER_STRIP"
                            | "INTERFACE"
                            | "QUEUE_PLACE";
                    }[];
                    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;
            };
            GuaranteeTypeNameEnum: | "Credit card"
            | "Travel agency name/address"
            | "Travel agency IATA number"
            | "Company name/address"
            | "Corporate ID/CD number"
            | "Virtual card";
            HaltOnFlightStatusCodeEnum: | "US"
            | "NO"
            | "NN"
            | "UC"
            | "UN"
            | "UU"
            | "LL"
            | "HL";
            HardcopyPrinter: { address?: string; spacing?: string };
            HiddenStop: {
                aircraftTypeCode?: string;
                aircraftTypeName?: string;
                airportCode?: string;
                arrivalDate?: string;
                arrivalTime?: string;
                departureDate?: string;
                departureTime?: string;
                durationInMinutes?: number;
            };
            Hotel: { itemId: string } & {
                address: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string } & { cityCode?: string };
                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?: string[] } & {
                    emergencyPhones?: string[];
                    faxes?: string[];
                    phones?: string[];
                };
                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?: string;
                    applicableToDate?: string;
                    penalty: { amount: string; currencyCode: string };
                }[];
                refundPenaltyPolicyCode?: string;
                room?: {
                    agencyCommission?: {
                        commissionAmount?: string;
                        commissionPercentage?: string;
                        currencyCode?: string;
                    };
                    description?: string;
                    productCode?: string;
                    quantity: number;
                    roomRate?: { amount: string; currencyCode: string };
                    roomType: string;
                    roomTypeCode?: string;
                    travelerIndices?: number[];
                };
                sabrePropertyId?: string;
                sourceTypeCode?: number;
                sourceTypeName?: | "Unknown"
                | "Legacy"
                | "Sabre GDS"
                | "Expedia Associate Network"
                | "HotelBeds.com"
                | "Booking.com"
                | "CMNet";
                specialInstructions?: string;
            };
            HotelAddress: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string } & { cityCode?: string };
            HotelDetailsToModify: {
                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;
            };
            HotelItem: {
                address: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string } & { cityCode?: string };
                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?: string[] } & {
                    emergencyPhones?: string[];
                    faxes?: string[];
                    phones?: string[];
                };
                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?: string;
                    applicableToDate?: string;
                    penalty: { amount: string; currencyCode: string };
                }[];
                refundPenaltyPolicyCode?: string;
                room?: {
                    agencyCommission?: {
                        commissionAmount?: string;
                        commissionPercentage?: string;
                        currencyCode?: string;
                    };
                    description?: string;
                    productCode?: string;
                    quantity: number;
                    roomRate?: { amount: string; currencyCode: string };
                    roomType: string;
                    roomTypeCode?: string;
                    travelerIndices?: number[];
                };
                sabrePropertyId?: string;
                sourceTypeCode?: number;
                sourceTypeName?: | "Unknown"
                | "Legacy"
                | "Sabre GDS"
                | "Expedia Associate Network"
                | "HotelBeds.com"
                | "Booking.com"
                | "CMNet";
                specialInstructions?: string;
            };
            HotelPaymentPolicyEnum: "DEPOSIT"
            | "GUARANTEE"
            | "LATE";
            HotelReference: { itemId: string };
            HotelSourceEnum:
                | "Unknown"
                | "Legacy"
                | "Sabre GDS"
                | "Expedia Associate Network"
                | "HotelBeds.com"
                | "Booking.com"
                | "CMNet";
            HotelToBook: {
                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;
            };
            HotelToModify: { 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;
            };
            IdentityDocument: {
                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;
                itemId?: string;
                middleName?: string;
                placeOfBirth?: string;
                placeOfIssue?: string;
                residenceCountryCode?: string;
                residenceDestinationAddress?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                };
                surname?: string;
            };
            IdentityDocumentDetails: {
                birthDate?: string;
                documentNumber?: string;
                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;
                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;
                residenceDestinationAddress?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                };
                surname?: string;
            };
            IdentityDocumentReference: {
                itemId?: string;
                status?: | "Unknown"
                | "Confirmed"
                | "On Request"
                | "Pending"
                | "Cancelled"
                | "Unconfirmed"
                | "Waitlisted"
                | "Infant/No Seat"
                | "Priority Waitlist"
                | "Quote"
                | "Space Available"
                | "Pending Quote"
                | "No Seat"
                | "Standby";
            };
            Journey: {
                departureDate: string;
                departureTime: string;
                firstAirportCode: string;
                lastAirportCode: string;
                numberOfFlights: number;
            };
            JourneyTypeCodeEnum: "F"
            | "M"
            | "B";
            LoyaltyProgram: {
                programNumber: string;
                programType?:
                    | "FREQUENT_FLYER"
                    | "FREQUENT_RENTER"
                    | "LOYALTY_ID"
                    | "CORPORATE_LOYALTY_ID";
                receiverCode?: string;
                supplierCode?: string;
                tierLevel?: number;
            };
            ManualApproval: {
                airlineCode: string;
                amount: string;
                code: string;
                currencyCode: string;
                expiryDateTime: string;
                requestDateTime: string;
            };
            Meal: {
                code: string;
                description: | "Meal"
                | "Alcoholic beverages for purchase"
                | "Breakfast"
                | "Cold meal"
                | "Complimentary alcoholic beverages"
                | "Continental breakfast"
                | "Dinner"
                | "Food for purchase"
                | "Food and beverage for purchase"
                | "Hot meal"
                | "Lunch"
                | "No meal service"
                | "Refreshment"
                | "Refreshment for purchase"
                | "Snack";
            };
            MealDescriptionEnum: | "Meal"
            | "Alcoholic beverages for purchase"
            | "Breakfast"
            | "Cold meal"
            | "Complimentary alcoholic beverages"
            | "Continental breakfast"
            | "Dinner"
            | "Food for purchase"
            | "Food and beverage for purchase"
            | "Hot meal"
            | "Lunch"
            | "No meal service"
            | "Refreshment"
            | "Refreshment for purchase"
            | "Snack";
            MiscellaneousServiceFee: {
                currencyCode?: string;
                customerReference?: string;
                description?: string;
                overrideAmount?: string;
            };
            ModifyBookingRequest: {
                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?: 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 };
                            }
                        )[];
                    };
                    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: | "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;
                                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;
                                residenceDestinationAddress?: {
                                    city?: string;
                                    countryCode?: string;
                                    postalCode?: string;
                                    stateProvince?: string;
                                    street?: string;
                                };
                                surname?: string;
                            } & { flights?: { itemId: string }[] }
                        )[];
                        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?: 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 };
                            }
                        )[];
                    };
                    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: | "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;
                                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;
                                residenceDestinationAddress?: {
                                    city?: string;
                                    countryCode?: string;
                                    postalCode?: string;
                                    stateProvince?: string;
                                    street?: string;
                                };
                                surname?: string;
                            } & { flights?: { itemId: string }[] }
                        )[];
                        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;
            };
            ModifyBookingResponse: {
                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?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            date?: string;
                            endAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            endDate?: string;
                            endLocationCode?: string;
                            endTime?: string;
                            locationCode?: string;
                            startAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            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?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            dropOffContactInfo?: { emails?: string[] } & {
                                emergencyPhones?: string[];
                                faxes?: string[];
                                phones?: string[];
                            };
                            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?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            pickUpContactInfo?: { emails?: string[] } & {
                                emergencyPhones?: string[];
                                faxes?: string[];
                                phones?: string[];
                            };
                            pickUpDate: string;
                            pickUpLocationCode?: string;
                            pickUpTime: string;
                            rateCode?: string;
                            refundPenalties?: {
                                applicableFromDate?: string;
                                applicableToDate?: string;
                                penalty: { amount: string; currencyCode: string };
                            }[];
                            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?: { amount: string; currencyCode: string };
                                isCheckInOnly?: boolean;
                                maximumSizeInCentimeters?: number;
                                maximumSizeInInches?: number;
                                maximumWeightInKilograms?: number;
                                maximumWeightInPounds?: number;
                                numberOfPieces: number;
                                specialItemDescription?: string;
                            }[];
                            maximumPieces?: number;
                            totalWeightInKilograms?: number;
                            totalWeightInPounds?: number;
                        };
                        cabinBaggageCharges?: {
                            fee?: { amount: string; currencyCode: string };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        checkedBaggageAllowance?: {
                            baggagePieces?: {
                                fee?: { amount: string; currencyCode: string };
                                isCheckInOnly?: boolean;
                                maximumSizeInCentimeters?: number;
                                maximumSizeInInches?: number;
                                maximumWeightInKilograms?: number;
                                maximumWeightInPounds?: number;
                                numberOfPieces: number;
                                specialItemDescription?: string;
                            }[];
                            maximumPieces?: number;
                            totalWeightInKilograms?: number;
                            totalWeightInPounds?: number;
                        };
                        checkedBaggageCharges?: {
                            fee?: { amount: string; currencyCode: string };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        flights?: { itemId: string }[];
                        travelerIndices?: number[];
                    }[];
                    fareRules?: {
                        destinationAirportCode?: string;
                        exchangePenalties?: {
                            applicability: "BEFORE_DEPARTURE"
                            | "AFTER_DEPARTURE";
                            conditionsApply: boolean;
                            penalty: { amount: string; currencyCode: string };
                        }[];
                        isChangeable?: boolean;
                        isRefundable?: boolean;
                        originAirportCode?: string;
                        owningAirlineCode: string;
                        passengerCode?: string;
                        refundPenalties?: {
                            applicability: "BEFORE_DEPARTURE"
                            | "AFTER_DEPARTURE";
                            conditionsApply: boolean;
                            penalty: { amount: string; currencyCode: string };
                        }[];
                    }[];
                    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: string; currencyCode: string };
                            brandAttributes?: { description?: string; itemId?: string }[];
                            brandFareCode?: string;
                            brandFareName?: string;
                            brandProgramCode?: string;
                            brandProgramName?: string;
                            checkedBaggageAllowance?: {
                                baggagePieces?: {
                                    fee?: { amount: ...; currencyCode: ... };
                                    isCheckInOnly?: boolean;
                                    maximumSizeInCentimeters?: number;
                                    maximumSizeInInches?: number;
                                    maximumWeightInKilograms?: number;
                                    maximumWeightInPounds?: number;
                                    numberOfPieces: number;
                                    specialItemDescription?: string;
                                }[];
                                maximumPieces?: number;
                                totalWeightInKilograms?: number;
                                totalWeightInPounds?: number;
                            };
                            fareBasisCode?: string;
                            flightIndices?: number[];
                            flights?: { itemId: string }[];
                            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: string; currencyCode: string };
                            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?: string;
                                aircraftTypeName?: string;
                                airportCode?: string;
                                arrivalDate?: string;
                                arrivalTime?: string;
                                departureDate?: string;
                                departureTime?: string;
                                durationInMinutes?: number;
                            }[];
                            identityDocuments?: {
                                itemId?: string;
                                status?: | "Unknown"
                                | "Confirmed"
                                | "On Request"
                                | "Pending"
                                | "Cancelled"
                                | "Unconfirmed"
                                | "Waitlisted"
                                | "Infant/No Seat"
                                | "Priority Waitlist"
                                | "Quote"
                                | "Space Available"
                                | "Pending Quote"
                                | "No Seat"
                                | "Standby";
                            }[];
                            isPast?: boolean;
                            meals?: {
                                code: string;
                                description: | "Meal"
                                | "Alcoholic beverages for purchase"
                                | "Breakfast"
                                | "Cold meal"
                                | "Complimentary alcoholic beverages"
                                | "Continental breakfast"
                                | "Dinner"
                                | "Food for purchase"
                                | "Food and beverage for purchase"
                                | "Hot meal"
                                | "Lunch"
                                | "No meal service"
                                | "Refreshment"
                                | "Refreshment for purchase"
                                | "Snack";
                            }[];
                            numberOfSeats?: number;
                            operatingAirlineCode?: string;
                            operatingAirlineName?: string;
                            operatingFlightNumber?: number;
                            seats?: {
                                characteristics?: string[];
                                number: 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";
                            }[];
                            sourceType?: "NDC"
                            | "LCC"
                            | "ATPCO";
                            toAirportCode: string;
                            travelerIndices?: number[];
                            updatedArrivalDate?: string;
                            updatedArrivalTime?: string;
                            updatedDepartureDate?: string;
                            updatedDepartureTime?: string;
                        }
                    )[];
                    flightTickets?: {
                        agencyIataNumber?: string;
                        airlineCode: string;
                        allCoupons?: (
                            {
                                couponStatus: | "Airport Control"
                                | "Lifted"
                                | "Checked In"
                                | "Exchanged"
                                | "Flown"
                                | "Not Flown"
                                | "Refunded"
                                | "Voided"
                                | "Printed"
                                | "Okay"
                                | "Reactivated"
                                | "Irregular Operations"
                                | "Print Exchange"
                                | "Paper Ticket"
                                | "Suspended"
                                | "Locked";
                                couponStatusCode: | "AL"
                                | "PE"
                                | "XX"
                                | "S"
                                | "P"
                                | "B"
                                | "E"
                                | "BD"
                                | "CK"
                                | "I"
                                | "RF"
                                | "V"
                                | "PR"
                                | "IO"
                                | "T";
                            } & { itemId?: string }
                        )[];
                        commission?: {
                            commissionAmount?: string;
                            commissionPercentage?: string;
                            currencyCode?: string;
                        };
                        date: string;
                        flightCoupons: (
                            { itemId: string } & {
                                couponStatus:
                                    | "Airport Control"
                                    | "Lifted"
                                    | "Checked In"
                                    | "Exchanged"
                                    | "Flown"
                                    | "Not Flown"
                                    | "Refunded"
                                    | "Voided"
                                    | "Printed"
                                    | "Okay"
                                    | "Reactivated"
                                    | "Irregular Operations"
                                    | "Print Exchange"
                                    | "Paper Ticket"
                                    | "Suspended"
                                    | "Locked";
                                couponStatusCode: | "AL"
                                | "PE"
                                | "XX"
                                | "S"
                                | "P"
                                | "B"
                                | "E"
                                | "BD"
                                | "CK"
                                | "I"
                                | "RF"
                                | "V"
                                | "PR"
                                | "IO"
                                | "T";
                            }
                        )[];
                        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?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string } & { cityCode?: string };
                            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?: string[] } & {
                                emergencyPhones?: string[];
                                faxes?: string[];
                                phones?: string[];
                            };
                            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?: string;
                                applicableToDate?: string;
                                penalty: { amount: string; currencyCode: string };
                            }[];
                            refundPenaltyPolicyCode?: string;
                            room?: {
                                agencyCommission?: {
                                    commissionAmount?: string;
                                    commissionPercentage?: string;
                                    currencyCode?: string;
                                };
                                description?: string;
                                productCode?: string;
                                quantity: number;
                                roomRate?: { amount: string; currencyCode: string };
                                roomType: string;
                                roomTypeCode?: string;
                                travelerIndices?: number[];
                            };
                            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?: {
                                    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 };
                            }
                        )[];
                        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?: "Unknown" | "Single" | "Multiple";
                            flights?: { itemId: string }[];
                            isCommissionable?: boolean;
                            isRefundable?: boolean;
                            itemId?: string;
                            numberOfItems?: number;
                            reasonForIssuanceCode?: string;
                            reasonForIssuanceName?:
                                | "UNKNOWN"
                                | "AIR_TRANSPORTATION"
                                | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                                | "BAGGAGE"
                                | "FINANCIAL_IMPACT"
                                | "AIRPORT_SERVICES"
                                | "MERCHANDISE"
                                | "INFLIGHT_SERVICES"
                                | "INDIVIDUAL_AIRLINE_USE";
                            source?: "ATPCO"
                            | "MERCHANDISING_MANAGER";
                            statusCode?: string;
                            statusName?:
                                | "Confirmed"
                                | "Confirmed with EMD issued"
                                | "On Request"
                                | "Pending"
                                | "Cancelled"
                                | "Unconfirmed"
                                | "Confirmed with pending payment"
                                | "Schedule change";
                            subcode?: string;
                            totals?: {
                                currencyCode: string;
                                fees?: string;
                                subtotal?: string;
                                taxes?: string;
                                total: string;
                            };
                            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?: "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;
                            itemId?: string;
                            middleName?: string;
                            placeOfBirth?: string;
                            placeOfIssue?: string;
                            residenceCountryCode?: string;
                            residenceDestinationAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            };
                            surname?: string;
                        }[];
                        isGrouped?: boolean;
                        loyaltyPrograms?: {
                            programNumber: string;
                            programType?: | "FREQUENT_FLYER"
                            | "FREQUENT_RENTER"
                            | "LOYALTY_ID"
                            | "CORPORATE_LOYALTY_ID";
                            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?:
                                | "INVOICE"
                                | "ITINERARY"
                                | "GENERAL"
                                | "HISTORICAL"
                                | "CLIENT_ADDRESS"
                                | "ALPHA_CODED"
                                | "DELIVERY_ADDRESS"
                                | "HIDDEN"
                                | "CORPORATE"
                                | "FORM_OF_PAYMENT"
                                | "PRINT_ON_TICKET"
                                | "FILLER_STRIP"
                                | "INTERFACE"
                                | "QUEUE_PLACE";
                        }[];
                        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: 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?: 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 };
                                }
                            )[];
                        };
                        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: | "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;
                                    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;
                                    residenceDestinationAddress?: {
                                        city?: string;
                                        countryCode?: string;
                                        postalCode?: string;
                                        stateProvince?: string;
                                        street?: string;
                                    };
                                    surname?: string;
                                } & { flights?: { itemId: ... }[] }
                            )[];
                            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?: 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 };
                                }
                            )[];
                        };
                        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: | "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;
                                    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;
                                    residenceDestinationAddress?: {
                                        city?: string;
                                        countryCode?: string;
                                        postalCode?: string;
                                        stateProvince?: string;
                                        street?: string;
                                    };
                                    surname?: string;
                                } & { flights?: { itemId: ... }[] }
                            )[];
                            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;
                };
                timestamp?: string;
            };
            ModifyIdentityDocument: {
                birthDate?: string;
                documentNumber?: string;
                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;
                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;
                residenceDestinationAddress?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                };
                surname?: string;
            } & { flights?: { itemId: string }[] };
            NetRemit: {
                cashValue?: { amount: string; currencyCode: string };
                commercialAgreementReferenceCode?: string;
                creditValue?: { amount: string; currencyCode: string };
                netRemitCode?: string;
            };
            NonElectronicTicket: {
                date?: string;
                ticketingPcc?: string;
                ticketingUserCode?: string;
                ticketNumber?: string;
                ticketStatus?: "Unknown"
                | "Active"
                | "Inactive";
                time?: string;
                travelerIndex?: number;
            };
            NonElectronicTicketStatusEnum: "Unknown"
            | "Active"
            | "Inactive";
            NonShowPenalty: {
                penalty?: { amount: string; currencyCode: string };
                source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
            };
            Notification: {
                email?: | "DEFAULT"
                | "INVOICE"
                | "ETICKET"
                | "ETICKET_PDF"
                | "ITINERARY"
                | "ITINERARY_PDF";
                queuePlacement?: {
                    futureQueuePlacementDate?: string;
                    pcc?: string;
                    prefatoryInstructionCode: number;
                    queueName?: string;
                    queueNumber?: number;
                }[];
            };
            NotificationEmailEnum: | "DEFAULT"
            | "INVOICE"
            | "ETICKET"
            | "ETICKET_PDF"
            | "ITINERARY"
            | "ITINERARY_PDF";
            OtherServiceInformation: {
                airlineCode?: string;
                chainCode?: string;
                serviceMessage?: string;
                travelerIndex?: number;
                vendorCode?: string;
            };
            OverrideTax: {
                airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
                taxAmount?: string;
                taxCode?: string;
            };
            PassengerPricing: {
                forcePassengerCode?: boolean;
                numberOfpassengers?: number;
                passengerCode?: string;
            };
            PassengerStatusEnum: "RESIDENT"
            | "NATIONALITY"
            | "EMPLOYEE";
            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 };
                    }
                )[];
            };
            PaymentMethod: {
                amountOnSecondFormOfPayment?: string;
                primaryFormOfPayment: number;
                secondaryFormOfPayment?: number;
            };
            PaymentToModify: {
                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 };
                    }
                )[];
            };
            PenaltyItem: {
                applicability: "BEFORE_DEPARTURE"
                | "AFTER_DEPARTURE";
                conditionsApply: boolean;
                penalty: { amount: string; currencyCode: string };
            } & {
                hasNoShowCost?: boolean;
                noShowPenalty?: {
                    penalty?: { amount: string; currencyCode: string };
                    source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                };
                source?: "Unknown"
                | "Category 33"
                | "Category 31"
                | "Category 16";
            };
            PenaltyRestriction: {
                applicability?: "BEFORE_DEPARTURE"
                | "AFTER_DEPARTURE";
                penaltyAmount?: { amount?: string };
                restrictionType:
                    | "CHANGEABLE"
                    | "REFUNDABLE"
                    | "CHANGEABLE_AND_REFUNDABLE";
            };
            PenaltyRestrictionAmount: { amount?: string };
            PenaltySourceEnum:
                | "Unknown"
                | "Category 33"
                | "Category 31"
                | "Category 16";
            Phone: { label?: string; number: string };
            PriceComparison: {
                amount?: string;
                comparisonType:
                    | "INCREASE_BY_AMOUNT"
                    | "INCREASE_BY_PERCENT"
                    | "DECREASE_BY_AMOUNT"
                    | "DECREASE_BY_PERCENT";
                desiredAmount: string;
                percent?: string;
            };
            PriceQuoteHandlingMethodEnum: "Reprice"
            | "Override"
            | "Quit";
            PricingDetails: {
                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: string[]; forceAccountCodes?: boolean };
                    adjustedSellingLevel?: {
                        ignore?: boolean;
                        markDownAmount?: string;
                        markUpAmount?: string;
                        returnBreakdown?: boolean;
                    };
                    baggageAllowance?: {
                        baggagePieces?: number;
                        flightIndices?: number[];
                        totalWeightInKilograms?: number;
                    }[];
                    brandedFares?: { brandCode: string; flightIndices?: number[] }[];
                    breakFareFlightIndices?: number[];
                    cabinCode?: string;
                    commissionContractNames?: string[];
                    considerMultiTicket?: boolean;
                    corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                    currencyPricing?: string;
                    exchangePenalties?: {
                        applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                        penaltyAmount?: { amount?: string };
                        restrictionType:
                            | "CHANGEABLE"
                            | "REFUNDABLE"
                            | "CHANGEABLE_AND_REFUNDABLE";
                    };
                    excludeBasicEconomyFares?: string[];
                    exemptTaxes?: string[];
                    flightIndices?: number[];
                    forceConnectionFlightIndices?: number[];
                    forceStopoverFlightIndices?: number[];
                    hemisphereCode?: number;
                    journeyCode?: number;
                    netRemit?: {
                        cashValue?: { amount: string; currencyCode: string };
                        commercialAgreementReferenceCode?: string;
                        creditValue?: { amount: string; currencyCode: string };
                        netRemitCode?: string;
                    };
                    overrideTaxes?: { amount: string; taxCode: string }[];
                    passengersPricing?: {
                        forcePassengerCode?: boolean;
                        numberOfpassengers?: number;
                        passengerCode?: string;
                    }[];
                    passengerStatus?: "RESIDENT"
                    | "NATIONALITY"
                    | "EMPLOYEE";
                    passengerStatusCountryCode?: string;
                    payment?: {
                        amountOnSecondFormOfPayment?: string;
                        primaryFormOfPayment: number;
                        secondaryFormOfPayment?: number;
                    };
                    priceWithTaxes: boolean;
                    rebookLowestFares?: boolean;
                    retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                    settlementMethod?: string;
                    sideTripFlightIndices?: number[];
                    spanishIslandResidentDiscountCode?: string;
                    spanishLargeFamilyDiscountLevel?: number;
                    specificFares?: { fareBasisCode: string; flightIndices?: number[] }[];
                    useExcursionFare?: boolean;
                    useNetFare?: boolean;
                    usePrivateFare?: boolean;
                    usePublicFare?: boolean;
                    useRoundTheWorldFare?: boolean;
                };
            };
            PricingQualifiers: {
                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: string[]; forceAccountCodes?: boolean };
                adjustedSellingLevel?: {
                    ignore?: boolean;
                    markDownAmount?: string;
                    markUpAmount?: string;
                    returnBreakdown?: boolean;
                };
                baggageAllowance?: {
                    baggagePieces?: number;
                    flightIndices?: number[];
                    totalWeightInKilograms?: number;
                }[];
                brandedFares?: { brandCode: string; flightIndices?: number[] }[];
                breakFareFlightIndices?: number[];
                cabinCode?: string;
                commissionContractNames?: string[];
                considerMultiTicket?: boolean;
                corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                currencyPricing?: string;
                exchangePenalties?: {
                    applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                    penaltyAmount?: { amount?: string };
                    restrictionType:
                        | "CHANGEABLE"
                        | "REFUNDABLE"
                        | "CHANGEABLE_AND_REFUNDABLE";
                };
                excludeBasicEconomyFares?: string[];
                exemptTaxes?: string[];
                flightIndices?: number[];
                forceConnectionFlightIndices?: number[];
                forceStopoverFlightIndices?: number[];
                hemisphereCode?: number;
                journeyCode?: number;
                netRemit?: {
                    cashValue?: { amount: string; currencyCode: string };
                    commercialAgreementReferenceCode?: string;
                    creditValue?: { amount: string; currencyCode: string };
                    netRemitCode?: string;
                };
                overrideTaxes?: { amount: string; taxCode: string }[];
                passengersPricing?: {
                    forcePassengerCode?: boolean;
                    numberOfpassengers?: number;
                    passengerCode?: string;
                }[];
                passengerStatus?: "RESIDENT"
                | "NATIONALITY"
                | "EMPLOYEE";
                passengerStatusCountryCode?: string;
                payment?: {
                    amountOnSecondFormOfPayment?: string;
                    primaryFormOfPayment: number;
                    secondaryFormOfPayment?: number;
                };
                priceWithTaxes: boolean;
                rebookLowestFares?: boolean;
                retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                settlementMethod?: string;
                sideTripFlightIndices?: number[];
                spanishIslandResidentDiscountCode?: string;
                spanishLargeFamilyDiscountLevel?: number;
                specificFares?: { fareBasisCode: string; flightIndices?: number[] }[];
                useExcursionFare?: boolean;
                useNetFare?: boolean;
                usePrivateFare?: boolean;
                usePublicFare?: boolean;
                useRoundTheWorldFare?: boolean;
            };
            PricingStatusCodeEnum: "A"
            | "H";
            PricingStatusNameEnum: "Active" | "History";
            PricingTypeCodeEnum: "S" | "A" | "M";
            PricingTypeNameEnum: "Unknown" | "System" | "Amended" | "Manual";
            PrinterAddress: {
                hardcopy?: { address?: string; spacing?: string };
                invoiceItinerary?: string;
                profileNumber?: number;
                ticket?: { address?: string; countryCode?: string };
            };
            Profile: {
                domainId: string;
                filterId?: string;
                profileName?: string;
                profileTypeCode: string;
                uniqueId?: string;
            };
            ProgramTypeEnum: | "FREQUENT_FLYER"
            | "FREQUENT_RENTER"
            | "LOYALTY_ID"
            | "CORPORATE_LOYALTY_ID";
            Queue: {
                futureQueuePlacementDate?: string;
                pcc?: string;
                prefatoryInstructionCode: number;
                queueName?: string;
                queueNumber?: number;
            };
            ReasonForIssuanceEnum: | "UNKNOWN"
            | "AIR_TRANSPORTATION"
            | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
            | "BAGGAGE"
            | "FINANCIAL_IMPACT"
            | "AIRPORT_SERVICES"
            | "MERCHANDISE"
            | "INFLIGHT_SERVICES"
            | "INDIVIDUAL_AIRLINE_USE";
            RefundFlightTicket: {
                number?: string;
                refundQualifiers?: {
                    commissionAmount?: string;
                    commissionOnPenalty?: string;
                    commissionPercentage?: string;
                    journeyTypeCode?: "F"
                    | "M"
                    | "B";
                    overrideCancelFee?: string;
                    overrideTaxes?: {
                        airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
                        taxAmount?: string;
                        taxCode?: string;
                    }[];
                    splitRefundAmounts?: { amount?: string }[];
                    tourCode?: string;
                    waiverCode?: string;
                };
            };
            RefundQualifiers: {
                commissionAmount?: string;
                commissionOnPenalty?: string;
                commissionPercentage?: string;
                journeyTypeCode?: "F"
                | "M"
                | "B";
                overrideCancelFee?: string;
                overrideTaxes?: {
                    airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
                    taxAmount?: string;
                    taxCode?: string;
                }[];
                splitRefundAmounts?: { amount?: string }[];
                tourCode?: string;
                waiverCode?: string;
            };
            RefundTicketsRequest: {
                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?: string; taxAmount?: string }[];
                            taxAmount?: string;
                            taxCode?: string;
                        }[];
                        splitRefundAmounts?: { amount?: string }[];
                        tourCode?: string;
                        waiverCode?: string;
                    };
                }[];
            };
            RefundTicketsResponse: {
                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?: {
                                    airportCode?: string;
                                    taxAmount?: string;
                                }[];
                                taxAmount?: string;
                                taxCode?: string;
                            }[];
                            splitRefundAmounts?: { amount?: string }[];
                            tourCode?: string;
                            waiverCode?: string;
                        };
                    }[];
                };
                tickets?: {
                    exchangePenalties?: (
                        {
                            applicability: "BEFORE_DEPARTURE"
                            | "AFTER_DEPARTURE";
                            conditionsApply: boolean;
                            penalty: { amount: string; currencyCode: string };
                        } & {
                            hasNoShowCost?: boolean;
                            noShowPenalty?: {
                                penalty?: { amount: string; currencyCode: string };
                                source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                            };
                            source?: "Unknown"
                            | "Category 33"
                            | "Category 31"
                            | "Category 16";
                        }
                    )[];
                    isAutomatedRefundsEligible?: boolean;
                    isChangeable?: boolean;
                    isRefundable?: boolean;
                    isVoidable?: boolean;
                    number?: string;
                    refundPenalties?: (
                        {
                            applicability: "BEFORE_DEPARTURE"
                            | "AFTER_DEPARTURE";
                            conditionsApply: boolean;
                            penalty: { amount: string; currencyCode: string };
                        } & {
                            hasNoShowCost?: boolean;
                            noShowPenalty?: {
                                penalty?: { amount: string; currencyCode: string };
                                source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                            };
                            source?: "Unknown"
                            | "Category 33"
                            | "Category 31"
                            | "Category 16";
                        }
                    )[];
                    refundTaxes?: { amount: string; taxCode: string }[];
                    refundTotals?: {
                        currencyCode: string;
                        fees?: string;
                        subtotal?: string;
                        taxes?: string;
                        total: string;
                    };
                }[];
                timestamp?: string;
            };
            Remark: {
                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";
            };
            RemarkTypeEnum: | "INVOICE"
            | "ITINERARY"
            | "GENERAL"
            | "HISTORICAL"
            | "CLIENT_ADDRESS"
            | "ALPHA_CODED"
            | "DELIVERY_ADDRESS"
            | "HIDDEN"
            | "CORPORATE"
            | "FORM_OF_PAYMENT"
            | "PRINT_ON_TICKET"
            | "FILLER_STRIP"
            | "INTERFACE"
            | "QUEUE_PLACE";
            RetailerRule: { forceQualifiers?: boolean; qualifiers: string[] };
            ReturnOnlyEnum:
                | "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";
            Room: {
                agencyCommission?: {
                    commissionAmount?: string;
                    commissionPercentage?: string;
                    currencyCode?: string;
                };
                description?: string;
                productCode?: string;
                quantity: number;
                roomRate?: { amount: string; currencyCode: string };
                roomType: string;
                roomTypeCode?: string;
                travelerIndices?: number[];
            };
            RoomExtra: { amount?: string; quantity: number; roomExtraType: number };
            RoomToBook: {
                bedTypeCode?: number;
                isSmoking: boolean;
                physicalDisabilityCode?: number;
                roomExtras?: { amount?: string; quantity: number; roomExtraType: number }[];
                travelerIndices?: number[];
            };
            RoomToModify: { productCode?: string; travelerIndices: number[] };
            Seat: {
                characteristics?: string[];
                number: 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";
            };
            SeatAreaPreferenceEnum: | "AISLE"
            | "BULKHEAD"
            | "FRONT"
            | "LEFT_SIDE"
            | "RIGHT_SIDE"
            | "TAIL"
            | "WINDOW";
            SeatToModify: { number: string; offerItemId?: string };
            Segment: { id?: string; sequence?: number };
            SegmentBasicAttributes: {
                address?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string };
                date?: string;
                endAddress?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string };
                endDate?: string;
                endLocationCode?: string;
                endTime?: string;
                locationCode?: string;
                startAddress?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string };
                startDate?: string;
                startLocationCode?: string;
                startTime?: string;
                text?: string;
                time?: string;
                type: string;
                vendorCode?: string;
            };
            SegmentBasics: { id: string } & {
                address?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string };
                date?: string;
                endAddress?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string };
                endDate?: string;
                endLocationCode?: string;
                endTime?: string;
                locationCode?: string;
                startAddress?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string };
                startDate?: string;
                startLocationCode?: string;
                startTime?: string;
                text?: string;
                time?: string;
                type: string;
                vendorCode?: string;
            };
            SegmentReference: { id: string };
            SpecialService: {
                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[];
            };
            SpecialServiceToModify: {
                code: string;
                flights?: { itemId: string }[];
                message?: string;
                travelerIndices?: number[];
            };
            SpecificFare: { fareBasisCode: string; flightIndices?: number[] };
            SplitRefundAmount: { amount?: string };
            StatusNameEnum:
                | "Unknown"
                | "Confirmed"
                | "On Request"
                | "Pending"
                | "Cancelled"
                | "Unconfirmed"
                | "Waitlisted"
                | "Infant/No Seat"
                | "Priority Waitlist"
                | "Quote"
                | "Space Available"
                | "Pending Quote"
                | "No Seat"
                | "Standby";
            StrongCustomerAuthentication: {
                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;
            };
            TariffBasisTypeEnum: "Domestic"
            | "Foreign"
            | "International";
            Tax: { amount: string; taxCode: string };
            TaxComponent: {
                taxAmount?: { amount: string; currencyCode: string };
                taxCode?: string;
            };
            Ticket: {
                exchangePenalties?: (
                    {
                        applicability: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        conditionsApply: boolean;
                        penalty: { amount: string; currencyCode: string };
                    } & {
                        hasNoShowCost?: boolean;
                        noShowPenalty?: {
                            penalty?: { amount: string; currencyCode: string };
                            source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                        };
                        source?: "Unknown"
                        | "Category 33"
                        | "Category 31"
                        | "Category 16";
                    }
                )[];
                isAutomatedRefundsEligible?: boolean;
                isChangeable?: boolean;
                isRefundable?: boolean;
                isVoidable?: boolean;
                number?: string;
                refundPenalties?: (
                    {
                        applicability: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        conditionsApply: boolean;
                        penalty: { amount: string; currencyCode: string };
                    } & {
                        hasNoShowCost?: boolean;
                        noShowPenalty?: {
                            penalty?: { amount: string; currencyCode: string };
                            source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                        };
                        source?: "Unknown"
                        | "Category 33"
                        | "Category 31"
                        | "Category 16";
                    }
                )[];
                refundTaxes?: { amount: string; taxCode: string }[];
                refundTotals?: {
                    currencyCode: string;
                    fees?: string;
                    subtotal?: string;
                    taxes?: string;
                    total: string;
                };
            };
            TicketCoupon: {
                couponStatus: | "Airport Control"
                | "Lifted"
                | "Checked In"
                | "Exchanged"
                | "Flown"
                | "Not Flown"
                | "Refunded"
                | "Voided"
                | "Printed"
                | "Okay"
                | "Reactivated"
                | "Irregular Operations"
                | "Print Exchange"
                | "Paper Ticket"
                | "Suspended"
                | "Locked";
                couponStatusCode: | "AL"
                | "PE"
                | "XX"
                | "S"
                | "P"
                | "B"
                | "E"
                | "BD"
                | "CK"
                | "I"
                | "RF"
                | "V"
                | "PR"
                | "IO"
                | "T";
            } & { itemId?: string };
            TicketingPolicyEnum:
                | "TODAY"
                | "ALREADY_TICKETED"
                | "FUTURE_TICKETING"
                | "TICKETING_TIME_LIMIT";
            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;
            };
            TicketingTimeLimitPolicy: {
                airlineCode?: string;
                ticketingDate?: string;
                ticketingTime?: string;
            };
            TicketPenalty: {
                applicability?: "BEFORE_DEPARTURE"
                | "AFTER_DEPARTURE";
                isChangeable?: boolean;
                maximumPenalty?: { amount: string; currencyCode: string };
                type: "Changeable" | "Either or" | "Refundable";
            };
            TicketPenaltyTypeEnum: "Changeable"
            | "Either or"
            | "Refundable";
            TicketPrinter: { address?: string; countryCode?: string };
            TicketStatusEnum: "Voided" | "Issued" | "Refunded/Exchanged";
            TotalPayments: {
                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?: {
                            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 };
                    }
                )[];
                hotelTotals?: {
                    currencyCode: string;
                    fees?: string;
                    subtotal?: string;
                    taxes?: string;
                    total: string;
                }[];
                trainTotals?: {
                    currencyCode: string;
                    fees?: string;
                    subtotal?: string;
                    taxes?: string;
                    total: string;
                }[];
            };
            TotalValues: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            };
            TourCodeOverridesOptionEnum: | "REPLACE_WITH_BT"
            | "REPLACE_WITH_IT"
            | "SUPPRESS_IT"
            | "SUPPRESS_IT_AND_FARE";
            Train: { 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;
            };
            TrainItem: {
                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;
            };
            TrainReference: { itemId: string };
            Traveler: {
                address?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string };
                ancillaries?: {
                    airlineCode?: string;
                    commercialName?: string;
                    electronicMiscellaneousDocumentNumber?: string;
                    flightApplicabilityType?: "Unknown" | "Single" | "Multiple";
                    flights?: { itemId: string }[];
                    isCommissionable?: boolean;
                    isRefundable?: boolean;
                    itemId?: string;
                    numberOfItems?: number;
                    reasonForIssuanceCode?: string;
                    reasonForIssuanceName?:
                        | "UNKNOWN"
                        | "AIR_TRANSPORTATION"
                        | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                        | "BAGGAGE"
                        | "FINANCIAL_IMPACT"
                        | "AIRPORT_SERVICES"
                        | "MERCHANDISE"
                        | "INFLIGHT_SERVICES"
                        | "INDIVIDUAL_AIRLINE_USE";
                    source?: "ATPCO"
                    | "MERCHANDISING_MANAGER";
                    statusCode?: string;
                    statusName?:
                        | "Confirmed"
                        | "Confirmed with EMD issued"
                        | "On Request"
                        | "Pending"
                        | "Cancelled"
                        | "Unconfirmed"
                        | "Confirmed with pending payment"
                        | "Schedule change";
                    subcode?: string;
                    totals?: {
                        currencyCode: string;
                        fees?: string;
                        subtotal?: string;
                        taxes?: string;
                        total: string;
                    };
                    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?: "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;
                    itemId?: string;
                    middleName?: string;
                    placeOfBirth?: string;
                    placeOfIssue?: string;
                    residenceCountryCode?: string;
                    residenceDestinationAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    };
                    surname?: string;
                }[];
                isGrouped?: boolean;
                loyaltyPrograms?: {
                    programNumber: string;
                    programType?: | "FREQUENT_FLYER"
                    | "FREQUENT_RENTER"
                    | "LOYALTY_ID"
                    | "CORPORATE_LOYALTY_ID";
                    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?:
                        | "INVOICE"
                        | "ITINERARY"
                        | "GENERAL"
                        | "HISTORICAL"
                        | "CLIENT_ADDRESS"
                        | "ALPHA_CODED"
                        | "DELIVERY_ADDRESS"
                        | "HIDDEN"
                        | "CORPORATE"
                        | "FORM_OF_PAYMENT"
                        | "PRINT_ON_TICKET"
                        | "FILLER_STRIP"
                        | "INTERFACE"
                        | "QUEUE_PLACE";
                }[];
                surname: string;
                type?: | "ADULT"
                | "AGENT"
                | "AIRLINE"
                | "CHILD"
                | "EDUCATION"
                | "GOVERNMENT"
                | "GROUP"
                | "INFANT"
                | "MILITARY"
                | "SENIOR"
                | "SPECIAL"
                | "YOUTH";
            };
            TravelerName: { givenName: string; middleName?: string; surname: string };
            TravelersGroup: {
                itemId?: string;
                name?: string;
                numberOfTravelers?: number;
                numberOfTravelersRemaining?: number;
            };
            TravelerToModify: {
                birthDate?: string;
                emails?: string[];
                givenName?: string;
                identityDocuments?: (
                    {
                        birthDate?: string;
                        documentNumber?: string;
                        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;
                        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;
                        residenceDestinationAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        };
                        surname?: string;
                    } & { flights?: { itemId: string }[] }
                )[];
                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;
            };
            TravelerTypeEnum: | "ADULT"
            | "AGENT"
            | "AIRLINE"
            | "CHILD"
            | "EDUCATION"
            | "GOVERNMENT"
            | "GROUP"
            | "INFANT"
            | "MILITARY"
            | "SENIOR"
            | "SPECIAL"
            | "YOUTH";
            ValidityPeriod: {
                endDate?: string;
                flights?: { itemId: string }[];
                startDate?: string;
            };
            Value: { amount: string; currencyCode: string };
            VehicleTypeNameEnum:
                | "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";
            VirtualCard: {
                agencyEmail?: string;
                customerAccountCode?: string;
                hotelFax?: string;
                hotelName?: string;
                rateAmount?: { amount: string; currencyCode: string };
                roomDescription?: string;
                roomType?: string;
                virtualCardCharges?: string[];
            };
            VoidTicketsRequest: {
                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[];
            };
            VoidTicketsResponse: {
                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[];
            };
            Voucher: { billingNumber?: string; type?: string };
        };
    }
    Index

    Properties

    headers: never
    parameters: never
    pathItems: never
    requestBodies: never
    responses: never
    schemas: {
        AccountCode: { accountCodes: string[]; forceAccountCodes?: boolean };
        AccountingFormOfPaymentTypeEnum:
            | "Unknown"
            | "Cash"
            | "Check"
            | "Check or Cash"
            | "Payment Card"
            | "Masked Payment Card";
        AccountingItem: {
            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[];
        };
        AccountingItemCreationTypeEnum: "Refund"
        | "Exchange"
        | "First Issuance";
        Address: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        };
        AdjustedSellingLevel: {
            ignore?: boolean;
            markDownAmount?: string;
            markUpAmount?: string;
            returnBreakdown?: boolean;
        };
        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;
            };
        };
        AirportTaxBreakdown: { airportCode?: string; taxAmount?: string };
        Ancillary: {
            airlineCode?: string;
            commercialName?: string;
            electronicMiscellaneousDocumentNumber?: string;
            flightApplicabilityType?: "Unknown" | "Single" | "Multiple";
            flights?: { itemId: string }[];
            isCommissionable?: boolean;
            isRefundable?: boolean;
            itemId?: string;
            numberOfItems?: number;
            reasonForIssuanceCode?: string;
            reasonForIssuanceName?:
                | "UNKNOWN"
                | "AIR_TRANSPORTATION"
                | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                | "BAGGAGE"
                | "FINANCIAL_IMPACT"
                | "AIRPORT_SERVICES"
                | "MERCHANDISE"
                | "INFLIGHT_SERVICES"
                | "INDIVIDUAL_AIRLINE_USE";
            source?: "ATPCO"
            | "MERCHANDISING_MANAGER";
            statusCode?: string;
            statusName?:
                | "Confirmed"
                | "Confirmed with EMD issued"
                | "On Request"
                | "Pending"
                | "Cancelled"
                | "Unconfirmed"
                | "Confirmed with pending payment"
                | "Schedule change";
            subcode?: string;
            totals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            };
            vendorCode?: string;
        };
        AncillarySourceEnum: "ATPCO"
        | "MERCHANDISING_MANAGER";
        AncillaryStatusNameEnum:
            | "Confirmed"
            | "Confirmed with EMD issued"
            | "On Request"
            | "Pending"
            | "Cancelled"
            | "Unconfirmed"
            | "Confirmed with pending payment"
            | "Schedule change";
        AssociatedFlightDetails: {
            arrivalAirlineCode?: string;
            arrivalFlightNumber?: number;
            arrivalTime?: string;
            departureAirlineCode?: string;
            departureFlightNumber?: number;
            departureTime?: string;
        };
        BaggageAllowance: {
            baggagePieces?: {
                fee?: { amount: string; currencyCode: string };
                isCheckInOnly?: boolean;
                maximumSizeInCentimeters?: number;
                maximumSizeInInches?: number;
                maximumWeightInKilograms?: number;
                maximumWeightInPounds?: number;
                numberOfPieces: number;
                specialItemDescription?: string;
            }[];
            maximumPieces?: number;
            totalWeightInKilograms?: number;
            totalWeightInPounds?: number;
        };
        BaggagePolicy: {
            fee?: { amount: string; currencyCode: string };
            isCheckInOnly?: boolean;
            maximumSizeInCentimeters?: number;
            maximumSizeInInches?: number;
            maximumWeightInKilograms?: number;
            maximumWeightInPounds?: number;
            numberOfPieces: number;
            specialItemDescription?: string;
        };
        BasicFormOfPayment: {
            airlinePlanCode?: string;
            cardNumber?: string;
            cardSecurityCode?: string;
            cardTypeCode?: string;
            expiryDate?: string;
            extendedPayment?: number;
            installmentAmount?: string;
            miscellaneousCreditCode?: string;
            numberOfInstallments?: number;
        };
        BookAncillary: {
            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;
        };
        BookBaggageAllowance: {
            baggagePieces?: number;
            flightIndices?: number[];
            totalWeightInKilograms?: number;
        };
        BookIdentityDocument: {
            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;
        };
        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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    date?: string;
                    endAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    endDate?: string;
                    endLocationCode?: string;
                    endTime?: string;
                    locationCode?: string;
                    startAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    dropOffContactInfo?: { emails?: string[] } & {
                        emergencyPhones?: string[];
                        faxes?: string[];
                        phones?: string[];
                    };
                    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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    pickUpContactInfo?: { emails?: string[] } & {
                        emergencyPhones?: string[];
                        faxes?: string[];
                        phones?: string[];
                    };
                    pickUpDate: string;
                    pickUpLocationCode?: string;
                    pickUpTime: string;
                    rateCode?: string;
                    refundPenalties?: {
                        applicableFromDate?: string;
                        applicableToDate?: string;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                    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?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    maximumPieces?: number;
                    totalWeightInKilograms?: number;
                    totalWeightInPounds?: number;
                };
                cabinBaggageCharges?: {
                    fee?: { amount: string; currencyCode: string };
                    isCheckInOnly?: boolean;
                    maximumSizeInCentimeters?: number;
                    maximumSizeInInches?: number;
                    maximumWeightInKilograms?: number;
                    maximumWeightInPounds?: number;
                    numberOfPieces: number;
                    specialItemDescription?: string;
                }[];
                checkedBaggageAllowance?: {
                    baggagePieces?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    maximumPieces?: number;
                    totalWeightInKilograms?: number;
                    totalWeightInPounds?: number;
                };
                checkedBaggageCharges?: {
                    fee?: { amount: string; currencyCode: string };
                    isCheckInOnly?: boolean;
                    maximumSizeInCentimeters?: number;
                    maximumSizeInInches?: number;
                    maximumWeightInKilograms?: number;
                    maximumWeightInPounds?: number;
                    numberOfPieces: number;
                    specialItemDescription?: string;
                }[];
                flights?: { itemId: string }[];
                travelerIndices?: number[];
            }[];
            fareRules?: {
                destinationAirportCode?: string;
                exchangePenalties?: {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                }[];
                isChangeable?: boolean;
                isRefundable?: boolean;
                originAirportCode?: string;
                owningAirlineCode: string;
                passengerCode?: string;
                refundPenalties?: {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                }[];
            }[];
            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: string; currencyCode: string };
                    brandAttributes?: { description?: string; itemId?: string }[];
                    brandFareCode?: string;
                    brandFareName?: string;
                    brandProgramCode?: string;
                    brandProgramName?: string;
                    checkedBaggageAllowance?: {
                        baggagePieces?: {
                            fee?: { amount: string; currencyCode: string };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        maximumPieces?: number;
                        totalWeightInKilograms?: number;
                        totalWeightInPounds?: number;
                    };
                    fareBasisCode?: string;
                    flightIndices?: number[];
                    flights?: { itemId: string }[];
                    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: string; currencyCode: string };
                    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?: string;
                        aircraftTypeName?: string;
                        airportCode?: string;
                        arrivalDate?: string;
                        arrivalTime?: string;
                        departureDate?: string;
                        departureTime?: string;
                        durationInMinutes?: number;
                    }[];
                    identityDocuments?: {
                        itemId?: string;
                        status?: | "Unknown"
                        | "Confirmed"
                        | "On Request"
                        | "Pending"
                        | "Cancelled"
                        | "Unconfirmed"
                        | "Waitlisted"
                        | "Infant/No Seat"
                        | "Priority Waitlist"
                        | "Quote"
                        | "Space Available"
                        | "Pending Quote"
                        | "No Seat"
                        | "Standby";
                    }[];
                    isPast?: boolean;
                    meals?: {
                        code: string;
                        description: | "Meal"
                        | "Alcoholic beverages for purchase"
                        | "Breakfast"
                        | "Cold meal"
                        | "Complimentary alcoholic beverages"
                        | "Continental breakfast"
                        | "Dinner"
                        | "Food for purchase"
                        | "Food and beverage for purchase"
                        | "Hot meal"
                        | "Lunch"
                        | "No meal service"
                        | "Refreshment"
                        | "Refreshment for purchase"
                        | "Snack";
                    }[];
                    numberOfSeats?: number;
                    operatingAirlineCode?: string;
                    operatingAirlineName?: string;
                    operatingFlightNumber?: number;
                    seats?: {
                        characteristics?: string[];
                        number: 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";
                    }[];
                    sourceType?: "NDC"
                    | "LCC"
                    | "ATPCO";
                    toAirportCode: string;
                    travelerIndices?: number[];
                    updatedArrivalDate?: string;
                    updatedArrivalTime?: string;
                    updatedDepartureDate?: string;
                    updatedDepartureTime?: string;
                }
            )[];
            flightTickets?: {
                agencyIataNumber?: string;
                airlineCode: string;
                allCoupons?: (
                    {
                        couponStatus: | "Airport Control"
                        | "Lifted"
                        | "Checked In"
                        | "Exchanged"
                        | "Flown"
                        | "Not Flown"
                        | "Refunded"
                        | "Voided"
                        | "Printed"
                        | "Okay"
                        | "Reactivated"
                        | "Irregular Operations"
                        | "Print Exchange"
                        | "Paper Ticket"
                        | "Suspended"
                        | "Locked";
                        couponStatusCode: | "AL"
                        | "PE"
                        | "XX"
                        | "S"
                        | "P"
                        | "B"
                        | "E"
                        | "BD"
                        | "CK"
                        | "I"
                        | "RF"
                        | "V"
                        | "PR"
                        | "IO"
                        | "T";
                    } & { itemId?: string }
                )[];
                commission?: {
                    commissionAmount?: string;
                    commissionPercentage?: string;
                    currencyCode?: string;
                };
                date: string;
                flightCoupons: (
                    { itemId: string } & {
                        couponStatus:
                            | "Airport Control"
                            | "Lifted"
                            | "Checked In"
                            | "Exchanged"
                            | "Flown"
                            | "Not Flown"
                            | "Refunded"
                            | "Voided"
                            | "Printed"
                            | "Okay"
                            | "Reactivated"
                            | "Irregular Operations"
                            | "Print Exchange"
                            | "Paper Ticket"
                            | "Suspended"
                            | "Locked";
                        couponStatusCode: | "AL"
                        | "PE"
                        | "XX"
                        | "S"
                        | "P"
                        | "B"
                        | "E"
                        | "BD"
                        | "CK"
                        | "I"
                        | "RF"
                        | "V"
                        | "PR"
                        | "IO"
                        | "T";
                    }
                )[];
                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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string } & { cityCode?: string };
                    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?: string[] } & {
                        emergencyPhones?: string[];
                        faxes?: string[];
                        phones?: string[];
                    };
                    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?: string;
                        applicableToDate?: string;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                    refundPenaltyPolicyCode?: string;
                    room?: {
                        agencyCommission?: {
                            commissionAmount?: string;
                            commissionPercentage?: string;
                            currencyCode?: string;
                        };
                        description?: string;
                        productCode?: string;
                        quantity: number;
                        roomRate?: { amount: string; currencyCode: string };
                        roomType: string;
                        roomTypeCode?: string;
                        travelerIndices?: number[];
                    };
                    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?: {
                            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 };
                    }
                )[];
                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?: "Unknown" | "Single" | "Multiple";
                    flights?: { itemId: string }[];
                    isCommissionable?: boolean;
                    isRefundable?: boolean;
                    itemId?: string;
                    numberOfItems?: number;
                    reasonForIssuanceCode?: string;
                    reasonForIssuanceName?:
                        | "UNKNOWN"
                        | "AIR_TRANSPORTATION"
                        | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                        | "BAGGAGE"
                        | "FINANCIAL_IMPACT"
                        | "AIRPORT_SERVICES"
                        | "MERCHANDISE"
                        | "INFLIGHT_SERVICES"
                        | "INDIVIDUAL_AIRLINE_USE";
                    source?: "ATPCO"
                    | "MERCHANDISING_MANAGER";
                    statusCode?: string;
                    statusName?:
                        | "Confirmed"
                        | "Confirmed with EMD issued"
                        | "On Request"
                        | "Pending"
                        | "Cancelled"
                        | "Unconfirmed"
                        | "Confirmed with pending payment"
                        | "Schedule change";
                    subcode?: string;
                    totals?: {
                        currencyCode: string;
                        fees?: string;
                        subtotal?: string;
                        taxes?: string;
                        total: string;
                    };
                    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?: "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;
                    itemId?: string;
                    middleName?: string;
                    placeOfBirth?: string;
                    placeOfIssue?: string;
                    residenceCountryCode?: string;
                    residenceDestinationAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    };
                    surname?: string;
                }[];
                isGrouped?: boolean;
                loyaltyPrograms?: {
                    programNumber: string;
                    programType?: | "FREQUENT_FLYER"
                    | "FREQUENT_RENTER"
                    | "LOYALTY_ID"
                    | "CORPORATE_LOYALTY_ID";
                    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?:
                        | "INVOICE"
                        | "ITINERARY"
                        | "GENERAL"
                        | "HISTORICAL"
                        | "CLIENT_ADDRESS"
                        | "ALPHA_CODED"
                        | "DELIVERY_ADDRESS"
                        | "HIDDEN"
                        | "CORPORATE"
                        | "FORM_OF_PAYMENT"
                        | "PRINT_ON_TICKET"
                        | "FILLER_STRIP"
                        | "INTERFACE"
                        | "QUEUE_PLACE";
                }[];
                surname: string;
                type?: | "ADULT"
                | "AGENT"
                | "AIRLINE"
                | "CHILD"
                | "EDUCATION"
                | "GOVERNMENT"
                | "GROUP"
                | "INFANT"
                | "MILITARY"
                | "SENIOR"
                | "SPECIAL"
                | "YOUTH";
            }[];
            travelersGroup?: {
                itemId?: string;
                name?: string;
                numberOfTravelers?: number;
                numberOfTravelersRemaining?: number;
            };
        };
        BookingSourceEnum: "SABRE"
        | "SABRE_ORDER";
        BookingToModify: {
            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?: 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 };
                    }
                )[];
            };
            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: | "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;
                        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;
                        residenceDestinationAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        };
                        surname?: string;
                    } & { flights?: { itemId: string }[] }
                )[];
                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;
            }[];
        };
        BookRemark: {
            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;
            };
        };
        BookSeat: {
            areaPreferences?: (
                | "AISLE"
                | "BULKHEAD"
                | "FRONT"
                | "LEFT_SIDE"
                | "RIGHT_SIDE"
                | "TAIL"
                | "WINDOW"
            )[];
            number?: string;
            travelerIndex: number;
        };
        BookSpecialService: {
            code: string;
            flightIndices?: number[];
            message?: string;
        };
        BookTraveler: {
            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;
        };
        BrandAttribute: { description?: string; itemId?: string };
        BrandedFare: { brandCode: string; flightIndices?: number[] };
        CancelBookingRequest: {
            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 }[];
        };
        CancelBookingResponse: {
            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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        date?: string;
                        endAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        endDate?: string;
                        endLocationCode?: string;
                        endTime?: string;
                        locationCode?: string;
                        startAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        dropOffContactInfo?: { emails?: string[] } & {
                            emergencyPhones?: string[];
                            faxes?: string[];
                            phones?: string[];
                        };
                        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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        pickUpContactInfo?: { emails?: string[] } & {
                            emergencyPhones?: string[];
                            faxes?: string[];
                            phones?: string[];
                        };
                        pickUpDate: string;
                        pickUpLocationCode?: string;
                        pickUpTime: string;
                        rateCode?: string;
                        refundPenalties?: {
                            applicableFromDate?: string;
                            applicableToDate?: string;
                            penalty: { amount: string; currencyCode: string };
                        }[];
                        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?: { amount: string; currencyCode: string };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        maximumPieces?: number;
                        totalWeightInKilograms?: number;
                        totalWeightInPounds?: number;
                    };
                    cabinBaggageCharges?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    checkedBaggageAllowance?: {
                        baggagePieces?: {
                            fee?: { amount: string; currencyCode: string };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        maximumPieces?: number;
                        totalWeightInKilograms?: number;
                        totalWeightInPounds?: number;
                    };
                    checkedBaggageCharges?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    flights?: { itemId: string }[];
                    travelerIndices?: number[];
                }[];
                fareRules?: {
                    destinationAirportCode?: string;
                    exchangePenalties?: {
                        applicability: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        conditionsApply: boolean;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                    isChangeable?: boolean;
                    isRefundable?: boolean;
                    originAirportCode?: string;
                    owningAirlineCode: string;
                    passengerCode?: string;
                    refundPenalties?: {
                        applicability: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        conditionsApply: boolean;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                }[];
                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: string; currencyCode: string };
                        brandAttributes?: { description?: string; itemId?: string }[];
                        brandFareCode?: string;
                        brandFareName?: string;
                        brandProgramCode?: string;
                        brandProgramName?: string;
                        checkedBaggageAllowance?: {
                            baggagePieces?: {
                                fee?: { amount: ...; currencyCode: ... };
                                isCheckInOnly?: boolean;
                                maximumSizeInCentimeters?: number;
                                maximumSizeInInches?: number;
                                maximumWeightInKilograms?: number;
                                maximumWeightInPounds?: number;
                                numberOfPieces: number;
                                specialItemDescription?: string;
                            }[];
                            maximumPieces?: number;
                            totalWeightInKilograms?: number;
                            totalWeightInPounds?: number;
                        };
                        fareBasisCode?: string;
                        flightIndices?: number[];
                        flights?: { itemId: string }[];
                        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: string; currencyCode: string };
                        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?: string;
                            aircraftTypeName?: string;
                            airportCode?: string;
                            arrivalDate?: string;
                            arrivalTime?: string;
                            departureDate?: string;
                            departureTime?: string;
                            durationInMinutes?: number;
                        }[];
                        identityDocuments?: {
                            itemId?: string;
                            status?: | "Unknown"
                            | "Confirmed"
                            | "On Request"
                            | "Pending"
                            | "Cancelled"
                            | "Unconfirmed"
                            | "Waitlisted"
                            | "Infant/No Seat"
                            | "Priority Waitlist"
                            | "Quote"
                            | "Space Available"
                            | "Pending Quote"
                            | "No Seat"
                            | "Standby";
                        }[];
                        isPast?: boolean;
                        meals?: {
                            code: string;
                            description: | "Meal"
                            | "Alcoholic beverages for purchase"
                            | "Breakfast"
                            | "Cold meal"
                            | "Complimentary alcoholic beverages"
                            | "Continental breakfast"
                            | "Dinner"
                            | "Food for purchase"
                            | "Food and beverage for purchase"
                            | "Hot meal"
                            | "Lunch"
                            | "No meal service"
                            | "Refreshment"
                            | "Refreshment for purchase"
                            | "Snack";
                        }[];
                        numberOfSeats?: number;
                        operatingAirlineCode?: string;
                        operatingAirlineName?: string;
                        operatingFlightNumber?: number;
                        seats?: {
                            characteristics?: string[];
                            number: 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";
                        }[];
                        sourceType?: "NDC"
                        | "LCC"
                        | "ATPCO";
                        toAirportCode: string;
                        travelerIndices?: number[];
                        updatedArrivalDate?: string;
                        updatedArrivalTime?: string;
                        updatedDepartureDate?: string;
                        updatedDepartureTime?: string;
                    }
                )[];
                flightTickets?: {
                    agencyIataNumber?: string;
                    airlineCode: string;
                    allCoupons?: (
                        {
                            couponStatus: | "Airport Control"
                            | "Lifted"
                            | "Checked In"
                            | "Exchanged"
                            | "Flown"
                            | "Not Flown"
                            | "Refunded"
                            | "Voided"
                            | "Printed"
                            | "Okay"
                            | "Reactivated"
                            | "Irregular Operations"
                            | "Print Exchange"
                            | "Paper Ticket"
                            | "Suspended"
                            | "Locked";
                            couponStatusCode: | "AL"
                            | "PE"
                            | "XX"
                            | "S"
                            | "P"
                            | "B"
                            | "E"
                            | "BD"
                            | "CK"
                            | "I"
                            | "RF"
                            | "V"
                            | "PR"
                            | "IO"
                            | "T";
                        } & { itemId?: string }
                    )[];
                    commission?: {
                        commissionAmount?: string;
                        commissionPercentage?: string;
                        currencyCode?: string;
                    };
                    date: string;
                    flightCoupons: (
                        { itemId: string } & {
                            couponStatus:
                                | "Airport Control"
                                | "Lifted"
                                | "Checked In"
                                | "Exchanged"
                                | "Flown"
                                | "Not Flown"
                                | "Refunded"
                                | "Voided"
                                | "Printed"
                                | "Okay"
                                | "Reactivated"
                                | "Irregular Operations"
                                | "Print Exchange"
                                | "Paper Ticket"
                                | "Suspended"
                                | "Locked";
                            couponStatusCode: | "AL"
                            | "PE"
                            | "XX"
                            | "S"
                            | "P"
                            | "B"
                            | "E"
                            | "BD"
                            | "CK"
                            | "I"
                            | "RF"
                            | "V"
                            | "PR"
                            | "IO"
                            | "T";
                        }
                    )[];
                    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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string } & { cityCode?: string };
                        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?: string[] } & {
                            emergencyPhones?: string[];
                            faxes?: string[];
                            phones?: string[];
                        };
                        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?: string;
                            applicableToDate?: string;
                            penalty: { amount: string; currencyCode: string };
                        }[];
                        refundPenaltyPolicyCode?: string;
                        room?: {
                            agencyCommission?: {
                                commissionAmount?: string;
                                commissionPercentage?: string;
                                currencyCode?: string;
                            };
                            description?: string;
                            productCode?: string;
                            quantity: number;
                            roomRate?: { amount: string; currencyCode: string };
                            roomType: string;
                            roomTypeCode?: string;
                            travelerIndices?: number[];
                        };
                        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?: {
                                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 };
                        }
                    )[];
                    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?: "Unknown" | "Single" | "Multiple";
                        flights?: { itemId: string }[];
                        isCommissionable?: boolean;
                        isRefundable?: boolean;
                        itemId?: string;
                        numberOfItems?: number;
                        reasonForIssuanceCode?: string;
                        reasonForIssuanceName?:
                            | "UNKNOWN"
                            | "AIR_TRANSPORTATION"
                            | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                            | "BAGGAGE"
                            | "FINANCIAL_IMPACT"
                            | "AIRPORT_SERVICES"
                            | "MERCHANDISE"
                            | "INFLIGHT_SERVICES"
                            | "INDIVIDUAL_AIRLINE_USE";
                        source?: "ATPCO"
                        | "MERCHANDISING_MANAGER";
                        statusCode?: string;
                        statusName?:
                            | "Confirmed"
                            | "Confirmed with EMD issued"
                            | "On Request"
                            | "Pending"
                            | "Cancelled"
                            | "Unconfirmed"
                            | "Confirmed with pending payment"
                            | "Schedule change";
                        subcode?: string;
                        totals?: {
                            currencyCode: string;
                            fees?: string;
                            subtotal?: string;
                            taxes?: string;
                            total: string;
                        };
                        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?: "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;
                        itemId?: string;
                        middleName?: string;
                        placeOfBirth?: string;
                        placeOfIssue?: string;
                        residenceCountryCode?: string;
                        residenceDestinationAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        };
                        surname?: string;
                    }[];
                    isGrouped?: boolean;
                    loyaltyPrograms?: {
                        programNumber: string;
                        programType?: | "FREQUENT_FLYER"
                        | "FREQUENT_RENTER"
                        | "LOYALTY_ID"
                        | "CORPORATE_LOYALTY_ID";
                        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?:
                            | "INVOICE"
                            | "ITINERARY"
                            | "GENERAL"
                            | "HISTORICAL"
                            | "CLIENT_ADDRESS"
                            | "ALPHA_CODED"
                            | "DELIVERY_ADDRESS"
                            | "HIDDEN"
                            | "CORPORATE"
                            | "FORM_OF_PAYMENT"
                            | "PRINT_ON_TICKET"
                            | "FILLER_STRIP"
                            | "INTERFACE"
                            | "QUEUE_PLACE";
                    }[];
                    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: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        conditionsApply: boolean;
                        penalty: { amount: string; currencyCode: string };
                    } & {
                        hasNoShowCost?: boolean;
                        noShowPenalty?: {
                            penalty?: { amount: string; currencyCode: string };
                            source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                        };
                        source?: "Unknown"
                        | "Category 33"
                        | "Category 31"
                        | "Category 16";
                    }
                )[];
                isAutomatedRefundsEligible?: boolean;
                isChangeable?: boolean;
                isRefundable?: boolean;
                isVoidable?: boolean;
                number?: string;
                refundPenalties?: (
                    {
                        applicability: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        conditionsApply: boolean;
                        penalty: { amount: string; currencyCode: string };
                    } & {
                        hasNoShowCost?: boolean;
                        noShowPenalty?: {
                            penalty?: { amount: string; currencyCode: string };
                            source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                        };
                        source?: "Unknown"
                        | "Category 33"
                        | "Category 31"
                        | "Category 16";
                    }
                )[];
                refundTaxes?: { amount: string; taxCode: string }[];
                refundTotals?: {
                    currencyCode: string;
                    fees?: string;
                    subtotal?: string;
                    taxes?: string;
                    total: string;
                };
            }[];
            timestamp?: string;
            voidedTickets?: string[];
        };
        CancelErrorPolicyEnum: "HALT_ON_ERROR"
        | "ALLOW_PARTIAL_CANCEL";
        CancelOffer: {
            offerExpirationDate?: string;
            offerExpirationTime?: string;
            offerItemId?: string;
            offerType?: "VOID" | "REFUND";
            refundTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            };
        };
        CancelOfferTypeEnum: "VOID"
        | "REFUND";
        Car: { 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?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string };
            dropOffContactInfo?: { emails?: string[] } & {
                emergencyPhones?: string[];
                faxes?: string[];
                phones?: string[];
            };
            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?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string };
            pickUpContactInfo?: { emails?: string[] } & {
                emergencyPhones?: string[];
                faxes?: string[];
                phones?: string[];
            };
            pickUpDate: string;
            pickUpLocationCode?: string;
            pickUpTime: string;
            rateCode?: string;
            refundPenalties?: {
                applicableFromDate?: string;
                applicableToDate?: string;
                penalty: { amount: string; currencyCode: string };
            }[];
            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;
        };
        CardHolder: {
            address?: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            };
            email?: string;
            givenName: string;
            phone?: string;
            surname: string;
        };
        CarItem: {
            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?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string };
            dropOffContactInfo?: { emails?: string[] } & {
                emergencyPhones?: string[];
                faxes?: string[];
                phones?: string[];
            };
            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?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string };
            pickUpContactInfo?: { emails?: string[] } & {
                emergencyPhones?: string[];
                faxes?: string[];
                phones?: string[];
            };
            pickUpDate: string;
            pickUpLocationCode?: string;
            pickUpTime: string;
            rateCode?: string;
            refundPenalties?: {
                applicableFromDate?: string;
                applicableToDate?: string;
                penalty: { amount: string; currencyCode: string };
            }[];
            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;
        };
        CarPaymentPolicyEnum: "DEPOSIT"
        | "GUARANTEE";
        CarReference: { itemId: string };
        CarRentalSite: { id?: string; name?: string; phone?: string };
        CarToBook: {
            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;
        };
        CheckTicketsRequest: {
            confirmationId?: string;
            targetPcc?: string;
            tickets?: {
                number?: string;
                refundQualifiers?: {
                    commissionAmount?: string;
                    commissionOnPenalty?: string;
                    commissionPercentage?: string;
                    journeyTypeCode?: "F"
                    | "M"
                    | "B";
                    overrideCancelFee?: string;
                    overrideTaxes?: {
                        airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
                        taxAmount?: string;
                        taxCode?: string;
                    }[];
                    splitRefundAmounts?: { amount?: string }[];
                    tourCode?: string;
                    waiverCode?: string;
                };
            }[];
        };
        CheckTicketsResponse: {
            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?: { airportCode?: string; taxAmount?: string }[];
                            taxAmount?: string;
                            taxCode?: string;
                        }[];
                        splitRefundAmounts?: { amount?: string }[];
                        tourCode?: string;
                        waiverCode?: string;
                    };
                }[];
            };
            tickets?: {
                exchangePenalties?: (
                    {
                        applicability: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        conditionsApply: boolean;
                        penalty: { amount: string; currencyCode: string };
                    } & {
                        hasNoShowCost?: boolean;
                        noShowPenalty?: {
                            penalty?: { amount: string; currencyCode: string };
                            source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                        };
                        source?: "Unknown"
                        | "Category 33"
                        | "Category 31"
                        | "Category 16";
                    }
                )[];
                isAutomatedRefundsEligible?: boolean;
                isChangeable?: boolean;
                isRefundable?: boolean;
                isVoidable?: boolean;
                number?: string;
                refundPenalties?: (
                    {
                        applicability: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        conditionsApply: boolean;
                        penalty: { amount: string; currencyCode: string };
                    } & {
                        hasNoShowCost?: boolean;
                        noShowPenalty?: {
                            penalty?: { amount: string; currencyCode: string };
                            source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                        };
                        source?: "Unknown"
                        | "Category 33"
                        | "Category 31"
                        | "Category 16";
                    }
                )[];
                refundTaxes?: { amount: string; taxCode: string }[];
                refundTotals?: {
                    currencyCode: string;
                    fees?: string;
                    subtotal?: string;
                    taxes?: string;
                    total: string;
                };
            }[];
            timestamp?: string;
        };
        Commission: {
            commissionAmount?: string;
            commissionPercentage?: string;
            currencyCode?: string;
        };
        CommonExtraFeatures: {
            returnFiscalId: boolean;
            returnFrequentRenter: boolean;
            returnWalletFormsOfPayment: boolean;
        };
        ComparisonTypeEnum: | "INCREASE_BY_AMOUNT"
        | "INCREASE_BY_PERCENT"
        | "DECREASE_BY_AMOUNT"
        | "DECREASE_BY_PERCENT";
        ContactInformation: { emails?: string[] } & {
            emergencyPhones?: string[];
            faxes?: string[];
            phones?: string[];
        };
        CorporateFare: { corporateIds: string[]; forceCorporateId?: boolean };
        CouponStatus: {
            couponStatus:
                | "Airport Control"
                | "Lifted"
                | "Checked In"
                | "Exchanged"
                | "Flown"
                | "Not Flown"
                | "Refunded"
                | "Voided"
                | "Printed"
                | "Okay"
                | "Reactivated"
                | "Irregular Operations"
                | "Print Exchange"
                | "Paper Ticket"
                | "Suspended"
                | "Locked";
            couponStatusCode: | "AL"
            | "PE"
            | "XX"
            | "S"
            | "P"
            | "B"
            | "E"
            | "BD"
            | "CK"
            | "I"
            | "RF"
            | "V"
            | "PR"
            | "IO"
            | "T";
        };
        CouponStatusCodeEnum: | "AL"
        | "PE"
        | "XX"
        | "S"
        | "P"
        | "B"
        | "E"
        | "BD"
        | "CK"
        | "I"
        | "RF"
        | "V"
        | "PR"
        | "IO"
        | "T";
        CouponStatusEnum: | "Airport Control"
        | "Lifted"
        | "Checked In"
        | "Exchanged"
        | "Flown"
        | "Not Flown"
        | "Refunded"
        | "Voided"
        | "Printed"
        | "Okay"
        | "Reactivated"
        | "Irregular Operations"
        | "Print Exchange"
        | "Paper Ticket"
        | "Suspended"
        | "Locked";
        CreateBookingRequest: {
            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: string[];
                            forceAccountCodes?: boolean;
                        };
                        adjustedSellingLevel?: {
                            ignore?: boolean;
                            markDownAmount?: string;
                            markUpAmount?: string;
                            returnBreakdown?: boolean;
                        };
                        baggageAllowance?: {
                            baggagePieces?: number;
                            flightIndices?: number[];
                            totalWeightInKilograms?: number;
                        }[];
                        brandedFares?: { brandCode: string; flightIndices?: number[] }[];
                        breakFareFlightIndices?: number[];
                        cabinCode?: string;
                        commissionContractNames?: string[];
                        considerMultiTicket?: boolean;
                        corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                        currencyPricing?: string;
                        exchangePenalties?: {
                            applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                            penaltyAmount?: { amount?: string };
                            restrictionType:
                                | "CHANGEABLE"
                                | "REFUNDABLE"
                                | "CHANGEABLE_AND_REFUNDABLE";
                        };
                        excludeBasicEconomyFares?: string[];
                        exemptTaxes?: string[];
                        flightIndices?: number[];
                        forceConnectionFlightIndices?: number[];
                        forceStopoverFlightIndices?: number[];
                        hemisphereCode?: number;
                        journeyCode?: number;
                        netRemit?: {
                            cashValue?: { amount: string; currencyCode: string };
                            commercialAgreementReferenceCode?: string;
                            creditValue?: { amount: string; currencyCode: string };
                            netRemitCode?: string;
                        };
                        overrideTaxes?: { amount: string; taxCode: string }[];
                        passengersPricing?: {
                            forcePassengerCode?: boolean;
                            numberOfpassengers?: number;
                            passengerCode?: string;
                        }[];
                        passengerStatus?: "RESIDENT"
                        | "NATIONALITY"
                        | "EMPLOYEE";
                        passengerStatusCountryCode?: string;
                        payment?: {
                            amountOnSecondFormOfPayment?: string;
                            primaryFormOfPayment: number;
                            secondaryFormOfPayment?: number;
                        };
                        priceWithTaxes: boolean;
                        rebookLowestFares?: boolean;
                        retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                        settlementMethod?: string;
                        sideTripFlightIndices?: number[];
                        spanishIslandResidentDiscountCode?: string;
                        spanishLargeFamilyDiscountLevel?: number;
                        specificFares?: { fareBasisCode: string; flightIndices?: number[] }[];
                        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?: (
                            | "AISLE"
                            | "BULKHEAD"
                            | "FRONT"
                            | "LEFT_SIDE"
                            | "RIGHT_SIDE"
                            | "TAIL"
                            | "WINDOW"
                        )[];
                        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;
            }[];
        };
        CreateBookingResponse: {
            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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        date?: string;
                        endAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        endDate?: string;
                        endLocationCode?: string;
                        endTime?: string;
                        locationCode?: string;
                        startAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        dropOffContactInfo?: { emails?: string[] } & {
                            emergencyPhones?: string[];
                            faxes?: string[];
                            phones?: string[];
                        };
                        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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        pickUpContactInfo?: { emails?: string[] } & {
                            emergencyPhones?: string[];
                            faxes?: string[];
                            phones?: string[];
                        };
                        pickUpDate: string;
                        pickUpLocationCode?: string;
                        pickUpTime: string;
                        rateCode?: string;
                        refundPenalties?: {
                            applicableFromDate?: string;
                            applicableToDate?: string;
                            penalty: { amount: string; currencyCode: string };
                        }[];
                        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?: { amount: string; currencyCode: string };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        maximumPieces?: number;
                        totalWeightInKilograms?: number;
                        totalWeightInPounds?: number;
                    };
                    cabinBaggageCharges?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    checkedBaggageAllowance?: {
                        baggagePieces?: {
                            fee?: { amount: string; currencyCode: string };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        maximumPieces?: number;
                        totalWeightInKilograms?: number;
                        totalWeightInPounds?: number;
                    };
                    checkedBaggageCharges?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    flights?: { itemId: string }[];
                    travelerIndices?: number[];
                }[];
                fareRules?: {
                    destinationAirportCode?: string;
                    exchangePenalties?: {
                        applicability: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        conditionsApply: boolean;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                    isChangeable?: boolean;
                    isRefundable?: boolean;
                    originAirportCode?: string;
                    owningAirlineCode: string;
                    passengerCode?: string;
                    refundPenalties?: {
                        applicability: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        conditionsApply: boolean;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                }[];
                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: string; currencyCode: string };
                        brandAttributes?: { description?: string; itemId?: string }[];
                        brandFareCode?: string;
                        brandFareName?: string;
                        brandProgramCode?: string;
                        brandProgramName?: string;
                        checkedBaggageAllowance?: {
                            baggagePieces?: {
                                fee?: { amount: ...; currencyCode: ... };
                                isCheckInOnly?: boolean;
                                maximumSizeInCentimeters?: number;
                                maximumSizeInInches?: number;
                                maximumWeightInKilograms?: number;
                                maximumWeightInPounds?: number;
                                numberOfPieces: number;
                                specialItemDescription?: string;
                            }[];
                            maximumPieces?: number;
                            totalWeightInKilograms?: number;
                            totalWeightInPounds?: number;
                        };
                        fareBasisCode?: string;
                        flightIndices?: number[];
                        flights?: { itemId: string }[];
                        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: string; currencyCode: string };
                        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?: string;
                            aircraftTypeName?: string;
                            airportCode?: string;
                            arrivalDate?: string;
                            arrivalTime?: string;
                            departureDate?: string;
                            departureTime?: string;
                            durationInMinutes?: number;
                        }[];
                        identityDocuments?: {
                            itemId?: string;
                            status?: | "Unknown"
                            | "Confirmed"
                            | "On Request"
                            | "Pending"
                            | "Cancelled"
                            | "Unconfirmed"
                            | "Waitlisted"
                            | "Infant/No Seat"
                            | "Priority Waitlist"
                            | "Quote"
                            | "Space Available"
                            | "Pending Quote"
                            | "No Seat"
                            | "Standby";
                        }[];
                        isPast?: boolean;
                        meals?: {
                            code: string;
                            description: | "Meal"
                            | "Alcoholic beverages for purchase"
                            | "Breakfast"
                            | "Cold meal"
                            | "Complimentary alcoholic beverages"
                            | "Continental breakfast"
                            | "Dinner"
                            | "Food for purchase"
                            | "Food and beverage for purchase"
                            | "Hot meal"
                            | "Lunch"
                            | "No meal service"
                            | "Refreshment"
                            | "Refreshment for purchase"
                            | "Snack";
                        }[];
                        numberOfSeats?: number;
                        operatingAirlineCode?: string;
                        operatingAirlineName?: string;
                        operatingFlightNumber?: number;
                        seats?: {
                            characteristics?: string[];
                            number: 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";
                        }[];
                        sourceType?: "NDC"
                        | "LCC"
                        | "ATPCO";
                        toAirportCode: string;
                        travelerIndices?: number[];
                        updatedArrivalDate?: string;
                        updatedArrivalTime?: string;
                        updatedDepartureDate?: string;
                        updatedDepartureTime?: string;
                    }
                )[];
                flightTickets?: {
                    agencyIataNumber?: string;
                    airlineCode: string;
                    allCoupons?: (
                        {
                            couponStatus: | "Airport Control"
                            | "Lifted"
                            | "Checked In"
                            | "Exchanged"
                            | "Flown"
                            | "Not Flown"
                            | "Refunded"
                            | "Voided"
                            | "Printed"
                            | "Okay"
                            | "Reactivated"
                            | "Irregular Operations"
                            | "Print Exchange"
                            | "Paper Ticket"
                            | "Suspended"
                            | "Locked";
                            couponStatusCode: | "AL"
                            | "PE"
                            | "XX"
                            | "S"
                            | "P"
                            | "B"
                            | "E"
                            | "BD"
                            | "CK"
                            | "I"
                            | "RF"
                            | "V"
                            | "PR"
                            | "IO"
                            | "T";
                        } & { itemId?: string }
                    )[];
                    commission?: {
                        commissionAmount?: string;
                        commissionPercentage?: string;
                        currencyCode?: string;
                    };
                    date: string;
                    flightCoupons: (
                        { itemId: string } & {
                            couponStatus:
                                | "Airport Control"
                                | "Lifted"
                                | "Checked In"
                                | "Exchanged"
                                | "Flown"
                                | "Not Flown"
                                | "Refunded"
                                | "Voided"
                                | "Printed"
                                | "Okay"
                                | "Reactivated"
                                | "Irregular Operations"
                                | "Print Exchange"
                                | "Paper Ticket"
                                | "Suspended"
                                | "Locked";
                            couponStatusCode: | "AL"
                            | "PE"
                            | "XX"
                            | "S"
                            | "P"
                            | "B"
                            | "E"
                            | "BD"
                            | "CK"
                            | "I"
                            | "RF"
                            | "V"
                            | "PR"
                            | "IO"
                            | "T";
                        }
                    )[];
                    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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string } & { cityCode?: string };
                        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?: string[] } & {
                            emergencyPhones?: string[];
                            faxes?: string[];
                            phones?: string[];
                        };
                        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?: string;
                            applicableToDate?: string;
                            penalty: { amount: string; currencyCode: string };
                        }[];
                        refundPenaltyPolicyCode?: string;
                        room?: {
                            agencyCommission?: {
                                commissionAmount?: string;
                                commissionPercentage?: string;
                                currencyCode?: string;
                            };
                            description?: string;
                            productCode?: string;
                            quantity: number;
                            roomRate?: { amount: string; currencyCode: string };
                            roomType: string;
                            roomTypeCode?: string;
                            travelerIndices?: number[];
                        };
                        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?: {
                                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 };
                        }
                    )[];
                    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?: "Unknown" | "Single" | "Multiple";
                        flights?: { itemId: string }[];
                        isCommissionable?: boolean;
                        isRefundable?: boolean;
                        itemId?: string;
                        numberOfItems?: number;
                        reasonForIssuanceCode?: string;
                        reasonForIssuanceName?:
                            | "UNKNOWN"
                            | "AIR_TRANSPORTATION"
                            | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                            | "BAGGAGE"
                            | "FINANCIAL_IMPACT"
                            | "AIRPORT_SERVICES"
                            | "MERCHANDISE"
                            | "INFLIGHT_SERVICES"
                            | "INDIVIDUAL_AIRLINE_USE";
                        source?: "ATPCO"
                        | "MERCHANDISING_MANAGER";
                        statusCode?: string;
                        statusName?:
                            | "Confirmed"
                            | "Confirmed with EMD issued"
                            | "On Request"
                            | "Pending"
                            | "Cancelled"
                            | "Unconfirmed"
                            | "Confirmed with pending payment"
                            | "Schedule change";
                        subcode?: string;
                        totals?: {
                            currencyCode: string;
                            fees?: string;
                            subtotal?: string;
                            taxes?: string;
                            total: string;
                        };
                        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?: "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;
                        itemId?: string;
                        middleName?: string;
                        placeOfBirth?: string;
                        placeOfIssue?: string;
                        residenceCountryCode?: string;
                        residenceDestinationAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        };
                        surname?: string;
                    }[];
                    isGrouped?: boolean;
                    loyaltyPrograms?: {
                        programNumber: string;
                        programType?: | "FREQUENT_FLYER"
                        | "FREQUENT_RENTER"
                        | "LOYALTY_ID"
                        | "CORPORATE_LOYALTY_ID";
                        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?:
                            | "INVOICE"
                            | "ITINERARY"
                            | "GENERAL"
                            | "HISTORICAL"
                            | "CLIENT_ADDRESS"
                            | "ALPHA_CODED"
                            | "DELIVERY_ADDRESS"
                            | "HIDDEN"
                            | "CORPORATE"
                            | "FORM_OF_PAYMENT"
                            | "PRINT_ON_TICKET"
                            | "FILLER_STRIP"
                            | "INTERFACE"
                            | "QUEUE_PLACE";
                    }[];
                    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?: 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: string[];
                                forceAccountCodes?: boolean;
                            };
                            adjustedSellingLevel?: {
                                ignore?: boolean;
                                markDownAmount?: string;
                                markUpAmount?: string;
                                returnBreakdown?: boolean;
                            };
                            baggageAllowance?: {
                                baggagePieces?: number;
                                flightIndices?: (...)[];
                                totalWeightInKilograms?: number;
                            }[];
                            brandedFares?: { brandCode: string; flightIndices?: (...)[] }[];
                            breakFareFlightIndices?: number[];
                            cabinCode?: string;
                            commissionContractNames?: string[];
                            considerMultiTicket?: boolean;
                            corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                            currencyPricing?: string;
                            exchangePenalties?: {
                                applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                                penaltyAmount?: { amount?: string };
                                restrictionType:
                                    | "CHANGEABLE"
                                    | "REFUNDABLE"
                                    | "CHANGEABLE_AND_REFUNDABLE";
                            };
                            excludeBasicEconomyFares?: string[];
                            exemptTaxes?: string[];
                            flightIndices?: number[];
                            forceConnectionFlightIndices?: number[];
                            forceStopoverFlightIndices?: number[];
                            hemisphereCode?: number;
                            journeyCode?: number;
                            netRemit?: {
                                cashValue?: { amount: string; currencyCode: string };
                                commercialAgreementReferenceCode?: string;
                                creditValue?: { amount: string; currencyCode: string };
                                netRemitCode?: string;
                            };
                            overrideTaxes?: { amount: string; taxCode: string }[];
                            passengersPricing?: {
                                forcePassengerCode?: boolean;
                                numberOfpassengers?: number;
                                passengerCode?: string;
                            }[];
                            passengerStatus?: "RESIDENT"
                            | "NATIONALITY"
                            | "EMPLOYEE";
                            passengerStatusCountryCode?: string;
                            payment?: {
                                amountOnSecondFormOfPayment?: string;
                                primaryFormOfPayment: number;
                                secondaryFormOfPayment?: number;
                            };
                            priceWithTaxes: boolean;
                            rebookLowestFares?: boolean;
                            retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                            settlementMethod?: string;
                            sideTripFlightIndices?: number[];
                            spanishIslandResidentDiscountCode?: string;
                            spanishLargeFamilyDiscountLevel?: number;
                            specificFares?: { fareBasisCode: string; 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?: (
                                | "AISLE"
                                | "BULKHEAD"
                                | "FRONT"
                                | "LEFT_SIDE"
                                | "RIGHT_SIDE"
                                | "TAIL"
                                | "WINDOW"
                            )[];
                            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;
                }[];
            };
            timestamp?: string;
        };
        CreateErrorPolicyEnum: | "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";
        CreationDetails: {
            agencyIataNumber?: string;
            creationDate?: string;
            creationTime?: string;
            creationUserSine?: string;
            primeHostId?: string;
            purchaseDeadlineDate?: string;
            purchaseDeadlineTime?: string;
            userHomePcc?: string;
            userWorkPcc?: string;
        };
        CreationDetailsToModify: { agencyIataNumber?: string };
        Cruise: { 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;
        };
        CruiseItem: {
            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;
        };
        CruiseReference: { itemId: string };
        DateRangeRefundPenalty: {
            applicableFromDate?: string;
            applicableToDate?: string;
            penalty: { amount: string; currencyCode: string };
        };
        DocumentSubTypeEnum: "RUC"
        | "CUIT/CUIL"
        | "NIT";
        DocumentTypeEnum:
            | "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";
        ElectronicMiscellaneousDocumentTypeEnum: | "ETICKET"
        | "STANDALONE"
        | "FLIGHT_COUPON_ASSOCIATED"
        | "STANDALONE_TICKET_ASSOCIATED"
        | "OTHER_THAN_EMD";
        EmailContacts: { emails?: string[] };
        Endorsements: { description?: string; useOverride?: boolean };
        Error: {
            category: string;
            description?: string;
            fieldName?: string;
            fieldPath?: string;
            fieldValue?: string;
            type: string;
        };
        ExtraFeatures: { returnEmptySeatObjects: boolean } & {
            returnFiscalId: boolean;
            returnFrequentRenter: boolean;
            returnWalletFormsOfPayment: boolean;
        } & Record<string, never>;
        Fare: {
            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: string; currencyCode: string };
                brandAttributes?: { description?: string; itemId?: string }[];
                brandFareCode?: string;
                brandFareName?: string;
                brandProgramCode?: string;
                brandProgramName?: string;
                checkedBaggageAllowance?: {
                    baggagePieces?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    maximumPieces?: number;
                    totalWeightInKilograms?: number;
                    totalWeightInPounds?: number;
                };
                fareBasisCode?: string;
                flightIndices?: number[];
                flights?: { itemId: string }[];
                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: string; currencyCode: string };
                taxCode?: string;
            }[];
            totals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            };
            tourCode?: string;
            travelerIndices?: number[];
        };
        FareApplicationTypeEnum: | "Single Traveler"
        | "All Travelers"
        | "Each Traveler";
        FareComponent: {
            baseRate?: { amount: string; currencyCode: string };
            brandAttributes?: { description?: string; itemId?: string }[];
            brandFareCode?: string;
            brandFareName?: string;
            brandProgramCode?: string;
            brandProgramName?: string;
            checkedBaggageAllowance?: {
                baggagePieces?: {
                    fee?: { amount: string; currencyCode: string };
                    isCheckInOnly?: boolean;
                    maximumSizeInCentimeters?: number;
                    maximumSizeInInches?: number;
                    maximumWeightInKilograms?: number;
                    maximumWeightInPounds?: number;
                    numberOfPieces: number;
                    specialItemDescription?: string;
                }[];
                maximumPieces?: number;
                totalWeightInKilograms?: number;
                totalWeightInPounds?: number;
            };
            fareBasisCode?: string;
            flightIndices?: number[];
            flights?: { itemId: string }[];
            isCurrentItinerary?: boolean;
        };
        FareOffer: {
            cabinBaggageAllowance?: {
                baggagePieces?: {
                    fee?: { amount: string; currencyCode: string };
                    isCheckInOnly?: boolean;
                    maximumSizeInCentimeters?: number;
                    maximumSizeInInches?: number;
                    maximumWeightInKilograms?: number;
                    maximumWeightInPounds?: number;
                    numberOfPieces: number;
                    specialItemDescription?: string;
                }[];
                maximumPieces?: number;
                totalWeightInKilograms?: number;
                totalWeightInPounds?: number;
            };
            cabinBaggageCharges?: {
                fee?: { amount: string; currencyCode: string };
                isCheckInOnly?: boolean;
                maximumSizeInCentimeters?: number;
                maximumSizeInInches?: number;
                maximumWeightInKilograms?: number;
                maximumWeightInPounds?: number;
                numberOfPieces: number;
                specialItemDescription?: string;
            }[];
            checkedBaggageAllowance?: {
                baggagePieces?: {
                    fee?: { amount: string; currencyCode: string };
                    isCheckInOnly?: boolean;
                    maximumSizeInCentimeters?: number;
                    maximumSizeInInches?: number;
                    maximumWeightInKilograms?: number;
                    maximumWeightInPounds?: number;
                    numberOfPieces: number;
                    specialItemDescription?: string;
                }[];
                maximumPieces?: number;
                totalWeightInKilograms?: number;
                totalWeightInPounds?: number;
            };
            checkedBaggageCharges?: {
                fee?: { amount: string; currencyCode: string };
                isCheckInOnly?: boolean;
                maximumSizeInCentimeters?: number;
                maximumSizeInInches?: number;
                maximumWeightInKilograms?: number;
                maximumWeightInPounds?: number;
                numberOfPieces: number;
                specialItemDescription?: string;
            }[];
            flights?: { itemId: string }[];
            travelerIndices?: number[];
        };
        FareRule: {
            destinationAirportCode?: string;
            exchangePenalties?: {
                applicability: "BEFORE_DEPARTURE"
                | "AFTER_DEPARTURE";
                conditionsApply: boolean;
                penalty: { amount: string; currencyCode: string };
            }[];
            isChangeable?: boolean;
            isRefundable?: boolean;
            originAirportCode?: string;
            owningAirlineCode: string;
            passengerCode?: string;
            refundPenalties?: {
                applicability: "BEFORE_DEPARTURE"
                | "AFTER_DEPARTURE";
                conditionsApply: boolean;
                penalty: { amount: string; currencyCode: string };
            }[];
        };
        FareRulePenalty: {
            applicability: "BEFORE_DEPARTURE"
            | "AFTER_DEPARTURE";
            conditionsApply: boolean;
            penalty: { amount: string; currencyCode: string };
        };
        FareRulePenaltyApplicabilityEnum: "BEFORE_DEPARTURE"
        | "AFTER_DEPARTURE";
        FareRuleRestrictionEnum:
            | "CHANGEABLE"
            | "REFUNDABLE"
            | "CHANGEABLE_AND_REFUNDABLE";
        Flight: { 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?: string;
                aircraftTypeName?: string;
                airportCode?: string;
                arrivalDate?: string;
                arrivalTime?: string;
                departureDate?: string;
                departureTime?: string;
                durationInMinutes?: number;
            }[];
            identityDocuments?: {
                itemId?: string;
                status?: | "Unknown"
                | "Confirmed"
                | "On Request"
                | "Pending"
                | "Cancelled"
                | "Unconfirmed"
                | "Waitlisted"
                | "Infant/No Seat"
                | "Priority Waitlist"
                | "Quote"
                | "Space Available"
                | "Pending Quote"
                | "No Seat"
                | "Standby";
            }[];
            isPast?: boolean;
            meals?: {
                code: string;
                description: | "Meal"
                | "Alcoholic beverages for purchase"
                | "Breakfast"
                | "Cold meal"
                | "Complimentary alcoholic beverages"
                | "Continental breakfast"
                | "Dinner"
                | "Food for purchase"
                | "Food and beverage for purchase"
                | "Hot meal"
                | "Lunch"
                | "No meal service"
                | "Refreshment"
                | "Refreshment for purchase"
                | "Snack";
            }[];
            numberOfSeats?: number;
            operatingAirlineCode?: string;
            operatingAirlineName?: string;
            operatingFlightNumber?: number;
            seats?: {
                characteristics?: string[];
                number: 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";
            }[];
            sourceType?: "NDC"
            | "LCC"
            | "ATPCO";
            toAirportCode: string;
            travelerIndices?: number[];
            updatedArrivalDate?: string;
            updatedArrivalTime?: string;
            updatedDepartureDate?: string;
            updatedDepartureTime?: string;
        };
        FlightApplicabilityTypeEnum: "Unknown"
        | "Single"
        | "Multiple";
        FlightCoupon: { 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?: string;
                aircraftTypeName?: string;
                airportCode?: string;
                arrivalDate?: string;
                arrivalTime?: string;
                departureDate?: string;
                departureTime?: string;
                durationInMinutes?: number;
            }[];
            identityDocuments?: {
                itemId?: string;
                status?: | "Unknown"
                | "Confirmed"
                | "On Request"
                | "Pending"
                | "Cancelled"
                | "Unconfirmed"
                | "Waitlisted"
                | "Infant/No Seat"
                | "Priority Waitlist"
                | "Quote"
                | "Space Available"
                | "Pending Quote"
                | "No Seat"
                | "Standby";
            }[];
            isPast?: boolean;
            meals?: {
                code: string;
                description: | "Meal"
                | "Alcoholic beverages for purchase"
                | "Breakfast"
                | "Cold meal"
                | "Complimentary alcoholic beverages"
                | "Continental breakfast"
                | "Dinner"
                | "Food for purchase"
                | "Food and beverage for purchase"
                | "Hot meal"
                | "Lunch"
                | "No meal service"
                | "Refreshment"
                | "Refreshment for purchase"
                | "Snack";
            }[];
            numberOfSeats?: number;
            operatingAirlineCode?: string;
            operatingAirlineName?: string;
            operatingFlightNumber?: number;
            seats?: {
                characteristics?: string[];
                number: 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";
            }[];
            sourceType?: "NDC"
            | "LCC"
            | "ATPCO";
            toAirportCode: string;
            travelerIndices?: number[];
            updatedArrivalDate?: string;
            updatedArrivalTime?: string;
            updatedDepartureDate?: string;
            updatedDepartureTime?: string;
        } & {
            couponStatus: | "Airport Control"
            | "Lifted"
            | "Checked In"
            | "Exchanged"
            | "Flown"
            | "Not Flown"
            | "Refunded"
            | "Voided"
            | "Printed"
            | "Okay"
            | "Reactivated"
            | "Irregular Operations"
            | "Print Exchange"
            | "Paper Ticket"
            | "Suspended"
            | "Locked";
            couponStatusCode: | "AL"
            | "PE"
            | "XX"
            | "S"
            | "P"
            | "B"
            | "E"
            | "BD"
            | "CK"
            | "I"
            | "RF"
            | "V"
            | "PR"
            | "IO"
            | "T";
        };
        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: string[]; forceAccountCodes?: boolean };
                    adjustedSellingLevel?: {
                        ignore?: boolean;
                        markDownAmount?: string;
                        markUpAmount?: string;
                        returnBreakdown?: boolean;
                    };
                    baggageAllowance?: {
                        baggagePieces?: number;
                        flightIndices?: number[];
                        totalWeightInKilograms?: number;
                    }[];
                    brandedFares?: { brandCode: string; flightIndices?: number[] }[];
                    breakFareFlightIndices?: number[];
                    cabinCode?: string;
                    commissionContractNames?: string[];
                    considerMultiTicket?: boolean;
                    corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                    currencyPricing?: string;
                    exchangePenalties?: {
                        applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                        penaltyAmount?: { amount?: string };
                        restrictionType:
                            | "CHANGEABLE"
                            | "REFUNDABLE"
                            | "CHANGEABLE_AND_REFUNDABLE";
                    };
                    excludeBasicEconomyFares?: string[];
                    exemptTaxes?: string[];
                    flightIndices?: number[];
                    forceConnectionFlightIndices?: number[];
                    forceStopoverFlightIndices?: number[];
                    hemisphereCode?: number;
                    journeyCode?: number;
                    netRemit?: {
                        cashValue?: { amount: string; currencyCode: string };
                        commercialAgreementReferenceCode?: string;
                        creditValue?: { amount: string; currencyCode: string };
                        netRemitCode?: string;
                    };
                    overrideTaxes?: { amount: string; taxCode: string }[];
                    passengersPricing?: {
                        forcePassengerCode?: boolean;
                        numberOfpassengers?: number;
                        passengerCode?: string;
                    }[];
                    passengerStatus?: "RESIDENT"
                    | "NATIONALITY"
                    | "EMPLOYEE";
                    passengerStatusCountryCode?: string;
                    payment?: {
                        amountOnSecondFormOfPayment?: string;
                        primaryFormOfPayment: number;
                        secondaryFormOfPayment?: number;
                    };
                    priceWithTaxes: boolean;
                    rebookLowestFares?: boolean;
                    retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                    settlementMethod?: string;
                    sideTripFlightIndices?: number[];
                    spanishIslandResidentDiscountCode?: string;
                    spanishLargeFamilyDiscountLevel?: number;
                    specificFares?: { fareBasisCode: string; flightIndices?: number[] }[];
                    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?: (
                        | "AISLE"
                        | "BULKHEAD"
                        | "FRONT"
                        | "LEFT_SIDE"
                        | "RIGHT_SIDE"
                        | "TAIL"
                        | "WINDOW"
                    )[];
                    number?: string;
                    travelerIndex: number;
                }[];
                source?: "LCC"
                | "ATPCO";
                toAirportCode: string;
            }[];
            haltOnFlightStatusCodes?: (
                "US"
                | "NO"
                | "NN"
                | "UC"
                | "UN"
                | "UU"
                | "LL"
                | "HL"
            )[];
            retryBookingUnconfirmedFlights?: boolean;
        };
        FlightItem: {
            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?: string;
                aircraftTypeName?: string;
                airportCode?: string;
                arrivalDate?: string;
                arrivalTime?: string;
                departureDate?: string;
                departureTime?: string;
                durationInMinutes?: number;
            }[];
            identityDocuments?: {
                itemId?: string;
                status?: | "Unknown"
                | "Confirmed"
                | "On Request"
                | "Pending"
                | "Cancelled"
                | "Unconfirmed"
                | "Waitlisted"
                | "Infant/No Seat"
                | "Priority Waitlist"
                | "Quote"
                | "Space Available"
                | "Pending Quote"
                | "No Seat"
                | "Standby";
            }[];
            isPast?: boolean;
            meals?: {
                code: string;
                description: | "Meal"
                | "Alcoholic beverages for purchase"
                | "Breakfast"
                | "Cold meal"
                | "Complimentary alcoholic beverages"
                | "Continental breakfast"
                | "Dinner"
                | "Food for purchase"
                | "Food and beverage for purchase"
                | "Hot meal"
                | "Lunch"
                | "No meal service"
                | "Refreshment"
                | "Refreshment for purchase"
                | "Snack";
            }[];
            numberOfSeats?: number;
            operatingAirlineCode?: string;
            operatingAirlineName?: string;
            operatingFlightNumber?: number;
            seats?: {
                characteristics?: string[];
                number: 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";
            }[];
            sourceType?: "NDC"
            | "LCC"
            | "ATPCO";
            toAirportCode: string;
            travelerIndices?: number[];
            updatedArrivalDate?: string;
            updatedArrivalTime?: string;
            updatedDepartureDate?: string;
            updatedDepartureTime?: string;
        };
        FlightOffer: { offerId: string; selectedOfferItems: string[] };
        FlightReference: { itemId: string };
        FlightReferenceCoupon: { itemId: string } & {
            couponStatus:
                | "Airport Control"
                | "Lifted"
                | "Checked In"
                | "Exchanged"
                | "Flown"
                | "Not Flown"
                | "Refunded"
                | "Voided"
                | "Printed"
                | "Okay"
                | "Reactivated"
                | "Irregular Operations"
                | "Print Exchange"
                | "Paper Ticket"
                | "Suspended"
                | "Locked";
            couponStatusCode: | "AL"
            | "PE"
            | "XX"
            | "S"
            | "P"
            | "B"
            | "E"
            | "BD"
            | "CK"
            | "I"
            | "RF"
            | "V"
            | "PR"
            | "IO"
            | "T";
        };
        FlightSourceEnum: "NDC"
        | "LCC"
        | "ATPCO";
        FlightTicket: {
            agencyIataNumber?: string;
            airlineCode: string;
            allCoupons?: (
                {
                    couponStatus: | "Airport Control"
                    | "Lifted"
                    | "Checked In"
                    | "Exchanged"
                    | "Flown"
                    | "Not Flown"
                    | "Refunded"
                    | "Voided"
                    | "Printed"
                    | "Okay"
                    | "Reactivated"
                    | "Irregular Operations"
                    | "Print Exchange"
                    | "Paper Ticket"
                    | "Suspended"
                    | "Locked";
                    couponStatusCode: | "AL"
                    | "PE"
                    | "XX"
                    | "S"
                    | "P"
                    | "B"
                    | "E"
                    | "BD"
                    | "CK"
                    | "I"
                    | "RF"
                    | "V"
                    | "PR"
                    | "IO"
                    | "T";
                } & { itemId?: string }
            )[];
            commission?: {
                commissionAmount?: string;
                commissionPercentage?: string;
                currencyCode?: string;
            };
            date: string;
            flightCoupons: (
                { itemId: string } & {
                    couponStatus:
                        | "Airport Control"
                        | "Lifted"
                        | "Checked In"
                        | "Exchanged"
                        | "Flown"
                        | "Not Flown"
                        | "Refunded"
                        | "Voided"
                        | "Printed"
                        | "Okay"
                        | "Reactivated"
                        | "Irregular Operations"
                        | "Print Exchange"
                        | "Paper Ticket"
                        | "Suspended"
                        | "Locked";
                    couponStatusCode: | "AL"
                    | "PE"
                    | "XX"
                    | "S"
                    | "P"
                    | "B"
                    | "E"
                    | "BD"
                    | "CK"
                    | "I"
                    | "RF"
                    | "V"
                    | "PR"
                    | "IO"
                    | "T";
                }
            )[];
            number: string;
            payment: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            };
            ticketingPcc?: string;
            ticketStatusCode?: string;
            ticketStatusName?: "Voided"
            | "Issued"
            | "Refunded/Exchanged";
            travelerIndex: number;
        };
        FlightTicketOperationEnum: "VOID"
        | "REFUND";
        FlightToBook: {
            airlineCode: string;
            arrivalDate?: string;
            arrivalTime?: string;
            bookingClass: string;
            confirmationId?: string;
            departureDate: string;
            departureTime: string;
            flightNumber: number;
            flightStatusCode: string;
            fromAirportCode: string;
            isMarriageGroup?: boolean;
            seats?: {
                areaPreferences?: (
                    | "AISLE"
                    | "BULKHEAD"
                    | "FRONT"
                    | "LEFT_SIDE"
                    | "RIGHT_SIDE"
                    | "TAIL"
                    | "WINDOW"
                )[];
                number?: string;
                travelerIndex: number;
            }[];
            source?: "LCC"
            | "ATPCO";
            toAirportCode: string;
        };
        FlightToBookSourceEnum: "LCC"
        | "ATPCO";
        FlightToModify: { seats?: { number: string; offerItemId?: string }[] };
        FormOfPayment: {
            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 };
        };
        FormOfPaymentTripTypeEnum: | "All"
        | "Unknown"
        | "Corporate/Business"
        | "Leisure"
        | "Emergency"
        | "Family"
        | "Group";
        FormOfPaymentTypeEnum: | "INVOICE"
        | "CORPORATE"
        | "PAYMENTCARD"
        | "CASH"
        | "CHECK"
        | "MISCELLANEOUS"
        | "INSTALLMENTS"
        | "VIRTUAL_CARD"
        | "AGENCY_NAME"
        | "AGENCY_IATA"
        | "COMPANY_NAME"
        | "VOUCHER"
        | "DOCKET"
        | "GOVERNMENT_TRAVEL_REQUEST";
        FormOfPaymentUseTypeEnum: | "All"
        | "Other"
        | "Tour"
        | "Unknown"
        | "Ancillary"
        | "Hotel"
        | "Car"
        | "Cruise"
        | "Airline"
        | "Bus/Ground Transportation"
        | "Insurance"
        | "Low-Cost Carrier"
        | "Rail"
        | "Specialty Service"
        | "Interface Record";
        FulfillBaggageAllowance: {
            baggagePieces?: number;
            flights?: { itemId: string }[];
            totalWeightInKilograms?: number;
        };
        FulfillBrandedFare: { brandCode: string; flights?: { itemId: string }[] };
        FulfillDocumentsEnum: "All" | "Invoice" | "Electronic Ticketing Receipt";
        FulfillErrorPolicyEnum:
            | "ALLOW_PARTIAL_FULFILLMENT"
            | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR";
        FulfillFormOfPayment: {
            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;
        };
        FulfillFormOfPaymentTypeEnum: | "PAYMENTCARD"
        | "CASH"
        | "CHECK"
        | "MISCELLANEOUS"
        | "INSTALLMENTS"
        | "VIRTUAL_CARD";
        FulfillmentDetails: {
            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?: { itemId: string }[];
                    totalWeightInKilograms?: number;
                }[];
                brandedFares?: { brandCode: string; flights?: { itemId: string }[] }[];
                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?: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    isChangeable?: boolean;
                    maximumPenalty?: { amount: string; currencyCode: string };
                    type: "Changeable" | "Either or" | "Refundable";
                }[];
                priceQuoteRecordIds?: string[];
                priceWithTaxes: boolean;
                printDocuments?: "All"
                | "Invoice"
                | "Electronic Ticketing Receipt";
                returnFareFlexibilityDetails: boolean;
                sideTripFlights?: { itemId: string }[];
                spanishLargeFamilyDiscountLevel?: number;
                specificFares?: { fareBasisCode: string; flights?: { itemId: string }[] }[];
                validityDates?: {
                    endDate?: string;
                    flights?: { itemId: string }[];
                    startDate?: string;
                }[];
            };
        };
        FulfillNetRemit: {
            cashAmount?: string;
            commercialAgreementReferenceCode?: string;
            creditAmount?: string;
            discountAmount?: string;
            netRemitCode?: string;
            sellingFareAmount?: string;
            tourCode?: string;
        };
        FulfillQualifiers: {
            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?: { itemId: string }[];
                totalWeightInKilograms?: number;
            }[];
            brandedFares?: { brandCode: string; flights?: { itemId: string }[] }[];
            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?: "BEFORE_DEPARTURE"
                | "AFTER_DEPARTURE";
                isChangeable?: boolean;
                maximumPenalty?: { amount: string; currencyCode: string };
                type: "Changeable" | "Either or" | "Refundable";
            }[];
            priceQuoteRecordIds?: string[];
            priceWithTaxes: boolean;
            printDocuments?: "All"
            | "Invoice"
            | "Electronic Ticketing Receipt";
            returnFareFlexibilityDetails: boolean;
            sideTripFlights?: { itemId: string }[];
            spanishLargeFamilyDiscountLevel?: number;
            specificFares?: { fareBasisCode: string; flights?: { itemId: string }[] }[];
            validityDates?: {
                endDate?: string;
                flights?: { itemId: string }[];
                startDate?: string;
            }[];
        };
        FulfillSpecificFare: {
            fareBasisCode: string;
            flights?: { itemId: string }[];
        };
        FulfillStrongCustomerAuthentication: { channelCode?: string };
        FulfillTicket: {
            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;
        };
        FulfillTicketsRequest: {
            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?: { itemId: string }[];
                        totalWeightInKilograms?: number;
                    }[];
                    brandedFares?: { brandCode: string; flights?: { itemId: string }[] }[];
                    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?: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        isChangeable?: boolean;
                        maximumPenalty?: { amount: string; currencyCode: string };
                        type: "Changeable" | "Either or" | "Refundable";
                    }[];
                    priceQuoteRecordIds?: string[];
                    priceWithTaxes: boolean;
                    printDocuments?: "All"
                    | "Invoice"
                    | "Electronic Ticketing Receipt";
                    returnFareFlexibilityDetails: boolean;
                    sideTripFlights?: { itemId: string }[];
                    spanishLargeFamilyDiscountLevel?: number;
                    specificFares?: {
                        fareBasisCode: string;
                        flights?: { itemId: string }[];
                    }[];
                    validityDates?: {
                        endDate?: string;
                        flights?: { itemId: string }[];
                        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 }[];
        };
        FulfillTicketsResponse: {
            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?: 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?: { itemId: ... }[];
                            totalWeightInKilograms?: number;
                        }[];
                        brandedFares?: { brandCode: string; flights?: { itemId: ... }[] }[];
                        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?: "BEFORE_DEPARTURE"
                            | "AFTER_DEPARTURE";
                            isChangeable?: boolean;
                            maximumPenalty?: { amount: string; currencyCode: string };
                            type: "Changeable" | "Either or" | "Refundable";
                        }[];
                        priceQuoteRecordIds?: string[];
                        priceWithTaxes: boolean;
                        printDocuments?: "All"
                        | "Invoice"
                        | "Electronic Ticketing Receipt";
                        returnFareFlexibilityDetails: boolean;
                        sideTripFlights?: { itemId: string }[];
                        spanishLargeFamilyDiscountLevel?: number;
                        specificFares?: { fareBasisCode: string; flights?: { itemId: ... }[] }[];
                        validityDates?: {
                            endDate?: string;
                            flights?: { itemId: ... }[];
                            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 }[];
            };
            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;
        };
        FutureProcessing: {
            firstLineNumber: number;
            lastLineNumber?: number;
            travelerIndex?: number;
        };
        FutureTicketingPolicy: {
            comment?: string;
            queueNumber?: string;
            ticketingDate?: string;
            ticketingPcc?: string;
            ticketingTime?: string;
        };
        GenderEnum: | "FEMALE"
        | "MALE"
        | "INFANT_FEMALE"
        | "INFANT_MALE"
        | "UNDISCLOSED"
        | "UNDEFINED";
        GenericAddress: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        } & { freeText?: string; name?: string };
        GetBookingRequest: {
            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;
        };
        GetBookingResponse: {
            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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    date?: string;
                    endAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    endDate?: string;
                    endLocationCode?: string;
                    endTime?: string;
                    locationCode?: string;
                    startAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    dropOffContactInfo?: { emails?: string[] } & {
                        emergencyPhones?: string[];
                        faxes?: string[];
                        phones?: string[];
                    };
                    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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    pickUpContactInfo?: { emails?: string[] } & {
                        emergencyPhones?: string[];
                        faxes?: string[];
                        phones?: string[];
                    };
                    pickUpDate: string;
                    pickUpLocationCode?: string;
                    pickUpTime: string;
                    rateCode?: string;
                    refundPenalties?: {
                        applicableFromDate?: string;
                        applicableToDate?: string;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                    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?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    maximumPieces?: number;
                    totalWeightInKilograms?: number;
                    totalWeightInPounds?: number;
                };
                cabinBaggageCharges?: {
                    fee?: { amount: string; currencyCode: string };
                    isCheckInOnly?: boolean;
                    maximumSizeInCentimeters?: number;
                    maximumSizeInInches?: number;
                    maximumWeightInKilograms?: number;
                    maximumWeightInPounds?: number;
                    numberOfPieces: number;
                    specialItemDescription?: string;
                }[];
                checkedBaggageAllowance?: {
                    baggagePieces?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    maximumPieces?: number;
                    totalWeightInKilograms?: number;
                    totalWeightInPounds?: number;
                };
                checkedBaggageCharges?: {
                    fee?: { amount: string; currencyCode: string };
                    isCheckInOnly?: boolean;
                    maximumSizeInCentimeters?: number;
                    maximumSizeInInches?: number;
                    maximumWeightInKilograms?: number;
                    maximumWeightInPounds?: number;
                    numberOfPieces: number;
                    specialItemDescription?: string;
                }[];
                flights?: { itemId: string }[];
                travelerIndices?: number[];
            }[];
            fareRules?: {
                destinationAirportCode?: string;
                exchangePenalties?: {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                }[];
                isChangeable?: boolean;
                isRefundable?: boolean;
                originAirportCode?: string;
                owningAirlineCode: string;
                passengerCode?: string;
                refundPenalties?: {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                }[];
            }[];
            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: string; currencyCode: string };
                    brandAttributes?: { description?: string; itemId?: string }[];
                    brandFareCode?: string;
                    brandFareName?: string;
                    brandProgramCode?: string;
                    brandProgramName?: string;
                    checkedBaggageAllowance?: {
                        baggagePieces?: {
                            fee?: { amount: ...; currencyCode: ... };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        maximumPieces?: number;
                        totalWeightInKilograms?: number;
                        totalWeightInPounds?: number;
                    };
                    fareBasisCode?: string;
                    flightIndices?: number[];
                    flights?: { itemId: string }[];
                    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: string; currencyCode: string };
                    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?: string;
                        aircraftTypeName?: string;
                        airportCode?: string;
                        arrivalDate?: string;
                        arrivalTime?: string;
                        departureDate?: string;
                        departureTime?: string;
                        durationInMinutes?: number;
                    }[];
                    identityDocuments?: {
                        itemId?: string;
                        status?: | "Unknown"
                        | "Confirmed"
                        | "On Request"
                        | "Pending"
                        | "Cancelled"
                        | "Unconfirmed"
                        | "Waitlisted"
                        | "Infant/No Seat"
                        | "Priority Waitlist"
                        | "Quote"
                        | "Space Available"
                        | "Pending Quote"
                        | "No Seat"
                        | "Standby";
                    }[];
                    isPast?: boolean;
                    meals?: {
                        code: string;
                        description: | "Meal"
                        | "Alcoholic beverages for purchase"
                        | "Breakfast"
                        | "Cold meal"
                        | "Complimentary alcoholic beverages"
                        | "Continental breakfast"
                        | "Dinner"
                        | "Food for purchase"
                        | "Food and beverage for purchase"
                        | "Hot meal"
                        | "Lunch"
                        | "No meal service"
                        | "Refreshment"
                        | "Refreshment for purchase"
                        | "Snack";
                    }[];
                    numberOfSeats?: number;
                    operatingAirlineCode?: string;
                    operatingAirlineName?: string;
                    operatingFlightNumber?: number;
                    seats?: {
                        characteristics?: string[];
                        number: 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";
                    }[];
                    sourceType?: "NDC"
                    | "LCC"
                    | "ATPCO";
                    toAirportCode: string;
                    travelerIndices?: number[];
                    updatedArrivalDate?: string;
                    updatedArrivalTime?: string;
                    updatedDepartureDate?: string;
                    updatedDepartureTime?: string;
                }
            )[];
            flightTickets?: {
                agencyIataNumber?: string;
                airlineCode: string;
                allCoupons?: (
                    {
                        couponStatus: | "Airport Control"
                        | "Lifted"
                        | "Checked In"
                        | "Exchanged"
                        | "Flown"
                        | "Not Flown"
                        | "Refunded"
                        | "Voided"
                        | "Printed"
                        | "Okay"
                        | "Reactivated"
                        | "Irregular Operations"
                        | "Print Exchange"
                        | "Paper Ticket"
                        | "Suspended"
                        | "Locked";
                        couponStatusCode: | "AL"
                        | "PE"
                        | "XX"
                        | "S"
                        | "P"
                        | "B"
                        | "E"
                        | "BD"
                        | "CK"
                        | "I"
                        | "RF"
                        | "V"
                        | "PR"
                        | "IO"
                        | "T";
                    } & { itemId?: string }
                )[];
                commission?: {
                    commissionAmount?: string;
                    commissionPercentage?: string;
                    currencyCode?: string;
                };
                date: string;
                flightCoupons: (
                    { itemId: string } & {
                        couponStatus:
                            | "Airport Control"
                            | "Lifted"
                            | "Checked In"
                            | "Exchanged"
                            | "Flown"
                            | "Not Flown"
                            | "Refunded"
                            | "Voided"
                            | "Printed"
                            | "Okay"
                            | "Reactivated"
                            | "Irregular Operations"
                            | "Print Exchange"
                            | "Paper Ticket"
                            | "Suspended"
                            | "Locked";
                        couponStatusCode: | "AL"
                        | "PE"
                        | "XX"
                        | "S"
                        | "P"
                        | "B"
                        | "E"
                        | "BD"
                        | "CK"
                        | "I"
                        | "RF"
                        | "V"
                        | "PR"
                        | "IO"
                        | "T";
                    }
                )[];
                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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string } & { cityCode?: string };
                    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?: string[] } & {
                        emergencyPhones?: string[];
                        faxes?: string[];
                        phones?: string[];
                    };
                    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?: string;
                        applicableToDate?: string;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                    refundPenaltyPolicyCode?: string;
                    room?: {
                        agencyCommission?: {
                            commissionAmount?: string;
                            commissionPercentage?: string;
                            currencyCode?: string;
                        };
                        description?: string;
                        productCode?: string;
                        quantity: number;
                        roomRate?: { amount: string; currencyCode: string };
                        roomType: string;
                        roomTypeCode?: string;
                        travelerIndices?: number[];
                    };
                    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?: {
                            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 };
                    }
                )[];
                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?: "Unknown" | "Single" | "Multiple";
                    flights?: { itemId: string }[];
                    isCommissionable?: boolean;
                    isRefundable?: boolean;
                    itemId?: string;
                    numberOfItems?: number;
                    reasonForIssuanceCode?: string;
                    reasonForIssuanceName?:
                        | "UNKNOWN"
                        | "AIR_TRANSPORTATION"
                        | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                        | "BAGGAGE"
                        | "FINANCIAL_IMPACT"
                        | "AIRPORT_SERVICES"
                        | "MERCHANDISE"
                        | "INFLIGHT_SERVICES"
                        | "INDIVIDUAL_AIRLINE_USE";
                    source?: "ATPCO"
                    | "MERCHANDISING_MANAGER";
                    statusCode?: string;
                    statusName?:
                        | "Confirmed"
                        | "Confirmed with EMD issued"
                        | "On Request"
                        | "Pending"
                        | "Cancelled"
                        | "Unconfirmed"
                        | "Confirmed with pending payment"
                        | "Schedule change";
                    subcode?: string;
                    totals?: {
                        currencyCode: string;
                        fees?: string;
                        subtotal?: string;
                        taxes?: string;
                        total: string;
                    };
                    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?: "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;
                    itemId?: string;
                    middleName?: string;
                    placeOfBirth?: string;
                    placeOfIssue?: string;
                    residenceCountryCode?: string;
                    residenceDestinationAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    };
                    surname?: string;
                }[];
                isGrouped?: boolean;
                loyaltyPrograms?: {
                    programNumber: string;
                    programType?: | "FREQUENT_FLYER"
                    | "FREQUENT_RENTER"
                    | "LOYALTY_ID"
                    | "CORPORATE_LOYALTY_ID";
                    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?:
                        | "INVOICE"
                        | "ITINERARY"
                        | "GENERAL"
                        | "HISTORICAL"
                        | "CLIENT_ADDRESS"
                        | "ALPHA_CODED"
                        | "DELIVERY_ADDRESS"
                        | "HIDDEN"
                        | "CORPORATE"
                        | "FORM_OF_PAYMENT"
                        | "PRINT_ON_TICKET"
                        | "FILLER_STRIP"
                        | "INTERFACE"
                        | "QUEUE_PLACE";
                }[];
                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;
        };
        GuaranteeTypeNameEnum: | "Credit card"
        | "Travel agency name/address"
        | "Travel agency IATA number"
        | "Company name/address"
        | "Corporate ID/CD number"
        | "Virtual card";
        HaltOnFlightStatusCodeEnum: | "US"
        | "NO"
        | "NN"
        | "UC"
        | "UN"
        | "UU"
        | "LL"
        | "HL";
        HardcopyPrinter: { address?: string; spacing?: string };
        HiddenStop: {
            aircraftTypeCode?: string;
            aircraftTypeName?: string;
            airportCode?: string;
            arrivalDate?: string;
            arrivalTime?: string;
            departureDate?: string;
            departureTime?: string;
            durationInMinutes?: number;
        };
        Hotel: { itemId: string } & {
            address: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string } & { cityCode?: string };
            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?: string[] } & {
                emergencyPhones?: string[];
                faxes?: string[];
                phones?: string[];
            };
            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?: string;
                applicableToDate?: string;
                penalty: { amount: string; currencyCode: string };
            }[];
            refundPenaltyPolicyCode?: string;
            room?: {
                agencyCommission?: {
                    commissionAmount?: string;
                    commissionPercentage?: string;
                    currencyCode?: string;
                };
                description?: string;
                productCode?: string;
                quantity: number;
                roomRate?: { amount: string; currencyCode: string };
                roomType: string;
                roomTypeCode?: string;
                travelerIndices?: number[];
            };
            sabrePropertyId?: string;
            sourceTypeCode?: number;
            sourceTypeName?: | "Unknown"
            | "Legacy"
            | "Sabre GDS"
            | "Expedia Associate Network"
            | "HotelBeds.com"
            | "Booking.com"
            | "CMNet";
            specialInstructions?: string;
        };
        HotelAddress: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        } & { freeText?: string; name?: string } & { cityCode?: string };
        HotelDetailsToModify: {
            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;
        };
        HotelItem: {
            address: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string } & { cityCode?: string };
            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?: string[] } & {
                emergencyPhones?: string[];
                faxes?: string[];
                phones?: string[];
            };
            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?: string;
                applicableToDate?: string;
                penalty: { amount: string; currencyCode: string };
            }[];
            refundPenaltyPolicyCode?: string;
            room?: {
                agencyCommission?: {
                    commissionAmount?: string;
                    commissionPercentage?: string;
                    currencyCode?: string;
                };
                description?: string;
                productCode?: string;
                quantity: number;
                roomRate?: { amount: string; currencyCode: string };
                roomType: string;
                roomTypeCode?: string;
                travelerIndices?: number[];
            };
            sabrePropertyId?: string;
            sourceTypeCode?: number;
            sourceTypeName?: | "Unknown"
            | "Legacy"
            | "Sabre GDS"
            | "Expedia Associate Network"
            | "HotelBeds.com"
            | "Booking.com"
            | "CMNet";
            specialInstructions?: string;
        };
        HotelPaymentPolicyEnum: "DEPOSIT"
        | "GUARANTEE"
        | "LATE";
        HotelReference: { itemId: string };
        HotelSourceEnum:
            | "Unknown"
            | "Legacy"
            | "Sabre GDS"
            | "Expedia Associate Network"
            | "HotelBeds.com"
            | "Booking.com"
            | "CMNet";
        HotelToBook: {
            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;
        };
        HotelToModify: { 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;
        };
        IdentityDocument: {
            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;
            itemId?: string;
            middleName?: string;
            placeOfBirth?: string;
            placeOfIssue?: string;
            residenceCountryCode?: string;
            residenceDestinationAddress?: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            };
            surname?: string;
        };
        IdentityDocumentDetails: {
            birthDate?: string;
            documentNumber?: string;
            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;
            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;
            residenceDestinationAddress?: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            };
            surname?: string;
        };
        IdentityDocumentReference: {
            itemId?: string;
            status?: | "Unknown"
            | "Confirmed"
            | "On Request"
            | "Pending"
            | "Cancelled"
            | "Unconfirmed"
            | "Waitlisted"
            | "Infant/No Seat"
            | "Priority Waitlist"
            | "Quote"
            | "Space Available"
            | "Pending Quote"
            | "No Seat"
            | "Standby";
        };
        Journey: {
            departureDate: string;
            departureTime: string;
            firstAirportCode: string;
            lastAirportCode: string;
            numberOfFlights: number;
        };
        JourneyTypeCodeEnum: "F"
        | "M"
        | "B";
        LoyaltyProgram: {
            programNumber: string;
            programType?:
                | "FREQUENT_FLYER"
                | "FREQUENT_RENTER"
                | "LOYALTY_ID"
                | "CORPORATE_LOYALTY_ID";
            receiverCode?: string;
            supplierCode?: string;
            tierLevel?: number;
        };
        ManualApproval: {
            airlineCode: string;
            amount: string;
            code: string;
            currencyCode: string;
            expiryDateTime: string;
            requestDateTime: string;
        };
        Meal: {
            code: string;
            description: | "Meal"
            | "Alcoholic beverages for purchase"
            | "Breakfast"
            | "Cold meal"
            | "Complimentary alcoholic beverages"
            | "Continental breakfast"
            | "Dinner"
            | "Food for purchase"
            | "Food and beverage for purchase"
            | "Hot meal"
            | "Lunch"
            | "No meal service"
            | "Refreshment"
            | "Refreshment for purchase"
            | "Snack";
        };
        MealDescriptionEnum: | "Meal"
        | "Alcoholic beverages for purchase"
        | "Breakfast"
        | "Cold meal"
        | "Complimentary alcoholic beverages"
        | "Continental breakfast"
        | "Dinner"
        | "Food for purchase"
        | "Food and beverage for purchase"
        | "Hot meal"
        | "Lunch"
        | "No meal service"
        | "Refreshment"
        | "Refreshment for purchase"
        | "Snack";
        MiscellaneousServiceFee: {
            currencyCode?: string;
            customerReference?: string;
            description?: string;
            overrideAmount?: string;
        };
        ModifyBookingRequest: {
            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?: 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 };
                        }
                    )[];
                };
                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: | "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;
                            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;
                            residenceDestinationAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            };
                            surname?: string;
                        } & { flights?: { itemId: string }[] }
                    )[];
                    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?: 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 };
                        }
                    )[];
                };
                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: | "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;
                            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;
                            residenceDestinationAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            };
                            surname?: string;
                        } & { flights?: { itemId: string }[] }
                    )[];
                    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;
        };
        ModifyBookingResponse: {
            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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        date?: string;
                        endAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        endDate?: string;
                        endLocationCode?: string;
                        endTime?: string;
                        locationCode?: string;
                        startAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        dropOffContactInfo?: { emails?: string[] } & {
                            emergencyPhones?: string[];
                            faxes?: string[];
                            phones?: string[];
                        };
                        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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        pickUpContactInfo?: { emails?: string[] } & {
                            emergencyPhones?: string[];
                            faxes?: string[];
                            phones?: string[];
                        };
                        pickUpDate: string;
                        pickUpLocationCode?: string;
                        pickUpTime: string;
                        rateCode?: string;
                        refundPenalties?: {
                            applicableFromDate?: string;
                            applicableToDate?: string;
                            penalty: { amount: string; currencyCode: string };
                        }[];
                        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?: { amount: string; currencyCode: string };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        maximumPieces?: number;
                        totalWeightInKilograms?: number;
                        totalWeightInPounds?: number;
                    };
                    cabinBaggageCharges?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    checkedBaggageAllowance?: {
                        baggagePieces?: {
                            fee?: { amount: string; currencyCode: string };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        maximumPieces?: number;
                        totalWeightInKilograms?: number;
                        totalWeightInPounds?: number;
                    };
                    checkedBaggageCharges?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    flights?: { itemId: string }[];
                    travelerIndices?: number[];
                }[];
                fareRules?: {
                    destinationAirportCode?: string;
                    exchangePenalties?: {
                        applicability: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        conditionsApply: boolean;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                    isChangeable?: boolean;
                    isRefundable?: boolean;
                    originAirportCode?: string;
                    owningAirlineCode: string;
                    passengerCode?: string;
                    refundPenalties?: {
                        applicability: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        conditionsApply: boolean;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                }[];
                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: string; currencyCode: string };
                        brandAttributes?: { description?: string; itemId?: string }[];
                        brandFareCode?: string;
                        brandFareName?: string;
                        brandProgramCode?: string;
                        brandProgramName?: string;
                        checkedBaggageAllowance?: {
                            baggagePieces?: {
                                fee?: { amount: ...; currencyCode: ... };
                                isCheckInOnly?: boolean;
                                maximumSizeInCentimeters?: number;
                                maximumSizeInInches?: number;
                                maximumWeightInKilograms?: number;
                                maximumWeightInPounds?: number;
                                numberOfPieces: number;
                                specialItemDescription?: string;
                            }[];
                            maximumPieces?: number;
                            totalWeightInKilograms?: number;
                            totalWeightInPounds?: number;
                        };
                        fareBasisCode?: string;
                        flightIndices?: number[];
                        flights?: { itemId: string }[];
                        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: string; currencyCode: string };
                        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?: string;
                            aircraftTypeName?: string;
                            airportCode?: string;
                            arrivalDate?: string;
                            arrivalTime?: string;
                            departureDate?: string;
                            departureTime?: string;
                            durationInMinutes?: number;
                        }[];
                        identityDocuments?: {
                            itemId?: string;
                            status?: | "Unknown"
                            | "Confirmed"
                            | "On Request"
                            | "Pending"
                            | "Cancelled"
                            | "Unconfirmed"
                            | "Waitlisted"
                            | "Infant/No Seat"
                            | "Priority Waitlist"
                            | "Quote"
                            | "Space Available"
                            | "Pending Quote"
                            | "No Seat"
                            | "Standby";
                        }[];
                        isPast?: boolean;
                        meals?: {
                            code: string;
                            description: | "Meal"
                            | "Alcoholic beverages for purchase"
                            | "Breakfast"
                            | "Cold meal"
                            | "Complimentary alcoholic beverages"
                            | "Continental breakfast"
                            | "Dinner"
                            | "Food for purchase"
                            | "Food and beverage for purchase"
                            | "Hot meal"
                            | "Lunch"
                            | "No meal service"
                            | "Refreshment"
                            | "Refreshment for purchase"
                            | "Snack";
                        }[];
                        numberOfSeats?: number;
                        operatingAirlineCode?: string;
                        operatingAirlineName?: string;
                        operatingFlightNumber?: number;
                        seats?: {
                            characteristics?: string[];
                            number: 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";
                        }[];
                        sourceType?: "NDC"
                        | "LCC"
                        | "ATPCO";
                        toAirportCode: string;
                        travelerIndices?: number[];
                        updatedArrivalDate?: string;
                        updatedArrivalTime?: string;
                        updatedDepartureDate?: string;
                        updatedDepartureTime?: string;
                    }
                )[];
                flightTickets?: {
                    agencyIataNumber?: string;
                    airlineCode: string;
                    allCoupons?: (
                        {
                            couponStatus: | "Airport Control"
                            | "Lifted"
                            | "Checked In"
                            | "Exchanged"
                            | "Flown"
                            | "Not Flown"
                            | "Refunded"
                            | "Voided"
                            | "Printed"
                            | "Okay"
                            | "Reactivated"
                            | "Irregular Operations"
                            | "Print Exchange"
                            | "Paper Ticket"
                            | "Suspended"
                            | "Locked";
                            couponStatusCode: | "AL"
                            | "PE"
                            | "XX"
                            | "S"
                            | "P"
                            | "B"
                            | "E"
                            | "BD"
                            | "CK"
                            | "I"
                            | "RF"
                            | "V"
                            | "PR"
                            | "IO"
                            | "T";
                        } & { itemId?: string }
                    )[];
                    commission?: {
                        commissionAmount?: string;
                        commissionPercentage?: string;
                        currencyCode?: string;
                    };
                    date: string;
                    flightCoupons: (
                        { itemId: string } & {
                            couponStatus:
                                | "Airport Control"
                                | "Lifted"
                                | "Checked In"
                                | "Exchanged"
                                | "Flown"
                                | "Not Flown"
                                | "Refunded"
                                | "Voided"
                                | "Printed"
                                | "Okay"
                                | "Reactivated"
                                | "Irregular Operations"
                                | "Print Exchange"
                                | "Paper Ticket"
                                | "Suspended"
                                | "Locked";
                            couponStatusCode: | "AL"
                            | "PE"
                            | "XX"
                            | "S"
                            | "P"
                            | "B"
                            | "E"
                            | "BD"
                            | "CK"
                            | "I"
                            | "RF"
                            | "V"
                            | "PR"
                            | "IO"
                            | "T";
                        }
                    )[];
                    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?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string } & { cityCode?: string };
                        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?: string[] } & {
                            emergencyPhones?: string[];
                            faxes?: string[];
                            phones?: string[];
                        };
                        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?: string;
                            applicableToDate?: string;
                            penalty: { amount: string; currencyCode: string };
                        }[];
                        refundPenaltyPolicyCode?: string;
                        room?: {
                            agencyCommission?: {
                                commissionAmount?: string;
                                commissionPercentage?: string;
                                currencyCode?: string;
                            };
                            description?: string;
                            productCode?: string;
                            quantity: number;
                            roomRate?: { amount: string; currencyCode: string };
                            roomType: string;
                            roomTypeCode?: string;
                            travelerIndices?: number[];
                        };
                        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?: {
                                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 };
                        }
                    )[];
                    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?: "Unknown" | "Single" | "Multiple";
                        flights?: { itemId: string }[];
                        isCommissionable?: boolean;
                        isRefundable?: boolean;
                        itemId?: string;
                        numberOfItems?: number;
                        reasonForIssuanceCode?: string;
                        reasonForIssuanceName?:
                            | "UNKNOWN"
                            | "AIR_TRANSPORTATION"
                            | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                            | "BAGGAGE"
                            | "FINANCIAL_IMPACT"
                            | "AIRPORT_SERVICES"
                            | "MERCHANDISE"
                            | "INFLIGHT_SERVICES"
                            | "INDIVIDUAL_AIRLINE_USE";
                        source?: "ATPCO"
                        | "MERCHANDISING_MANAGER";
                        statusCode?: string;
                        statusName?:
                            | "Confirmed"
                            | "Confirmed with EMD issued"
                            | "On Request"
                            | "Pending"
                            | "Cancelled"
                            | "Unconfirmed"
                            | "Confirmed with pending payment"
                            | "Schedule change";
                        subcode?: string;
                        totals?: {
                            currencyCode: string;
                            fees?: string;
                            subtotal?: string;
                            taxes?: string;
                            total: string;
                        };
                        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?: "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;
                        itemId?: string;
                        middleName?: string;
                        placeOfBirth?: string;
                        placeOfIssue?: string;
                        residenceCountryCode?: string;
                        residenceDestinationAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        };
                        surname?: string;
                    }[];
                    isGrouped?: boolean;
                    loyaltyPrograms?: {
                        programNumber: string;
                        programType?: | "FREQUENT_FLYER"
                        | "FREQUENT_RENTER"
                        | "LOYALTY_ID"
                        | "CORPORATE_LOYALTY_ID";
                        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?:
                            | "INVOICE"
                            | "ITINERARY"
                            | "GENERAL"
                            | "HISTORICAL"
                            | "CLIENT_ADDRESS"
                            | "ALPHA_CODED"
                            | "DELIVERY_ADDRESS"
                            | "HIDDEN"
                            | "CORPORATE"
                            | "FORM_OF_PAYMENT"
                            | "PRINT_ON_TICKET"
                            | "FILLER_STRIP"
                            | "INTERFACE"
                            | "QUEUE_PLACE";
                    }[];
                    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: 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?: 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 };
                            }
                        )[];
                    };
                    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: | "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;
                                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;
                                residenceDestinationAddress?: {
                                    city?: string;
                                    countryCode?: string;
                                    postalCode?: string;
                                    stateProvince?: string;
                                    street?: string;
                                };
                                surname?: string;
                            } & { flights?: { itemId: ... }[] }
                        )[];
                        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?: 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 };
                            }
                        )[];
                    };
                    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: | "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;
                                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;
                                residenceDestinationAddress?: {
                                    city?: string;
                                    countryCode?: string;
                                    postalCode?: string;
                                    stateProvince?: string;
                                    street?: string;
                                };
                                surname?: string;
                            } & { flights?: { itemId: ... }[] }
                        )[];
                        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;
            };
            timestamp?: string;
        };
        ModifyIdentityDocument: {
            birthDate?: string;
            documentNumber?: string;
            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;
            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;
            residenceDestinationAddress?: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            };
            surname?: string;
        } & { flights?: { itemId: string }[] };
        NetRemit: {
            cashValue?: { amount: string; currencyCode: string };
            commercialAgreementReferenceCode?: string;
            creditValue?: { amount: string; currencyCode: string };
            netRemitCode?: string;
        };
        NonElectronicTicket: {
            date?: string;
            ticketingPcc?: string;
            ticketingUserCode?: string;
            ticketNumber?: string;
            ticketStatus?: "Unknown"
            | "Active"
            | "Inactive";
            time?: string;
            travelerIndex?: number;
        };
        NonElectronicTicketStatusEnum: "Unknown"
        | "Active"
        | "Inactive";
        NonShowPenalty: {
            penalty?: { amount: string; currencyCode: string };
            source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
        };
        Notification: {
            email?: | "DEFAULT"
            | "INVOICE"
            | "ETICKET"
            | "ETICKET_PDF"
            | "ITINERARY"
            | "ITINERARY_PDF";
            queuePlacement?: {
                futureQueuePlacementDate?: string;
                pcc?: string;
                prefatoryInstructionCode: number;
                queueName?: string;
                queueNumber?: number;
            }[];
        };
        NotificationEmailEnum: | "DEFAULT"
        | "INVOICE"
        | "ETICKET"
        | "ETICKET_PDF"
        | "ITINERARY"
        | "ITINERARY_PDF";
        OtherServiceInformation: {
            airlineCode?: string;
            chainCode?: string;
            serviceMessage?: string;
            travelerIndex?: number;
            vendorCode?: string;
        };
        OverrideTax: {
            airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
            taxAmount?: string;
            taxCode?: string;
        };
        PassengerPricing: {
            forcePassengerCode?: boolean;
            numberOfpassengers?: number;
            passengerCode?: string;
        };
        PassengerStatusEnum: "RESIDENT"
        | "NATIONALITY"
        | "EMPLOYEE";
        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 };
                }
            )[];
        };
        PaymentMethod: {
            amountOnSecondFormOfPayment?: string;
            primaryFormOfPayment: number;
            secondaryFormOfPayment?: number;
        };
        PaymentToModify: {
            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 };
                }
            )[];
        };
        PenaltyItem: {
            applicability: "BEFORE_DEPARTURE"
            | "AFTER_DEPARTURE";
            conditionsApply: boolean;
            penalty: { amount: string; currencyCode: string };
        } & {
            hasNoShowCost?: boolean;
            noShowPenalty?: {
                penalty?: { amount: string; currencyCode: string };
                source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
            };
            source?: "Unknown"
            | "Category 33"
            | "Category 31"
            | "Category 16";
        };
        PenaltyRestriction: {
            applicability?: "BEFORE_DEPARTURE"
            | "AFTER_DEPARTURE";
            penaltyAmount?: { amount?: string };
            restrictionType: "CHANGEABLE" | "REFUNDABLE" | "CHANGEABLE_AND_REFUNDABLE";
        };
        PenaltyRestrictionAmount: { amount?: string };
        PenaltySourceEnum:
            | "Unknown"
            | "Category 33"
            | "Category 31"
            | "Category 16";
        Phone: { label?: string; number: string };
        PriceComparison: {
            amount?: string;
            comparisonType:
                | "INCREASE_BY_AMOUNT"
                | "INCREASE_BY_PERCENT"
                | "DECREASE_BY_AMOUNT"
                | "DECREASE_BY_PERCENT";
            desiredAmount: string;
            percent?: string;
        };
        PriceQuoteHandlingMethodEnum: "Reprice"
        | "Override"
        | "Quit";
        PricingDetails: {
            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: string[]; forceAccountCodes?: boolean };
                adjustedSellingLevel?: {
                    ignore?: boolean;
                    markDownAmount?: string;
                    markUpAmount?: string;
                    returnBreakdown?: boolean;
                };
                baggageAllowance?: {
                    baggagePieces?: number;
                    flightIndices?: number[];
                    totalWeightInKilograms?: number;
                }[];
                brandedFares?: { brandCode: string; flightIndices?: number[] }[];
                breakFareFlightIndices?: number[];
                cabinCode?: string;
                commissionContractNames?: string[];
                considerMultiTicket?: boolean;
                corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                currencyPricing?: string;
                exchangePenalties?: {
                    applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                    penaltyAmount?: { amount?: string };
                    restrictionType:
                        | "CHANGEABLE"
                        | "REFUNDABLE"
                        | "CHANGEABLE_AND_REFUNDABLE";
                };
                excludeBasicEconomyFares?: string[];
                exemptTaxes?: string[];
                flightIndices?: number[];
                forceConnectionFlightIndices?: number[];
                forceStopoverFlightIndices?: number[];
                hemisphereCode?: number;
                journeyCode?: number;
                netRemit?: {
                    cashValue?: { amount: string; currencyCode: string };
                    commercialAgreementReferenceCode?: string;
                    creditValue?: { amount: string; currencyCode: string };
                    netRemitCode?: string;
                };
                overrideTaxes?: { amount: string; taxCode: string }[];
                passengersPricing?: {
                    forcePassengerCode?: boolean;
                    numberOfpassengers?: number;
                    passengerCode?: string;
                }[];
                passengerStatus?: "RESIDENT"
                | "NATIONALITY"
                | "EMPLOYEE";
                passengerStatusCountryCode?: string;
                payment?: {
                    amountOnSecondFormOfPayment?: string;
                    primaryFormOfPayment: number;
                    secondaryFormOfPayment?: number;
                };
                priceWithTaxes: boolean;
                rebookLowestFares?: boolean;
                retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                settlementMethod?: string;
                sideTripFlightIndices?: number[];
                spanishIslandResidentDiscountCode?: string;
                spanishLargeFamilyDiscountLevel?: number;
                specificFares?: { fareBasisCode: string; flightIndices?: number[] }[];
                useExcursionFare?: boolean;
                useNetFare?: boolean;
                usePrivateFare?: boolean;
                usePublicFare?: boolean;
                useRoundTheWorldFare?: boolean;
            };
        };
        PricingQualifiers: {
            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: string[]; forceAccountCodes?: boolean };
            adjustedSellingLevel?: {
                ignore?: boolean;
                markDownAmount?: string;
                markUpAmount?: string;
                returnBreakdown?: boolean;
            };
            baggageAllowance?: {
                baggagePieces?: number;
                flightIndices?: number[];
                totalWeightInKilograms?: number;
            }[];
            brandedFares?: { brandCode: string; flightIndices?: number[] }[];
            breakFareFlightIndices?: number[];
            cabinCode?: string;
            commissionContractNames?: string[];
            considerMultiTicket?: boolean;
            corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
            currencyPricing?: string;
            exchangePenalties?: {
                applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                penaltyAmount?: { amount?: string };
                restrictionType:
                    | "CHANGEABLE"
                    | "REFUNDABLE"
                    | "CHANGEABLE_AND_REFUNDABLE";
            };
            excludeBasicEconomyFares?: string[];
            exemptTaxes?: string[];
            flightIndices?: number[];
            forceConnectionFlightIndices?: number[];
            forceStopoverFlightIndices?: number[];
            hemisphereCode?: number;
            journeyCode?: number;
            netRemit?: {
                cashValue?: { amount: string; currencyCode: string };
                commercialAgreementReferenceCode?: string;
                creditValue?: { amount: string; currencyCode: string };
                netRemitCode?: string;
            };
            overrideTaxes?: { amount: string; taxCode: string }[];
            passengersPricing?: {
                forcePassengerCode?: boolean;
                numberOfpassengers?: number;
                passengerCode?: string;
            }[];
            passengerStatus?: "RESIDENT"
            | "NATIONALITY"
            | "EMPLOYEE";
            passengerStatusCountryCode?: string;
            payment?: {
                amountOnSecondFormOfPayment?: string;
                primaryFormOfPayment: number;
                secondaryFormOfPayment?: number;
            };
            priceWithTaxes: boolean;
            rebookLowestFares?: boolean;
            retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
            settlementMethod?: string;
            sideTripFlightIndices?: number[];
            spanishIslandResidentDiscountCode?: string;
            spanishLargeFamilyDiscountLevel?: number;
            specificFares?: { fareBasisCode: string; flightIndices?: number[] }[];
            useExcursionFare?: boolean;
            useNetFare?: boolean;
            usePrivateFare?: boolean;
            usePublicFare?: boolean;
            useRoundTheWorldFare?: boolean;
        };
        PricingStatusCodeEnum: "A"
        | "H";
        PricingStatusNameEnum: "Active" | "History";
        PricingTypeCodeEnum: "S" | "A" | "M";
        PricingTypeNameEnum: "Unknown" | "System" | "Amended" | "Manual";
        PrinterAddress: {
            hardcopy?: { address?: string; spacing?: string };
            invoiceItinerary?: string;
            profileNumber?: number;
            ticket?: { address?: string; countryCode?: string };
        };
        Profile: {
            domainId: string;
            filterId?: string;
            profileName?: string;
            profileTypeCode: string;
            uniqueId?: string;
        };
        ProgramTypeEnum: | "FREQUENT_FLYER"
        | "FREQUENT_RENTER"
        | "LOYALTY_ID"
        | "CORPORATE_LOYALTY_ID";
        Queue: {
            futureQueuePlacementDate?: string;
            pcc?: string;
            prefatoryInstructionCode: number;
            queueName?: string;
            queueNumber?: number;
        };
        ReasonForIssuanceEnum: | "UNKNOWN"
        | "AIR_TRANSPORTATION"
        | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
        | "BAGGAGE"
        | "FINANCIAL_IMPACT"
        | "AIRPORT_SERVICES"
        | "MERCHANDISE"
        | "INFLIGHT_SERVICES"
        | "INDIVIDUAL_AIRLINE_USE";
        RefundFlightTicket: {
            number?: string;
            refundQualifiers?: {
                commissionAmount?: string;
                commissionOnPenalty?: string;
                commissionPercentage?: string;
                journeyTypeCode?: "F"
                | "M"
                | "B";
                overrideCancelFee?: string;
                overrideTaxes?: {
                    airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
                    taxAmount?: string;
                    taxCode?: string;
                }[];
                splitRefundAmounts?: { amount?: string }[];
                tourCode?: string;
                waiverCode?: string;
            };
        };
        RefundQualifiers: {
            commissionAmount?: string;
            commissionOnPenalty?: string;
            commissionPercentage?: string;
            journeyTypeCode?: "F"
            | "M"
            | "B";
            overrideCancelFee?: string;
            overrideTaxes?: {
                airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
                taxAmount?: string;
                taxCode?: string;
            }[];
            splitRefundAmounts?: { amount?: string }[];
            tourCode?: string;
            waiverCode?: string;
        };
        RefundTicketsRequest: {
            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?: string; taxAmount?: string }[];
                        taxAmount?: string;
                        taxCode?: string;
                    }[];
                    splitRefundAmounts?: { amount?: string }[];
                    tourCode?: string;
                    waiverCode?: string;
                };
            }[];
        };
        RefundTicketsResponse: {
            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?: { airportCode?: string; taxAmount?: string }[];
                            taxAmount?: string;
                            taxCode?: string;
                        }[];
                        splitRefundAmounts?: { amount?: string }[];
                        tourCode?: string;
                        waiverCode?: string;
                    };
                }[];
            };
            tickets?: {
                exchangePenalties?: (
                    {
                        applicability: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        conditionsApply: boolean;
                        penalty: { amount: string; currencyCode: string };
                    } & {
                        hasNoShowCost?: boolean;
                        noShowPenalty?: {
                            penalty?: { amount: string; currencyCode: string };
                            source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                        };
                        source?: "Unknown"
                        | "Category 33"
                        | "Category 31"
                        | "Category 16";
                    }
                )[];
                isAutomatedRefundsEligible?: boolean;
                isChangeable?: boolean;
                isRefundable?: boolean;
                isVoidable?: boolean;
                number?: string;
                refundPenalties?: (
                    {
                        applicability: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        conditionsApply: boolean;
                        penalty: { amount: string; currencyCode: string };
                    } & {
                        hasNoShowCost?: boolean;
                        noShowPenalty?: {
                            penalty?: { amount: string; currencyCode: string };
                            source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                        };
                        source?: "Unknown"
                        | "Category 33"
                        | "Category 31"
                        | "Category 16";
                    }
                )[];
                refundTaxes?: { amount: string; taxCode: string }[];
                refundTotals?: {
                    currencyCode: string;
                    fees?: string;
                    subtotal?: string;
                    taxes?: string;
                    total: string;
                };
            }[];
            timestamp?: string;
        };
        Remark: {
            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";
        };
        RemarkTypeEnum: | "INVOICE"
        | "ITINERARY"
        | "GENERAL"
        | "HISTORICAL"
        | "CLIENT_ADDRESS"
        | "ALPHA_CODED"
        | "DELIVERY_ADDRESS"
        | "HIDDEN"
        | "CORPORATE"
        | "FORM_OF_PAYMENT"
        | "PRINT_ON_TICKET"
        | "FILLER_STRIP"
        | "INTERFACE"
        | "QUEUE_PLACE";
        RetailerRule: { forceQualifiers?: boolean; qualifiers: string[] };
        ReturnOnlyEnum:
            | "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";
        Room: {
            agencyCommission?: {
                commissionAmount?: string;
                commissionPercentage?: string;
                currencyCode?: string;
            };
            description?: string;
            productCode?: string;
            quantity: number;
            roomRate?: { amount: string; currencyCode: string };
            roomType: string;
            roomTypeCode?: string;
            travelerIndices?: number[];
        };
        RoomExtra: { amount?: string; quantity: number; roomExtraType: number };
        RoomToBook: {
            bedTypeCode?: number;
            isSmoking: boolean;
            physicalDisabilityCode?: number;
            roomExtras?: { amount?: string; quantity: number; roomExtraType: number }[];
            travelerIndices?: number[];
        };
        RoomToModify: { productCode?: string; travelerIndices: number[] };
        Seat: {
            characteristics?: string[];
            number: 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";
        };
        SeatAreaPreferenceEnum: | "AISLE"
        | "BULKHEAD"
        | "FRONT"
        | "LEFT_SIDE"
        | "RIGHT_SIDE"
        | "TAIL"
        | "WINDOW";
        SeatToModify: { number: string; offerItemId?: string };
        Segment: { id?: string; sequence?: number };
        SegmentBasicAttributes: {
            address?: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string };
            date?: string;
            endAddress?: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string };
            endDate?: string;
            endLocationCode?: string;
            endTime?: string;
            locationCode?: string;
            startAddress?: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string };
            startDate?: string;
            startLocationCode?: string;
            startTime?: string;
            text?: string;
            time?: string;
            type: string;
            vendorCode?: string;
        };
        SegmentBasics: { id: string } & {
            address?: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string };
            date?: string;
            endAddress?: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string };
            endDate?: string;
            endLocationCode?: string;
            endTime?: string;
            locationCode?: string;
            startAddress?: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string };
            startDate?: string;
            startLocationCode?: string;
            startTime?: string;
            text?: string;
            time?: string;
            type: string;
            vendorCode?: string;
        };
        SegmentReference: { id: string };
        SpecialService: {
            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[];
        };
        SpecialServiceToModify: {
            code: string;
            flights?: { itemId: string }[];
            message?: string;
            travelerIndices?: number[];
        };
        SpecificFare: { fareBasisCode: string; flightIndices?: number[] };
        SplitRefundAmount: { amount?: string };
        StatusNameEnum:
            | "Unknown"
            | "Confirmed"
            | "On Request"
            | "Pending"
            | "Cancelled"
            | "Unconfirmed"
            | "Waitlisted"
            | "Infant/No Seat"
            | "Priority Waitlist"
            | "Quote"
            | "Space Available"
            | "Pending Quote"
            | "No Seat"
            | "Standby";
        StrongCustomerAuthentication: {
            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;
        };
        TariffBasisTypeEnum: "Domestic"
        | "Foreign"
        | "International";
        Tax: { amount: string; taxCode: string };
        TaxComponent: {
            taxAmount?: { amount: string; currencyCode: string };
            taxCode?: string;
        };
        Ticket: {
            exchangePenalties?: (
                {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                } & {
                    hasNoShowCost?: boolean;
                    noShowPenalty?: {
                        penalty?: { amount: string; currencyCode: string };
                        source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                    };
                    source?: "Unknown"
                    | "Category 33"
                    | "Category 31"
                    | "Category 16";
                }
            )[];
            isAutomatedRefundsEligible?: boolean;
            isChangeable?: boolean;
            isRefundable?: boolean;
            isVoidable?: boolean;
            number?: string;
            refundPenalties?: (
                {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                } & {
                    hasNoShowCost?: boolean;
                    noShowPenalty?: {
                        penalty?: { amount: string; currencyCode: string };
                        source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                    };
                    source?: "Unknown"
                    | "Category 33"
                    | "Category 31"
                    | "Category 16";
                }
            )[];
            refundTaxes?: { amount: string; taxCode: string }[];
            refundTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            };
        };
        TicketCoupon: {
            couponStatus: | "Airport Control"
            | "Lifted"
            | "Checked In"
            | "Exchanged"
            | "Flown"
            | "Not Flown"
            | "Refunded"
            | "Voided"
            | "Printed"
            | "Okay"
            | "Reactivated"
            | "Irregular Operations"
            | "Print Exchange"
            | "Paper Ticket"
            | "Suspended"
            | "Locked";
            couponStatusCode: | "AL"
            | "PE"
            | "XX"
            | "S"
            | "P"
            | "B"
            | "E"
            | "BD"
            | "CK"
            | "I"
            | "RF"
            | "V"
            | "PR"
            | "IO"
            | "T";
        } & { itemId?: string };
        TicketingPolicyEnum:
            | "TODAY"
            | "ALREADY_TICKETED"
            | "FUTURE_TICKETING"
            | "TICKETING_TIME_LIMIT";
        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;
        };
        TicketingTimeLimitPolicy: {
            airlineCode?: string;
            ticketingDate?: string;
            ticketingTime?: string;
        };
        TicketPenalty: {
            applicability?: "BEFORE_DEPARTURE"
            | "AFTER_DEPARTURE";
            isChangeable?: boolean;
            maximumPenalty?: { amount: string; currencyCode: string };
            type: "Changeable" | "Either or" | "Refundable";
        };
        TicketPenaltyTypeEnum: "Changeable"
        | "Either or"
        | "Refundable";
        TicketPrinter: { address?: string; countryCode?: string };
        TicketStatusEnum: "Voided" | "Issued" | "Refunded/Exchanged";
        TotalPayments: {
            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?: {
                        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 };
                }
            )[];
            hotelTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            }[];
            trainTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            }[];
        };
        TotalValues: {
            currencyCode: string;
            fees?: string;
            subtotal?: string;
            taxes?: string;
            total: string;
        };
        TourCodeOverridesOptionEnum: | "REPLACE_WITH_BT"
        | "REPLACE_WITH_IT"
        | "SUPPRESS_IT"
        | "SUPPRESS_IT_AND_FARE";
        Train: { 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;
        };
        TrainItem: {
            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;
        };
        TrainReference: { itemId: string };
        Traveler: {
            address?: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string };
            ancillaries?: {
                airlineCode?: string;
                commercialName?: string;
                electronicMiscellaneousDocumentNumber?: string;
                flightApplicabilityType?: "Unknown" | "Single" | "Multiple";
                flights?: { itemId: string }[];
                isCommissionable?: boolean;
                isRefundable?: boolean;
                itemId?: string;
                numberOfItems?: number;
                reasonForIssuanceCode?: string;
                reasonForIssuanceName?:
                    | "UNKNOWN"
                    | "AIR_TRANSPORTATION"
                    | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                    | "BAGGAGE"
                    | "FINANCIAL_IMPACT"
                    | "AIRPORT_SERVICES"
                    | "MERCHANDISE"
                    | "INFLIGHT_SERVICES"
                    | "INDIVIDUAL_AIRLINE_USE";
                source?: "ATPCO"
                | "MERCHANDISING_MANAGER";
                statusCode?: string;
                statusName?:
                    | "Confirmed"
                    | "Confirmed with EMD issued"
                    | "On Request"
                    | "Pending"
                    | "Cancelled"
                    | "Unconfirmed"
                    | "Confirmed with pending payment"
                    | "Schedule change";
                subcode?: string;
                totals?: {
                    currencyCode: string;
                    fees?: string;
                    subtotal?: string;
                    taxes?: string;
                    total: string;
                };
                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?: "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;
                itemId?: string;
                middleName?: string;
                placeOfBirth?: string;
                placeOfIssue?: string;
                residenceCountryCode?: string;
                residenceDestinationAddress?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                };
                surname?: string;
            }[];
            isGrouped?: boolean;
            loyaltyPrograms?: {
                programNumber: string;
                programType?: | "FREQUENT_FLYER"
                | "FREQUENT_RENTER"
                | "LOYALTY_ID"
                | "CORPORATE_LOYALTY_ID";
                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?:
                    | "INVOICE"
                    | "ITINERARY"
                    | "GENERAL"
                    | "HISTORICAL"
                    | "CLIENT_ADDRESS"
                    | "ALPHA_CODED"
                    | "DELIVERY_ADDRESS"
                    | "HIDDEN"
                    | "CORPORATE"
                    | "FORM_OF_PAYMENT"
                    | "PRINT_ON_TICKET"
                    | "FILLER_STRIP"
                    | "INTERFACE"
                    | "QUEUE_PLACE";
            }[];
            surname: string;
            type?: | "ADULT"
            | "AGENT"
            | "AIRLINE"
            | "CHILD"
            | "EDUCATION"
            | "GOVERNMENT"
            | "GROUP"
            | "INFANT"
            | "MILITARY"
            | "SENIOR"
            | "SPECIAL"
            | "YOUTH";
        };
        TravelerName: { givenName: string; middleName?: string; surname: string };
        TravelersGroup: {
            itemId?: string;
            name?: string;
            numberOfTravelers?: number;
            numberOfTravelersRemaining?: number;
        };
        TravelerToModify: {
            birthDate?: string;
            emails?: string[];
            givenName?: string;
            identityDocuments?: (
                {
                    birthDate?: string;
                    documentNumber?: string;
                    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;
                    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;
                    residenceDestinationAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    };
                    surname?: string;
                } & { flights?: { itemId: string }[] }
            )[];
            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;
        };
        TravelerTypeEnum: | "ADULT"
        | "AGENT"
        | "AIRLINE"
        | "CHILD"
        | "EDUCATION"
        | "GOVERNMENT"
        | "GROUP"
        | "INFANT"
        | "MILITARY"
        | "SENIOR"
        | "SPECIAL"
        | "YOUTH";
        ValidityPeriod: {
            endDate?: string;
            flights?: { itemId: string }[];
            startDate?: string;
        };
        Value: { amount: string; currencyCode: string };
        VehicleTypeNameEnum:
            | "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";
        VirtualCard: {
            agencyEmail?: string;
            customerAccountCode?: string;
            hotelFax?: string;
            hotelName?: string;
            rateAmount?: { amount: string; currencyCode: string };
            roomDescription?: string;
            roomType?: string;
            virtualCardCharges?: string[];
        };
        VoidTicketsRequest: {
            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[];
        };
        VoidTicketsResponse: {
            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[];
        };
        Voucher: { billingNumber?: string; type?: string };
    }

    Type Declaration

    • AccountCode: { accountCodes: string[]; forceAccountCodes?: boolean }

      Allows pricing of the booking by incorporating account codes.

      • accountCodes: string[]

        List of Account Codes.

      • OptionalforceAccountCodes?: boolean

        If true system will force pricing with desired account codes.

        false
        
    • AccountingFormOfPaymentTypeEnum:
          | "Unknown"
          | "Cash"
          | "Check"
          | "Check or Cash"
          | "Payment Card"
          | "Masked Payment Card"

      Identifies the payment method of the accounting item.

      Unknown
      
      Cash
      @enum {string}
    • AccountingItem: {
          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[];
      }

      Contains accounting data correlated with a fulfilled document. Supported for ATPCO content only.

      • OptionalairlineCode?: string

        The two-letter IATA designator code of the marketing airline.

        AA
        
      • OptionalcardNumber?: string

        The number of a credit or debit card.

        4537156488578956
        
      • OptionalcardTypeCode?: string

        The vendor code of a credit or debit card.

        VI
        
      • Optionalcommission?: {
            commissionAmount?: string;
            commissionPercentage?: string;
            currencyCode?: string;
        }
        • OptionalcommissionAmount?: string

          The commission amount included in the fare or applied during ticketing.

          25.00
          
        • OptionalcommissionPercentage?: string

          The commission percentage included in the fare or applied during ticketing.

          5.00
          
        • OptionalcurrencyCode?: string

          The three letters ISO 4217 currency code.

          USD
          
      • OptionalcreationType?: "Refund" | "Exchange" | "First Issuance"
      • OptionalcurrencyCode?: string

        The three-letter ISO 4217 currency code.

        USD
        
      • OptionalfareAmount?: string

        The monetary amount of the fare paid for the ticket.

        520.00
        
      • OptionalfareApplicationType?: "Single Traveler" | "All Travelers" | "Each Traveler"
      • OptionalformOfPaymentType?:
            | "Unknown"
            | "Cash"
            | "Check"
            | "Check or Cash"
            | "Payment Card"
            | "Masked Payment Card"
      • OptionaltariffBasisType?: "Domestic" | "Foreign" | "International"
      • OptionaltaxAmount?: string

        The monetary amount of the tax applied to the fare.

        123.00
        
      • OptionalticketNumber?: string

        The number of the electronic document.

        2200011234567
        
      • OptionaltravelerIndices?: number[]

        Lists the indices of travelers in the travelers array to whom the particular accounting item is assigned. Returned only if fareApplication is set to Single Traveler.

    • AccountingItemCreationTypeEnum: "Refund" | "Exchange" | "First Issuance"

      Identifies the ticket operation which triggered automatic accounting item creation.

      First Issuance
      
      Exchange
      @enum {string}
    • Address: {
          city?: string;
          countryCode?: string;
          postalCode?: string;
          stateProvince?: string;
          street?: string;
      }

      Contains basic address information.

      • Optionalcity?: string

        The name of the city.

        Dallas
        
      • OptionalcountryCode?: string

        The two-letter ISO 3166 country code.

        US
        
      • OptionalpostalCode?: string

        The zip or postal code.

        75063
        
      • OptionalstateProvince?: string

        The name or code of the state or province.

        TX
        
      • Optionalstreet?: string

        The street name and house number accompanied with the number of apartments/unit/suite, if applicable.

        1230 Ellen Ave, apt 10
        
    • AdjustedSellingLevel: {
          ignore?: boolean;
          markDownAmount?: string;
          markUpAmount?: string;
          returnBreakdown?: boolean;
      }

      Contains Adjusted Selling Level pricing qualifiers.

      • Optionalignore?: boolean

        If true system will price the booking and ignore Adjusted Selling Level processing.

        false
        
      • OptionalmarkDownAmount?: string

        The mark down amount applied at time of pricing that will create a manually Ajusted Selling Level fare. Cannot be combined with markUpAmount.

        30.00
        
      • OptionalmarkUpAmount?: string

        The mark up amount applied at time of pricing that will create a manually Ajusted Selling Level fare. Cannot be combined with markDownAmount.

        30.00
        
      • OptionalreturnBreakdown?: boolean

        If true system will price the booking and provide breakdown of Adjusted Selling Level amounts.

        false
        
    • 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;
          };
      }

      Contains agency information for the booking.

      • Optionaladdress?: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        } & { freeText?: string; name?: string }
      • OptionalagencyCustomerNumber?: string

        Contains the agency's customer DK number. Can be a six, seven, or 10-character string.

        1234567
        
      • OptionalcontactInfo?: { emails?: string[] }
        • Optionalemails?: string[]

          Lists email addresses of travelers or vendors.

      • OptionalfutureTicketingPolicy?: {
            comment?: string;
            queueNumber?: string;
            ticketingDate?: string;
            ticketingPcc?: string;
            ticketingTime?: string;
        }
        • Optionalcomment?: string

          Free text comment.

          TICKET BEFORE TUES
          
        • OptionalqueueNumber?: string

          Used to specify a queue number.

          55
          
        • OptionalticketingDate?: string

          Format: date

          The ticketing date.

          2024-07-09
          
        • OptionalticketingPcc?: string

          Used to specify a pseudocity code.

          G7RE
          
        • OptionalticketingTime?: string

          The ticketing time in HH:MM format.

          11:00
          
      • OptionalticketingPolicy?: "TODAY" | "ALREADY_TICKETED" | "FUTURE_TICKETING" | "TICKETING_TIME_LIMIT"
      • OptionalticketingTimeLimitPolicy?: { airlineCode?: string; ticketingDate?: string; ticketingTime?: string }
        • OptionalairlineCode?: string

          The two-letter IATA designator code of the marketing airline.

          AA
          
        • OptionalticketingDate?: string

          Format: date

          The ticketing date.

          2024-07-09
          
        • OptionalticketingTime?: string

          The ticketing time in HH:MM format.

          11:00
          
    • AirportTaxBreakdown: { airportCode?: string; taxAmount?: string }

      Contains refund amount and applicable three-letter IATA airport code.

      • OptionalairportCode?: string

        The three-letter IATA airport code for which the refundable amount is applicable.

        DFW
        
      • OptionaltaxAmount?: string

        Amount in the currency of the original ticket.

        5.5
        
    • Ancillary: {
          airlineCode?: string;
          commercialName?: string;
          electronicMiscellaneousDocumentNumber?: string;
          flightApplicabilityType?: "Unknown" | "Single" | "Multiple";
          flights?: { itemId: string }[];
          isCommissionable?: boolean;
          isRefundable?: boolean;
          itemId?: string;
          numberOfItems?: number;
          reasonForIssuanceCode?: string;
          reasonForIssuanceName?:
              | "UNKNOWN"
              | "AIR_TRANSPORTATION"
              | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
              | "BAGGAGE"
              | "FINANCIAL_IMPACT"
              | "AIRPORT_SERVICES"
              | "MERCHANDISE"
              | "INFLIGHT_SERVICES"
              | "INDIVIDUAL_AIRLINE_USE";
          source?: "ATPCO"
          | "MERCHANDISING_MANAGER";
          statusCode?: string;
          statusName?:
              | "Confirmed"
              | "Confirmed with EMD issued"
              | "On Request"
              | "Pending"
              | "Cancelled"
              | "Unconfirmed"
              | "Confirmed with pending payment"
              | "Schedule change";
          subcode?: string;
          totals?: {
              currencyCode: string;
              fees?: string;
              subtotal?: string;
              taxes?: string;
              total: string;
          };
          vendorCode?: string;
      }

      Contains the details for an ancillary.

      • OptionalairlineCode?: string

        The two-letter IATA designator code of the airline that owns the service.

        EY
        
      • OptionalcommercialName?: string

        The commercial name of the ancillary.

        UPTO33LB 15KG BAGGAGE
        
      • OptionalelectronicMiscellaneousDocumentNumber?: string

        The electronic document number.

        6074333222111
        
      • OptionalflightApplicabilityType?: "Unknown" | "Single" | "Multiple"
      • Optionalflights?: { itemId: string }[]

        Lists flights referenced by flight itemId. Multiple flight IDs can be returned for a single ancillary item.

      • OptionalisCommissionable?: boolean

        If true, the ancilliary has a Commission included.

        false
        
      • OptionalisRefundable?: boolean

        If true, the ancilliary is refundable.

        true
        
      • OptionalitemId?: string

        The ID of an ancillary item.

        12
        
      • OptionalnumberOfItems?: number

        Format: int32

        Quantity of ancillary items.

        1
        
      • OptionalreasonForIssuanceCode?: string

        The IATA-defined reason for issuance code (RFIC).

        C
        
      • OptionalreasonForIssuanceName?:
            | "UNKNOWN"
            | "AIR_TRANSPORTATION"
            | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
            | "BAGGAGE"
            | "FINANCIAL_IMPACT"
            | "AIRPORT_SERVICES"
            | "MERCHANDISE"
            | "INFLIGHT_SERVICES"
            | "INDIVIDUAL_AIRLINE_USE"
      • Optionalsource?: "ATPCO" | "MERCHANDISING_MANAGER"
      • OptionalstatusCode?: string

        The two-letter status code used by vendors. It indicates the booking status.

        HD
        
      • OptionalstatusName?:
            | "Confirmed"
            | "Confirmed with EMD issued"
            | "On Request"
            | "Pending"
            | "Cancelled"
            | "Unconfirmed"
            | "Confirmed with pending payment"
            | "Schedule change"
      • Optionalsubcode?: string

        The issuance subcode (RFISC) is an industry-defined or airline-defined code identifying a specific type of service. Industry-defined subcodes are available for all airlines to use, have standard definitions, and are maintained by ATPCO. Airline-defined subcodes are available for specific airlines only, and are defined and maintained by the airline utilizing the code.

        05Z
        
      • Optionaltotals?: {
            currencyCode: string;
            fees?: string;
            subtotal?: string;
            taxes?: string;
            total: string;
        }
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
        • Optionalfees?: string

          The amount of all applicable fees.

          20.00
          
        • Optionalsubtotal?: string

          The subtotal before applying taxes and fees.

          100.00
          
        • Optionaltaxes?: string

          The amount of all taxes.

          8.00
          
        • total: string

          The total amount; the sum of the subtotal, taxes, and fees.

          128.00
          
      • OptionalvendorCode?: string

        The two-letter IATA designator code of the airline providing the service. Mutually exclusive with the source property.

        EY
        
    • AncillarySourceEnum: "ATPCO" | "MERCHANDISING_MANAGER"

      The application source that provides the ancillary service.

      ATPCO
      @enum {string}
    • AncillaryStatusNameEnum:
          | "Confirmed"
          | "Confirmed with EMD issued"
          | "On Request"
          | "Pending"
          | "Cancelled"
          | "Unconfirmed"
          | "Confirmed with pending payment"
          | "Schedule change"

      Identifies the meaningful value describing the ancillary status.

      Confirmed
      @enum {string}
    • AssociatedFlightDetails: {
          arrivalAirlineCode?: string;
          arrivalFlightNumber?: number;
          arrivalTime?: string;
          departureAirlineCode?: string;
          departureFlightNumber?: number;
          departureTime?: string;
      }

      Contains flight arrival and departure information used mainly for hotel bookings.

      • OptionalarrivalAirlineCode?: string

        The two-letter IATA designator code of the marketing airline for the arrival flight.

        AA
        
      • OptionalarrivalFlightNumber?: number

        Format: int32

        The flight number associated with the marketing carrier for the arrival flight.

        123
        
      • OptionalarrivalTime?: string

        The scheduled time of arrival in HH:MM format.

        12:28
        
      • OptionaldepartureAirlineCode?: string

        The two-letter IATA designator code of the marketing airline for the departure flight.

        AA
        
      • OptionaldepartureFlightNumber?: number

        Format: int32

        The flight number associated with the marketing carrier for the departure flight.

        123
        
      • OptionaldepartureTime?: string

        The scheduled time of departure in HH:MM format.

        09:15
        
    • BaggageAllowance: {
          baggagePieces?: {
              fee?: { amount: string; currencyCode: string };
              isCheckInOnly?: boolean;
              maximumSizeInCentimeters?: number;
              maximumSizeInInches?: number;
              maximumWeightInKilograms?: number;
              maximumWeightInPounds?: number;
              numberOfPieces: number;
              specialItemDescription?: string;
          }[];
          maximumPieces?: number;
          totalWeightInKilograms?: number;
          totalWeightInPounds?: number;
      }

      Contains the allowed baggage number which is included in the ticket price.

      • OptionalbaggagePieces?: {
            fee?: { amount: string; currencyCode: string };
            isCheckInOnly?: boolean;
            maximumSizeInCentimeters?: number;
            maximumSizeInInches?: number;
            maximumWeightInKilograms?: number;
            maximumWeightInPounds?: number;
            numberOfPieces: number;
            specialItemDescription?: string;
        }[]

        Lists baggage allowance policies for each type of baggage.

      • OptionalmaximumPieces?: number

        Format: int32

        Maximum number of allowed baggage pieces.

        1
        
      • OptionaltotalWeightInKilograms?: number

        Format: int32

        Maximum summary weight of all allowed baggage measured in kilograms [kg].

        23
        
      • OptionaltotalWeightInPounds?: number

        Format: int32

        Maximum summary weight of all allowed baggage measured in pounds [lb].

        50
        
    • BaggagePolicy: {
          fee?: { amount: string; currencyCode: string };
          isCheckInOnly?: boolean;
          maximumSizeInCentimeters?: number;
          maximumSizeInInches?: number;
          maximumWeightInKilograms?: number;
          maximumWeightInPounds?: number;
          numberOfPieces: number;
          specialItemDescription?: string;
      }

      Contains restrictions applied on number of baggage pieces and optional fee applicable.

      • Optionalfee?: { amount: string; currencyCode: string }
        • amount: string

          The monetary amount.

          100.00
          
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
      • OptionalisCheckInOnly?: boolean

        If true, the baggage restrictions are for informational purposes only. Baggage is available for purchase during check-in at the airport.

        true
        
      • OptionalmaximumSizeInCentimeters?: number

        Format: int32

        Maximum allowed size of the baggage piece measured in centimeters [cm]. If null, no size limit is specified for this type of baggage.

        118
        
      • OptionalmaximumSizeInInches?: number

        Format: int32

        Maximum allowed size of the baggage piece measured in inches [in]. If null, no size limit is specified for this type of baggage.

        46
        
      • OptionalmaximumWeightInKilograms?: number

        Format: int32

        Maximum allowed weight of the baggage piece measured in kilograms [kg]. If null, no weight limit is specified for this type of baggage.

        23
        
      • OptionalmaximumWeightInPounds?: number

        Format: int32

        Maximum allowed weight of the baggage piece measured in pounds [lb]. If null, no weight limit is specified for this type of baggage.

        50
        
      • numberOfPieces: number

        Format: int32

        The number of pieces allowed within the baggage policy.

        1
        
      • OptionalspecialItemDescription?: string

        The description of the special baggage items allowed, if the baggage policy provides information about special baggage items such as musical instruments, fishing or sporting equipment, mobility device, etc.

        SKI EQUIPMENT
        
    • BasicFormOfPayment: {
          airlinePlanCode?: string;
          cardNumber?: string;
          cardSecurityCode?: string;
          cardTypeCode?: string;
          expiryDate?: string;
          extendedPayment?: number;
          installmentAmount?: string;
          miscellaneousCreditCode?: string;
          numberOfInstallments?: number;
      }

      Contains a set of basic details related to the form of payment.

      • OptionalairlinePlanCode?: string

        The airline plan code. Use with INSTALLMENTS.

        RG065
        
      • OptionalcardNumber?: string

        The number of a credit or debit card. Use with PAYMENTCARD.

        4537156488578956
        
      • OptionalcardSecurityCode?: string

        The security code of a credit or debit card. Use with PAYMENTCARD.

        123
        
      • OptionalcardTypeCode?: string

        The vendor code of a credit or debit card. Use with PAYMENTCARD.

        VI
        
      • OptionalexpiryDate?: string

        The expiration date of a credit or debit card. Use with PAYMENTCARD.

        2024-07
        
      • OptionalextendedPayment?: number

        Format: int32

        The number of months by which your payment can be extended. Use with PAYMENTCARD or MISCELLANEOUS.

        12
        
      • OptionalinstallmentAmount?: string

        The amount of the first installment. Use with INSTALLMENTS.

        100
        
      • OptionalmiscellaneousCreditCode?: string

        The miscellaneous credit code. Use with MISCELLANEOUS.

        PL189947
        
      • OptionalnumberOfInstallments?: number

        Format: int32

        The number of installments. Use with INSTALLMENTS.

        4
        
    • BookAncillary: {
          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;
      }

      Contains details of a particular ancillary service to be booked.

      • airlineCode: string

        The two-letter IATA designator code of the airline that owns the service.

        AA
        
      • basePrice: string

        Contains the base cost of the ancillary service.

        100.00
        
      • OptionalcommercialName?: string

        The commercial name of the ancillary service.

        1ST ADDITIONAL BAG
        
      • currencyCode: string

        The three-letter ISO 4217 currency code.

        USD
        
      • electronicMiscellaneousDocumentType:
            | "ETICKET"
            | "STANDALONE"
            | "FLIGHT_COUPON_ASSOCIATED"
            | "STANDALONE_TICKET_ASSOCIATED"
            | "OTHER_THAN_EMD"
      • OptionalfirstTravelDate?: string

        Format: date

        The first travel date in the ISO 8601 format applicable for the selected ancillary, obtained from ATPCO. Together with the last travel date, this determines the period of travel application.

        2024-01-01
        
      • OptionalflightApplicabilityType?: "Unknown" | "Single" | "Multiple"
      • flightIndices: number[]

        Lists the indices of flights within a booking.

      • groupCode: string

        The two-letter type of ancillary service as per IATA standard. Please refer to the ATPCO resources for information about available industry-defined group codes.

        BG
        
      • OptionallastTravelDate?: string

        Format: date

        The last travel date in the ISO 8601 format permitted for the selected ancillary, obtained from ATPCO. Together with the first travel date, this determines the period of travel application.

        9999-12-31
        
      • numberOfItems: number

        Format: int32

        The quantity of ancillary items to book.

        1
        
        1
        
      • OptionalpurchaseDateTime?: string

        Format: date-time

        The latest date in the ISO 8601 format before which the selected ancillary can be purchased.

        2024-07-07T16:00:00Z
        
      • OptionalreasonForIssuance?:
            | "UNKNOWN"
            | "AIR_TRANSPORTATION"
            | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
            | "BAGGAGE"
            | "FINANCIAL_IMPACT"
            | "AIRPORT_SERVICES"
            | "MERCHANDISE"
            | "INFLIGHT_SERVICES"
            | "INDIVIDUAL_AIRLINE_USE"
      • Optionalsource?: "ATPCO" | "MERCHANDISING_MANAGER"
      • OptionalspecialServiceIndex?: number

        Format: int32

        The item number of a special service in the specialServices array. Defines the category of the special service associated with the selected ancillary service. Required when booking ancillaries from low-cost carriers, such as U2 or FR.

        1
        
      • subcode: string

        The issuance subcode (RFISC) is an industry-defined or airline-defined code identifying a specific type of service. Industry-defined subcodes are available for all airlines to use, have standard definitions, and are maintained by ATPCO. Airline-defined subcodes are available for specific airlines only, and are defined and maintained by the airline utilizing the code.

        05Z
        
      • OptionaltotalPrice?: string

        Contains the total price of the ancillary service after taxation.

        150.00
        
      • OptionalvendorCode?: string

        The two-letter IATA designator code of the airline providing the service. Mutually exclusive with the source property.

        AA
        
    • BookBaggageAllowance: {
          baggagePieces?: number;
          flightIndices?: number[];
          totalWeightInKilograms?: number;
      }

      Contains baggage allowance information (either its weight or the number of pieces).

      • OptionalbaggagePieces?: number

        Format: int32

        The total number of baggage pieces. Mutually exclusive with the totalWeightInKilograms property.

        1
        
      • OptionalflightIndices?: number[]

        Lists the indices of flights within a booking.

      • OptionaltotalWeightInKilograms?: number

        Format: int32

        The total weight of baggage measured in kilograms [kg]. Mutually exclusive with the baggagePieces property.

        23
        
    • BookIdentityDocument: {
          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;
      }

      Contains details of identity documents (such as passport or SFPD).

      • OptionalbirthDate?: string

        Format: date

        The traveler's date of birth in the YYYY-MM-DD format.

        2024-12-02
        
      • OptionaldocumentNumber?: string

        The unique identifier of the document.

        0123456789
        
      • OptionaldocumentSubType?: "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"
      • OptionalexpiryDate?: string

        Format: date

        The expiration date of the identity document in the YYYY-MM-DD format.

        2024-07-09
        
      • OptionalflightIndices?: number[]

        Lists the indices of flights within a booking.

      • Optionalgender?:
            | "FEMALE"
            | "MALE"
            | "INFANT_FEMALE"
            | "INFANT_MALE"
            | "UNDISCLOSED"
            | "UNDEFINED"
      • OptionalgivenName?: string

        The traveler's first name.

        John
        
      • OptionalhostCountryCode?: string

        The ISO 3166 country code where the document is valid. Used with the 'VISA' document type.

        US
        
      • OptionalisLapChildDocument?: boolean

        If true, the identity document applies to a lap child. Can only be combined with the following document types: VISA, KNOWN_TRAVELER_NUMBER, REDRESS_NUMBER, RESIDENCE_ADDRESS, and DESTINATION_ADDRESS.

        true
        
      • OptionalisPrimaryDocumentHolder?: boolean

        If true, indicates the primary passport holder of a document issued for multiple travelers.

        true
        
      • OptionalissueDate?: string

        Format: date

        The date the identity document was issued in YYYY-MM-DD format. This is mainly used for the visa document type.

        2024-07-09
        
      • OptionalissuingCountryCode?: string

        The country issuing the passenger document provided as a two- or three-letter ISO 3166 code. Not applicable to the 'VISA' document type.

        US
        
      • OptionalmiddleName?: string

        The traveler's middle name (NDC not supported).

        Jack
        
      • OptionalplaceOfBirth?: string

        The passenger's place of birth. Mainly used with the VISA document type.

        LYON FR
        
      • OptionalplaceOfIssue?: string

        The ISO 3166 code of the country the VISA document was issued in. Used with the VISA document type.

        FR
        
      • OptionalresidenceCountryCode?: string

        The country the passenger resides in or their nationality country provided as a two- or three-letter ISO 3166 code. For NDC bookings, only two-letter codes are allowed.

        US
        
      • OptionalresidenceOrDestinationAddress?: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        }
        • Optionalcity?: string

          The name of the city.

          Dallas
          
        • OptionalcountryCode?: string

          The two-letter ISO 3166 country code.

          US
          
        • OptionalpostalCode?: string

          The zip or postal code.

          75063
          
        • OptionalstateProvince?: string

          The name or code of the state or province.

          TX
          
        • Optionalstreet?: string

          The street name and house number accompanied with the number of apartments/unit/suite, if applicable.

          1230 Ellen Ave, apt 10
          
      • Optionalsurname?: string

        The traveler's last name.

        Smith
        
    • 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?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  date?: string;
                  endAddress?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  endDate?: string;
                  endLocationCode?: string;
                  endTime?: string;
                  locationCode?: string;
                  startAddress?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  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?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  dropOffContactInfo?: { emails?: string[] } & {
                      emergencyPhones?: string[];
                      faxes?: string[];
                      phones?: string[];
                  };
                  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?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  pickUpContactInfo?: { emails?: string[] } & {
                      emergencyPhones?: string[];
                      faxes?: string[];
                      phones?: string[];
                  };
                  pickUpDate: string;
                  pickUpLocationCode?: string;
                  pickUpTime: string;
                  rateCode?: string;
                  refundPenalties?: {
                      applicableFromDate?: string;
                      applicableToDate?: string;
                      penalty: { amount: string; currencyCode: string };
                  }[];
                  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?: { amount: string; currencyCode: string };
                      isCheckInOnly?: boolean;
                      maximumSizeInCentimeters?: number;
                      maximumSizeInInches?: number;
                      maximumWeightInKilograms?: number;
                      maximumWeightInPounds?: number;
                      numberOfPieces: number;
                      specialItemDescription?: string;
                  }[];
                  maximumPieces?: number;
                  totalWeightInKilograms?: number;
                  totalWeightInPounds?: number;
              };
              cabinBaggageCharges?: {
                  fee?: { amount: string; currencyCode: string };
                  isCheckInOnly?: boolean;
                  maximumSizeInCentimeters?: number;
                  maximumSizeInInches?: number;
                  maximumWeightInKilograms?: number;
                  maximumWeightInPounds?: number;
                  numberOfPieces: number;
                  specialItemDescription?: string;
              }[];
              checkedBaggageAllowance?: {
                  baggagePieces?: {
                      fee?: { amount: string; currencyCode: string };
                      isCheckInOnly?: boolean;
                      maximumSizeInCentimeters?: number;
                      maximumSizeInInches?: number;
                      maximumWeightInKilograms?: number;
                      maximumWeightInPounds?: number;
                      numberOfPieces: number;
                      specialItemDescription?: string;
                  }[];
                  maximumPieces?: number;
                  totalWeightInKilograms?: number;
                  totalWeightInPounds?: number;
              };
              checkedBaggageCharges?: {
                  fee?: { amount: string; currencyCode: string };
                  isCheckInOnly?: boolean;
                  maximumSizeInCentimeters?: number;
                  maximumSizeInInches?: number;
                  maximumWeightInKilograms?: number;
                  maximumWeightInPounds?: number;
                  numberOfPieces: number;
                  specialItemDescription?: string;
              }[];
              flights?: { itemId: string }[];
              travelerIndices?: number[];
          }[];
          fareRules?: {
              destinationAirportCode?: string;
              exchangePenalties?: {
                  applicability: "BEFORE_DEPARTURE"
                  | "AFTER_DEPARTURE";
                  conditionsApply: boolean;
                  penalty: { amount: string; currencyCode: string };
              }[];
              isChangeable?: boolean;
              isRefundable?: boolean;
              originAirportCode?: string;
              owningAirlineCode: string;
              passengerCode?: string;
              refundPenalties?: {
                  applicability: "BEFORE_DEPARTURE"
                  | "AFTER_DEPARTURE";
                  conditionsApply: boolean;
                  penalty: { amount: string; currencyCode: string };
              }[];
          }[];
          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: string; currencyCode: string };
                  brandAttributes?: { description?: string; itemId?: string }[];
                  brandFareCode?: string;
                  brandFareName?: string;
                  brandProgramCode?: string;
                  brandProgramName?: string;
                  checkedBaggageAllowance?: {
                      baggagePieces?: {
                          fee?: { amount: string; currencyCode: string };
                          isCheckInOnly?: boolean;
                          maximumSizeInCentimeters?: number;
                          maximumSizeInInches?: number;
                          maximumWeightInKilograms?: number;
                          maximumWeightInPounds?: number;
                          numberOfPieces: number;
                          specialItemDescription?: string;
                      }[];
                      maximumPieces?: number;
                      totalWeightInKilograms?: number;
                      totalWeightInPounds?: number;
                  };
                  fareBasisCode?: string;
                  flightIndices?: number[];
                  flights?: { itemId: string }[];
                  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: string; currencyCode: string };
                  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?: string;
                      aircraftTypeName?: string;
                      airportCode?: string;
                      arrivalDate?: string;
                      arrivalTime?: string;
                      departureDate?: string;
                      departureTime?: string;
                      durationInMinutes?: number;
                  }[];
                  identityDocuments?: {
                      itemId?: string;
                      status?: | "Unknown"
                      | "Confirmed"
                      | "On Request"
                      | "Pending"
                      | "Cancelled"
                      | "Unconfirmed"
                      | "Waitlisted"
                      | "Infant/No Seat"
                      | "Priority Waitlist"
                      | "Quote"
                      | "Space Available"
                      | "Pending Quote"
                      | "No Seat"
                      | "Standby";
                  }[];
                  isPast?: boolean;
                  meals?: {
                      code: string;
                      description: | "Meal"
                      | "Alcoholic beverages for purchase"
                      | "Breakfast"
                      | "Cold meal"
                      | "Complimentary alcoholic beverages"
                      | "Continental breakfast"
                      | "Dinner"
                      | "Food for purchase"
                      | "Food and beverage for purchase"
                      | "Hot meal"
                      | "Lunch"
                      | "No meal service"
                      | "Refreshment"
                      | "Refreshment for purchase"
                      | "Snack";
                  }[];
                  numberOfSeats?: number;
                  operatingAirlineCode?: string;
                  operatingAirlineName?: string;
                  operatingFlightNumber?: number;
                  seats?: {
                      characteristics?: string[];
                      number: 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";
                  }[];
                  sourceType?: "NDC"
                  | "LCC"
                  | "ATPCO";
                  toAirportCode: string;
                  travelerIndices?: number[];
                  updatedArrivalDate?: string;
                  updatedArrivalTime?: string;
                  updatedDepartureDate?: string;
                  updatedDepartureTime?: string;
              }
          )[];
          flightTickets?: {
              agencyIataNumber?: string;
              airlineCode: string;
              allCoupons?: (
                  {
                      couponStatus: | "Airport Control"
                      | "Lifted"
                      | "Checked In"
                      | "Exchanged"
                      | "Flown"
                      | "Not Flown"
                      | "Refunded"
                      | "Voided"
                      | "Printed"
                      | "Okay"
                      | "Reactivated"
                      | "Irregular Operations"
                      | "Print Exchange"
                      | "Paper Ticket"
                      | "Suspended"
                      | "Locked";
                      couponStatusCode: | "AL"
                      | "PE"
                      | "XX"
                      | "S"
                      | "P"
                      | "B"
                      | "E"
                      | "BD"
                      | "CK"
                      | "I"
                      | "RF"
                      | "V"
                      | "PR"
                      | "IO"
                      | "T";
                  } & { itemId?: string }
              )[];
              commission?: {
                  commissionAmount?: string;
                  commissionPercentage?: string;
                  currencyCode?: string;
              };
              date: string;
              flightCoupons: (
                  { itemId: string } & {
                      couponStatus:
                          | "Airport Control"
                          | "Lifted"
                          | "Checked In"
                          | "Exchanged"
                          | "Flown"
                          | "Not Flown"
                          | "Refunded"
                          | "Voided"
                          | "Printed"
                          | "Okay"
                          | "Reactivated"
                          | "Irregular Operations"
                          | "Print Exchange"
                          | "Paper Ticket"
                          | "Suspended"
                          | "Locked";
                      couponStatusCode: | "AL"
                      | "PE"
                      | "XX"
                      | "S"
                      | "P"
                      | "B"
                      | "E"
                      | "BD"
                      | "CK"
                      | "I"
                      | "RF"
                      | "V"
                      | "PR"
                      | "IO"
                      | "T";
                  }
              )[];
              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?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string } & { cityCode?: string };
                  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?: string[] } & {
                      emergencyPhones?: string[];
                      faxes?: string[];
                      phones?: string[];
                  };
                  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?: string;
                      applicableToDate?: string;
                      penalty: { amount: string; currencyCode: string };
                  }[];
                  refundPenaltyPolicyCode?: string;
                  room?: {
                      agencyCommission?: {
                          commissionAmount?: string;
                          commissionPercentage?: string;
                          currencyCode?: string;
                      };
                      description?: string;
                      productCode?: string;
                      quantity: number;
                      roomRate?: { amount: string; currencyCode: string };
                      roomType: string;
                      roomTypeCode?: string;
                      travelerIndices?: number[];
                  };
                  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?: {
                          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 };
                  }
              )[];
              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?: "Unknown" | "Single" | "Multiple";
                  flights?: { itemId: string }[];
                  isCommissionable?: boolean;
                  isRefundable?: boolean;
                  itemId?: string;
                  numberOfItems?: number;
                  reasonForIssuanceCode?: string;
                  reasonForIssuanceName?:
                      | "UNKNOWN"
                      | "AIR_TRANSPORTATION"
                      | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                      | "BAGGAGE"
                      | "FINANCIAL_IMPACT"
                      | "AIRPORT_SERVICES"
                      | "MERCHANDISE"
                      | "INFLIGHT_SERVICES"
                      | "INDIVIDUAL_AIRLINE_USE";
                  source?: "ATPCO"
                  | "MERCHANDISING_MANAGER";
                  statusCode?: string;
                  statusName?:
                      | "Confirmed"
                      | "Confirmed with EMD issued"
                      | "On Request"
                      | "Pending"
                      | "Cancelled"
                      | "Unconfirmed"
                      | "Confirmed with pending payment"
                      | "Schedule change";
                  subcode?: string;
                  totals?: {
                      currencyCode: string;
                      fees?: string;
                      subtotal?: string;
                      taxes?: string;
                      total: string;
                  };
                  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?: "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;
                  itemId?: string;
                  middleName?: string;
                  placeOfBirth?: string;
                  placeOfIssue?: string;
                  residenceCountryCode?: string;
                  residenceDestinationAddress?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  };
                  surname?: string;
              }[];
              isGrouped?: boolean;
              loyaltyPrograms?: {
                  programNumber: string;
                  programType?: | "FREQUENT_FLYER"
                  | "FREQUENT_RENTER"
                  | "LOYALTY_ID"
                  | "CORPORATE_LOYALTY_ID";
                  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?:
                      | "INVOICE"
                      | "ITINERARY"
                      | "GENERAL"
                      | "HISTORICAL"
                      | "CLIENT_ADDRESS"
                      | "ALPHA_CODED"
                      | "DELIVERY_ADDRESS"
                      | "HIDDEN"
                      | "CORPORATE"
                      | "FORM_OF_PAYMENT"
                      | "PRINT_ON_TICKET"
                      | "FILLER_STRIP"
                      | "INTERFACE"
                      | "QUEUE_PLACE";
              }[];
              surname: string;
              type?: | "ADULT"
              | "AGENT"
              | "AIRLINE"
              | "CHILD"
              | "EDUCATION"
              | "GOVERNMENT"
              | "GROUP"
              | "INFANT"
              | "MILITARY"
              | "SENIOR"
              | "SPECIAL"
              | "YOUTH";
          }[];
          travelersGroup?: {
              itemId?: string;
              name?: string;
              numberOfTravelers?: number;
              numberOfTravelersRemaining?: number;
          };
      }

      Contains booking information.

      • OptionalaccountingItems?: {
            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[];
        }[]

        Lists accounting items from the booking.

      • OptionalagencyCustomerNumber?: string

        The customer identifier used by their travel agency, also known as the customer number or the DK number. Can be a six, seven, or 10-character string.

        1234567
        
      • OptionalallSegments?: (
            { id: string } & {
                address?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string };
                date?: string;
                endAddress?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string };
                endDate?: string;
                endLocationCode?: string;
                endTime?: string;
                locationCode?: string;
                startAddress?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string };
                startDate?: string;
                startLocationCode?: string;
                startTime?: string;
                text?: string;
                time?: string;
                type: string;
                vendorCode?: string;
            }
        )[]

        Lists all segments of the booking which overlaps with contextual booking elements such as flights, hotels, cars, trains and so on. This list also contains non-product related segments which exist in an underlying booking system.

      • OptionalbookingId?: string

        The booking reference ID as shown in the source supplier/vendor system. For SABRE, this is the PNR Locator or NDC orderId value, depending on content type.

        1SXXX1A2B3C4D
        
      • Optionalcars?: (
            { 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?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string };
                dropOffContactInfo?: { emails?: string[] } & {
                    emergencyPhones?: string[];
                    faxes?: string[];
                    phones?: string[];
                };
                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?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string };
                pickUpContactInfo?: { emails?: string[] } & {
                    emergencyPhones?: string[];
                    faxes?: string[];
                    phones?: string[];
                };
                pickUpDate: string;
                pickUpLocationCode?: string;
                pickUpTime: string;
                rateCode?: string;
                refundPenalties?: {
                    applicableFromDate?: string;
                    applicableToDate?: string;
                    penalty: { amount: string; currencyCode: string };
                }[];
                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;
            }
        )[]

        Lists all car rentals associated with the booking.

      • OptionalcontactInfo?: { emails?: string[] } & {
            emergencyPhones?: string[];
            faxes?: string[];
            phones?: string[];
        }
      • OptionalcreationDetails?: {
            agencyIataNumber?: string;
            creationDate?: string;
            creationTime?: string;
            creationUserSine?: string;
            primeHostId?: string;
            purchaseDeadlineDate?: string;
            purchaseDeadlineTime?: string;
            userHomePcc?: string;
            userWorkPcc?: string;
        }
        • OptionalagencyIataNumber?: string

          A unique identifier accredited by the International Air Transport Association (IATA).

          99119911
          
        • OptionalcreationDate?: string

          Format: date

          The date in YYYY-MM-DD format when the booking was created.

          2024-01-09
          
        • OptionalcreationTime?: string

          The time in HH:MM format when the booking was created. Not supported for NDC bookings.

          15:00
          
        • OptionalcreationUserSine?: string

          The sine of the Employee Profile Record that created the booking. Not supported for NDC bookings.

          A12
          
        • OptionalprimeHostId?: string

          The identification code for the prime host (global distribution system) associated with the reservation.

          1S
          
        • OptionalpurchaseDeadlineDate?: string

          Format: date

          The date in the YYYY-MM-DD format by which the stored fare must be ticketed.

          2024-01-09
          
        • OptionalpurchaseDeadlineTime?: string

          The time in the HH:MM format by which the stored fare must be ticketed.

          15:00
          
        • OptionaluserHomePcc?: string

          The pseudo city code of the agent who created the booking.

          CD34
          
        • OptionaluserWorkPcc?: string

          The pseudo city code where the booking was created.

          AB12
          
      • Optionalcruises?: (
            { 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;
            }
        )[]

        Lists all cruises associated with the booking.

      • OptionalendDate?: string

        Format: date

        The end date of the booking in ISO 8601 format.

        2024-07-19
        
      • OptionalfareOffers?: {
            cabinBaggageAllowance?: {
                baggagePieces?: {
                    fee?: { amount: string; currencyCode: string };
                    isCheckInOnly?: boolean;
                    maximumSizeInCentimeters?: number;
                    maximumSizeInInches?: number;
                    maximumWeightInKilograms?: number;
                    maximumWeightInPounds?: number;
                    numberOfPieces: number;
                    specialItemDescription?: string;
                }[];
                maximumPieces?: number;
                totalWeightInKilograms?: number;
                totalWeightInPounds?: number;
            };
            cabinBaggageCharges?: {
                fee?: { amount: string; currencyCode: string };
                isCheckInOnly?: boolean;
                maximumSizeInCentimeters?: number;
                maximumSizeInInches?: number;
                maximumWeightInKilograms?: number;
                maximumWeightInPounds?: number;
                numberOfPieces: number;
                specialItemDescription?: string;
            }[];
            checkedBaggageAllowance?: {
                baggagePieces?: {
                    fee?: { amount: string; currencyCode: string };
                    isCheckInOnly?: boolean;
                    maximumSizeInCentimeters?: number;
                    maximumSizeInInches?: number;
                    maximumWeightInKilograms?: number;
                    maximumWeightInPounds?: number;
                    numberOfPieces: number;
                    specialItemDescription?: string;
                }[];
                maximumPieces?: number;
                totalWeightInKilograms?: number;
                totalWeightInPounds?: number;
            };
            checkedBaggageCharges?: {
                fee?: { amount: string; currencyCode: string };
                isCheckInOnly?: boolean;
                maximumSizeInCentimeters?: number;
                maximumSizeInInches?: number;
                maximumWeightInKilograms?: number;
                maximumWeightInPounds?: number;
                numberOfPieces: number;
                specialItemDescription?: string;
            }[];
            flights?: { itemId: string }[];
            travelerIndices?: number[];
        }[]

        Lists ancillary offers for selected flights identified by itemId flight references.

      • OptionalfareRules?: {
            destinationAirportCode?: string;
            exchangePenalties?: {
                applicability: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                conditionsApply: boolean;
                penalty: { amount: string; currencyCode: string };
            }[];
            isChangeable?: boolean;
            isRefundable?: boolean;
            originAirportCode?: string;
            owningAirlineCode: string;
            passengerCode?: string;
            refundPenalties?: {
                applicability: "BEFORE_DEPARTURE"
                | "AFTER_DEPARTURE";
                conditionsApply: boolean;
                penalty: { amount: string; currencyCode: string };
            }[];
        }[]

        Lists most restrictive fare rule information displayed at the time of purchase. This service applies data from either Tickets or Price Quotes.

      • Optionalfares?: {
            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: string; currencyCode: string };
                brandAttributes?: { description?: string; itemId?: string }[];
                brandFareCode?: string;
                brandFareName?: string;
                brandProgramCode?: string;
                brandProgramName?: string;
                checkedBaggageAllowance?: {
                    baggagePieces?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    maximumPieces?: number;
                    totalWeightInKilograms?: number;
                    totalWeightInPounds?: number;
                };
                fareBasisCode?: string;
                flightIndices?: number[];
                flights?: { itemId: string }[];
                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: string; currencyCode: string };
                taxCode?: string;
            }[];
            totals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            };
            tourCode?: string;
            travelerIndices?: number[];
        }[]

        Lists the details for saved fares. This service applies data either from a Price Quote or an Order Item.

      • Optionalflights?: (
            { 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?: string;
                    aircraftTypeName?: string;
                    airportCode?: string;
                    arrivalDate?: string;
                    arrivalTime?: string;
                    departureDate?: string;
                    departureTime?: string;
                    durationInMinutes?: number;
                }[];
                identityDocuments?: {
                    itemId?: string;
                    status?: | "Unknown"
                    | "Confirmed"
                    | "On Request"
                    | "Pending"
                    | "Cancelled"
                    | "Unconfirmed"
                    | "Waitlisted"
                    | "Infant/No Seat"
                    | "Priority Waitlist"
                    | "Quote"
                    | "Space Available"
                    | "Pending Quote"
                    | "No Seat"
                    | "Standby";
                }[];
                isPast?: boolean;
                meals?: {
                    code: string;
                    description: | "Meal"
                    | "Alcoholic beverages for purchase"
                    | "Breakfast"
                    | "Cold meal"
                    | "Complimentary alcoholic beverages"
                    | "Continental breakfast"
                    | "Dinner"
                    | "Food for purchase"
                    | "Food and beverage for purchase"
                    | "Hot meal"
                    | "Lunch"
                    | "No meal service"
                    | "Refreshment"
                    | "Refreshment for purchase"
                    | "Snack";
                }[];
                numberOfSeats?: number;
                operatingAirlineCode?: string;
                operatingAirlineName?: string;
                operatingFlightNumber?: number;
                seats?: {
                    characteristics?: string[];
                    number: 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";
                }[];
                sourceType?: "NDC"
                | "LCC"
                | "ATPCO";
                toAirportCode: string;
                travelerIndices?: number[];
                updatedArrivalDate?: string;
                updatedArrivalTime?: string;
                updatedDepartureDate?: string;
                updatedDepartureTime?: string;
            }
        )[]

        Lists all flights associated with the booking in chronological order.

      • OptionalflightTickets?: {
            agencyIataNumber?: string;
            airlineCode: string;
            allCoupons?: (
                {
                    couponStatus: | "Airport Control"
                    | "Lifted"
                    | "Checked In"
                    | "Exchanged"
                    | "Flown"
                    | "Not Flown"
                    | "Refunded"
                    | "Voided"
                    | "Printed"
                    | "Okay"
                    | "Reactivated"
                    | "Irregular Operations"
                    | "Print Exchange"
                    | "Paper Ticket"
                    | "Suspended"
                    | "Locked";
                    couponStatusCode: | "AL"
                    | "PE"
                    | "XX"
                    | "S"
                    | "P"
                    | "B"
                    | "E"
                    | "BD"
                    | "CK"
                    | "I"
                    | "RF"
                    | "V"
                    | "PR"
                    | "IO"
                    | "T";
                } & { itemId?: string }
            )[];
            commission?: {
                commissionAmount?: string;
                commissionPercentage?: string;
                currencyCode?: string;
            };
            date: string;
            flightCoupons: (
                { itemId: string } & {
                    couponStatus:
                        | "Airport Control"
                        | "Lifted"
                        | "Checked In"
                        | "Exchanged"
                        | "Flown"
                        | "Not Flown"
                        | "Refunded"
                        | "Voided"
                        | "Printed"
                        | "Okay"
                        | "Reactivated"
                        | "Irregular Operations"
                        | "Print Exchange"
                        | "Paper Ticket"
                        | "Suspended"
                        | "Locked";
                    couponStatusCode: | "AL"
                    | "PE"
                    | "XX"
                    | "S"
                    | "P"
                    | "B"
                    | "E"
                    | "BD"
                    | "CK"
                    | "I"
                    | "RF"
                    | "V"
                    | "PR"
                    | "IO"
                    | "T";
                }
            )[];
            number: string;
            payment: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            };
            ticketingPcc?: string;
            ticketStatusCode?: string;
            ticketStatusName?: "Voided"
            | "Issued"
            | "Refunded/Exchanged";
            travelerIndex: number;
        }[]

        Lists all electronic flight tickets issued for the travelers.

      • OptionalfutureTicketingPolicy?: {
            comment?: string;
            queueNumber?: string;
            ticketingDate?: string;
            ticketingPcc?: string;
            ticketingTime?: string;
        }
        • Optionalcomment?: string

          Free text comment.

          TICKET BEFORE TUES
          
        • OptionalqueueNumber?: string

          Used to specify a queue number.

          55
          
        • OptionalticketingDate?: string

          Format: date

          The ticketing date.

          2024-07-09
          
        • OptionalticketingPcc?: string

          Used to specify a pseudocity code.

          G7RE
          
        • OptionalticketingTime?: string

          The ticketing time in HH:MM format.

          11:00
          
      • Optionalhotels?: (
            { itemId: string } & {
                address: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string } & { cityCode?: string };
                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?: string[] } & {
                    emergencyPhones?: string[];
                    faxes?: string[];
                    phones?: string[];
                };
                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?: string;
                    applicableToDate?: string;
                    penalty: { amount: string; currencyCode: string };
                }[];
                refundPenaltyPolicyCode?: string;
                room?: {
                    agencyCommission?: {
                        commissionAmount?: string;
                        commissionPercentage?: string;
                        currencyCode?: string;
                    };
                    description?: string;
                    productCode?: string;
                    quantity: number;
                    roomRate?: { amount: string; currencyCode: string };
                    roomType: string;
                    roomTypeCode?: string;
                    travelerIndices?: number[];
                };
                sabrePropertyId?: string;
                sourceTypeCode?: number;
                sourceTypeName?: | "Unknown"
                | "Legacy"
                | "Sabre GDS"
                | "Expedia Associate Network"
                | "HotelBeds.com"
                | "Booking.com"
                | "CMNet";
                specialInstructions?: string;
            }
        )[]

        Lists all hotel reservations associated with the booking.

      • OptionalisCancelable?: boolean

        If true, the booking is cancelable in full or in segments. Refer to the refundPenalties array for more information.

        false
        
      • OptionalisTicketed?: boolean

        If true, at least one ticket was issued for the booking.

        false
        
      • Optionaljourneys?: {
            departureDate: string;
            departureTime: string;
            firstAirportCode: string;
            lastAirportCode: string;
            numberOfFlights: number;
        }[]

        Lists all the journeys associated with the booking. * For one-way, this is a single element list. * For round-trip, the list contains two journeys. * For multi-destinations, the list contains more than two journeys.

      • OptionalnonElectronicTickets?: {
            date?: string;
            ticketingPcc?: string;
            ticketingUserCode?: string;
            ticketNumber?: string;
            ticketStatus?: "Unknown" | "Active" | "Inactive";
            time?: string;
            travelerIndex?: number;
        }[]

        Lists nonelectronic tickets from the booking.

      • OptionalotherServices?: {
            airlineCode?: string;
            chainCode?: string;
            serviceMessage?: string;
            travelerIndex?: number;
            vendorCode?: string;
        }[]

        Lists Other Service Information (OSI) to/from a specific vendor.

      • Optionalpayments?: {
            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?: {
                        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 };
                }
            )[];
            hotelTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            }[];
            trainTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            }[];
        }
        • OptionalcarTotals?: {
              currencyCode: string;
              fees?: string;
              subtotal?: string;
              taxes?: string;
              total: string;
          }[]

          Lists all car rental payments, per each currency used.

        • OptionalflightCurrentTotals?: {
              currencyCode: string;
              fees?: string;
              subtotal?: string;
              taxes?: string;
              total: string;
          }[]

          Lists all flight payments, per each currency used, and is applicable only for ticketed bookings. It sums up all payments with the exclusion of Refunded/Voided tickets, obtained directly from the ticket data.

        • OptionalflightTotals?: {
              currencyCode: string;
              fees?: string;
              subtotal?: string;
              taxes?: string;
              total: string;
          }[]

          Lists all flight payments, per each currency used. For ticketed bookings it sums all payments irrespective of the document status. For non-ticketed bookings it sums payments from all price quotes stored in the booking.

        • OptionalformsOfPayment?: (
              {
                  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 };
              }
          )[]

          Lists all the payment methods that are stored in the booking.

        • OptionalhotelTotals?: {
              currencyCode: string;
              fees?: string;
              subtotal?: string;
              taxes?: string;
              total: string;
          }[]

          Lists all hotel payments, per each currency used.

        • OptionaltrainTotals?: {
              currencyCode: string;
              fees?: string;
              subtotal?: string;
              taxes?: string;
              total: string;
          }[]

          Lists all train payments, per each currency used.

      • Optionalremarks?: {
            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";
        }[]

        Contains list of remarks added to the PNR.

      • OptionalretentionEndDate?: string

        Format: date

        The retention date of the booking. Used optionally to keep the booking active past the date of the last itinerary item (flight, hotel, car, etc.). After this date, the booking is set for purging.

        2024-01-30
        
      • OptionalretentionLabel?: string

        The label associated with the retention date.

        RETENTION DATE
        
      • OptionalspecialServices?: {
            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[];
        }[]

        Lists all special services associated with a traveler.

      • OptionalstartDate?: string

        Format: date

        The start date of the booking in ISO 8601 format.

        2024-07-09
        
      • Optionaltrains?: (
            { 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;
            }
        )[]

        Lists all trains associated with the booking.

      • Optionaltravelers?: {
            address?: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string };
            ancillaries?: {
                airlineCode?: string;
                commercialName?: string;
                electronicMiscellaneousDocumentNumber?: string;
                flightApplicabilityType?: "Unknown" | "Single" | "Multiple";
                flights?: { itemId: string }[];
                isCommissionable?: boolean;
                isRefundable?: boolean;
                itemId?: string;
                numberOfItems?: number;
                reasonForIssuanceCode?: string;
                reasonForIssuanceName?:
                    | "UNKNOWN"
                    | "AIR_TRANSPORTATION"
                    | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                    | "BAGGAGE"
                    | "FINANCIAL_IMPACT"
                    | "AIRPORT_SERVICES"
                    | "MERCHANDISE"
                    | "INFLIGHT_SERVICES"
                    | "INDIVIDUAL_AIRLINE_USE";
                source?: "ATPCO"
                | "MERCHANDISING_MANAGER";
                statusCode?: string;
                statusName?:
                    | "Confirmed"
                    | "Confirmed with EMD issued"
                    | "On Request"
                    | "Pending"
                    | "Cancelled"
                    | "Unconfirmed"
                    | "Confirmed with pending payment"
                    | "Schedule change";
                subcode?: string;
                totals?: {
                    currencyCode: string;
                    fees?: string;
                    subtotal?: string;
                    taxes?: string;
                    total: string;
                };
                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?: "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;
                itemId?: string;
                middleName?: string;
                placeOfBirth?: string;
                placeOfIssue?: string;
                residenceCountryCode?: string;
                residenceDestinationAddress?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                };
                surname?: string;
            }[];
            isGrouped?: boolean;
            loyaltyPrograms?: {
                programNumber: string;
                programType?: | "FREQUENT_FLYER"
                | "FREQUENT_RENTER"
                | "LOYALTY_ID"
                | "CORPORATE_LOYALTY_ID";
                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?:
                    | "INVOICE"
                    | "ITINERARY"
                    | "GENERAL"
                    | "HISTORICAL"
                    | "CLIENT_ADDRESS"
                    | "ALPHA_CODED"
                    | "DELIVERY_ADDRESS"
                    | "HIDDEN"
                    | "CORPORATE"
                    | "FORM_OF_PAYMENT"
                    | "PRINT_ON_TICKET"
                    | "FILLER_STRIP"
                    | "INTERFACE"
                    | "QUEUE_PLACE";
            }[];
            surname: string;
            type?: | "ADULT"
            | "AGENT"
            | "AIRLINE"
            | "CHILD"
            | "EDUCATION"
            | "GOVERNMENT"
            | "GROUP"
            | "INFANT"
            | "MILITARY"
            | "SENIOR"
            | "SPECIAL"
            | "YOUTH";
        }[]

        Lists the traveler(s) associated with the booking.

      • OptionaltravelersGroup?: {
            itemId?: string;
            name?: string;
            numberOfTravelers?: number;
            numberOfTravelersRemaining?: number;
        }
        • OptionalitemId?: string

          Contains the ID of the group.

          3
          
        • Optionalname?: string

          The name of the group.

          GROUP ONE
          
        • OptionalnumberOfTravelers?: number

          Format: int32

          The total number of travelers within the group. Lap infants are not taken into consideration.

          1
          
        • OptionalnumberOfTravelersRemaining?: number

          Format: int32

          The number of remaining travelers within the group whose names are not provided. Lap infants are not taken into consideration.

          1
          
    • BookingSourceEnum: "SABRE" | "SABRE_ORDER"

      Identifies the source of the booking. Defaults to SABRE.

      SABRE
      @enum {string}
    • BookingToModify: {
          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?: 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 };
                  }
              )[];
          };
          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: | "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;
                      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;
                      residenceDestinationAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      };
                      surname?: string;
                  } & { flights?: { itemId: string }[] }
              )[];
              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;
          }[];
      }

      Contains the original booking details (within the before property) or the target booking details used after a finalized modification (within the after property). Based on the difference between the before and after properties, appropriate add, update, or delete operations are performed on the booking.

      • OptionalagencyCustomerNumber?: string

        The customer identifier used by their travel agency, also known as the customer number or the DK number. Can be a six, seven, or 10-character string.

        1234567
        
      • OptionalcreationDetails?: { agencyIataNumber?: string }
        • OptionalagencyIataNumber?: string

          A unique identifier accredited by the International Air Transport Association (IATA).

          12344321
          
      • Optionalflights?: { seats?: { number: string; offerItemId?: string }[] }[]

        Lists all flights associated with the booking in chronological order.

      • Optionalhotels?: (
            { 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;
            }
        )[]

        Lists the hotels which should be modified.

      • Optionalpayments?: {
            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 };
                }
            )[];
        }
        • OptionalformsOfPayment?: (
              {
                  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 };
              }
          )[]

          Lists payment methods associated with the booking.

      • OptionalretentionEndDate?: string

        Format: date

        The retention date of the booking. Used optionally to keep the booking active past the date of the last itinerary item (flight, hotel, car, etc.). After this date, the booking is set for purging.

        2024-01-30
        
      • OptionalretentionLabel?: string

        The label associated with the retention date.

        RETENTION DATE
        
      • OptionalspecialServices?: {
            code: string;
            flights?: { itemId: string }[];
            message?: string;
            travelerIndices?: number[];
        }[]

        Lists all special service request (SSR) messages sent to an airline. The messages may contain traveler preferences or mandatory/optional information directed to the airline.

      • Optionaltravelers?: {
            birthDate?: string;
            emails?: string[];
            givenName?: string;
            identityDocuments?: (
                {
                    birthDate?: string;
                    documentNumber?: string;
                    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;
                    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;
                    residenceDestinationAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    };
                    surname?: string;
                } & { flights?: { itemId: string }[] }
            )[];
            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;
        }[]

        Lists personal information of the travelers.

    • BookRemark: {
          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;
          };
      }

      Contains a remark to add to the booking. Please note that the PRINT_ON_TICKET, FILLER_STRIP, INTERFACE, and FORM_OF_PAYMENT remark types are currently not supported. The FORM_OF_PAYMENT remark type is automatically added to a booking upon populating the formsOfPayment array.

    • BookSeat: {
          areaPreferences?: (
              | "AISLE"
              | "BULKHEAD"
              | "FRONT"
              | "LEFT_SIDE"
              | "RIGHT_SIDE"
              | "TAIL"
              | "WINDOW"
          )[];
          number?: string;
          travelerIndex: number;
      }

      Contains details of a particular seat to be booked or a preferred area in the cabin.

      • OptionalareaPreferences?: (
            | "AISLE"
            | "BULKHEAD"
            | "FRONT"
            | "LEFT_SIDE"
            | "RIGHT_SIDE"
            | "TAIL"
            | "WINDOW"
        )[]

        Identifies area preference. Cannot be combined with number. You can combine a maximum of three non-conflicting values such as FRONT and LEFT_SIDE, etc.

      • Optionalnumber?: string

        The seat number to be assigned. Cannot be combined with areaPreference.

        13A
        
      • travelerIndex: number

        Format: int32

        The traveler index that is matched with the particular seat number.

        1
        
    • BookSpecialService: { code: string; flightIndices?: number[]; message?: string }

      Contains the special service request (SSR) message sent to an airline. The message may contain traveler preferences or mandatory/optional information directed to the airline.

      • code: string

        Defines the category of the special service request sent to the airline. Visit the official IATA website for the list of currently supported SSR code references. Some airline-specific codes may be missing within these IATA resources.

        XBAG
        
      • OptionalflightIndices?: number[]

        Lists the indices of flights within a booking.

      • Optionalmessage?: string

        The text of the special service. Some of the special service types require additional description, which is mandatory to distinguish product characteristics on the airline's side.

        PREPAID
        
    • BookTraveler: {
          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;
      }

      Contains traveler information. Multiple travelers are supported when you book by passing flight details.

      • Optionalage?: number

        Format: int32

        The age of the traveler/guest. Applies only to hotel bookings. It is mandatory to pass the age of the child travelers/guests when booking a hotel room.

        20
        
      • Optionalancillaries?: {
            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;
        }[]

        Lists the details of an ancillary services to be booked.

      • OptionalbirthDate?: string

        Format: date

        The traveler's birthday in YYYY-MM-DD format. If you make a booking that includes infant travelers, you must provide their date of birth as it is used to send infant notification to the airline (INFT SSR).

        2024-01-23
        
      • Optionalemails?: string[]

        Lists all email addresses associated with the traveler.

      • OptionalformOfPaymentIndices?: number[]

        Lists the indices of forms of payment associated with the traveler.

      • Optionalgender?:
            | "FEMALE"
            | "MALE"
            | "INFANT_FEMALE"
            | "INFANT_MALE"
            | "UNDISCLOSED"
            | "UNDEFINED"
      • OptionalgivenName?: string

        The traveler's first name.

        John
        
      • Optionalid?: string

        Price traveler's id as returned from Offer Price.

        dx369rfr7jt8dnd2i0-1-1-1
        
      • OptionalidentityDocuments?: {
            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;
        }[]

        Contains details of identity documents (such as passport or SFPD).

      • OptionalloyaltyPrograms?: {
            programNumber: string;
            programType?:
                | "FREQUENT_FLYER"
                | "FREQUENT_RENTER"
                | "LOYALTY_ID"
                | "CORPORATE_LOYALTY_ID";
            receiverCode?: string;
            supplierCode?: string;
            tierLevel?: number;
        }[]

        Contains details of the passenger's loyalty program, such as a frequent flyer card.

      • OptionalnameReferenceCode?: string

        An additional code associated with the traveler (the so-called MAN number or statement information) used for accounting or identification purposes.

        C05
        
      • OptionalpassengerCode?: string

        Identifies the type (age) of the traveler. To book a flight that includes infant travelers, pass INF. Pass INY to indicate an infant without an assigned seat, or pass INS to indicate an infant with a seat. Used for flights and hotel bookings respectively.

        ADT
        
      • Optionalphones?: { label?: string; number: string }[]

        Lists all phone numbers associated with the traveler.

      • OptionalspecialServices?: { code: string; flightIndices?: number[]; message?: string }[]

        Contains special service request (SSR) messages sent to an airline. The messages may contain traveler preferences or mandatory/optional information directed to the airline.

      • Optionalsurname?: string

        The traveler's last name.

        Smith
        
    • BrandAttribute: { description?: string; itemId?: string }

      Contains a Branded Fare attribute.

      • Optionaldescription?: string

        Marketing information about the product.

        Qantas Points
        
      • OptionalitemId?: string

        The ID of a given Branded Fare attribute.

        SABRE_NDCC_ID_1
        
    • BrandedFare: { brandCode: string; flightIndices?: number[] }

      Contains a brand code to use for booking pricing.

      • brandCode: string

        The desired brand code.

        CP
        
      • OptionalflightIndices?: number[]

        Lists the indices of flights within a booking.

    • CancelBookingRequest: {
          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 }[];
      }

      Contains required and optional elements to cancel a booking.

      • OptionalbookingSource?: "SABRE" | "SABRE_ORDER"
      • cancelAll: boolean

        If true, segments of all kinds will be cancelled from the reservation. Flights, Hotels, Cars, Trains, Cruises and all other segments included in the response are ignored.

        false
        
        false
        
      • Optionalcars?: { itemId: string }[]

        Lists the cars which should be cancelled.

      • confirmationId: string

        The booking reference ID as shown in the source supplier/vendor system. For SABRE, this is the PNR Locator value.

        GLEBNY
        
      • Optionalcruises?: { itemId: string }[]

        Lists the cruises which should be cancelled.

      • OptionaldesignatePrinters?: {
            hardcopy?: { address?: string; spacing?: string };
            invoiceItinerary?: string;
            profileNumber?: number;
            ticket?: { address?: string; countryCode?: string };
        }[]

        Lists printers or a printer profile to designate. It is possible to provide a single PrinterAddress object with a printer profile. Alternatively, the array may contain multiple PrinterAddress objects, but each of them must have the same printer type definition.

      • OptionalerrorHandlingPolicy?: "HALT_ON_ERROR" | "ALLOW_PARTIAL_CANCEL"
      • Optionalflights?: { itemId: string }[]

        Lists flights to cancel.

      • OptionalflightTicketOperation?: "VOID" | "REFUND"
      • Optionalhotels?: { itemId: string }[]

        Lists the hotels which should be cancelled.

      • Optionalnotification?: {
            email?:
                | "DEFAULT"
                | "INVOICE"
                | "ETICKET"
                | "ETICKET_PDF"
                | "ITINERARY"
                | "ITINERARY_PDF";
            queuePlacement?: {
                futureQueuePlacementDate?: string;
                pcc?: string;
                prefatoryInstructionCode: number;
                queueName?: string;
                queueNumber?: number;
            }[];
        }
        • Optionalemail?:
              | "DEFAULT"
              | "INVOICE"
              | "ETICKET"
              | "ETICKET_PDF"
              | "ITINERARY"
              | "ITINERARY_PDF"
        • OptionalqueuePlacement?: {
              futureQueuePlacementDate?: string;
              pcc?: string;
              prefatoryInstructionCode: number;
              queueName?: string;
              queueNumber?: number;
          }[]

          Lists the specifiec queue (up to three) to place the PNR into for the operation.

      • OptionalofferItemId?: string

        Contains Id for a void or refund offer available based on checkFlightTicketsResponse for the tickets belonging to the requested confirmationId. Applicable only for NDC orders.

        cb7778589bcbklg7tkkp8sdo50
        
      • OptionalreceivedFrom?: string

        The entity that authorizes the changes in a Passenger Name Record.

        Booking Management API testing
        
      • OptionalretentionEndDate?: string

        Format: date

        The retention date of the booking. Used optionally to keep the booking active past the date of the last itinerary item (flight, hotel, car, etc.). After this date, the booking is set for purging.

        2024-01-30
        
      • OptionalretentionLabel?: string

        The label associated with the retention date.

        RETENTION DATE
        
      • retrieveBooking: boolean

        If true, the response includes the current state of the booking.

        false
        
        true
        
      • Optionalsegments?: { id?: string; sequence?: number }[]

        Lists the items which should be cancelled.

      • OptionaltargetPcc?: string

        Used to specify whether the API should change context to a desired pseudo city code. Context is not reverted after the booking has been completed.

        G7HE
        
      • Optionaltrains?: { itemId: string }[]

        Lists the trains which should be cancelled.

    • CancelBookingResponse: {
          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?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      date?: string;
                      endAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      endDate?: string;
                      endLocationCode?: string;
                      endTime?: string;
                      locationCode?: string;
                      startAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      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?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      dropOffContactInfo?: { emails?: string[] } & {
                          emergencyPhones?: string[];
                          faxes?: string[];
                          phones?: string[];
                      };
                      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?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      pickUpContactInfo?: { emails?: string[] } & {
                          emergencyPhones?: string[];
                          faxes?: string[];
                          phones?: string[];
                      };
                      pickUpDate: string;
                      pickUpLocationCode?: string;
                      pickUpTime: string;
                      rateCode?: string;
                      refundPenalties?: {
                          applicableFromDate?: string;
                          applicableToDate?: string;
                          penalty: { amount: string; currencyCode: string };
                      }[];
                      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?: { amount: string; currencyCode: string };
                          isCheckInOnly?: boolean;
                          maximumSizeInCentimeters?: number;
                          maximumSizeInInches?: number;
                          maximumWeightInKilograms?: number;
                          maximumWeightInPounds?: number;
                          numberOfPieces: number;
                          specialItemDescription?: string;
                      }[];
                      maximumPieces?: number;
                      totalWeightInKilograms?: number;
                      totalWeightInPounds?: number;
                  };
                  cabinBaggageCharges?: {
                      fee?: { amount: string; currencyCode: string };
                      isCheckInOnly?: boolean;
                      maximumSizeInCentimeters?: number;
                      maximumSizeInInches?: number;
                      maximumWeightInKilograms?: number;
                      maximumWeightInPounds?: number;
                      numberOfPieces: number;
                      specialItemDescription?: string;
                  }[];
                  checkedBaggageAllowance?: {
                      baggagePieces?: {
                          fee?: { amount: string; currencyCode: string };
                          isCheckInOnly?: boolean;
                          maximumSizeInCentimeters?: number;
                          maximumSizeInInches?: number;
                          maximumWeightInKilograms?: number;
                          maximumWeightInPounds?: number;
                          numberOfPieces: number;
                          specialItemDescription?: string;
                      }[];
                      maximumPieces?: number;
                      totalWeightInKilograms?: number;
                      totalWeightInPounds?: number;
                  };
                  checkedBaggageCharges?: {
                      fee?: { amount: string; currencyCode: string };
                      isCheckInOnly?: boolean;
                      maximumSizeInCentimeters?: number;
                      maximumSizeInInches?: number;
                      maximumWeightInKilograms?: number;
                      maximumWeightInPounds?: number;
                      numberOfPieces: number;
                      specialItemDescription?: string;
                  }[];
                  flights?: { itemId: string }[];
                  travelerIndices?: number[];
              }[];
              fareRules?: {
                  destinationAirportCode?: string;
                  exchangePenalties?: {
                      applicability: "BEFORE_DEPARTURE"
                      | "AFTER_DEPARTURE";
                      conditionsApply: boolean;
                      penalty: { amount: string; currencyCode: string };
                  }[];
                  isChangeable?: boolean;
                  isRefundable?: boolean;
                  originAirportCode?: string;
                  owningAirlineCode: string;
                  passengerCode?: string;
                  refundPenalties?: {
                      applicability: "BEFORE_DEPARTURE"
                      | "AFTER_DEPARTURE";
                      conditionsApply: boolean;
                      penalty: { amount: string; currencyCode: string };
                  }[];
              }[];
              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: string; currencyCode: string };
                      brandAttributes?: { description?: string; itemId?: string }[];
                      brandFareCode?: string;
                      brandFareName?: string;
                      brandProgramCode?: string;
                      brandProgramName?: string;
                      checkedBaggageAllowance?: {
                          baggagePieces?: {
                              fee?: { amount: ...; currencyCode: ... };
                              isCheckInOnly?: boolean;
                              maximumSizeInCentimeters?: number;
                              maximumSizeInInches?: number;
                              maximumWeightInKilograms?: number;
                              maximumWeightInPounds?: number;
                              numberOfPieces: number;
                              specialItemDescription?: string;
                          }[];
                          maximumPieces?: number;
                          totalWeightInKilograms?: number;
                          totalWeightInPounds?: number;
                      };
                      fareBasisCode?: string;
                      flightIndices?: number[];
                      flights?: { itemId: string }[];
                      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: string; currencyCode: string };
                      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?: string;
                          aircraftTypeName?: string;
                          airportCode?: string;
                          arrivalDate?: string;
                          arrivalTime?: string;
                          departureDate?: string;
                          departureTime?: string;
                          durationInMinutes?: number;
                      }[];
                      identityDocuments?: {
                          itemId?: string;
                          status?: | "Unknown"
                          | "Confirmed"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Waitlisted"
                          | "Infant/No Seat"
                          | "Priority Waitlist"
                          | "Quote"
                          | "Space Available"
                          | "Pending Quote"
                          | "No Seat"
                          | "Standby";
                      }[];
                      isPast?: boolean;
                      meals?: {
                          code: string;
                          description: | "Meal"
                          | "Alcoholic beverages for purchase"
                          | "Breakfast"
                          | "Cold meal"
                          | "Complimentary alcoholic beverages"
                          | "Continental breakfast"
                          | "Dinner"
                          | "Food for purchase"
                          | "Food and beverage for purchase"
                          | "Hot meal"
                          | "Lunch"
                          | "No meal service"
                          | "Refreshment"
                          | "Refreshment for purchase"
                          | "Snack";
                      }[];
                      numberOfSeats?: number;
                      operatingAirlineCode?: string;
                      operatingAirlineName?: string;
                      operatingFlightNumber?: number;
                      seats?: {
                          characteristics?: string[];
                          number: 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";
                      }[];
                      sourceType?: "NDC"
                      | "LCC"
                      | "ATPCO";
                      toAirportCode: string;
                      travelerIndices?: number[];
                      updatedArrivalDate?: string;
                      updatedArrivalTime?: string;
                      updatedDepartureDate?: string;
                      updatedDepartureTime?: string;
                  }
              )[];
              flightTickets?: {
                  agencyIataNumber?: string;
                  airlineCode: string;
                  allCoupons?: (
                      {
                          couponStatus: | "Airport Control"
                          | "Lifted"
                          | "Checked In"
                          | "Exchanged"
                          | "Flown"
                          | "Not Flown"
                          | "Refunded"
                          | "Voided"
                          | "Printed"
                          | "Okay"
                          | "Reactivated"
                          | "Irregular Operations"
                          | "Print Exchange"
                          | "Paper Ticket"
                          | "Suspended"
                          | "Locked";
                          couponStatusCode: | "AL"
                          | "PE"
                          | "XX"
                          | "S"
                          | "P"
                          | "B"
                          | "E"
                          | "BD"
                          | "CK"
                          | "I"
                          | "RF"
                          | "V"
                          | "PR"
                          | "IO"
                          | "T";
                      } & { itemId?: string }
                  )[];
                  commission?: {
                      commissionAmount?: string;
                      commissionPercentage?: string;
                      currencyCode?: string;
                  };
                  date: string;
                  flightCoupons: (
                      { itemId: string } & {
                          couponStatus:
                              | "Airport Control"
                              | "Lifted"
                              | "Checked In"
                              | "Exchanged"
                              | "Flown"
                              | "Not Flown"
                              | "Refunded"
                              | "Voided"
                              | "Printed"
                              | "Okay"
                              | "Reactivated"
                              | "Irregular Operations"
                              | "Print Exchange"
                              | "Paper Ticket"
                              | "Suspended"
                              | "Locked";
                          couponStatusCode: | "AL"
                          | "PE"
                          | "XX"
                          | "S"
                          | "P"
                          | "B"
                          | "E"
                          | "BD"
                          | "CK"
                          | "I"
                          | "RF"
                          | "V"
                          | "PR"
                          | "IO"
                          | "T";
                      }
                  )[];
                  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?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string } & { cityCode?: string };
                      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?: string[] } & {
                          emergencyPhones?: string[];
                          faxes?: string[];
                          phones?: string[];
                      };
                      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?: string;
                          applicableToDate?: string;
                          penalty: { amount: string; currencyCode: string };
                      }[];
                      refundPenaltyPolicyCode?: string;
                      room?: {
                          agencyCommission?: {
                              commissionAmount?: string;
                              commissionPercentage?: string;
                              currencyCode?: string;
                          };
                          description?: string;
                          productCode?: string;
                          quantity: number;
                          roomRate?: { amount: string; currencyCode: string };
                          roomType: string;
                          roomTypeCode?: string;
                          travelerIndices?: number[];
                      };
                      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?: {
                              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 };
                      }
                  )[];
                  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?: "Unknown" | "Single" | "Multiple";
                      flights?: { itemId: string }[];
                      isCommissionable?: boolean;
                      isRefundable?: boolean;
                      itemId?: string;
                      numberOfItems?: number;
                      reasonForIssuanceCode?: string;
                      reasonForIssuanceName?:
                          | "UNKNOWN"
                          | "AIR_TRANSPORTATION"
                          | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                          | "BAGGAGE"
                          | "FINANCIAL_IMPACT"
                          | "AIRPORT_SERVICES"
                          | "MERCHANDISE"
                          | "INFLIGHT_SERVICES"
                          | "INDIVIDUAL_AIRLINE_USE";
                      source?: "ATPCO"
                      | "MERCHANDISING_MANAGER";
                      statusCode?: string;
                      statusName?:
                          | "Confirmed"
                          | "Confirmed with EMD issued"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Confirmed with pending payment"
                          | "Schedule change";
                      subcode?: string;
                      totals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      };
                      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?: "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;
                      itemId?: string;
                      middleName?: string;
                      placeOfBirth?: string;
                      placeOfIssue?: string;
                      residenceCountryCode?: string;
                      residenceDestinationAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      };
                      surname?: string;
                  }[];
                  isGrouped?: boolean;
                  loyaltyPrograms?: {
                      programNumber: string;
                      programType?: | "FREQUENT_FLYER"
                      | "FREQUENT_RENTER"
                      | "LOYALTY_ID"
                      | "CORPORATE_LOYALTY_ID";
                      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?:
                          | "INVOICE"
                          | "ITINERARY"
                          | "GENERAL"
                          | "HISTORICAL"
                          | "CLIENT_ADDRESS"
                          | "ALPHA_CODED"
                          | "DELIVERY_ADDRESS"
                          | "HIDDEN"
                          | "CORPORATE"
                          | "FORM_OF_PAYMENT"
                          | "PRINT_ON_TICKET"
                          | "FILLER_STRIP"
                          | "INTERFACE"
                          | "QUEUE_PLACE";
                  }[];
                  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: "BEFORE_DEPARTURE"
                      | "AFTER_DEPARTURE";
                      conditionsApply: boolean;
                      penalty: { amount: string; currencyCode: string };
                  } & {
                      hasNoShowCost?: boolean;
                      noShowPenalty?: {
                          penalty?: { amount: string; currencyCode: string };
                          source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                      };
                      source?: "Unknown"
                      | "Category 33"
                      | "Category 31"
                      | "Category 16";
                  }
              )[];
              isAutomatedRefundsEligible?: boolean;
              isChangeable?: boolean;
              isRefundable?: boolean;
              isVoidable?: boolean;
              number?: string;
              refundPenalties?: (
                  {
                      applicability: "BEFORE_DEPARTURE"
                      | "AFTER_DEPARTURE";
                      conditionsApply: boolean;
                      penalty: { amount: string; currencyCode: string };
                  } & {
                      hasNoShowCost?: boolean;
                      noShowPenalty?: {
                          penalty?: { amount: string; currencyCode: string };
                          source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                      };
                      source?: "Unknown"
                      | "Category 33"
                      | "Category 31"
                      | "Category 16";
                  }
              )[];
              refundTaxes?: { amount: string; taxCode: string }[];
              refundTotals?: {
                  currencyCode: string;
                  fees?: string;
                  subtotal?: string;
                  taxes?: string;
                  total: string;
              };
          }[];
          timestamp?: string;
          voidedTickets?: string[];
      }

      Contains booking information.

      • Optionalbooking?: {
            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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    date?: string;
                    endAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    endDate?: string;
                    endLocationCode?: string;
                    endTime?: string;
                    locationCode?: string;
                    startAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    dropOffContactInfo?: { emails?: string[] } & {
                        emergencyPhones?: string[];
                        faxes?: string[];
                        phones?: string[];
                    };
                    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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    pickUpContactInfo?: { emails?: string[] } & {
                        emergencyPhones?: string[];
                        faxes?: string[];
                        phones?: string[];
                    };
                    pickUpDate: string;
                    pickUpLocationCode?: string;
                    pickUpTime: string;
                    rateCode?: string;
                    refundPenalties?: {
                        applicableFromDate?: string;
                        applicableToDate?: string;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                    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?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    maximumPieces?: number;
                    totalWeightInKilograms?: number;
                    totalWeightInPounds?: number;
                };
                cabinBaggageCharges?: {
                    fee?: { amount: string; currencyCode: string };
                    isCheckInOnly?: boolean;
                    maximumSizeInCentimeters?: number;
                    maximumSizeInInches?: number;
                    maximumWeightInKilograms?: number;
                    maximumWeightInPounds?: number;
                    numberOfPieces: number;
                    specialItemDescription?: string;
                }[];
                checkedBaggageAllowance?: {
                    baggagePieces?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    maximumPieces?: number;
                    totalWeightInKilograms?: number;
                    totalWeightInPounds?: number;
                };
                checkedBaggageCharges?: {
                    fee?: { amount: string; currencyCode: string };
                    isCheckInOnly?: boolean;
                    maximumSizeInCentimeters?: number;
                    maximumSizeInInches?: number;
                    maximumWeightInKilograms?: number;
                    maximumWeightInPounds?: number;
                    numberOfPieces: number;
                    specialItemDescription?: string;
                }[];
                flights?: { itemId: string }[];
                travelerIndices?: number[];
            }[];
            fareRules?: {
                destinationAirportCode?: string;
                exchangePenalties?: {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                }[];
                isChangeable?: boolean;
                isRefundable?: boolean;
                originAirportCode?: string;
                owningAirlineCode: string;
                passengerCode?: string;
                refundPenalties?: {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                }[];
            }[];
            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: string; currencyCode: string };
                    brandAttributes?: { description?: string; itemId?: string }[];
                    brandFareCode?: string;
                    brandFareName?: string;
                    brandProgramCode?: string;
                    brandProgramName?: string;
                    checkedBaggageAllowance?: {
                        baggagePieces?: {
                            fee?: { amount: ...; currencyCode: ... };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        maximumPieces?: number;
                        totalWeightInKilograms?: number;
                        totalWeightInPounds?: number;
                    };
                    fareBasisCode?: string;
                    flightIndices?: number[];
                    flights?: { itemId: string }[];
                    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: string; currencyCode: string };
                    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?: string;
                        aircraftTypeName?: string;
                        airportCode?: string;
                        arrivalDate?: string;
                        arrivalTime?: string;
                        departureDate?: string;
                        departureTime?: string;
                        durationInMinutes?: number;
                    }[];
                    identityDocuments?: {
                        itemId?: string;
                        status?: | "Unknown"
                        | "Confirmed"
                        | "On Request"
                        | "Pending"
                        | "Cancelled"
                        | "Unconfirmed"
                        | "Waitlisted"
                        | "Infant/No Seat"
                        | "Priority Waitlist"
                        | "Quote"
                        | "Space Available"
                        | "Pending Quote"
                        | "No Seat"
                        | "Standby";
                    }[];
                    isPast?: boolean;
                    meals?: {
                        code: string;
                        description: | "Meal"
                        | "Alcoholic beverages for purchase"
                        | "Breakfast"
                        | "Cold meal"
                        | "Complimentary alcoholic beverages"
                        | "Continental breakfast"
                        | "Dinner"
                        | "Food for purchase"
                        | "Food and beverage for purchase"
                        | "Hot meal"
                        | "Lunch"
                        | "No meal service"
                        | "Refreshment"
                        | "Refreshment for purchase"
                        | "Snack";
                    }[];
                    numberOfSeats?: number;
                    operatingAirlineCode?: string;
                    operatingAirlineName?: string;
                    operatingFlightNumber?: number;
                    seats?: {
                        characteristics?: string[];
                        number: 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";
                    }[];
                    sourceType?: "NDC"
                    | "LCC"
                    | "ATPCO";
                    toAirportCode: string;
                    travelerIndices?: number[];
                    updatedArrivalDate?: string;
                    updatedArrivalTime?: string;
                    updatedDepartureDate?: string;
                    updatedDepartureTime?: string;
                }
            )[];
            flightTickets?: {
                agencyIataNumber?: string;
                airlineCode: string;
                allCoupons?: (
                    {
                        couponStatus: | "Airport Control"
                        | "Lifted"
                        | "Checked In"
                        | "Exchanged"
                        | "Flown"
                        | "Not Flown"
                        | "Refunded"
                        | "Voided"
                        | "Printed"
                        | "Okay"
                        | "Reactivated"
                        | "Irregular Operations"
                        | "Print Exchange"
                        | "Paper Ticket"
                        | "Suspended"
                        | "Locked";
                        couponStatusCode: | "AL"
                        | "PE"
                        | "XX"
                        | "S"
                        | "P"
                        | "B"
                        | "E"
                        | "BD"
                        | "CK"
                        | "I"
                        | "RF"
                        | "V"
                        | "PR"
                        | "IO"
                        | "T";
                    } & { itemId?: string }
                )[];
                commission?: {
                    commissionAmount?: string;
                    commissionPercentage?: string;
                    currencyCode?: string;
                };
                date: string;
                flightCoupons: (
                    { itemId: string } & {
                        couponStatus:
                            | "Airport Control"
                            | "Lifted"
                            | "Checked In"
                            | "Exchanged"
                            | "Flown"
                            | "Not Flown"
                            | "Refunded"
                            | "Voided"
                            | "Printed"
                            | "Okay"
                            | "Reactivated"
                            | "Irregular Operations"
                            | "Print Exchange"
                            | "Paper Ticket"
                            | "Suspended"
                            | "Locked";
                        couponStatusCode: | "AL"
                        | "PE"
                        | "XX"
                        | "S"
                        | "P"
                        | "B"
                        | "E"
                        | "BD"
                        | "CK"
                        | "I"
                        | "RF"
                        | "V"
                        | "PR"
                        | "IO"
                        | "T";
                    }
                )[];
                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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string } & { cityCode?: string };
                    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?: string[] } & {
                        emergencyPhones?: string[];
                        faxes?: string[];
                        phones?: string[];
                    };
                    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?: string;
                        applicableToDate?: string;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                    refundPenaltyPolicyCode?: string;
                    room?: {
                        agencyCommission?: {
                            commissionAmount?: string;
                            commissionPercentage?: string;
                            currencyCode?: string;
                        };
                        description?: string;
                        productCode?: string;
                        quantity: number;
                        roomRate?: { amount: string; currencyCode: string };
                        roomType: string;
                        roomTypeCode?: string;
                        travelerIndices?: number[];
                    };
                    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?: {
                            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 };
                    }
                )[];
                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?: "Unknown" | "Single" | "Multiple";
                    flights?: { itemId: string }[];
                    isCommissionable?: boolean;
                    isRefundable?: boolean;
                    itemId?: string;
                    numberOfItems?: number;
                    reasonForIssuanceCode?: string;
                    reasonForIssuanceName?:
                        | "UNKNOWN"
                        | "AIR_TRANSPORTATION"
                        | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                        | "BAGGAGE"
                        | "FINANCIAL_IMPACT"
                        | "AIRPORT_SERVICES"
                        | "MERCHANDISE"
                        | "INFLIGHT_SERVICES"
                        | "INDIVIDUAL_AIRLINE_USE";
                    source?: "ATPCO"
                    | "MERCHANDISING_MANAGER";
                    statusCode?: string;
                    statusName?:
                        | "Confirmed"
                        | "Confirmed with EMD issued"
                        | "On Request"
                        | "Pending"
                        | "Cancelled"
                        | "Unconfirmed"
                        | "Confirmed with pending payment"
                        | "Schedule change";
                    subcode?: string;
                    totals?: {
                        currencyCode: string;
                        fees?: string;
                        subtotal?: string;
                        taxes?: string;
                        total: string;
                    };
                    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?: "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;
                    itemId?: string;
                    middleName?: string;
                    placeOfBirth?: string;
                    placeOfIssue?: string;
                    residenceCountryCode?: string;
                    residenceDestinationAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    };
                    surname?: string;
                }[];
                isGrouped?: boolean;
                loyaltyPrograms?: {
                    programNumber: string;
                    programType?: | "FREQUENT_FLYER"
                    | "FREQUENT_RENTER"
                    | "LOYALTY_ID"
                    | "CORPORATE_LOYALTY_ID";
                    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?:
                        | "INVOICE"
                        | "ITINERARY"
                        | "GENERAL"
                        | "HISTORICAL"
                        | "CLIENT_ADDRESS"
                        | "ALPHA_CODED"
                        | "DELIVERY_ADDRESS"
                        | "HIDDEN"
                        | "CORPORATE"
                        | "FORM_OF_PAYMENT"
                        | "PRINT_ON_TICKET"
                        | "FILLER_STRIP"
                        | "INTERFACE"
                        | "QUEUE_PLACE";
                }[];
                surname: string;
                type?: | "ADULT"
                | "AGENT"
                | "AIRLINE"
                | "CHILD"
                | "EDUCATION"
                | "GOVERNMENT"
                | "GROUP"
                | "INFANT"
                | "MILITARY"
                | "SENIOR"
                | "SPECIAL"
                | "YOUTH";
            }[];
            travelersGroup?: {
                itemId?: string;
                name?: string;
                numberOfTravelers?: number;
                numberOfTravelersRemaining?: number;
            };
        }
        • OptionalaccountingItems?: {
              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[];
          }[]

          Lists accounting items from the booking.

        • OptionalagencyCustomerNumber?: string

          The customer identifier used by their travel agency, also known as the customer number or the DK number. Can be a six, seven, or 10-character string.

          1234567
          
        • OptionalallSegments?: (
              { id: string } & {
                  address?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  date?: string;
                  endAddress?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  endDate?: string;
                  endLocationCode?: string;
                  endTime?: string;
                  locationCode?: string;
                  startAddress?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  startDate?: string;
                  startLocationCode?: string;
                  startTime?: string;
                  text?: string;
                  time?: string;
                  type: string;
                  vendorCode?: string;
              }
          )[]

          Lists all segments of the booking which overlaps with contextual booking elements such as flights, hotels, cars, trains and so on. This list also contains non-product related segments which exist in an underlying booking system.

        • OptionalbookingId?: string

          The booking reference ID as shown in the source supplier/vendor system. For SABRE, this is the PNR Locator or NDC orderId value, depending on content type.

          1SXXX1A2B3C4D
          
        • Optionalcars?: (
              { 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?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  dropOffContactInfo?: { emails?: string[] } & {
                      emergencyPhones?: string[];
                      faxes?: string[];
                      phones?: string[];
                  };
                  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?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  pickUpContactInfo?: { emails?: string[] } & {
                      emergencyPhones?: string[];
                      faxes?: string[];
                      phones?: string[];
                  };
                  pickUpDate: string;
                  pickUpLocationCode?: string;
                  pickUpTime: string;
                  rateCode?: string;
                  refundPenalties?: {
                      applicableFromDate?: string;
                      applicableToDate?: string;
                      penalty: { amount: string; currencyCode: string };
                  }[];
                  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;
              }
          )[]

          Lists all car rentals associated with the booking.

        • OptionalcontactInfo?: { emails?: string[] } & {
              emergencyPhones?: string[];
              faxes?: string[];
              phones?: string[];
          }
        • OptionalcreationDetails?: {
              agencyIataNumber?: string;
              creationDate?: string;
              creationTime?: string;
              creationUserSine?: string;
              primeHostId?: string;
              purchaseDeadlineDate?: string;
              purchaseDeadlineTime?: string;
              userHomePcc?: string;
              userWorkPcc?: string;
          }
          • OptionalagencyIataNumber?: string

            A unique identifier accredited by the International Air Transport Association (IATA).

            99119911
            
          • OptionalcreationDate?: string

            Format: date

            The date in YYYY-MM-DD format when the booking was created.

            2024-01-09
            
          • OptionalcreationTime?: string

            The time in HH:MM format when the booking was created. Not supported for NDC bookings.

            15:00
            
          • OptionalcreationUserSine?: string

            The sine of the Employee Profile Record that created the booking. Not supported for NDC bookings.

            A12
            
          • OptionalprimeHostId?: string

            The identification code for the prime host (global distribution system) associated with the reservation.

            1S
            
          • OptionalpurchaseDeadlineDate?: string

            Format: date

            The date in the YYYY-MM-DD format by which the stored fare must be ticketed.

            2024-01-09
            
          • OptionalpurchaseDeadlineTime?: string

            The time in the HH:MM format by which the stored fare must be ticketed.

            15:00
            
          • OptionaluserHomePcc?: string

            The pseudo city code of the agent who created the booking.

            CD34
            
          • OptionaluserWorkPcc?: string

            The pseudo city code where the booking was created.

            AB12
            
        • Optionalcruises?: (
              { 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;
              }
          )[]

          Lists all cruises associated with the booking.

        • OptionalendDate?: string

          Format: date

          The end date of the booking in ISO 8601 format.

          2024-07-19
          
        • OptionalfareOffers?: {
              cabinBaggageAllowance?: {
                  baggagePieces?: {
                      fee?: { amount: string; currencyCode: string };
                      isCheckInOnly?: boolean;
                      maximumSizeInCentimeters?: number;
                      maximumSizeInInches?: number;
                      maximumWeightInKilograms?: number;
                      maximumWeightInPounds?: number;
                      numberOfPieces: number;
                      specialItemDescription?: string;
                  }[];
                  maximumPieces?: number;
                  totalWeightInKilograms?: number;
                  totalWeightInPounds?: number;
              };
              cabinBaggageCharges?: {
                  fee?: { amount: string; currencyCode: string };
                  isCheckInOnly?: boolean;
                  maximumSizeInCentimeters?: number;
                  maximumSizeInInches?: number;
                  maximumWeightInKilograms?: number;
                  maximumWeightInPounds?: number;
                  numberOfPieces: number;
                  specialItemDescription?: string;
              }[];
              checkedBaggageAllowance?: {
                  baggagePieces?: {
                      fee?: { amount: string; currencyCode: string };
                      isCheckInOnly?: boolean;
                      maximumSizeInCentimeters?: number;
                      maximumSizeInInches?: number;
                      maximumWeightInKilograms?: number;
                      maximumWeightInPounds?: number;
                      numberOfPieces: number;
                      specialItemDescription?: string;
                  }[];
                  maximumPieces?: number;
                  totalWeightInKilograms?: number;
                  totalWeightInPounds?: number;
              };
              checkedBaggageCharges?: {
                  fee?: { amount: string; currencyCode: string };
                  isCheckInOnly?: boolean;
                  maximumSizeInCentimeters?: number;
                  maximumSizeInInches?: number;
                  maximumWeightInKilograms?: number;
                  maximumWeightInPounds?: number;
                  numberOfPieces: number;
                  specialItemDescription?: string;
              }[];
              flights?: { itemId: string }[];
              travelerIndices?: number[];
          }[]

          Lists ancillary offers for selected flights identified by itemId flight references.

        • OptionalfareRules?: {
              destinationAirportCode?: string;
              exchangePenalties?: {
                  applicability: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                  conditionsApply: boolean;
                  penalty: { amount: string; currencyCode: string };
              }[];
              isChangeable?: boolean;
              isRefundable?: boolean;
              originAirportCode?: string;
              owningAirlineCode: string;
              passengerCode?: string;
              refundPenalties?: {
                  applicability: "BEFORE_DEPARTURE"
                  | "AFTER_DEPARTURE";
                  conditionsApply: boolean;
                  penalty: { amount: string; currencyCode: string };
              }[];
          }[]

          Lists most restrictive fare rule information displayed at the time of purchase. This service applies data from either Tickets or Price Quotes.

        • Optionalfares?: {
              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: string; currencyCode: string };
                  brandAttributes?: { description?: string; itemId?: string }[];
                  brandFareCode?: string;
                  brandFareName?: string;
                  brandProgramCode?: string;
                  brandProgramName?: string;
                  checkedBaggageAllowance?: {
                      baggagePieces?: {
                          fee?: { amount: ...; currencyCode: ... };
                          isCheckInOnly?: boolean;
                          maximumSizeInCentimeters?: number;
                          maximumSizeInInches?: number;
                          maximumWeightInKilograms?: number;
                          maximumWeightInPounds?: number;
                          numberOfPieces: number;
                          specialItemDescription?: string;
                      }[];
                      maximumPieces?: number;
                      totalWeightInKilograms?: number;
                      totalWeightInPounds?: number;
                  };
                  fareBasisCode?: string;
                  flightIndices?: number[];
                  flights?: { itemId: string }[];
                  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: string; currencyCode: string };
                  taxCode?: string;
              }[];
              totals?: {
                  currencyCode: string;
                  fees?: string;
                  subtotal?: string;
                  taxes?: string;
                  total: string;
              };
              tourCode?: string;
              travelerIndices?: number[];
          }[]

          Lists the details for saved fares. This service applies data either from a Price Quote or an Order Item.

        • Optionalflights?: (
              { 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?: string;
                      aircraftTypeName?: string;
                      airportCode?: string;
                      arrivalDate?: string;
                      arrivalTime?: string;
                      departureDate?: string;
                      departureTime?: string;
                      durationInMinutes?: number;
                  }[];
                  identityDocuments?: {
                      itemId?: string;
                      status?: | "Unknown"
                      | "Confirmed"
                      | "On Request"
                      | "Pending"
                      | "Cancelled"
                      | "Unconfirmed"
                      | "Waitlisted"
                      | "Infant/No Seat"
                      | "Priority Waitlist"
                      | "Quote"
                      | "Space Available"
                      | "Pending Quote"
                      | "No Seat"
                      | "Standby";
                  }[];
                  isPast?: boolean;
                  meals?: {
                      code: string;
                      description: | "Meal"
                      | "Alcoholic beverages for purchase"
                      | "Breakfast"
                      | "Cold meal"
                      | "Complimentary alcoholic beverages"
                      | "Continental breakfast"
                      | "Dinner"
                      | "Food for purchase"
                      | "Food and beverage for purchase"
                      | "Hot meal"
                      | "Lunch"
                      | "No meal service"
                      | "Refreshment"
                      | "Refreshment for purchase"
                      | "Snack";
                  }[];
                  numberOfSeats?: number;
                  operatingAirlineCode?: string;
                  operatingAirlineName?: string;
                  operatingFlightNumber?: number;
                  seats?: {
                      characteristics?: string[];
                      number: 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";
                  }[];
                  sourceType?: "NDC"
                  | "LCC"
                  | "ATPCO";
                  toAirportCode: string;
                  travelerIndices?: number[];
                  updatedArrivalDate?: string;
                  updatedArrivalTime?: string;
                  updatedDepartureDate?: string;
                  updatedDepartureTime?: string;
              }
          )[]

          Lists all flights associated with the booking in chronological order.

        • OptionalflightTickets?: {
              agencyIataNumber?: string;
              airlineCode: string;
              allCoupons?: (
                  {
                      couponStatus: | "Airport Control"
                      | "Lifted"
                      | "Checked In"
                      | "Exchanged"
                      | "Flown"
                      | "Not Flown"
                      | "Refunded"
                      | "Voided"
                      | "Printed"
                      | "Okay"
                      | "Reactivated"
                      | "Irregular Operations"
                      | "Print Exchange"
                      | "Paper Ticket"
                      | "Suspended"
                      | "Locked";
                      couponStatusCode: | "AL"
                      | "PE"
                      | "XX"
                      | "S"
                      | "P"
                      | "B"
                      | "E"
                      | "BD"
                      | "CK"
                      | "I"
                      | "RF"
                      | "V"
                      | "PR"
                      | "IO"
                      | "T";
                  } & { itemId?: string }
              )[];
              commission?: {
                  commissionAmount?: string;
                  commissionPercentage?: string;
                  currencyCode?: string;
              };
              date: string;
              flightCoupons: (
                  { itemId: string } & {
                      couponStatus:
                          | "Airport Control"
                          | "Lifted"
                          | "Checked In"
                          | "Exchanged"
                          | "Flown"
                          | "Not Flown"
                          | "Refunded"
                          | "Voided"
                          | "Printed"
                          | "Okay"
                          | "Reactivated"
                          | "Irregular Operations"
                          | "Print Exchange"
                          | "Paper Ticket"
                          | "Suspended"
                          | "Locked";
                      couponStatusCode: | "AL"
                      | "PE"
                      | "XX"
                      | "S"
                      | "P"
                      | "B"
                      | "E"
                      | "BD"
                      | "CK"
                      | "I"
                      | "RF"
                      | "V"
                      | "PR"
                      | "IO"
                      | "T";
                  }
              )[];
              number: string;
              payment: {
                  currencyCode: string;
                  fees?: string;
                  subtotal?: string;
                  taxes?: string;
                  total: string;
              };
              ticketingPcc?: string;
              ticketStatusCode?: string;
              ticketStatusName?: "Voided"
              | "Issued"
              | "Refunded/Exchanged";
              travelerIndex: number;
          }[]

          Lists all electronic flight tickets issued for the travelers.

        • OptionalfutureTicketingPolicy?: {
              comment?: string;
              queueNumber?: string;
              ticketingDate?: string;
              ticketingPcc?: string;
              ticketingTime?: string;
          }
          • Optionalcomment?: string

            Free text comment.

            TICKET BEFORE TUES
            
          • OptionalqueueNumber?: string

            Used to specify a queue number.

            55
            
          • OptionalticketingDate?: string

            Format: date

            The ticketing date.

            2024-07-09
            
          • OptionalticketingPcc?: string

            Used to specify a pseudocity code.

            G7RE
            
          • OptionalticketingTime?: string

            The ticketing time in HH:MM format.

            11:00
            
        • Optionalhotels?: (
              { itemId: string } & {
                  address: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string } & { cityCode?: string };
                  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?: string[] } & {
                      emergencyPhones?: string[];
                      faxes?: string[];
                      phones?: string[];
                  };
                  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?: string;
                      applicableToDate?: string;
                      penalty: { amount: string; currencyCode: string };
                  }[];
                  refundPenaltyPolicyCode?: string;
                  room?: {
                      agencyCommission?: {
                          commissionAmount?: string;
                          commissionPercentage?: string;
                          currencyCode?: string;
                      };
                      description?: string;
                      productCode?: string;
                      quantity: number;
                      roomRate?: { amount: string; currencyCode: string };
                      roomType: string;
                      roomTypeCode?: string;
                      travelerIndices?: number[];
                  };
                  sabrePropertyId?: string;
                  sourceTypeCode?: number;
                  sourceTypeName?: | "Unknown"
                  | "Legacy"
                  | "Sabre GDS"
                  | "Expedia Associate Network"
                  | "HotelBeds.com"
                  | "Booking.com"
                  | "CMNet";
                  specialInstructions?: string;
              }
          )[]

          Lists all hotel reservations associated with the booking.

        • OptionalisCancelable?: boolean

          If true, the booking is cancelable in full or in segments. Refer to the refundPenalties array for more information.

          false
          
        • OptionalisTicketed?: boolean

          If true, at least one ticket was issued for the booking.

          false
          
        • Optionaljourneys?: {
              departureDate: string;
              departureTime: string;
              firstAirportCode: string;
              lastAirportCode: string;
              numberOfFlights: number;
          }[]

          Lists all the journeys associated with the booking. * For one-way, this is a single element list. * For round-trip, the list contains two journeys. * For multi-destinations, the list contains more than two journeys.

        • OptionalnonElectronicTickets?: {
              date?: string;
              ticketingPcc?: string;
              ticketingUserCode?: string;
              ticketNumber?: string;
              ticketStatus?: "Unknown" | "Active" | "Inactive";
              time?: string;
              travelerIndex?: number;
          }[]

          Lists nonelectronic tickets from the booking.

        • OptionalotherServices?: {
              airlineCode?: string;
              chainCode?: string;
              serviceMessage?: string;
              travelerIndex?: number;
              vendorCode?: string;
          }[]

          Lists Other Service Information (OSI) to/from a specific vendor.

        • Optionalpayments?: {
              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?: {
                          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 };
                  }
              )[];
              hotelTotals?: {
                  currencyCode: string;
                  fees?: string;
                  subtotal?: string;
                  taxes?: string;
                  total: string;
              }[];
              trainTotals?: {
                  currencyCode: string;
                  fees?: string;
                  subtotal?: string;
                  taxes?: string;
                  total: string;
              }[];
          }
          • OptionalcarTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            }[]

            Lists all car rental payments, per each currency used.

          • OptionalflightCurrentTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            }[]

            Lists all flight payments, per each currency used, and is applicable only for ticketed bookings. It sums up all payments with the exclusion of Refunded/Voided tickets, obtained directly from the ticket data.

          • OptionalflightTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            }[]

            Lists all flight payments, per each currency used. For ticketed bookings it sums all payments irrespective of the document status. For non-ticketed bookings it sums payments from all price quotes stored in the booking.

          • OptionalformsOfPayment?: (
                {
                    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 };
                }
            )[]

            Lists all the payment methods that are stored in the booking.

          • OptionalhotelTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            }[]

            Lists all hotel payments, per each currency used.

          • OptionaltrainTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            }[]

            Lists all train payments, per each currency used.

        • Optionalremarks?: {
              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";
          }[]

          Contains list of remarks added to the PNR.

        • OptionalretentionEndDate?: string

          Format: date

          The retention date of the booking. Used optionally to keep the booking active past the date of the last itinerary item (flight, hotel, car, etc.). After this date, the booking is set for purging.

          2024-01-30
          
        • OptionalretentionLabel?: string

          The label associated with the retention date.

          RETENTION DATE
          
        • OptionalspecialServices?: {
              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[];
          }[]

          Lists all special services associated with a traveler.

        • OptionalstartDate?: string

          Format: date

          The start date of the booking in ISO 8601 format.

          2024-07-09
          
        • Optionaltrains?: (
              { 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;
              }
          )[]

          Lists all trains associated with the booking.

        • Optionaltravelers?: {
              address?: {
                  city?: string;
                  countryCode?: string;
                  postalCode?: string;
                  stateProvince?: string;
                  street?: string;
              } & { freeText?: string; name?: string };
              ancillaries?: {
                  airlineCode?: string;
                  commercialName?: string;
                  electronicMiscellaneousDocumentNumber?: string;
                  flightApplicabilityType?: "Unknown" | "Single" | "Multiple";
                  flights?: { itemId: string }[];
                  isCommissionable?: boolean;
                  isRefundable?: boolean;
                  itemId?: string;
                  numberOfItems?: number;
                  reasonForIssuanceCode?: string;
                  reasonForIssuanceName?:
                      | "UNKNOWN"
                      | "AIR_TRANSPORTATION"
                      | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                      | "BAGGAGE"
                      | "FINANCIAL_IMPACT"
                      | "AIRPORT_SERVICES"
                      | "MERCHANDISE"
                      | "INFLIGHT_SERVICES"
                      | "INDIVIDUAL_AIRLINE_USE";
                  source?: "ATPCO"
                  | "MERCHANDISING_MANAGER";
                  statusCode?: string;
                  statusName?:
                      | "Confirmed"
                      | "Confirmed with EMD issued"
                      | "On Request"
                      | "Pending"
                      | "Cancelled"
                      | "Unconfirmed"
                      | "Confirmed with pending payment"
                      | "Schedule change";
                  subcode?: string;
                  totals?: {
                      currencyCode: string;
                      fees?: string;
                      subtotal?: string;
                      taxes?: string;
                      total: string;
                  };
                  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?: "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;
                  itemId?: string;
                  middleName?: string;
                  placeOfBirth?: string;
                  placeOfIssue?: string;
                  residenceCountryCode?: string;
                  residenceDestinationAddress?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  };
                  surname?: string;
              }[];
              isGrouped?: boolean;
              loyaltyPrograms?: {
                  programNumber: string;
                  programType?: | "FREQUENT_FLYER"
                  | "FREQUENT_RENTER"
                  | "LOYALTY_ID"
                  | "CORPORATE_LOYALTY_ID";
                  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?:
                      | "INVOICE"
                      | "ITINERARY"
                      | "GENERAL"
                      | "HISTORICAL"
                      | "CLIENT_ADDRESS"
                      | "ALPHA_CODED"
                      | "DELIVERY_ADDRESS"
                      | "HIDDEN"
                      | "CORPORATE"
                      | "FORM_OF_PAYMENT"
                      | "PRINT_ON_TICKET"
                      | "FILLER_STRIP"
                      | "INTERFACE"
                      | "QUEUE_PLACE";
              }[];
              surname: string;
              type?: | "ADULT"
              | "AGENT"
              | "AIRLINE"
              | "CHILD"
              | "EDUCATION"
              | "GOVERNMENT"
              | "GROUP"
              | "INFANT"
              | "MILITARY"
              | "SENIOR"
              | "SPECIAL"
              | "YOUTH";
          }[]

          Lists the traveler(s) associated with the booking.

        • OptionaltravelersGroup?: {
              itemId?: string;
              name?: string;
              numberOfTravelers?: number;
              numberOfTravelersRemaining?: number;
          }
          • OptionalitemId?: string

            Contains the ID of the group.

            3
            
          • Optionalname?: string

            The name of the group.

            GROUP ONE
            
          • OptionalnumberOfTravelers?: number

            Format: int32

            The total number of travelers within the group. Lap infants are not taken into consideration.

            1
            
          • OptionalnumberOfTravelersRemaining?: number

            Format: int32

            The number of remaining travelers within the group whose names are not provided. Lap infants are not taken into consideration.

            1
            
      • Optionalerrors?: {
            category: string;
            description?: string;
            fieldName?: string;
            fieldPath?: string;
            fieldValue?: string;
            type: string;
        }[]

        Lists detailed error information. This array is not displayed in successful responses.

      • OptionalrefundedTickets?: string[]

        Lists all successfully refunded tickets.

      • Optionalrequest?: {
            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 }[];
        }
        • OptionalbookingSource?: "SABRE" | "SABRE_ORDER"
        • cancelAll: boolean

          If true, segments of all kinds will be cancelled from the reservation. Flights, Hotels, Cars, Trains, Cruises and all other segments included in the response are ignored.

          false
          
          false
          
        • Optionalcars?: { itemId: string }[]

          Lists the cars which should be cancelled.

        • confirmationId: string

          The booking reference ID as shown in the source supplier/vendor system. For SABRE, this is the PNR Locator value.

          GLEBNY
          
        • Optionalcruises?: { itemId: string }[]

          Lists the cruises which should be cancelled.

        • OptionaldesignatePrinters?: {
              hardcopy?: { address?: string; spacing?: string };
              invoiceItinerary?: string;
              profileNumber?: number;
              ticket?: { address?: string; countryCode?: string };
          }[]

          Lists printers or a printer profile to designate. It is possible to provide a single PrinterAddress object with a printer profile. Alternatively, the array may contain multiple PrinterAddress objects, but each of them must have the same printer type definition.

        • OptionalerrorHandlingPolicy?: "HALT_ON_ERROR" | "ALLOW_PARTIAL_CANCEL"
        • Optionalflights?: { itemId: string }[]

          Lists flights to cancel.

        • OptionalflightTicketOperation?: "VOID" | "REFUND"
        • Optionalhotels?: { itemId: string }[]

          Lists the hotels which should be cancelled.

        • Optionalnotification?: {
              email?:
                  | "DEFAULT"
                  | "INVOICE"
                  | "ETICKET"
                  | "ETICKET_PDF"
                  | "ITINERARY"
                  | "ITINERARY_PDF";
              queuePlacement?: {
                  futureQueuePlacementDate?: string;
                  pcc?: string;
                  prefatoryInstructionCode: number;
                  queueName?: string;
                  queueNumber?: number;
              }[];
          }
          • Optionalemail?:
                | "DEFAULT"
                | "INVOICE"
                | "ETICKET"
                | "ETICKET_PDF"
                | "ITINERARY"
                | "ITINERARY_PDF"
          • OptionalqueuePlacement?: {
                futureQueuePlacementDate?: string;
                pcc?: string;
                prefatoryInstructionCode: number;
                queueName?: string;
                queueNumber?: number;
            }[]

            Lists the specifiec queue (up to three) to place the PNR into for the operation.

        • OptionalofferItemId?: string

          Contains Id for a void or refund offer available based on checkFlightTicketsResponse for the tickets belonging to the requested confirmationId. Applicable only for NDC orders.

          cb7778589bcbklg7tkkp8sdo50
          
        • OptionalreceivedFrom?: string

          The entity that authorizes the changes in a Passenger Name Record.

          Booking Management API testing
          
        • OptionalretentionEndDate?: string

          Format: date

          The retention date of the booking. Used optionally to keep the booking active past the date of the last itinerary item (flight, hotel, car, etc.). After this date, the booking is set for purging.

          2024-01-30
          
        • OptionalretentionLabel?: string

          The label associated with the retention date.

          RETENTION DATE
          
        • retrieveBooking: boolean

          If true, the response includes the current state of the booking.

          false
          
          true
          
        • Optionalsegments?: { id?: string; sequence?: number }[]

          Lists the items which should be cancelled.

        • OptionaltargetPcc?: string

          Used to specify whether the API should change context to a desired pseudo city code. Context is not reverted after the booking has been completed.

          G7HE
          
        • Optionaltrains?: { itemId: string }[]

          Lists the trains which should be cancelled.

      • Optionaltickets?: {
            exchangePenalties?: (
                {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                } & {
                    hasNoShowCost?: boolean;
                    noShowPenalty?: {
                        penalty?: { amount: string; currencyCode: string };
                        source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                    };
                    source?: "Unknown"
                    | "Category 33"
                    | "Category 31"
                    | "Category 16";
                }
            )[];
            isAutomatedRefundsEligible?: boolean;
            isChangeable?: boolean;
            isRefundable?: boolean;
            isVoidable?: boolean;
            number?: string;
            refundPenalties?: (
                {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                } & {
                    hasNoShowCost?: boolean;
                    noShowPenalty?: {
                        penalty?: { amount: string; currencyCode: string };
                        source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                    };
                    source?: "Unknown"
                    | "Category 33"
                    | "Category 31"
                    | "Category 16";
                }
            )[];
            refundTaxes?: { amount: string; taxCode: string }[];
            refundTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            };
        }[]

        Lists information about cancellation eligibility and refundable amounts per ticket in the order of the request.

      • Optionaltimestamp?: string

        Format: date-time

        Provides the exact point in time when the response was generated. The timestamp is expressed in UTC and presented in the YYYY-MM-DDTHH:MM:SSZ format.

        2024-10-28T11:11:21Z
        
      • OptionalvoidedTickets?: string[]

        Lists all successfully voided tickets.

    • CancelErrorPolicyEnum: "HALT_ON_ERROR" | "ALLOW_PARTIAL_CANCEL"

      Identifies the policy for handling errors within the Cancel Booking service.

      HALT_ON_ERROR
      
      HALT_ON_ERROR
      @enum {string}
    • CancelOffer: {
          offerExpirationDate?: string;
          offerExpirationTime?: string;
          offerItemId?: string;
          offerType?: "VOID" | "REFUND";
          refundTotals?: {
              currencyCode: string;
              fees?: string;
              subtotal?: string;
              taxes?: string;
              total: string;
          };
      }

      Contains detailed information about a specific cancellation option for a NDC Order item.

      • OptionalofferExpirationDate?: string

        Format: date

        The expiration date of a cancel offer.

        2024-01-30
        
      • OptionalofferExpirationTime?: string

        The expiration time of a cancel offer in UTC.

        09:25
        
      • OptionalofferItemId?: string

        Offer ID referencing the cancel option for a NDC order. This ID must be applied when cancelling an order to receive a refund or void.

        cb7778589bcbklg7tkkp8sdo50
        
      • OptionalofferType?: "VOID" | "REFUND"
      • OptionalrefundTotals?: {
            currencyCode: string;
            fees?: string;
            subtotal?: string;
            taxes?: string;
            total: string;
        }
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
        • Optionalfees?: string

          The amount of all applicable fees.

          20.00
          
        • Optionalsubtotal?: string

          The subtotal before applying taxes and fees.

          100.00
          
        • Optionaltaxes?: string

          The amount of all taxes.

          8.00
          
        • total: string

          The total amount; the sum of the subtotal, taxes, and fees.

          128.00
          
    • CancelOfferTypeEnum: "VOID" | "REFUND"

      Identifies the offer type of the cancel option.

      VOID
      @enum {string}
    • Car: { 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?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          } & { freeText?: string; name?: string };
          dropOffContactInfo?: { emails?: string[] } & {
              emergencyPhones?: string[];
              faxes?: string[];
              phones?: string[];
          };
          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?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          } & { freeText?: string; name?: string };
          pickUpContactInfo?: { emails?: string[] } & {
              emergencyPhones?: string[];
              faxes?: string[];
              phones?: string[];
          };
          pickUpDate: string;
          pickUpLocationCode?: string;
          pickUpTime: string;
          rateCode?: string;
          refundPenalties?: {
              applicableFromDate?: string;
              applicableToDate?: string;
              penalty: { amount: string; currencyCode: string };
          }[];
          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;
      }

      Contains car rental information, identified by itemId, for the given booking.

    • CardHolder: {
          address?: {
              city?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          };
          email?: string;
          givenName: string;
          phone?: string;
          surname: string;
      }

      Contains payment card holder information.

      • Optionaladdress?: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        }
        • Optionalcity?: string

          The name of the city.

          Dallas
          
        • OptionalcountryCode?: string

          The two-letter ISO 3166 country code.

          US
          
        • OptionalpostalCode?: string

          The zip or postal code.

          75063
          
        • OptionalstateProvince?: string

          The name or code of the state or province.

          TX
          
        • Optionalstreet?: string

          The street name and house number accompanied with the number of apartments/unit/suite, if applicable.

          1230 Ellen Ave, apt 10
          
      • Optionalemail?: string

        Format: email

        The card holder's email address.

        john@smith.family.priv
        
      • givenName: string

        The card holder's first name.

        John
        
      • Optionalphone?: string

        The formatted phone numbers of the card holder.

        +1-555-123-4567
        
      • surname: string

        The card holder's last name.

        Smith
        
    • CarItem: {
          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?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          } & { freeText?: string; name?: string };
          dropOffContactInfo?: { emails?: string[] } & {
              emergencyPhones?: string[];
              faxes?: string[];
              phones?: string[];
          };
          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?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          } & { freeText?: string; name?: string };
          pickUpContactInfo?: { emails?: string[] } & {
              emergencyPhones?: string[];
              faxes?: string[];
              phones?: string[];
          };
          pickUpDate: string;
          pickUpLocationCode?: string;
          pickUpTime: string;
          rateCode?: string;
          refundPenalties?: {
              applicableFromDate?: string;
              applicableToDate?: string;
              penalty: { amount: string; currencyCode: string };
          }[];
          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;
      }

      Contains car rental information for the given booking.

      • OptionalcarStatusCode?: string

        The one or two-letter status code used by vendors. It indicates the car's booking status.

        HK
        
      • OptionalcarStatusName?:
            | "Unknown"
            | "Confirmed"
            | "On Request"
            | "Pending"
            | "Cancelled"
            | "Unconfirmed"
            | "Waitlisted"
            | "Infant/No Seat"
            | "Priority Waitlist"
            | "Quote"
            | "Space Available"
            | "Pending Quote"
            | "No Seat"
            | "Standby"
      • OptionalcollectionAddress?: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        }
        • Optionalcity?: string

          The name of the city.

          Dallas
          
        • OptionalcountryCode?: string

          The two-letter ISO 3166 country code.

          US
          
        • OptionalpostalCode?: string

          The zip or postal code.

          75063
          
        • OptionalstateProvince?: string

          The name or code of the state or province.

          TX
          
        • Optionalstreet?: string

          The street name and house number accompanied with the number of apartments/unit/suite, if applicable.

          1230 Ellen Ave, apt 10
          
      • OptionalcollectionSite?: { id?: string; name?: string; phone?: string }
        • Optionalid?: string

          The ID of the car rental location. Cannot be combined with other address-related qualifiers.

          ABC123
          
        • Optionalname?: string

          The name of the car rental location.

          TEST LOCATION
          
        • Optionalphone?: string

          The phone number of the car rental location involved in vehicle collection or delivery.

          8175551212
          
      • OptionalconfirmationId?: string

        The car rental reservation number.

        843296421
        
      • OptionaldeliveryAddress?: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        }
        • Optionalcity?: string

          The name of the city.

          Dallas
          
        • OptionalcountryCode?: string

          The two-letter ISO 3166 country code.

          US
          
        • OptionalpostalCode?: string

          The zip or postal code.

          75063
          
        • OptionalstateProvince?: string

          The name or code of the state or province.

          TX
          
        • Optionalstreet?: string

          The street name and house number accompanied with the number of apartments/unit/suite, if applicable.

          1230 Ellen Ave, apt 10
          
      • OptionaldeliverySite?: { id?: string; name?: string; phone?: string }
        • Optionalid?: string

          The ID of the car rental location. Cannot be combined with other address-related qualifiers.

          ABC123
          
        • Optionalname?: string

          The name of the car rental location.

          TEST LOCATION
          
        • Optionalphone?: string

          The phone number of the car rental location involved in vehicle collection or delivery.

          8175551212
          
      • OptionaldistanceAllowance?: string

        The included distance in the car rental booking.

        UNL
        
      • OptionaldropOffAddress?: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        } & { freeText?: string; name?: string }
      • OptionaldropOffContactInfo?: { emails?: string[] } & {
            emergencyPhones?: string[];
            faxes?: string[];
            phones?: string[];
        }
      • dropOffDate: string

        Format: date

        The drop off date of the rental car in YYYY-MM-DD format in the drop off location local time zone.

        2024-07-19
        
      • OptionaldropOffLocationCode?: string

        The code of the drop-off location.

        DEN
        
      • dropOffTime: string

        The time of the rental car drop off in HH:MM format in the drop off location local time.

        12:00
        
      • OptionalguaranteePaymentNote?: string

        The payment information provided to the vendor to guarantee the booking. Returned when structured data is not available.

        GVI4XXXXXXXXXXX0008EXP 03 22-TEST CAR
        
      • isRefundable: boolean

        If true, the car rental can be refunded in total or in segments. Refer to the refundPenalties array for more information.

        true
        
        false
        
      • OptionalnumberOfVehicles?: number

        Format: int32

        The number of requested cars.

        1
        
      • Optionalpayment?: {
            currencyCode: string;
            fees?: string;
            subtotal?: string;
            taxes?: string;
            total: string;
        }
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
        • Optionalfees?: string

          The amount of all applicable fees.

          20.00
          
        • Optionalsubtotal?: string

          The subtotal before applying taxes and fees.

          100.00
          
        • Optionaltaxes?: string

          The amount of all taxes.

          8.00
          
        • total: string

          The total amount; the sum of the subtotal, taxes, and fees.

          128.00
          
      • pickUpAddress: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        } & { freeText?: string; name?: string }
      • OptionalpickUpContactInfo?: { emails?: string[] } & {
            emergencyPhones?: string[];
            faxes?: string[];
            phones?: string[];
        }
      • pickUpDate: string

        Format: date

        The pick up date of the rental car in YYYY-MM-DD format in the pick up location local time zone.

        2024-07-09
        
      • OptionalpickUpLocationCode?: string

        The code of the pick-up location.

        DFW
        
      • pickUpTime: string

        The time of the rental car pick up in HH:MM format in the pick up location local time.

        13:00
        
      • OptionalrateCode?: string

        The unique ID for an offer at a given vendor.

        RCUD1
        
      • OptionalrefundPenalties?: {
            applicableFromDate?: string;
            applicableToDate?: string;
            penalty: { amount: string; currencyCode: string };
        }[]

        Lists the conditions and payments for a car rental cancellation.

      • OptionalspecialInstructions?: string

        The special information provided to the vendor.

        NON-SMOKING CAR PLEASE
        
      • OptionaltravelerIndex?: number

        Format: int32

        Specifies the traveler from the travelers list with whom the car booking is associated.

        1
        
      • OptionalvehicleTypeCode?: string

        The 4 character ACRISS code of the car.

        MBMR
        
      • OptionalvehicleTypeName?:
            | "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

        The two-letter code of the car rental vendor.

        ZE
        
      • vendorName: string

        The full name of the car rental vendor.

        National
        
    • CarPaymentPolicyEnum: "DEPOSIT" | "GUARANTEE"

      Identifies the hotel payment policy.

      DEPOSIT
      @enum {string}
    • CarReference: { itemId: string }

      Contains car object reference by itemId.

      • itemId: string

        The id of the given car reservation.

        12
        
    • CarRentalSite: { id?: string; name?: string; phone?: string }

      Contains information about the car rental location.

      • Optionalid?: string

        The ID of the car rental location. Cannot be combined with other address-related qualifiers.

        ABC123
        
      • Optionalname?: string

        The name of the car rental location.

        TEST LOCATION
        
      • Optionalphone?: string

        The phone number of the car rental location involved in vehicle collection or delivery.

        8175551212
        
    • CarToBook: {
          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;
      }

      Contains car information.

      • bookingKey: string

        The unique booking key returned in the Vehicle Price Check API response. This key is mandatory book a car.

        d9e73f0d-5f90-4b43-9c86-2d88a732604f
        
      • OptionalcollectionAddress?: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        }
        • Optionalcity?: string

          The name of the city.

          Dallas
          
        • OptionalcountryCode?: string

          The two-letter ISO 3166 country code.

          US
          
        • OptionalpostalCode?: string

          The zip or postal code.

          75063
          
        • OptionalstateProvince?: string

          The name or code of the state or province.

          TX
          
        • Optionalstreet?: string

          The street name and house number accompanied with the number of apartments/unit/suite, if applicable.

          1230 Ellen Ave, apt 10
          
      • OptionalcollectionSite?: { id?: string; name?: string; phone?: string }
        • Optionalid?: string

          The ID of the car rental location. Cannot be combined with other address-related qualifiers.

          ABC123
          
        • Optionalname?: string

          The name of the car rental location.

          TEST LOCATION
          
        • Optionalphone?: string

          The phone number of the car rental location involved in vehicle collection or delivery.

          8175551212
          
      • OptionaldeliveryAddress?: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        }
        • Optionalcity?: string

          The name of the city.

          Dallas
          
        • OptionalcountryCode?: string

          The two-letter ISO 3166 country code.

          US
          
        • OptionalpostalCode?: string

          The zip or postal code.

          75063
          
        • OptionalstateProvince?: string

          The name or code of the state or province.

          TX
          
        • Optionalstreet?: string

          The street name and house number accompanied with the number of apartments/unit/suite, if applicable.

          1230 Ellen Ave, apt 10
          
      • OptionaldeliverySite?: { id?: string; name?: string; phone?: string }
        • Optionalid?: string

          The ID of the car rental location. Cannot be combined with other address-related qualifiers.

          ABC123
          
        • Optionalname?: string

          The name of the car rental location.

          TEST LOCATION
          
        • Optionalphone?: string

          The phone number of the car rental location involved in vehicle collection or delivery.

          8175551212
          
      • OptionalemailIndex?: number

        Format: int32

        The index of the traveler's email (travelers.emails) shared with the car vendor. If the traveler's email is not specified, the index will point to the traveler's contact information instead (contactInfo.emails).

        1
        
      • OptionalflightIndex?: number

        Format: int32

        Index of the flight in the reservation. Corresponding flight details (airline code and flight number) are provided to the car vendor.

        1
        
      • OptionalformOfPayment?: number

        Format: int32

        Index of the payment type in the formsOfPayment list. Forms of payment applicable to car booking are - PAYMENT_CARD, VOUCHER.

        1
        
      • OptionalpaymentPolicy?: "DEPOSIT" | "GUARANTEE"
      • quantity: number

        Format: int32

        The number of cars to book. Defaults to 1.

        1
        
        1
        
      • OptionalspecialInstructions?: string

        Text-based special instructions provided to the vendor.

        Wants a blue car.
        
      • OptionaltravelerIndex?: number

        Format: int32

        The traveler index that is associated with the car booking.

        1
        
    • CheckTicketsRequest: {
          confirmationId?: string;
          targetPcc?: string;
          tickets?: {
              number?: string;
              refundQualifiers?: {
                  commissionAmount?: string;
                  commissionOnPenalty?: string;
                  commissionPercentage?: string;
                  journeyTypeCode?: "F" | "M" | "B";
                  overrideCancelFee?: string;
                  overrideTaxes?: {
                      airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
                      taxAmount?: string;
                      taxCode?: string;
                  }[];
                  splitRefundAmounts?: { amount?: string }[];
                  tourCode?: string;
                  waiverCode?: string;
              };
          }[];
      }

      Contains required and optional elements to check tickets.

      • OptionalconfirmationId?: string

        The booking reference ID as shown in the source supplier or vendor system.

        GLEBNY
        
      • OptionaltargetPcc?: string

        The pseudo city code of the target destination for which the ticket check is requested.

        G7HE
        
      • Optionaltickets?: {
            number?: string;
            refundQualifiers?: {
                commissionAmount?: string;
                commissionOnPenalty?: string;
                commissionPercentage?: string;
                journeyTypeCode?: "F" | "M" | "B";
                overrideCancelFee?: string;
                overrideTaxes?: {
                    airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
                    taxAmount?: string;
                    taxCode?: string;
                }[];
                splitRefundAmounts?: { amount?: string }[];
                tourCode?: string;
                waiverCode?: string;
            };
        }[]

        Lists tickets which should be refunded. Can contain up to 12 elements.

    • CheckTicketsResponse: {
          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?: { airportCode?: string; taxAmount?: string }[];
                          taxAmount?: string;
                          taxCode?: string;
                      }[];
                      splitRefundAmounts?: { amount?: string }[];
                      tourCode?: string;
                      waiverCode?: string;
                  };
              }[];
          };
          tickets?: {
              exchangePenalties?: (
                  {
                      applicability: "BEFORE_DEPARTURE"
                      | "AFTER_DEPARTURE";
                      conditionsApply: boolean;
                      penalty: { amount: string; currencyCode: string };
                  } & {
                      hasNoShowCost?: boolean;
                      noShowPenalty?: {
                          penalty?: { amount: string; currencyCode: string };
                          source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                      };
                      source?: "Unknown"
                      | "Category 33"
                      | "Category 31"
                      | "Category 16";
                  }
              )[];
              isAutomatedRefundsEligible?: boolean;
              isChangeable?: boolean;
              isRefundable?: boolean;
              isVoidable?: boolean;
              number?: string;
              refundPenalties?: (
                  {
                      applicability: "BEFORE_DEPARTURE"
                      | "AFTER_DEPARTURE";
                      conditionsApply: boolean;
                      penalty: { amount: string; currencyCode: string };
                  } & {
                      hasNoShowCost?: boolean;
                      noShowPenalty?: {
                          penalty?: { amount: string; currencyCode: string };
                          source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                      };
                      source?: "Unknown"
                      | "Category 33"
                      | "Category 31"
                      | "Category 16";
                  }
              )[];
              refundTaxes?: { amount: string; taxCode: string }[];
              refundTotals?: {
                  currencyCode: string;
                  fees?: string;
                  subtotal?: string;
                  taxes?: string;
                  total: string;
              };
          }[];
          timestamp?: string;
      }

      Contains information about cancellation eligibility and refundable amounts per ticket.

      • OptionalcancelOffers?: {
            offerExpirationDate?: string;
            offerExpirationTime?: string;
            offerItemId?: string;
            offerType?: "VOID" | "REFUND";
            refundTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            };
        }[]

        Lists information about cancellation options for NDC Orders.

      • Optionalerrors?: {
            category: string;
            description?: string;
            fieldName?: string;
            fieldPath?: string;
            fieldValue?: string;
            type: string;
        }[]

        Lists detailed error information. This array is not displayed in successful responses.

      • Optionalrequest?: {
            confirmationId?: string;
            targetPcc?: string;
            tickets?: {
                number?: string;
                refundQualifiers?: {
                    commissionAmount?: string;
                    commissionOnPenalty?: string;
                    commissionPercentage?: string;
                    journeyTypeCode?: "F" | "M" | "B";
                    overrideCancelFee?: string;
                    overrideTaxes?: {
                        airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
                        taxAmount?: string;
                        taxCode?: string;
                    }[];
                    splitRefundAmounts?: { amount?: string }[];
                    tourCode?: string;
                    waiverCode?: string;
                };
            }[];
        }
        • OptionalconfirmationId?: string

          The booking reference ID as shown in the source supplier or vendor system.

          GLEBNY
          
        • OptionaltargetPcc?: string

          The pseudo city code of the target destination for which the ticket check is requested.

          G7HE
          
        • Optionaltickets?: {
              number?: string;
              refundQualifiers?: {
                  commissionAmount?: string;
                  commissionOnPenalty?: string;
                  commissionPercentage?: string;
                  journeyTypeCode?: "F" | "M" | "B";
                  overrideCancelFee?: string;
                  overrideTaxes?: {
                      airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
                      taxAmount?: string;
                      taxCode?: string;
                  }[];
                  splitRefundAmounts?: { amount?: string }[];
                  tourCode?: string;
                  waiverCode?: string;
              };
          }[]

          Lists tickets which should be refunded. Can contain up to 12 elements.

      • Optionaltickets?: {
            exchangePenalties?: (
                {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                } & {
                    hasNoShowCost?: boolean;
                    noShowPenalty?: {
                        penalty?: { amount: string; currencyCode: string };
                        source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                    };
                    source?: "Unknown"
                    | "Category 33"
                    | "Category 31"
                    | "Category 16";
                }
            )[];
            isAutomatedRefundsEligible?: boolean;
            isChangeable?: boolean;
            isRefundable?: boolean;
            isVoidable?: boolean;
            number?: string;
            refundPenalties?: (
                {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                } & {
                    hasNoShowCost?: boolean;
                    noShowPenalty?: {
                        penalty?: { amount: string; currencyCode: string };
                        source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                    };
                    source?: "Unknown"
                    | "Category 33"
                    | "Category 31"
                    | "Category 16";
                }
            )[];
            refundTaxes?: { amount: string; taxCode: string }[];
            refundTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            };
        }[]

        Lists information about cancellation eligibility and refundable amounts per ticket in the order of the request.

      • Optionaltimestamp?: string

        Format: date-time

        Provides the exact point in time when the response was generated. The timestamp is expressed in UTC and presented in the YYYY-MM-DDTHH:MM:SSZ format.

        2024-10-28T11:11:21Z
        
    • Commission: {
          commissionAmount?: string;
          commissionPercentage?: string;
          currencyCode?: string;
      }

      Contains the commission amount applicable to the fare or ticket.

      • OptionalcommissionAmount?: string

        The commission amount included in the fare or applied during ticketing.

        25.00
        
      • OptionalcommissionPercentage?: string

        The commission percentage included in the fare or applied during ticketing.

        5.00
        
      • OptionalcurrencyCode?: string

        The three letters ISO 4217 currency code.

        USD
        
    • CommonExtraFeatures: {
          returnFiscalId: boolean;
          returnFrequentRenter: boolean;
          returnWalletFormsOfPayment: boolean;
      }

      Contains a set of additional features whose usage requires explicit indication to maintain backward compatibility. These functionalities will be seamlessly incorporated into a future major version of this API.

      • returnFiscalId: boolean

        If true, the additional identity document FISCAL_ID is supported.

        false
        
      • returnFrequentRenter: boolean

        If true, the additional loyalty program type FREQUENT_RENTER is supported.

        false
        
      • returnWalletFormsOfPayment: boolean

        If true, returns the following additional forms of payment - DOCKET, GOVERNMENT_TRAVEL_REQUEST, and INVOICE.

        false
        
    • ComparisonTypeEnum:
          | "INCREASE_BY_AMOUNT"
          | "INCREASE_BY_PERCENT"
          | "DECREASE_BY_AMOUNT"
          | "DECREASE_BY_PERCENT"

      Identifies the comparison method.

      INCREASE_BY_AMOUNT
      @enum {string}
    • ContactInformation: { emails?: string[] } & {
          emergencyPhones?: string[];
          faxes?: string[];
          phones?: string[];
      }

      Contains contact information for the booking.

    • CorporateFare: { corporateIds: string[]; forceCorporateId?: boolean }

      Contains information to price the booking by incorporating corporate fares.

      • corporateIds: string[]

        List of Corporate IDs.

      • OptionalforceCorporateId?: boolean

        If true system will force pricing with corporate fares.

        false
        
    • CouponStatus: {
          couponStatus:
              | "Airport Control"
              | "Lifted"
              | "Checked In"
              | "Exchanged"
              | "Flown"
              | "Not Flown"
              | "Refunded"
              | "Voided"
              | "Printed"
              | "Okay"
              | "Reactivated"
              | "Irregular Operations"
              | "Print Exchange"
              | "Paper Ticket"
              | "Suspended"
              | "Locked";
          couponStatusCode: | "AL"
          | "PE"
          | "XX"
          | "S"
          | "P"
          | "B"
          | "E"
          | "BD"
          | "CK"
          | "I"
          | "RF"
          | "V"
          | "PR"
          | "IO"
          | "T";
      }

      Contains the ticket's coupon information.

    • CouponStatusCodeEnum:
          | "AL"
          | "PE"
          | "XX"
          | "S"
          | "P"
          | "B"
          | "E"
          | "BD"
          | "CK"
          | "I"
          | "RF"
          | "V"
          | "PR"
          | "IO"
          | "T"

      Identifies the coupon status code based on the IATA PADIS Codeset 4405.

      PR
      @enum {string}
    • CouponStatusEnum:
          | "Airport Control"
          | "Lifted"
          | "Checked In"
          | "Exchanged"
          | "Flown"
          | "Not Flown"
          | "Refunded"
          | "Voided"
          | "Printed"
          | "Okay"
          | "Reactivated"
          | "Irregular Operations"
          | "Print Exchange"
          | "Paper Ticket"
          | "Suspended"
          | "Locked"

      Identifies descriptive status of the corresponding coupon status code.

      Printed
      @enum {string}
    • CreateBookingRequest: {
          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: string[]; forceAccountCodes?: boolean };
                      adjustedSellingLevel?: {
                          ignore?: boolean;
                          markDownAmount?: string;
                          markUpAmount?: string;
                          returnBreakdown?: boolean;
                      };
                      baggageAllowance?: {
                          baggagePieces?: number;
                          flightIndices?: number[];
                          totalWeightInKilograms?: number;
                      }[];
                      brandedFares?: { brandCode: string; flightIndices?: number[] }[];
                      breakFareFlightIndices?: number[];
                      cabinCode?: string;
                      commissionContractNames?: string[];
                      considerMultiTicket?: boolean;
                      corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                      currencyPricing?: string;
                      exchangePenalties?: {
                          applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                          penaltyAmount?: { amount?: string };
                          restrictionType:
                              | "CHANGEABLE"
                              | "REFUNDABLE"
                              | "CHANGEABLE_AND_REFUNDABLE";
                      };
                      excludeBasicEconomyFares?: string[];
                      exemptTaxes?: string[];
                      flightIndices?: number[];
                      forceConnectionFlightIndices?: number[];
                      forceStopoverFlightIndices?: number[];
                      hemisphereCode?: number;
                      journeyCode?: number;
                      netRemit?: {
                          cashValue?: { amount: string; currencyCode: string };
                          commercialAgreementReferenceCode?: string;
                          creditValue?: { amount: string; currencyCode: string };
                          netRemitCode?: string;
                      };
                      overrideTaxes?: { amount: string; taxCode: string }[];
                      passengersPricing?: {
                          forcePassengerCode?: boolean;
                          numberOfpassengers?: number;
                          passengerCode?: string;
                      }[];
                      passengerStatus?: "RESIDENT"
                      | "NATIONALITY"
                      | "EMPLOYEE";
                      passengerStatusCountryCode?: string;
                      payment?: {
                          amountOnSecondFormOfPayment?: string;
                          primaryFormOfPayment: number;
                          secondaryFormOfPayment?: number;
                      };
                      priceWithTaxes: boolean;
                      rebookLowestFares?: boolean;
                      retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                      settlementMethod?: string;
                      sideTripFlightIndices?: number[];
                      spanishIslandResidentDiscountCode?: string;
                      spanishLargeFamilyDiscountLevel?: number;
                      specificFares?: { fareBasisCode: string; flightIndices?: number[] }[];
                      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?: (
                          | "AISLE"
                          | "BULKHEAD"
                          | "FRONT"
                          | "LEFT_SIDE"
                          | "RIGHT_SIDE"
                          | "TAIL"
                          | "WINDOW"
                      )[];
                      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;
          }[];
      }

      Contains required and optional elements to make a booking request.

      • Optionalagency?: {
            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;
            };
        }
        • Optionaladdress?: {
              city?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          } & { freeText?: string; name?: string }
        • OptionalagencyCustomerNumber?: string

          Contains the agency's customer DK number. Can be a six, seven, or 10-character string.

          1234567
          
        • OptionalcontactInfo?: { emails?: string[] }
          • Optionalemails?: string[]

            Lists email addresses of travelers or vendors.

        • OptionalfutureTicketingPolicy?: {
              comment?: string;
              queueNumber?: string;
              ticketingDate?: string;
              ticketingPcc?: string;
              ticketingTime?: string;
          }
          • Optionalcomment?: string

            Free text comment.

            TICKET BEFORE TUES
            
          • OptionalqueueNumber?: string

            Used to specify a queue number.

            55
            
          • OptionalticketingDate?: string

            Format: date

            The ticketing date.

            2024-07-09
            
          • OptionalticketingPcc?: string

            Used to specify a pseudocity code.

            G7RE
            
          • OptionalticketingTime?: string

            The ticketing time in HH:MM format.

            11:00
            
        • OptionalticketingPolicy?: "TODAY" | "ALREADY_TICKETED" | "FUTURE_TICKETING" | "TICKETING_TIME_LIMIT"
        • OptionalticketingTimeLimitPolicy?: { airlineCode?: string; ticketingDate?: string; ticketingTime?: string }
          • OptionalairlineCode?: string

            The two-letter IATA designator code of the marketing airline.

            AA
            
          • OptionalticketingDate?: string

            Format: date

            The ticketing date.

            2024-07-09
            
          • OptionalticketingTime?: string

            The ticketing time in HH:MM format.

            11:00
            
      • asynchronousUpdateWaitTime: number

        Format: int32

        The maximum wait time in milliseconds applied to asynchronous updates related to booking creation. Mainly used for the redisplay operation of NDC bookings.

        0
        
        3000
        
      • Optionalcar?: {
            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;
        }
        • bookingKey: string

          The unique booking key returned in the Vehicle Price Check API response. This key is mandatory book a car.

          d9e73f0d-5f90-4b43-9c86-2d88a732604f
          
        • OptionalcollectionAddress?: {
              city?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          }
          • Optionalcity?: string

            The name of the city.

            Dallas
            
          • OptionalcountryCode?: string

            The two-letter ISO 3166 country code.

            US
            
          • OptionalpostalCode?: string

            The zip or postal code.

            75063
            
          • OptionalstateProvince?: string

            The name or code of the state or province.

            TX
            
          • Optionalstreet?: string

            The street name and house number accompanied with the number of apartments/unit/suite, if applicable.

            1230 Ellen Ave, apt 10
            
        • OptionalcollectionSite?: { id?: string; name?: string; phone?: string }
          • Optionalid?: string

            The ID of the car rental location. Cannot be combined with other address-related qualifiers.

            ABC123
            
          • Optionalname?: string

            The name of the car rental location.

            TEST LOCATION
            
          • Optionalphone?: string

            The phone number of the car rental location involved in vehicle collection or delivery.

            8175551212
            
        • OptionaldeliveryAddress?: {
              city?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          }
          • Optionalcity?: string

            The name of the city.

            Dallas
            
          • OptionalcountryCode?: string

            The two-letter ISO 3166 country code.

            US
            
          • OptionalpostalCode?: string

            The zip or postal code.

            75063
            
          • OptionalstateProvince?: string

            The name or code of the state or province.

            TX
            
          • Optionalstreet?: string

            The street name and house number accompanied with the number of apartments/unit/suite, if applicable.

            1230 Ellen Ave, apt 10
            
        • OptionaldeliverySite?: { id?: string; name?: string; phone?: string }
          • Optionalid?: string

            The ID of the car rental location. Cannot be combined with other address-related qualifiers.

            ABC123
            
          • Optionalname?: string

            The name of the car rental location.

            TEST LOCATION
            
          • Optionalphone?: string

            The phone number of the car rental location involved in vehicle collection or delivery.

            8175551212
            
        • OptionalemailIndex?: number

          Format: int32

          The index of the traveler's email (travelers.emails) shared with the car vendor. If the traveler's email is not specified, the index will point to the traveler's contact information instead (contactInfo.emails).

          1
          
        • OptionalflightIndex?: number

          Format: int32

          Index of the flight in the reservation. Corresponding flight details (airline code and flight number) are provided to the car vendor.

          1
          
        • OptionalformOfPayment?: number

          Format: int32

          Index of the payment type in the formsOfPayment list. Forms of payment applicable to car booking are - PAYMENT_CARD, VOUCHER.

          1
          
        • OptionalpaymentPolicy?: "DEPOSIT" | "GUARANTEE"
        • quantity: number

          Format: int32

          The number of cars to book. Defaults to 1.

          1
          
          1
          
        • OptionalspecialInstructions?: string

          Text-based special instructions provided to the vendor.

          Wants a blue car.
          
        • OptionaltravelerIndex?: number

          Format: int32

          The traveler index that is associated with the car booking.

          1
          
      • OptionalcontactInfo?: { emails?: string[] } & {
            emergencyPhones?: string[];
            faxes?: string[];
            phones?: string[];
        }
      • OptionalerrorHandlingPolicy?: (
            | "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"
        )[]

        Lists selected error handling policies to adopt for this request.

      • OptionalflightDetails?: {
            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: string[]; forceAccountCodes?: boolean };
                    adjustedSellingLevel?: {
                        ignore?: boolean;
                        markDownAmount?: string;
                        markUpAmount?: string;
                        returnBreakdown?: boolean;
                    };
                    baggageAllowance?: {
                        baggagePieces?: number;
                        flightIndices?: number[];
                        totalWeightInKilograms?: number;
                    }[];
                    brandedFares?: { brandCode: string; flightIndices?: number[] }[];
                    breakFareFlightIndices?: number[];
                    cabinCode?: string;
                    commissionContractNames?: string[];
                    considerMultiTicket?: boolean;
                    corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                    currencyPricing?: string;
                    exchangePenalties?: {
                        applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                        penaltyAmount?: { amount?: string };
                        restrictionType:
                            | "CHANGEABLE"
                            | "REFUNDABLE"
                            | "CHANGEABLE_AND_REFUNDABLE";
                    };
                    excludeBasicEconomyFares?: string[];
                    exemptTaxes?: string[];
                    flightIndices?: number[];
                    forceConnectionFlightIndices?: number[];
                    forceStopoverFlightIndices?: number[];
                    hemisphereCode?: number;
                    journeyCode?: number;
                    netRemit?: {
                        cashValue?: { amount: string; currencyCode: string };
                        commercialAgreementReferenceCode?: string;
                        creditValue?: { amount: string; currencyCode: string };
                        netRemitCode?: string;
                    };
                    overrideTaxes?: { amount: string; taxCode: string }[];
                    passengersPricing?: {
                        forcePassengerCode?: boolean;
                        numberOfpassengers?: number;
                        passengerCode?: string;
                    }[];
                    passengerStatus?: "RESIDENT"
                    | "NATIONALITY"
                    | "EMPLOYEE";
                    passengerStatusCountryCode?: string;
                    payment?: {
                        amountOnSecondFormOfPayment?: string;
                        primaryFormOfPayment: number;
                        secondaryFormOfPayment?: number;
                    };
                    priceWithTaxes: boolean;
                    rebookLowestFares?: boolean;
                    retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                    settlementMethod?: string;
                    sideTripFlightIndices?: number[];
                    spanishIslandResidentDiscountCode?: string;
                    spanishLargeFamilyDiscountLevel?: number;
                    specificFares?: { fareBasisCode: string; flightIndices?: number[] }[];
                    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?: (
                        | "AISLE"
                        | "BULKHEAD"
                        | "FRONT"
                        | "LEFT_SIDE"
                        | "RIGHT_SIDE"
                        | "TAIL"
                        | "WINDOW"
                    )[];
                    number?: string;
                    travelerIndex: number;
                }[];
                source?: "LCC"
                | "ATPCO";
                toAirportCode: string;
            }[];
            haltOnFlightStatusCodes?: (
                "US"
                | "NO"
                | "NN"
                | "UC"
                | "UN"
                | "UU"
                | "LL"
                | "HL"
            )[];
            retryBookingUnconfirmedFlights?: boolean;
        }
        • OptionalflightPricing?: {
              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: string[]; forceAccountCodes?: boolean };
                  adjustedSellingLevel?: {
                      ignore?: boolean;
                      markDownAmount?: string;
                      markUpAmount?: string;
                      returnBreakdown?: boolean;
                  };
                  baggageAllowance?: {
                      baggagePieces?: number;
                      flightIndices?: number[];
                      totalWeightInKilograms?: number;
                  }[];
                  brandedFares?: { brandCode: string; flightIndices?: number[] }[];
                  breakFareFlightIndices?: number[];
                  cabinCode?: string;
                  commissionContractNames?: string[];
                  considerMultiTicket?: boolean;
                  corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                  currencyPricing?: string;
                  exchangePenalties?: {
                      applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                      penaltyAmount?: { amount?: string };
                      restrictionType:
                          | "CHANGEABLE"
                          | "REFUNDABLE"
                          | "CHANGEABLE_AND_REFUNDABLE";
                  };
                  excludeBasicEconomyFares?: string[];
                  exemptTaxes?: string[];
                  flightIndices?: number[];
                  forceConnectionFlightIndices?: number[];
                  forceStopoverFlightIndices?: number[];
                  hemisphereCode?: number;
                  journeyCode?: number;
                  netRemit?: {
                      cashValue?: { amount: string; currencyCode: string };
                      commercialAgreementReferenceCode?: string;
                      creditValue?: { amount: string; currencyCode: string };
                      netRemitCode?: string;
                  };
                  overrideTaxes?: { amount: string; taxCode: string }[];
                  passengersPricing?: {
                      forcePassengerCode?: boolean;
                      numberOfpassengers?: number;
                      passengerCode?: string;
                  }[];
                  passengerStatus?: "RESIDENT"
                  | "NATIONALITY"
                  | "EMPLOYEE";
                  passengerStatusCountryCode?: string;
                  payment?: {
                      amountOnSecondFormOfPayment?: string;
                      primaryFormOfPayment: number;
                      secondaryFormOfPayment?: number;
                  };
                  priceWithTaxes: boolean;
                  rebookLowestFares?: boolean;
                  retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                  settlementMethod?: string;
                  sideTripFlightIndices?: number[];
                  spanishIslandResidentDiscountCode?: string;
                  spanishLargeFamilyDiscountLevel?: number;
                  specificFares?: { fareBasisCode: string; flightIndices?: number[] }[];
                  useExcursionFare?: boolean;
                  useNetFare?: boolean;
                  usePrivateFare?: boolean;
                  usePublicFare?: boolean;
                  useRoundTheWorldFare?: boolean;
              };
          }[]

          Contains pricing qualifiers. If you wish to assign different mark-ups or commissions per specific passenger type, you can send separate pricing instructions per each type.

        • Optionalflights?: {
              airlineCode: string;
              arrivalDate?: string;
              arrivalTime?: string;
              bookingClass: string;
              confirmationId?: string;
              departureDate: string;
              departureTime: string;
              flightNumber: number;
              flightStatusCode: string;
              fromAirportCode: string;
              isMarriageGroup?: boolean;
              seats?: {
                  areaPreferences?: (
                      | "AISLE"
                      | "BULKHEAD"
                      | "FRONT"
                      | "LEFT_SIDE"
                      | "RIGHT_SIDE"
                      | "TAIL"
                      | "WINDOW"
                  )[];
                  number?: string;
                  travelerIndex: number;
              }[];
              source?: "LCC"
              | "ATPCO";
              toAirportCode: string;
          }[]

          Lists individual flights to book.

        • OptionalhaltOnFlightStatusCodes?: ("US" | "NO" | "NN" | "UC" | "UN" | "UU" | "LL" | "HL")[]

          Lists optional flight status codes considered unacceptable. The system will stop processing upon encountering an unacceptable status code within a booked flight. If no status codes are provided, the system will automatically stop processing when encountering NO, UC, US, UN, UU, LL, or HL.

        • OptionalretryBookingUnconfirmedFlights?: boolean

          If true, the system will attempt to rebook unconfirmed flights. If any of the booked flights returns an unacceptable status code (as defined by HaltOnFlightStatusCodeEnum), the system will cancel them and rebook them in the lowest available fare. If the status codes remain unacceptable after the process has completed, the system will stop processing and return an error message. retryBookingUnconfirmedFlights may result in a price increase.

          true
          
      • OptionalflightOffer?: { offerId: string; selectedOfferItems: string[] }
        • offerId: string

          The unique identifier of the selected Offer (either a standard Offer or an a-la-carte Offer) returned in a shopping response.

          dx369rfr7jt8dnd2i0-1
          
        • selectedOfferItems: string[]

          The offerItem list selected by a specific traveler.

      • Optionalhotel?: {
            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;
        }
        • OptionalassociatedFlightDetails?: {
              arrivalAirlineCode?: string;
              arrivalFlightNumber?: number;
              arrivalTime?: string;
              departureAirlineCode?: string;
              departureFlightNumber?: number;
              departureTime?: string;
          }
          • OptionalarrivalAirlineCode?: string

            The two-letter IATA designator code of the marketing airline for the arrival flight.

            AA
            
          • OptionalarrivalFlightNumber?: number

            Format: int32

            The flight number associated with the marketing carrier for the arrival flight.

            123
            
          • OptionalarrivalTime?: string

            The scheduled time of arrival in HH:MM format.

            12:28
            
          • OptionaldepartureAirlineCode?: string

            The two-letter IATA designator code of the marketing airline for the departure flight.

            AA
            
          • OptionaldepartureFlightNumber?: number

            Format: int32

            The flight number associated with the marketing carrier for the departure flight.

            123
            
          • OptionaldepartureTime?: string

            The scheduled time of departure in HH:MM format.

            09:15
            
        • bookingKey: string

          The booking key is returned in the Hotel Price Check API response and is a mandatory value to perform the hotel booking.

          d9e73f0d-5f90-4b43-9c86-2d88a732604f
          
        • OptionalcorporateDiscountCode?: number

          Format: int32

          A code that a company may give to an agency to use for a discount. It is quite often tied to a negotiated rate code. Applies to GDS hotels only.

          6878700
          
        • OptionalformOfPayment?: number

          Format: int32

          Index of the payment type in the formsOfPayment list. Forms of payment applicable to hotel booking are - PAYMENT_CARD, AGENCY_NAME, AGENCY_IATA, CORPORATE, COMPANY_NAME, VIRTUAL_CARD.

          1
          
        • OptionalpaymentPolicy?: "DEPOSIT" | "GUARANTEE" | "LATE"
        • Optionalrooms?: {
              bedTypeCode?: number;
              isSmoking: boolean;
              physicalDisabilityCode?: number;
              roomExtras?: { amount?: string; quantity: number; roomExtraType: number }[];
              travelerIndices?: number[];
          }[]

          Contains details of the hotel rooms that will be booked. Multiple room bookings are currently not supported by GDS hotels.

        • OptionalspecialInstruction?: string

          The special instruction provided to the property.

          Need a wi-fi in the room.
          
        • useCsl: boolean

          If true, the hotel originally sourced from the GDS will be booked using the Content Services for Lodging (CSL) booking path instead of the legacy path (low level services).

          true
          
          true
          
      • Optionalnotification?: {
            email?:
                | "DEFAULT"
                | "INVOICE"
                | "ETICKET"
                | "ETICKET_PDF"
                | "ITINERARY"
                | "ITINERARY_PDF";
            queuePlacement?: {
                futureQueuePlacementDate?: string;
                pcc?: string;
                prefatoryInstructionCode: number;
                queueName?: string;
                queueNumber?: number;
            }[];
        }
        • Optionalemail?:
              | "DEFAULT"
              | "INVOICE"
              | "ETICKET"
              | "ETICKET_PDF"
              | "ITINERARY"
              | "ITINERARY_PDF"
        • OptionalqueuePlacement?: {
              futureQueuePlacementDate?: string;
              pcc?: string;
              prefatoryInstructionCode: number;
              queueName?: string;
              queueNumber?: number;
          }[]

          Lists the specifiec queue (up to three) to place the PNR into for the operation.

      • OptionalotherServices?: {
            airlineCode?: string;
            chainCode?: string;
            serviceMessage?: string;
            travelerIndex?: number;
            vendorCode?: string;
        }[]

        Contains other service information (OSI) sent to an airline. Please note that is not possible to send other service request to a hotel chain and/or car rental vendor.

      • Optionalpayment?: {
            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 };
                }
            )[];
        }
        • OptionalbillingAddress?: {
              city?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          } & { freeText?: string; name?: string }
        • OptionalformsOfPayment?: (
              {
                  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 };
              }
          )[]

          Contains all the payment methods that will be associated to the booking.

      • Optionalprofiles?: {
            domainId: string;
            filterId?: string;
            profileName?: string;
            profileTypeCode: string;
            uniqueId?: string;
        }[]

        Lists user profile details.

      • receivedFrom: string

        The entity that authorizes the changes in a Passenger Name Record.

        Create Booking
        
        Create Booking
        
      • Optionalremarks?: (
            {
                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;
                };
            }
        )[]

        Contains remarks to be added to the booking.

      • OptionalretentionEndDate?: string

        Format: date

        The retention date of the booking. Used optionally to keep the booking active past the date of the last itinerary item (flight, hotel, car, etc.). After this date, the booking is set for purging.

        2024-01-30
        
      • OptionalretentionLabel?: string

        The label associated with the retention date.

        RETENTION DATE
        
      • OptionaltargetPcc?: string

        Specifies the desired pseudo city code value. The API does not revert context after completing the booking.

        AAA
        
      • Optionaltravelers?: {
            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;
        }[]

        Lists personal information of the travelers.

    • CreateBookingResponse: {
          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?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      date?: string;
                      endAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      endDate?: string;
                      endLocationCode?: string;
                      endTime?: string;
                      locationCode?: string;
                      startAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      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?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      dropOffContactInfo?: { emails?: string[] } & {
                          emergencyPhones?: string[];
                          faxes?: string[];
                          phones?: string[];
                      };
                      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?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      pickUpContactInfo?: { emails?: string[] } & {
                          emergencyPhones?: string[];
                          faxes?: string[];
                          phones?: string[];
                      };
                      pickUpDate: string;
                      pickUpLocationCode?: string;
                      pickUpTime: string;
                      rateCode?: string;
                      refundPenalties?: {
                          applicableFromDate?: string;
                          applicableToDate?: string;
                          penalty: { amount: string; currencyCode: string };
                      }[];
                      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?: { amount: string; currencyCode: string };
                          isCheckInOnly?: boolean;
                          maximumSizeInCentimeters?: number;
                          maximumSizeInInches?: number;
                          maximumWeightInKilograms?: number;
                          maximumWeightInPounds?: number;
                          numberOfPieces: number;
                          specialItemDescription?: string;
                      }[];
                      maximumPieces?: number;
                      totalWeightInKilograms?: number;
                      totalWeightInPounds?: number;
                  };
                  cabinBaggageCharges?: {
                      fee?: { amount: string; currencyCode: string };
                      isCheckInOnly?: boolean;
                      maximumSizeInCentimeters?: number;
                      maximumSizeInInches?: number;
                      maximumWeightInKilograms?: number;
                      maximumWeightInPounds?: number;
                      numberOfPieces: number;
                      specialItemDescription?: string;
                  }[];
                  checkedBaggageAllowance?: {
                      baggagePieces?: {
                          fee?: { amount: string; currencyCode: string };
                          isCheckInOnly?: boolean;
                          maximumSizeInCentimeters?: number;
                          maximumSizeInInches?: number;
                          maximumWeightInKilograms?: number;
                          maximumWeightInPounds?: number;
                          numberOfPieces: number;
                          specialItemDescription?: string;
                      }[];
                      maximumPieces?: number;
                      totalWeightInKilograms?: number;
                      totalWeightInPounds?: number;
                  };
                  checkedBaggageCharges?: {
                      fee?: { amount: string; currencyCode: string };
                      isCheckInOnly?: boolean;
                      maximumSizeInCentimeters?: number;
                      maximumSizeInInches?: number;
                      maximumWeightInKilograms?: number;
                      maximumWeightInPounds?: number;
                      numberOfPieces: number;
                      specialItemDescription?: string;
                  }[];
                  flights?: { itemId: string }[];
                  travelerIndices?: number[];
              }[];
              fareRules?: {
                  destinationAirportCode?: string;
                  exchangePenalties?: {
                      applicability: "BEFORE_DEPARTURE"
                      | "AFTER_DEPARTURE";
                      conditionsApply: boolean;
                      penalty: { amount: string; currencyCode: string };
                  }[];
                  isChangeable?: boolean;
                  isRefundable?: boolean;
                  originAirportCode?: string;
                  owningAirlineCode: string;
                  passengerCode?: string;
                  refundPenalties?: {
                      applicability: "BEFORE_DEPARTURE"
                      | "AFTER_DEPARTURE";
                      conditionsApply: boolean;
                      penalty: { amount: string; currencyCode: string };
                  }[];
              }[];
              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: string; currencyCode: string };
                      brandAttributes?: { description?: string; itemId?: string }[];
                      brandFareCode?: string;
                      brandFareName?: string;
                      brandProgramCode?: string;
                      brandProgramName?: string;
                      checkedBaggageAllowance?: {
                          baggagePieces?: {
                              fee?: { amount: ...; currencyCode: ... };
                              isCheckInOnly?: boolean;
                              maximumSizeInCentimeters?: number;
                              maximumSizeInInches?: number;
                              maximumWeightInKilograms?: number;
                              maximumWeightInPounds?: number;
                              numberOfPieces: number;
                              specialItemDescription?: string;
                          }[];
                          maximumPieces?: number;
                          totalWeightInKilograms?: number;
                          totalWeightInPounds?: number;
                      };
                      fareBasisCode?: string;
                      flightIndices?: number[];
                      flights?: { itemId: string }[];
                      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: string; currencyCode: string };
                      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?: string;
                          aircraftTypeName?: string;
                          airportCode?: string;
                          arrivalDate?: string;
                          arrivalTime?: string;
                          departureDate?: string;
                          departureTime?: string;
                          durationInMinutes?: number;
                      }[];
                      identityDocuments?: {
                          itemId?: string;
                          status?: | "Unknown"
                          | "Confirmed"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Waitlisted"
                          | "Infant/No Seat"
                          | "Priority Waitlist"
                          | "Quote"
                          | "Space Available"
                          | "Pending Quote"
                          | "No Seat"
                          | "Standby";
                      }[];
                      isPast?: boolean;
                      meals?: {
                          code: string;
                          description: | "Meal"
                          | "Alcoholic beverages for purchase"
                          | "Breakfast"
                          | "Cold meal"
                          | "Complimentary alcoholic beverages"
                          | "Continental breakfast"
                          | "Dinner"
                          | "Food for purchase"
                          | "Food and beverage for purchase"
                          | "Hot meal"
                          | "Lunch"
                          | "No meal service"
                          | "Refreshment"
                          | "Refreshment for purchase"
                          | "Snack";
                      }[];
                      numberOfSeats?: number;
                      operatingAirlineCode?: string;
                      operatingAirlineName?: string;
                      operatingFlightNumber?: number;
                      seats?: {
                          characteristics?: string[];
                          number: 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";
                      }[];
                      sourceType?: "NDC"
                      | "LCC"
                      | "ATPCO";
                      toAirportCode: string;
                      travelerIndices?: number[];
                      updatedArrivalDate?: string;
                      updatedArrivalTime?: string;
                      updatedDepartureDate?: string;
                      updatedDepartureTime?: string;
                  }
              )[];
              flightTickets?: {
                  agencyIataNumber?: string;
                  airlineCode: string;
                  allCoupons?: (
                      {
                          couponStatus: | "Airport Control"
                          | "Lifted"
                          | "Checked In"
                          | "Exchanged"
                          | "Flown"
                          | "Not Flown"
                          | "Refunded"
                          | "Voided"
                          | "Printed"
                          | "Okay"
                          | "Reactivated"
                          | "Irregular Operations"
                          | "Print Exchange"
                          | "Paper Ticket"
                          | "Suspended"
                          | "Locked";
                          couponStatusCode: | "AL"
                          | "PE"
                          | "XX"
                          | "S"
                          | "P"
                          | "B"
                          | "E"
                          | "BD"
                          | "CK"
                          | "I"
                          | "RF"
                          | "V"
                          | "PR"
                          | "IO"
                          | "T";
                      } & { itemId?: string }
                  )[];
                  commission?: {
                      commissionAmount?: string;
                      commissionPercentage?: string;
                      currencyCode?: string;
                  };
                  date: string;
                  flightCoupons: (
                      { itemId: string } & {
                          couponStatus:
                              | "Airport Control"
                              | "Lifted"
                              | "Checked In"
                              | "Exchanged"
                              | "Flown"
                              | "Not Flown"
                              | "Refunded"
                              | "Voided"
                              | "Printed"
                              | "Okay"
                              | "Reactivated"
                              | "Irregular Operations"
                              | "Print Exchange"
                              | "Paper Ticket"
                              | "Suspended"
                              | "Locked";
                          couponStatusCode: | "AL"
                          | "PE"
                          | "XX"
                          | "S"
                          | "P"
                          | "B"
                          | "E"
                          | "BD"
                          | "CK"
                          | "I"
                          | "RF"
                          | "V"
                          | "PR"
                          | "IO"
                          | "T";
                      }
                  )[];
                  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?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string } & { cityCode?: string };
                      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?: string[] } & {
                          emergencyPhones?: string[];
                          faxes?: string[];
                          phones?: string[];
                      };
                      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?: string;
                          applicableToDate?: string;
                          penalty: { amount: string; currencyCode: string };
                      }[];
                      refundPenaltyPolicyCode?: string;
                      room?: {
                          agencyCommission?: {
                              commissionAmount?: string;
                              commissionPercentage?: string;
                              currencyCode?: string;
                          };
                          description?: string;
                          productCode?: string;
                          quantity: number;
                          roomRate?: { amount: string; currencyCode: string };
                          roomType: string;
                          roomTypeCode?: string;
                          travelerIndices?: number[];
                      };
                      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?: {
                              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 };
                      }
                  )[];
                  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?: "Unknown" | "Single" | "Multiple";
                      flights?: { itemId: string }[];
                      isCommissionable?: boolean;
                      isRefundable?: boolean;
                      itemId?: string;
                      numberOfItems?: number;
                      reasonForIssuanceCode?: string;
                      reasonForIssuanceName?:
                          | "UNKNOWN"
                          | "AIR_TRANSPORTATION"
                          | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                          | "BAGGAGE"
                          | "FINANCIAL_IMPACT"
                          | "AIRPORT_SERVICES"
                          | "MERCHANDISE"
                          | "INFLIGHT_SERVICES"
                          | "INDIVIDUAL_AIRLINE_USE";
                      source?: "ATPCO"
                      | "MERCHANDISING_MANAGER";
                      statusCode?: string;
                      statusName?:
                          | "Confirmed"
                          | "Confirmed with EMD issued"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Confirmed with pending payment"
                          | "Schedule change";
                      subcode?: string;
                      totals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      };
                      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?: "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;
                      itemId?: string;
                      middleName?: string;
                      placeOfBirth?: string;
                      placeOfIssue?: string;
                      residenceCountryCode?: string;
                      residenceDestinationAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      };
                      surname?: string;
                  }[];
                  isGrouped?: boolean;
                  loyaltyPrograms?: {
                      programNumber: string;
                      programType?: | "FREQUENT_FLYER"
                      | "FREQUENT_RENTER"
                      | "LOYALTY_ID"
                      | "CORPORATE_LOYALTY_ID";
                      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?:
                          | "INVOICE"
                          | "ITINERARY"
                          | "GENERAL"
                          | "HISTORICAL"
                          | "CLIENT_ADDRESS"
                          | "ALPHA_CODED"
                          | "DELIVERY_ADDRESS"
                          | "HIDDEN"
                          | "CORPORATE"
                          | "FORM_OF_PAYMENT"
                          | "PRINT_ON_TICKET"
                          | "FILLER_STRIP"
                          | "INTERFACE"
                          | "QUEUE_PLACE";
                  }[];
                  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?: 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: string[];
                              forceAccountCodes?: boolean;
                          };
                          adjustedSellingLevel?: {
                              ignore?: boolean;
                              markDownAmount?: string;
                              markUpAmount?: string;
                              returnBreakdown?: boolean;
                          };
                          baggageAllowance?: {
                              baggagePieces?: number;
                              flightIndices?: (...)[];
                              totalWeightInKilograms?: number;
                          }[];
                          brandedFares?: { brandCode: string; flightIndices?: (...)[] }[];
                          breakFareFlightIndices?: number[];
                          cabinCode?: string;
                          commissionContractNames?: string[];
                          considerMultiTicket?: boolean;
                          corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                          currencyPricing?: string;
                          exchangePenalties?: {
                              applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                              penaltyAmount?: { amount?: string };
                              restrictionType:
                                  | "CHANGEABLE"
                                  | "REFUNDABLE"
                                  | "CHANGEABLE_AND_REFUNDABLE";
                          };
                          excludeBasicEconomyFares?: string[];
                          exemptTaxes?: string[];
                          flightIndices?: number[];
                          forceConnectionFlightIndices?: number[];
                          forceStopoverFlightIndices?: number[];
                          hemisphereCode?: number;
                          journeyCode?: number;
                          netRemit?: {
                              cashValue?: { amount: string; currencyCode: string };
                              commercialAgreementReferenceCode?: string;
                              creditValue?: { amount: string; currencyCode: string };
                              netRemitCode?: string;
                          };
                          overrideTaxes?: { amount: string; taxCode: string }[];
                          passengersPricing?: {
                              forcePassengerCode?: boolean;
                              numberOfpassengers?: number;
                              passengerCode?: string;
                          }[];
                          passengerStatus?: "RESIDENT"
                          | "NATIONALITY"
                          | "EMPLOYEE";
                          passengerStatusCountryCode?: string;
                          payment?: {
                              amountOnSecondFormOfPayment?: string;
                              primaryFormOfPayment: number;
                              secondaryFormOfPayment?: number;
                          };
                          priceWithTaxes: boolean;
                          rebookLowestFares?: boolean;
                          retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                          settlementMethod?: string;
                          sideTripFlightIndices?: number[];
                          spanishIslandResidentDiscountCode?: string;
                          spanishLargeFamilyDiscountLevel?: number;
                          specificFares?: { fareBasisCode: string; 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?: (
                              | "AISLE"
                              | "BULKHEAD"
                              | "FRONT"
                              | "LEFT_SIDE"
                              | "RIGHT_SIDE"
                              | "TAIL"
                              | "WINDOW"
                          )[];
                          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;
              }[];
          };
          timestamp?: string;
      }

      Contains booking information.

      • Optionalbooking?: {
            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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    date?: string;
                    endAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    endDate?: string;
                    endLocationCode?: string;
                    endTime?: string;
                    locationCode?: string;
                    startAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    dropOffContactInfo?: { emails?: string[] } & {
                        emergencyPhones?: string[];
                        faxes?: string[];
                        phones?: string[];
                    };
                    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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    pickUpContactInfo?: { emails?: string[] } & {
                        emergencyPhones?: string[];
                        faxes?: string[];
                        phones?: string[];
                    };
                    pickUpDate: string;
                    pickUpLocationCode?: string;
                    pickUpTime: string;
                    rateCode?: string;
                    refundPenalties?: {
                        applicableFromDate?: string;
                        applicableToDate?: string;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                    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?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    maximumPieces?: number;
                    totalWeightInKilograms?: number;
                    totalWeightInPounds?: number;
                };
                cabinBaggageCharges?: {
                    fee?: { amount: string; currencyCode: string };
                    isCheckInOnly?: boolean;
                    maximumSizeInCentimeters?: number;
                    maximumSizeInInches?: number;
                    maximumWeightInKilograms?: number;
                    maximumWeightInPounds?: number;
                    numberOfPieces: number;
                    specialItemDescription?: string;
                }[];
                checkedBaggageAllowance?: {
                    baggagePieces?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    maximumPieces?: number;
                    totalWeightInKilograms?: number;
                    totalWeightInPounds?: number;
                };
                checkedBaggageCharges?: {
                    fee?: { amount: string; currencyCode: string };
                    isCheckInOnly?: boolean;
                    maximumSizeInCentimeters?: number;
                    maximumSizeInInches?: number;
                    maximumWeightInKilograms?: number;
                    maximumWeightInPounds?: number;
                    numberOfPieces: number;
                    specialItemDescription?: string;
                }[];
                flights?: { itemId: string }[];
                travelerIndices?: number[];
            }[];
            fareRules?: {
                destinationAirportCode?: string;
                exchangePenalties?: {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                }[];
                isChangeable?: boolean;
                isRefundable?: boolean;
                originAirportCode?: string;
                owningAirlineCode: string;
                passengerCode?: string;
                refundPenalties?: {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                }[];
            }[];
            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: string; currencyCode: string };
                    brandAttributes?: { description?: string; itemId?: string }[];
                    brandFareCode?: string;
                    brandFareName?: string;
                    brandProgramCode?: string;
                    brandProgramName?: string;
                    checkedBaggageAllowance?: {
                        baggagePieces?: {
                            fee?: { amount: ...; currencyCode: ... };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        maximumPieces?: number;
                        totalWeightInKilograms?: number;
                        totalWeightInPounds?: number;
                    };
                    fareBasisCode?: string;
                    flightIndices?: number[];
                    flights?: { itemId: string }[];
                    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: string; currencyCode: string };
                    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?: string;
                        aircraftTypeName?: string;
                        airportCode?: string;
                        arrivalDate?: string;
                        arrivalTime?: string;
                        departureDate?: string;
                        departureTime?: string;
                        durationInMinutes?: number;
                    }[];
                    identityDocuments?: {
                        itemId?: string;
                        status?: | "Unknown"
                        | "Confirmed"
                        | "On Request"
                        | "Pending"
                        | "Cancelled"
                        | "Unconfirmed"
                        | "Waitlisted"
                        | "Infant/No Seat"
                        | "Priority Waitlist"
                        | "Quote"
                        | "Space Available"
                        | "Pending Quote"
                        | "No Seat"
                        | "Standby";
                    }[];
                    isPast?: boolean;
                    meals?: {
                        code: string;
                        description: | "Meal"
                        | "Alcoholic beverages for purchase"
                        | "Breakfast"
                        | "Cold meal"
                        | "Complimentary alcoholic beverages"
                        | "Continental breakfast"
                        | "Dinner"
                        | "Food for purchase"
                        | "Food and beverage for purchase"
                        | "Hot meal"
                        | "Lunch"
                        | "No meal service"
                        | "Refreshment"
                        | "Refreshment for purchase"
                        | "Snack";
                    }[];
                    numberOfSeats?: number;
                    operatingAirlineCode?: string;
                    operatingAirlineName?: string;
                    operatingFlightNumber?: number;
                    seats?: {
                        characteristics?: string[];
                        number: 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";
                    }[];
                    sourceType?: "NDC"
                    | "LCC"
                    | "ATPCO";
                    toAirportCode: string;
                    travelerIndices?: number[];
                    updatedArrivalDate?: string;
                    updatedArrivalTime?: string;
                    updatedDepartureDate?: string;
                    updatedDepartureTime?: string;
                }
            )[];
            flightTickets?: {
                agencyIataNumber?: string;
                airlineCode: string;
                allCoupons?: (
                    {
                        couponStatus: | "Airport Control"
                        | "Lifted"
                        | "Checked In"
                        | "Exchanged"
                        | "Flown"
                        | "Not Flown"
                        | "Refunded"
                        | "Voided"
                        | "Printed"
                        | "Okay"
                        | "Reactivated"
                        | "Irregular Operations"
                        | "Print Exchange"
                        | "Paper Ticket"
                        | "Suspended"
                        | "Locked";
                        couponStatusCode: | "AL"
                        | "PE"
                        | "XX"
                        | "S"
                        | "P"
                        | "B"
                        | "E"
                        | "BD"
                        | "CK"
                        | "I"
                        | "RF"
                        | "V"
                        | "PR"
                        | "IO"
                        | "T";
                    } & { itemId?: string }
                )[];
                commission?: {
                    commissionAmount?: string;
                    commissionPercentage?: string;
                    currencyCode?: string;
                };
                date: string;
                flightCoupons: (
                    { itemId: string } & {
                        couponStatus:
                            | "Airport Control"
                            | "Lifted"
                            | "Checked In"
                            | "Exchanged"
                            | "Flown"
                            | "Not Flown"
                            | "Refunded"
                            | "Voided"
                            | "Printed"
                            | "Okay"
                            | "Reactivated"
                            | "Irregular Operations"
                            | "Print Exchange"
                            | "Paper Ticket"
                            | "Suspended"
                            | "Locked";
                        couponStatusCode: | "AL"
                        | "PE"
                        | "XX"
                        | "S"
                        | "P"
                        | "B"
                        | "E"
                        | "BD"
                        | "CK"
                        | "I"
                        | "RF"
                        | "V"
                        | "PR"
                        | "IO"
                        | "T";
                    }
                )[];
                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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string } & { cityCode?: string };
                    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?: string[] } & {
                        emergencyPhones?: string[];
                        faxes?: string[];
                        phones?: string[];
                    };
                    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?: string;
                        applicableToDate?: string;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                    refundPenaltyPolicyCode?: string;
                    room?: {
                        agencyCommission?: {
                            commissionAmount?: string;
                            commissionPercentage?: string;
                            currencyCode?: string;
                        };
                        description?: string;
                        productCode?: string;
                        quantity: number;
                        roomRate?: { amount: string; currencyCode: string };
                        roomType: string;
                        roomTypeCode?: string;
                        travelerIndices?: number[];
                    };
                    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?: {
                            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 };
                    }
                )[];
                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?: "Unknown" | "Single" | "Multiple";
                    flights?: { itemId: string }[];
                    isCommissionable?: boolean;
                    isRefundable?: boolean;
                    itemId?: string;
                    numberOfItems?: number;
                    reasonForIssuanceCode?: string;
                    reasonForIssuanceName?:
                        | "UNKNOWN"
                        | "AIR_TRANSPORTATION"
                        | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                        | "BAGGAGE"
                        | "FINANCIAL_IMPACT"
                        | "AIRPORT_SERVICES"
                        | "MERCHANDISE"
                        | "INFLIGHT_SERVICES"
                        | "INDIVIDUAL_AIRLINE_USE";
                    source?: "ATPCO"
                    | "MERCHANDISING_MANAGER";
                    statusCode?: string;
                    statusName?:
                        | "Confirmed"
                        | "Confirmed with EMD issued"
                        | "On Request"
                        | "Pending"
                        | "Cancelled"
                        | "Unconfirmed"
                        | "Confirmed with pending payment"
                        | "Schedule change";
                    subcode?: string;
                    totals?: {
                        currencyCode: string;
                        fees?: string;
                        subtotal?: string;
                        taxes?: string;
                        total: string;
                    };
                    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?: "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;
                    itemId?: string;
                    middleName?: string;
                    placeOfBirth?: string;
                    placeOfIssue?: string;
                    residenceCountryCode?: string;
                    residenceDestinationAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    };
                    surname?: string;
                }[];
                isGrouped?: boolean;
                loyaltyPrograms?: {
                    programNumber: string;
                    programType?: | "FREQUENT_FLYER"
                    | "FREQUENT_RENTER"
                    | "LOYALTY_ID"
                    | "CORPORATE_LOYALTY_ID";
                    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?:
                        | "INVOICE"
                        | "ITINERARY"
                        | "GENERAL"
                        | "HISTORICAL"
                        | "CLIENT_ADDRESS"
                        | "ALPHA_CODED"
                        | "DELIVERY_ADDRESS"
                        | "HIDDEN"
                        | "CORPORATE"
                        | "FORM_OF_PAYMENT"
                        | "PRINT_ON_TICKET"
                        | "FILLER_STRIP"
                        | "INTERFACE"
                        | "QUEUE_PLACE";
                }[];
                surname: string;
                type?: | "ADULT"
                | "AGENT"
                | "AIRLINE"
                | "CHILD"
                | "EDUCATION"
                | "GOVERNMENT"
                | "GROUP"
                | "INFANT"
                | "MILITARY"
                | "SENIOR"
                | "SPECIAL"
                | "YOUTH";
            }[];
            travelersGroup?: {
                itemId?: string;
                name?: string;
                numberOfTravelers?: number;
                numberOfTravelersRemaining?: number;
            };
        }
        • OptionalaccountingItems?: {
              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[];
          }[]

          Lists accounting items from the booking.

        • OptionalagencyCustomerNumber?: string

          The customer identifier used by their travel agency, also known as the customer number or the DK number. Can be a six, seven, or 10-character string.

          1234567
          
        • OptionalallSegments?: (
              { id: string } & {
                  address?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  date?: string;
                  endAddress?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  endDate?: string;
                  endLocationCode?: string;
                  endTime?: string;
                  locationCode?: string;
                  startAddress?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  startDate?: string;
                  startLocationCode?: string;
                  startTime?: string;
                  text?: string;
                  time?: string;
                  type: string;
                  vendorCode?: string;
              }
          )[]

          Lists all segments of the booking which overlaps with contextual booking elements such as flights, hotels, cars, trains and so on. This list also contains non-product related segments which exist in an underlying booking system.

        • OptionalbookingId?: string

          The booking reference ID as shown in the source supplier/vendor system. For SABRE, this is the PNR Locator or NDC orderId value, depending on content type.

          1SXXX1A2B3C4D
          
        • Optionalcars?: (
              { 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?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  dropOffContactInfo?: { emails?: string[] } & {
                      emergencyPhones?: string[];
                      faxes?: string[];
                      phones?: string[];
                  };
                  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?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  pickUpContactInfo?: { emails?: string[] } & {
                      emergencyPhones?: string[];
                      faxes?: string[];
                      phones?: string[];
                  };
                  pickUpDate: string;
                  pickUpLocationCode?: string;
                  pickUpTime: string;
                  rateCode?: string;
                  refundPenalties?: {
                      applicableFromDate?: string;
                      applicableToDate?: string;
                      penalty: { amount: string; currencyCode: string };
                  }[];
                  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;
              }
          )[]

          Lists all car rentals associated with the booking.

        • OptionalcontactInfo?: { emails?: string[] } & {
              emergencyPhones?: string[];
              faxes?: string[];
              phones?: string[];
          }
        • OptionalcreationDetails?: {
              agencyIataNumber?: string;
              creationDate?: string;
              creationTime?: string;
              creationUserSine?: string;
              primeHostId?: string;
              purchaseDeadlineDate?: string;
              purchaseDeadlineTime?: string;
              userHomePcc?: string;
              userWorkPcc?: string;
          }
          • OptionalagencyIataNumber?: string

            A unique identifier accredited by the International Air Transport Association (IATA).

            99119911
            
          • OptionalcreationDate?: string

            Format: date

            The date in YYYY-MM-DD format when the booking was created.

            2024-01-09
            
          • OptionalcreationTime?: string

            The time in HH:MM format when the booking was created. Not supported for NDC bookings.

            15:00
            
          • OptionalcreationUserSine?: string

            The sine of the Employee Profile Record that created the booking. Not supported for NDC bookings.

            A12
            
          • OptionalprimeHostId?: string

            The identification code for the prime host (global distribution system) associated with the reservation.

            1S
            
          • OptionalpurchaseDeadlineDate?: string

            Format: date

            The date in the YYYY-MM-DD format by which the stored fare must be ticketed.

            2024-01-09
            
          • OptionalpurchaseDeadlineTime?: string

            The time in the HH:MM format by which the stored fare must be ticketed.

            15:00
            
          • OptionaluserHomePcc?: string

            The pseudo city code of the agent who created the booking.

            CD34
            
          • OptionaluserWorkPcc?: string

            The pseudo city code where the booking was created.

            AB12
            
        • Optionalcruises?: (
              { 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;
              }
          )[]

          Lists all cruises associated with the booking.

        • OptionalendDate?: string

          Format: date

          The end date of the booking in ISO 8601 format.

          2024-07-19
          
        • OptionalfareOffers?: {
              cabinBaggageAllowance?: {
                  baggagePieces?: {
                      fee?: { amount: string; currencyCode: string };
                      isCheckInOnly?: boolean;
                      maximumSizeInCentimeters?: number;
                      maximumSizeInInches?: number;
                      maximumWeightInKilograms?: number;
                      maximumWeightInPounds?: number;
                      numberOfPieces: number;
                      specialItemDescription?: string;
                  }[];
                  maximumPieces?: number;
                  totalWeightInKilograms?: number;
                  totalWeightInPounds?: number;
              };
              cabinBaggageCharges?: {
                  fee?: { amount: string; currencyCode: string };
                  isCheckInOnly?: boolean;
                  maximumSizeInCentimeters?: number;
                  maximumSizeInInches?: number;
                  maximumWeightInKilograms?: number;
                  maximumWeightInPounds?: number;
                  numberOfPieces: number;
                  specialItemDescription?: string;
              }[];
              checkedBaggageAllowance?: {
                  baggagePieces?: {
                      fee?: { amount: string; currencyCode: string };
                      isCheckInOnly?: boolean;
                      maximumSizeInCentimeters?: number;
                      maximumSizeInInches?: number;
                      maximumWeightInKilograms?: number;
                      maximumWeightInPounds?: number;
                      numberOfPieces: number;
                      specialItemDescription?: string;
                  }[];
                  maximumPieces?: number;
                  totalWeightInKilograms?: number;
                  totalWeightInPounds?: number;
              };
              checkedBaggageCharges?: {
                  fee?: { amount: string; currencyCode: string };
                  isCheckInOnly?: boolean;
                  maximumSizeInCentimeters?: number;
                  maximumSizeInInches?: number;
                  maximumWeightInKilograms?: number;
                  maximumWeightInPounds?: number;
                  numberOfPieces: number;
                  specialItemDescription?: string;
              }[];
              flights?: { itemId: string }[];
              travelerIndices?: number[];
          }[]

          Lists ancillary offers for selected flights identified by itemId flight references.

        • OptionalfareRules?: {
              destinationAirportCode?: string;
              exchangePenalties?: {
                  applicability: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                  conditionsApply: boolean;
                  penalty: { amount: string; currencyCode: string };
              }[];
              isChangeable?: boolean;
              isRefundable?: boolean;
              originAirportCode?: string;
              owningAirlineCode: string;
              passengerCode?: string;
              refundPenalties?: {
                  applicability: "BEFORE_DEPARTURE"
                  | "AFTER_DEPARTURE";
                  conditionsApply: boolean;
                  penalty: { amount: string; currencyCode: string };
              }[];
          }[]

          Lists most restrictive fare rule information displayed at the time of purchase. This service applies data from either Tickets or Price Quotes.

        • Optionalfares?: {
              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: string; currencyCode: string };
                  brandAttributes?: { description?: string; itemId?: string }[];
                  brandFareCode?: string;
                  brandFareName?: string;
                  brandProgramCode?: string;
                  brandProgramName?: string;
                  checkedBaggageAllowance?: {
                      baggagePieces?: {
                          fee?: { amount: ...; currencyCode: ... };
                          isCheckInOnly?: boolean;
                          maximumSizeInCentimeters?: number;
                          maximumSizeInInches?: number;
                          maximumWeightInKilograms?: number;
                          maximumWeightInPounds?: number;
                          numberOfPieces: number;
                          specialItemDescription?: string;
                      }[];
                      maximumPieces?: number;
                      totalWeightInKilograms?: number;
                      totalWeightInPounds?: number;
                  };
                  fareBasisCode?: string;
                  flightIndices?: number[];
                  flights?: { itemId: string }[];
                  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: string; currencyCode: string };
                  taxCode?: string;
              }[];
              totals?: {
                  currencyCode: string;
                  fees?: string;
                  subtotal?: string;
                  taxes?: string;
                  total: string;
              };
              tourCode?: string;
              travelerIndices?: number[];
          }[]

          Lists the details for saved fares. This service applies data either from a Price Quote or an Order Item.

        • Optionalflights?: (
              { 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?: string;
                      aircraftTypeName?: string;
                      airportCode?: string;
                      arrivalDate?: string;
                      arrivalTime?: string;
                      departureDate?: string;
                      departureTime?: string;
                      durationInMinutes?: number;
                  }[];
                  identityDocuments?: {
                      itemId?: string;
                      status?: | "Unknown"
                      | "Confirmed"
                      | "On Request"
                      | "Pending"
                      | "Cancelled"
                      | "Unconfirmed"
                      | "Waitlisted"
                      | "Infant/No Seat"
                      | "Priority Waitlist"
                      | "Quote"
                      | "Space Available"
                      | "Pending Quote"
                      | "No Seat"
                      | "Standby";
                  }[];
                  isPast?: boolean;
                  meals?: {
                      code: string;
                      description: | "Meal"
                      | "Alcoholic beverages for purchase"
                      | "Breakfast"
                      | "Cold meal"
                      | "Complimentary alcoholic beverages"
                      | "Continental breakfast"
                      | "Dinner"
                      | "Food for purchase"
                      | "Food and beverage for purchase"
                      | "Hot meal"
                      | "Lunch"
                      | "No meal service"
                      | "Refreshment"
                      | "Refreshment for purchase"
                      | "Snack";
                  }[];
                  numberOfSeats?: number;
                  operatingAirlineCode?: string;
                  operatingAirlineName?: string;
                  operatingFlightNumber?: number;
                  seats?: {
                      characteristics?: string[];
                      number: 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";
                  }[];
                  sourceType?: "NDC"
                  | "LCC"
                  | "ATPCO";
                  toAirportCode: string;
                  travelerIndices?: number[];
                  updatedArrivalDate?: string;
                  updatedArrivalTime?: string;
                  updatedDepartureDate?: string;
                  updatedDepartureTime?: string;
              }
          )[]

          Lists all flights associated with the booking in chronological order.

        • OptionalflightTickets?: {
              agencyIataNumber?: string;
              airlineCode: string;
              allCoupons?: (
                  {
                      couponStatus: | "Airport Control"
                      | "Lifted"
                      | "Checked In"
                      | "Exchanged"
                      | "Flown"
                      | "Not Flown"
                      | "Refunded"
                      | "Voided"
                      | "Printed"
                      | "Okay"
                      | "Reactivated"
                      | "Irregular Operations"
                      | "Print Exchange"
                      | "Paper Ticket"
                      | "Suspended"
                      | "Locked";
                      couponStatusCode: | "AL"
                      | "PE"
                      | "XX"
                      | "S"
                      | "P"
                      | "B"
                      | "E"
                      | "BD"
                      | "CK"
                      | "I"
                      | "RF"
                      | "V"
                      | "PR"
                      | "IO"
                      | "T";
                  } & { itemId?: string }
              )[];
              commission?: {
                  commissionAmount?: string;
                  commissionPercentage?: string;
                  currencyCode?: string;
              };
              date: string;
              flightCoupons: (
                  { itemId: string } & {
                      couponStatus:
                          | "Airport Control"
                          | "Lifted"
                          | "Checked In"
                          | "Exchanged"
                          | "Flown"
                          | "Not Flown"
                          | "Refunded"
                          | "Voided"
                          | "Printed"
                          | "Okay"
                          | "Reactivated"
                          | "Irregular Operations"
                          | "Print Exchange"
                          | "Paper Ticket"
                          | "Suspended"
                          | "Locked";
                      couponStatusCode: | "AL"
                      | "PE"
                      | "XX"
                      | "S"
                      | "P"
                      | "B"
                      | "E"
                      | "BD"
                      | "CK"
                      | "I"
                      | "RF"
                      | "V"
                      | "PR"
                      | "IO"
                      | "T";
                  }
              )[];
              number: string;
              payment: {
                  currencyCode: string;
                  fees?: string;
                  subtotal?: string;
                  taxes?: string;
                  total: string;
              };
              ticketingPcc?: string;
              ticketStatusCode?: string;
              ticketStatusName?: "Voided"
              | "Issued"
              | "Refunded/Exchanged";
              travelerIndex: number;
          }[]

          Lists all electronic flight tickets issued for the travelers.

        • OptionalfutureTicketingPolicy?: {
              comment?: string;
              queueNumber?: string;
              ticketingDate?: string;
              ticketingPcc?: string;
              ticketingTime?: string;
          }
          • Optionalcomment?: string

            Free text comment.

            TICKET BEFORE TUES
            
          • OptionalqueueNumber?: string

            Used to specify a queue number.

            55
            
          • OptionalticketingDate?: string

            Format: date

            The ticketing date.

            2024-07-09
            
          • OptionalticketingPcc?: string

            Used to specify a pseudocity code.

            G7RE
            
          • OptionalticketingTime?: string

            The ticketing time in HH:MM format.

            11:00
            
        • Optionalhotels?: (
              { itemId: string } & {
                  address: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string } & { cityCode?: string };
                  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?: string[] } & {
                      emergencyPhones?: string[];
                      faxes?: string[];
                      phones?: string[];
                  };
                  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?: string;
                      applicableToDate?: string;
                      penalty: { amount: string; currencyCode: string };
                  }[];
                  refundPenaltyPolicyCode?: string;
                  room?: {
                      agencyCommission?: {
                          commissionAmount?: string;
                          commissionPercentage?: string;
                          currencyCode?: string;
                      };
                      description?: string;
                      productCode?: string;
                      quantity: number;
                      roomRate?: { amount: string; currencyCode: string };
                      roomType: string;
                      roomTypeCode?: string;
                      travelerIndices?: number[];
                  };
                  sabrePropertyId?: string;
                  sourceTypeCode?: number;
                  sourceTypeName?: | "Unknown"
                  | "Legacy"
                  | "Sabre GDS"
                  | "Expedia Associate Network"
                  | "HotelBeds.com"
                  | "Booking.com"
                  | "CMNet";
                  specialInstructions?: string;
              }
          )[]

          Lists all hotel reservations associated with the booking.

        • OptionalisCancelable?: boolean

          If true, the booking is cancelable in full or in segments. Refer to the refundPenalties array for more information.

          false
          
        • OptionalisTicketed?: boolean

          If true, at least one ticket was issued for the booking.

          false
          
        • Optionaljourneys?: {
              departureDate: string;
              departureTime: string;
              firstAirportCode: string;
              lastAirportCode: string;
              numberOfFlights: number;
          }[]

          Lists all the journeys associated with the booking. * For one-way, this is a single element list. * For round-trip, the list contains two journeys. * For multi-destinations, the list contains more than two journeys.

        • OptionalnonElectronicTickets?: {
              date?: string;
              ticketingPcc?: string;
              ticketingUserCode?: string;
              ticketNumber?: string;
              ticketStatus?: "Unknown" | "Active" | "Inactive";
              time?: string;
              travelerIndex?: number;
          }[]

          Lists nonelectronic tickets from the booking.

        • OptionalotherServices?: {
              airlineCode?: string;
              chainCode?: string;
              serviceMessage?: string;
              travelerIndex?: number;
              vendorCode?: string;
          }[]

          Lists Other Service Information (OSI) to/from a specific vendor.

        • Optionalpayments?: {
              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?: {
                          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 };
                  }
              )[];
              hotelTotals?: {
                  currencyCode: string;
                  fees?: string;
                  subtotal?: string;
                  taxes?: string;
                  total: string;
              }[];
              trainTotals?: {
                  currencyCode: string;
                  fees?: string;
                  subtotal?: string;
                  taxes?: string;
                  total: string;
              }[];
          }
          • OptionalcarTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            }[]

            Lists all car rental payments, per each currency used.

          • OptionalflightCurrentTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            }[]

            Lists all flight payments, per each currency used, and is applicable only for ticketed bookings. It sums up all payments with the exclusion of Refunded/Voided tickets, obtained directly from the ticket data.

          • OptionalflightTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            }[]

            Lists all flight payments, per each currency used. For ticketed bookings it sums all payments irrespective of the document status. For non-ticketed bookings it sums payments from all price quotes stored in the booking.

          • OptionalformsOfPayment?: (
                {
                    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 };
                }
            )[]

            Lists all the payment methods that are stored in the booking.

          • OptionalhotelTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            }[]

            Lists all hotel payments, per each currency used.

          • OptionaltrainTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            }[]

            Lists all train payments, per each currency used.

        • Optionalremarks?: {
              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";
          }[]

          Contains list of remarks added to the PNR.

        • OptionalretentionEndDate?: string

          Format: date

          The retention date of the booking. Used optionally to keep the booking active past the date of the last itinerary item (flight, hotel, car, etc.). After this date, the booking is set for purging.

          2024-01-30
          
        • OptionalretentionLabel?: string

          The label associated with the retention date.

          RETENTION DATE
          
        • OptionalspecialServices?: {
              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[];
          }[]

          Lists all special services associated with a traveler.

        • OptionalstartDate?: string

          Format: date

          The start date of the booking in ISO 8601 format.

          2024-07-09
          
        • Optionaltrains?: (
              { 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;
              }
          )[]

          Lists all trains associated with the booking.

        • Optionaltravelers?: {
              address?: {
                  city?: string;
                  countryCode?: string;
                  postalCode?: string;
                  stateProvince?: string;
                  street?: string;
              } & { freeText?: string; name?: string };
              ancillaries?: {
                  airlineCode?: string;
                  commercialName?: string;
                  electronicMiscellaneousDocumentNumber?: string;
                  flightApplicabilityType?: "Unknown" | "Single" | "Multiple";
                  flights?: { itemId: string }[];
                  isCommissionable?: boolean;
                  isRefundable?: boolean;
                  itemId?: string;
                  numberOfItems?: number;
                  reasonForIssuanceCode?: string;
                  reasonForIssuanceName?:
                      | "UNKNOWN"
                      | "AIR_TRANSPORTATION"
                      | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                      | "BAGGAGE"
                      | "FINANCIAL_IMPACT"
                      | "AIRPORT_SERVICES"
                      | "MERCHANDISE"
                      | "INFLIGHT_SERVICES"
                      | "INDIVIDUAL_AIRLINE_USE";
                  source?: "ATPCO"
                  | "MERCHANDISING_MANAGER";
                  statusCode?: string;
                  statusName?:
                      | "Confirmed"
                      | "Confirmed with EMD issued"
                      | "On Request"
                      | "Pending"
                      | "Cancelled"
                      | "Unconfirmed"
                      | "Confirmed with pending payment"
                      | "Schedule change";
                  subcode?: string;
                  totals?: {
                      currencyCode: string;
                      fees?: string;
                      subtotal?: string;
                      taxes?: string;
                      total: string;
                  };
                  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?: "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;
                  itemId?: string;
                  middleName?: string;
                  placeOfBirth?: string;
                  placeOfIssue?: string;
                  residenceCountryCode?: string;
                  residenceDestinationAddress?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  };
                  surname?: string;
              }[];
              isGrouped?: boolean;
              loyaltyPrograms?: {
                  programNumber: string;
                  programType?: | "FREQUENT_FLYER"
                  | "FREQUENT_RENTER"
                  | "LOYALTY_ID"
                  | "CORPORATE_LOYALTY_ID";
                  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?:
                      | "INVOICE"
                      | "ITINERARY"
                      | "GENERAL"
                      | "HISTORICAL"
                      | "CLIENT_ADDRESS"
                      | "ALPHA_CODED"
                      | "DELIVERY_ADDRESS"
                      | "HIDDEN"
                      | "CORPORATE"
                      | "FORM_OF_PAYMENT"
                      | "PRINT_ON_TICKET"
                      | "FILLER_STRIP"
                      | "INTERFACE"
                      | "QUEUE_PLACE";
              }[];
              surname: string;
              type?: | "ADULT"
              | "AGENT"
              | "AIRLINE"
              | "CHILD"
              | "EDUCATION"
              | "GOVERNMENT"
              | "GROUP"
              | "INFANT"
              | "MILITARY"
              | "SENIOR"
              | "SPECIAL"
              | "YOUTH";
          }[]

          Lists the traveler(s) associated with the booking.

        • OptionaltravelersGroup?: {
              itemId?: string;
              name?: string;
              numberOfTravelers?: number;
              numberOfTravelersRemaining?: number;
          }
          • OptionalitemId?: string

            Contains the ID of the group.

            3
            
          • Optionalname?: string

            The name of the group.

            GROUP ONE
            
          • OptionalnumberOfTravelers?: number

            Format: int32

            The total number of travelers within the group. Lap infants are not taken into consideration.

            1
            
          • OptionalnumberOfTravelersRemaining?: number

            Format: int32

            The number of remaining travelers within the group whose names are not provided. Lap infants are not taken into consideration.

            1
            
      • OptionalconfirmationId?: string

        The booking ID generated by the Create Booking API. The Sabre system considers it a PNR locator.

        GLEBNY
        
      • Optionalerrors?: {
            category: string;
            description?: string;
            fieldName?: string;
            fieldPath?: string;
            fieldValue?: string;
            type: string;
        }[]

        Lists detailed error information. This array is not displayed in successful responses.

      • Optionalrequest?: {
            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: string[]; forceAccountCodes?: boolean };
                        adjustedSellingLevel?: {
                            ignore?: boolean;
                            markDownAmount?: string;
                            markUpAmount?: string;
                            returnBreakdown?: boolean;
                        };
                        baggageAllowance?: {
                            baggagePieces?: number;
                            flightIndices?: (...)[];
                            totalWeightInKilograms?: number;
                        }[];
                        brandedFares?: { brandCode: string; flightIndices?: (...)[] }[];
                        breakFareFlightIndices?: number[];
                        cabinCode?: string;
                        commissionContractNames?: string[];
                        considerMultiTicket?: boolean;
                        corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                        currencyPricing?: string;
                        exchangePenalties?: {
                            applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                            penaltyAmount?: { amount?: string };
                            restrictionType:
                                | "CHANGEABLE"
                                | "REFUNDABLE"
                                | "CHANGEABLE_AND_REFUNDABLE";
                        };
                        excludeBasicEconomyFares?: string[];
                        exemptTaxes?: string[];
                        flightIndices?: number[];
                        forceConnectionFlightIndices?: number[];
                        forceStopoverFlightIndices?: number[];
                        hemisphereCode?: number;
                        journeyCode?: number;
                        netRemit?: {
                            cashValue?: { amount: string; currencyCode: string };
                            commercialAgreementReferenceCode?: string;
                            creditValue?: { amount: string; currencyCode: string };
                            netRemitCode?: string;
                        };
                        overrideTaxes?: { amount: string; taxCode: string }[];
                        passengersPricing?: {
                            forcePassengerCode?: boolean;
                            numberOfpassengers?: number;
                            passengerCode?: string;
                        }[];
                        passengerStatus?: "RESIDENT"
                        | "NATIONALITY"
                        | "EMPLOYEE";
                        passengerStatusCountryCode?: string;
                        payment?: {
                            amountOnSecondFormOfPayment?: string;
                            primaryFormOfPayment: number;
                            secondaryFormOfPayment?: number;
                        };
                        priceWithTaxes: boolean;
                        rebookLowestFares?: boolean;
                        retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                        settlementMethod?: string;
                        sideTripFlightIndices?: number[];
                        spanishIslandResidentDiscountCode?: string;
                        spanishLargeFamilyDiscountLevel?: number;
                        specificFares?: { fareBasisCode: string; 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?: (
                            | "AISLE"
                            | "BULKHEAD"
                            | "FRONT"
                            | "LEFT_SIDE"
                            | "RIGHT_SIDE"
                            | "TAIL"
                            | "WINDOW"
                        )[];
                        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;
            }[];
        }
        • Optionalagency?: {
              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;
              };
          }
          • Optionaladdress?: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string }
          • OptionalagencyCustomerNumber?: string

            Contains the agency's customer DK number. Can be a six, seven, or 10-character string.

            1234567
            
          • OptionalcontactInfo?: { emails?: string[] }
            • Optionalemails?: string[]

              Lists email addresses of travelers or vendors.

          • OptionalfutureTicketingPolicy?: {
                comment?: string;
                queueNumber?: string;
                ticketingDate?: string;
                ticketingPcc?: string;
                ticketingTime?: string;
            }
            • Optionalcomment?: string

              Free text comment.

              TICKET BEFORE TUES
              
            • OptionalqueueNumber?: string

              Used to specify a queue number.

              55
              
            • OptionalticketingDate?: string

              Format: date

              The ticketing date.

              2024-07-09
              
            • OptionalticketingPcc?: string

              Used to specify a pseudocity code.

              G7RE
              
            • OptionalticketingTime?: string

              The ticketing time in HH:MM format.

              11:00
              
          • OptionalticketingPolicy?: "TODAY" | "ALREADY_TICKETED" | "FUTURE_TICKETING" | "TICKETING_TIME_LIMIT"
          • OptionalticketingTimeLimitPolicy?: { airlineCode?: string; ticketingDate?: string; ticketingTime?: string }
            • OptionalairlineCode?: string

              The two-letter IATA designator code of the marketing airline.

              AA
              
            • OptionalticketingDate?: string

              Format: date

              The ticketing date.

              2024-07-09
              
            • OptionalticketingTime?: string

              The ticketing time in HH:MM format.

              11:00
              
        • asynchronousUpdateWaitTime: number

          Format: int32

          The maximum wait time in milliseconds applied to asynchronous updates related to booking creation. Mainly used for the redisplay operation of NDC bookings.

          0
          
          3000
          
        • Optionalcar?: {
              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;
          }
          • bookingKey: string

            The unique booking key returned in the Vehicle Price Check API response. This key is mandatory book a car.

            d9e73f0d-5f90-4b43-9c86-2d88a732604f
            
          • OptionalcollectionAddress?: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            }
            • Optionalcity?: string

              The name of the city.

              Dallas
              
            • OptionalcountryCode?: string

              The two-letter ISO 3166 country code.

              US
              
            • OptionalpostalCode?: string

              The zip or postal code.

              75063
              
            • OptionalstateProvince?: string

              The name or code of the state or province.

              TX
              
            • Optionalstreet?: string

              The street name and house number accompanied with the number of apartments/unit/suite, if applicable.

              1230 Ellen Ave, apt 10
              
          • OptionalcollectionSite?: { id?: string; name?: string; phone?: string }
            • Optionalid?: string

              The ID of the car rental location. Cannot be combined with other address-related qualifiers.

              ABC123
              
            • Optionalname?: string

              The name of the car rental location.

              TEST LOCATION
              
            • Optionalphone?: string

              The phone number of the car rental location involved in vehicle collection or delivery.

              8175551212
              
          • OptionaldeliveryAddress?: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            }
            • Optionalcity?: string

              The name of the city.

              Dallas
              
            • OptionalcountryCode?: string

              The two-letter ISO 3166 country code.

              US
              
            • OptionalpostalCode?: string

              The zip or postal code.

              75063
              
            • OptionalstateProvince?: string

              The name or code of the state or province.

              TX
              
            • Optionalstreet?: string

              The street name and house number accompanied with the number of apartments/unit/suite, if applicable.

              1230 Ellen Ave, apt 10
              
          • OptionaldeliverySite?: { id?: string; name?: string; phone?: string }
            • Optionalid?: string

              The ID of the car rental location. Cannot be combined with other address-related qualifiers.

              ABC123
              
            • Optionalname?: string

              The name of the car rental location.

              TEST LOCATION
              
            • Optionalphone?: string

              The phone number of the car rental location involved in vehicle collection or delivery.

              8175551212
              
          • OptionalemailIndex?: number

            Format: int32

            The index of the traveler's email (travelers.emails) shared with the car vendor. If the traveler's email is not specified, the index will point to the traveler's contact information instead (contactInfo.emails).

            1
            
          • OptionalflightIndex?: number

            Format: int32

            Index of the flight in the reservation. Corresponding flight details (airline code and flight number) are provided to the car vendor.

            1
            
          • OptionalformOfPayment?: number

            Format: int32

            Index of the payment type in the formsOfPayment list. Forms of payment applicable to car booking are - PAYMENT_CARD, VOUCHER.

            1
            
          • OptionalpaymentPolicy?: "DEPOSIT" | "GUARANTEE"
          • quantity: number

            Format: int32

            The number of cars to book. Defaults to 1.

            1
            
            1
            
          • OptionalspecialInstructions?: string

            Text-based special instructions provided to the vendor.

            Wants a blue car.
            
          • OptionaltravelerIndex?: number

            Format: int32

            The traveler index that is associated with the car booking.

            1
            
        • OptionalcontactInfo?: { emails?: string[] } & {
              emergencyPhones?: string[];
              faxes?: string[];
              phones?: string[];
          }
        • OptionalerrorHandlingPolicy?: (
              | "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"
          )[]

          Lists selected error handling policies to adopt for this request.

        • OptionalflightDetails?: {
              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: string[]; forceAccountCodes?: boolean };
                      adjustedSellingLevel?: {
                          ignore?: boolean;
                          markDownAmount?: string;
                          markUpAmount?: string;
                          returnBreakdown?: boolean;
                      };
                      baggageAllowance?: {
                          baggagePieces?: number;
                          flightIndices?: (...)[];
                          totalWeightInKilograms?: number;
                      }[];
                      brandedFares?: { brandCode: string; flightIndices?: (...)[] }[];
                      breakFareFlightIndices?: number[];
                      cabinCode?: string;
                      commissionContractNames?: string[];
                      considerMultiTicket?: boolean;
                      corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                      currencyPricing?: string;
                      exchangePenalties?: {
                          applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                          penaltyAmount?: { amount?: string };
                          restrictionType:
                              | "CHANGEABLE"
                              | "REFUNDABLE"
                              | "CHANGEABLE_AND_REFUNDABLE";
                      };
                      excludeBasicEconomyFares?: string[];
                      exemptTaxes?: string[];
                      flightIndices?: number[];
                      forceConnectionFlightIndices?: number[];
                      forceStopoverFlightIndices?: number[];
                      hemisphereCode?: number;
                      journeyCode?: number;
                      netRemit?: {
                          cashValue?: { amount: string; currencyCode: string };
                          commercialAgreementReferenceCode?: string;
                          creditValue?: { amount: string; currencyCode: string };
                          netRemitCode?: string;
                      };
                      overrideTaxes?: { amount: string; taxCode: string }[];
                      passengersPricing?: {
                          forcePassengerCode?: boolean;
                          numberOfpassengers?: number;
                          passengerCode?: string;
                      }[];
                      passengerStatus?: "RESIDENT"
                      | "NATIONALITY"
                      | "EMPLOYEE";
                      passengerStatusCountryCode?: string;
                      payment?: {
                          amountOnSecondFormOfPayment?: string;
                          primaryFormOfPayment: number;
                          secondaryFormOfPayment?: number;
                      };
                      priceWithTaxes: boolean;
                      rebookLowestFares?: boolean;
                      retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                      settlementMethod?: string;
                      sideTripFlightIndices?: number[];
                      spanishIslandResidentDiscountCode?: string;
                      spanishLargeFamilyDiscountLevel?: number;
                      specificFares?: { fareBasisCode: string; 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?: (
                          | "AISLE"
                          | "BULKHEAD"
                          | "FRONT"
                          | "LEFT_SIDE"
                          | "RIGHT_SIDE"
                          | "TAIL"
                          | "WINDOW"
                      )[];
                      number?: string;
                      travelerIndex: number;
                  }[];
                  source?: "LCC"
                  | "ATPCO";
                  toAirportCode: string;
              }[];
              haltOnFlightStatusCodes?: (
                  "US"
                  | "NO"
                  | "NN"
                  | "UC"
                  | "UN"
                  | "UU"
                  | "LL"
                  | "HL"
              )[];
              retryBookingUnconfirmedFlights?: boolean;
          }
          • OptionalflightPricing?: {
                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: string[]; forceAccountCodes?: boolean };
                    adjustedSellingLevel?: {
                        ignore?: boolean;
                        markDownAmount?: string;
                        markUpAmount?: string;
                        returnBreakdown?: boolean;
                    };
                    baggageAllowance?: {
                        baggagePieces?: number;
                        flightIndices?: (...)[];
                        totalWeightInKilograms?: number;
                    }[];
                    brandedFares?: { brandCode: string; flightIndices?: (...)[] }[];
                    breakFareFlightIndices?: number[];
                    cabinCode?: string;
                    commissionContractNames?: string[];
                    considerMultiTicket?: boolean;
                    corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                    currencyPricing?: string;
                    exchangePenalties?: {
                        applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                        penaltyAmount?: { amount?: string };
                        restrictionType:
                            | "CHANGEABLE"
                            | "REFUNDABLE"
                            | "CHANGEABLE_AND_REFUNDABLE";
                    };
                    excludeBasicEconomyFares?: string[];
                    exemptTaxes?: string[];
                    flightIndices?: number[];
                    forceConnectionFlightIndices?: number[];
                    forceStopoverFlightIndices?: number[];
                    hemisphereCode?: number;
                    journeyCode?: number;
                    netRemit?: {
                        cashValue?: { amount: string; currencyCode: string };
                        commercialAgreementReferenceCode?: string;
                        creditValue?: { amount: string; currencyCode: string };
                        netRemitCode?: string;
                    };
                    overrideTaxes?: { amount: string; taxCode: string }[];
                    passengersPricing?: {
                        forcePassengerCode?: boolean;
                        numberOfpassengers?: number;
                        passengerCode?: string;
                    }[];
                    passengerStatus?: "RESIDENT"
                    | "NATIONALITY"
                    | "EMPLOYEE";
                    passengerStatusCountryCode?: string;
                    payment?: {
                        amountOnSecondFormOfPayment?: string;
                        primaryFormOfPayment: number;
                        secondaryFormOfPayment?: number;
                    };
                    priceWithTaxes: boolean;
                    rebookLowestFares?: boolean;
                    retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                    settlementMethod?: string;
                    sideTripFlightIndices?: number[];
                    spanishIslandResidentDiscountCode?: string;
                    spanishLargeFamilyDiscountLevel?: number;
                    specificFares?: { fareBasisCode: string; flightIndices?: (...)[] }[];
                    useExcursionFare?: boolean;
                    useNetFare?: boolean;
                    usePrivateFare?: boolean;
                    usePublicFare?: boolean;
                    useRoundTheWorldFare?: boolean;
                };
            }[]

            Contains pricing qualifiers. If you wish to assign different mark-ups or commissions per specific passenger type, you can send separate pricing instructions per each type.

          • Optionalflights?: {
                airlineCode: string;
                arrivalDate?: string;
                arrivalTime?: string;
                bookingClass: string;
                confirmationId?: string;
                departureDate: string;
                departureTime: string;
                flightNumber: number;
                flightStatusCode: string;
                fromAirportCode: string;
                isMarriageGroup?: boolean;
                seats?: {
                    areaPreferences?: (
                        | "AISLE"
                        | "BULKHEAD"
                        | "FRONT"
                        | "LEFT_SIDE"
                        | "RIGHT_SIDE"
                        | "TAIL"
                        | "WINDOW"
                    )[];
                    number?: string;
                    travelerIndex: number;
                }[];
                source?: "LCC"
                | "ATPCO";
                toAirportCode: string;
            }[]

            Lists individual flights to book.

          • OptionalhaltOnFlightStatusCodes?: ("US" | "NO" | "NN" | "UC" | "UN" | "UU" | "LL" | "HL")[]

            Lists optional flight status codes considered unacceptable. The system will stop processing upon encountering an unacceptable status code within a booked flight. If no status codes are provided, the system will automatically stop processing when encountering NO, UC, US, UN, UU, LL, or HL.

          • OptionalretryBookingUnconfirmedFlights?: boolean

            If true, the system will attempt to rebook unconfirmed flights. If any of the booked flights returns an unacceptable status code (as defined by HaltOnFlightStatusCodeEnum), the system will cancel them and rebook them in the lowest available fare. If the status codes remain unacceptable after the process has completed, the system will stop processing and return an error message. retryBookingUnconfirmedFlights may result in a price increase.

            true
            
        • OptionalflightOffer?: { offerId: string; selectedOfferItems: string[] }
          • offerId: string

            The unique identifier of the selected Offer (either a standard Offer or an a-la-carte Offer) returned in a shopping response.

            dx369rfr7jt8dnd2i0-1
            
          • selectedOfferItems: string[]

            The offerItem list selected by a specific traveler.

        • Optionalhotel?: {
              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;
          }
          • OptionalassociatedFlightDetails?: {
                arrivalAirlineCode?: string;
                arrivalFlightNumber?: number;
                arrivalTime?: string;
                departureAirlineCode?: string;
                departureFlightNumber?: number;
                departureTime?: string;
            }
            • OptionalarrivalAirlineCode?: string

              The two-letter IATA designator code of the marketing airline for the arrival flight.

              AA
              
            • OptionalarrivalFlightNumber?: number

              Format: int32

              The flight number associated with the marketing carrier for the arrival flight.

              123
              
            • OptionalarrivalTime?: string

              The scheduled time of arrival in HH:MM format.

              12:28
              
            • OptionaldepartureAirlineCode?: string

              The two-letter IATA designator code of the marketing airline for the departure flight.

              AA
              
            • OptionaldepartureFlightNumber?: number

              Format: int32

              The flight number associated with the marketing carrier for the departure flight.

              123
              
            • OptionaldepartureTime?: string

              The scheduled time of departure in HH:MM format.

              09:15
              
          • bookingKey: string

            The booking key is returned in the Hotel Price Check API response and is a mandatory value to perform the hotel booking.

            d9e73f0d-5f90-4b43-9c86-2d88a732604f
            
          • OptionalcorporateDiscountCode?: number

            Format: int32

            A code that a company may give to an agency to use for a discount. It is quite often tied to a negotiated rate code. Applies to GDS hotels only.

            6878700
            
          • OptionalformOfPayment?: number

            Format: int32

            Index of the payment type in the formsOfPayment list. Forms of payment applicable to hotel booking are - PAYMENT_CARD, AGENCY_NAME, AGENCY_IATA, CORPORATE, COMPANY_NAME, VIRTUAL_CARD.

            1
            
          • OptionalpaymentPolicy?: "DEPOSIT" | "GUARANTEE" | "LATE"
          • Optionalrooms?: {
                bedTypeCode?: number;
                isSmoking: boolean;
                physicalDisabilityCode?: number;
                roomExtras?: { amount?: string; quantity: number; roomExtraType: number }[];
                travelerIndices?: number[];
            }[]

            Contains details of the hotel rooms that will be booked. Multiple room bookings are currently not supported by GDS hotels.

          • OptionalspecialInstruction?: string

            The special instruction provided to the property.

            Need a wi-fi in the room.
            
          • useCsl: boolean

            If true, the hotel originally sourced from the GDS will be booked using the Content Services for Lodging (CSL) booking path instead of the legacy path (low level services).

            true
            
            true
            
        • Optionalnotification?: {
              email?:
                  | "DEFAULT"
                  | "INVOICE"
                  | "ETICKET"
                  | "ETICKET_PDF"
                  | "ITINERARY"
                  | "ITINERARY_PDF";
              queuePlacement?: {
                  futureQueuePlacementDate?: string;
                  pcc?: string;
                  prefatoryInstructionCode: number;
                  queueName?: string;
                  queueNumber?: number;
              }[];
          }
          • Optionalemail?:
                | "DEFAULT"
                | "INVOICE"
                | "ETICKET"
                | "ETICKET_PDF"
                | "ITINERARY"
                | "ITINERARY_PDF"
          • OptionalqueuePlacement?: {
                futureQueuePlacementDate?: string;
                pcc?: string;
                prefatoryInstructionCode: number;
                queueName?: string;
                queueNumber?: number;
            }[]

            Lists the specifiec queue (up to three) to place the PNR into for the operation.

        • OptionalotherServices?: {
              airlineCode?: string;
              chainCode?: string;
              serviceMessage?: string;
              travelerIndex?: number;
              vendorCode?: string;
          }[]

          Contains other service information (OSI) sent to an airline. Please note that is not possible to send other service request to a hotel chain and/or car rental vendor.

        • Optionalpayment?: {
              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 };
                  }
              )[];
          }
          • OptionalbillingAddress?: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string }
          • OptionalformsOfPayment?: (
                {
                    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 };
                }
            )[]

            Contains all the payment methods that will be associated to the booking.

        • Optionalprofiles?: {
              domainId: string;
              filterId?: string;
              profileName?: string;
              profileTypeCode: string;
              uniqueId?: string;
          }[]

          Lists user profile details.

        • receivedFrom: string

          The entity that authorizes the changes in a Passenger Name Record.

          Create Booking
          
          Create Booking
          
        • Optionalremarks?: (
              {
                  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;
                  };
              }
          )[]

          Contains remarks to be added to the booking.

        • OptionalretentionEndDate?: string

          Format: date

          The retention date of the booking. Used optionally to keep the booking active past the date of the last itinerary item (flight, hotel, car, etc.). After this date, the booking is set for purging.

          2024-01-30
          
        • OptionalretentionLabel?: string

          The label associated with the retention date.

          RETENTION DATE
          
        • OptionaltargetPcc?: string

          Specifies the desired pseudo city code value. The API does not revert context after completing the booking.

          AAA
          
        • Optionaltravelers?: {
              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;
          }[]

          Lists personal information of the travelers.

      • Optionaltimestamp?: string

        Format: date-time

        Provides the exact point in time when the response was generated. The timestamp is expressed in UTC and presented in the YYYY-MM-DDTHH:MM:SSZ format.

        2024-10-28T11:11:21Z
        
    • CreateErrorPolicyEnum:
          | "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"

      Identifies an error handling policy. Can be: HALT_ON_ERROR - stop processing upon encountering any error from a downline service. DO_NOT_HALT_ON_FLIGHT_PRICING_ERROR - continue upon encountering a pricing error (only ATPCO/traditional bookings). DO_NOT_HALT_ON_HOTEL_BOOKING_ERROR - continue upon encountering a hotel booking error. DO_NOT_HALT_ON_CAR_BOOKING_ERROR - continue upon encountering a car booking error. DO_NOT_HALT_ON_ANCILLARY_BOOKING_ERROR - continue upon encountering an ancillary booking error. DO_NOT_HALT_ON_SEAT_BOOKING_ERROR - continue upon encountering a seat booking error. HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR - stop if the minimum connecting time between flights is not met (only ATPCO/traditional bookings).

      HALT_ON_ERROR
      
      HALT_ON_ERROR
      @enum {string}
    • CreationDetails: {
          agencyIataNumber?: string;
          creationDate?: string;
          creationTime?: string;
          creationUserSine?: string;
          primeHostId?: string;
          purchaseDeadlineDate?: string;
          purchaseDeadlineTime?: string;
          userHomePcc?: string;
          userWorkPcc?: string;
      }

      Contains details about the creation.

      • OptionalagencyIataNumber?: string

        A unique identifier accredited by the International Air Transport Association (IATA).

        99119911
        
      • OptionalcreationDate?: string

        Format: date

        The date in YYYY-MM-DD format when the booking was created.

        2024-01-09
        
      • OptionalcreationTime?: string

        The time in HH:MM format when the booking was created. Not supported for NDC bookings.

        15:00
        
      • OptionalcreationUserSine?: string

        The sine of the Employee Profile Record that created the booking. Not supported for NDC bookings.

        A12
        
      • OptionalprimeHostId?: string

        The identification code for the prime host (global distribution system) associated with the reservation.

        1S
        
      • OptionalpurchaseDeadlineDate?: string

        Format: date

        The date in the YYYY-MM-DD format by which the stored fare must be ticketed.

        2024-01-09
        
      • OptionalpurchaseDeadlineTime?: string

        The time in the HH:MM format by which the stored fare must be ticketed.

        15:00
        
      • OptionaluserHomePcc?: string

        The pseudo city code of the agent who created the booking.

        CD34
        
      • OptionaluserWorkPcc?: string

        The pseudo city code where the booking was created.

        AB12
        
    • CreationDetailsToModify: { agencyIataNumber?: string }

      Contains creation information for the booking.

      • OptionalagencyIataNumber?: string

        A unique identifier accredited by the International Air Transport Association (IATA).

        12344321
        
    • Cruise: { 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;
      }

      Contains cruise reservation information, identified by itemId, for the given booking.

    • CruiseItem: {
          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;
      }

      Contains cruise information for the given booking.

      • arrivalDate: string

        Format: date

        The arrival date in YYYY-MM-DD format in the port's timezone.

        2024-07-15
        
      • OptionalarrivalTime?: string

        The time of arrival in HH:MM format.

        09:00
        
      • OptionalcabinNumber?: string

        The number of the reserved cabin on the ship.

        C101
        
      • OptionalconfirmationId?: string

        The criuse booking reference ID in the cruise line's system.

        XPCD8Q
        
      • OptionalcruiseStatusCode?: string

        The one or two-letter status code used by vendors. It indicates the cruise's booking status.

        GK
        
      • OptionalcruiseStatusName?:
            | "Unknown"
            | "Confirmed"
            | "On Request"
            | "Pending"
            | "Cancelled"
            | "Unconfirmed"
            | "Waitlisted"
            | "Infant/No Seat"
            | "Priority Waitlist"
            | "Quote"
            | "Space Available"
            | "Pending Quote"
            | "No Seat"
            | "Standby"
      • departureDate: string

        Format: date

        The departure date in YYYY-MM-DD format in the origin port's timezone.

        2024-07-12
        
      • OptionaldepartureTime?: string

        The time of departure in HH:MM format.

        16:00
        
      • fromPortCode: string

        The origin port code.

        ANC
        
      • OptionalnumberOfGuests?: number

        Format: int32

        The number of guests.

        2
        
      • OptionalshipCode?: string

        The ship code in the cruise line system.

        RP
        
      • OptionalshipName?: string

        The ship name in the cruise line system.

        Royal Princess
        
      • OptionaltoPortCode?: string

        The destination port code for cruises where destination port is different than the origin port.

        YVR
        
      • vendorCode: string

        The cruise vendor code.

        PC
        
    • CruiseReference: { itemId: string }

      Contains cruise object reference by itemId.

      • itemId: string

        The id of the given cruise reservation.

        12
        
    • DateRangeRefundPenalty: {
          applicableFromDate?: string;
          applicableToDate?: string;
          penalty: { amount: string; currencyCode: string };
      }

      Contains the date range up to which a penalty is applicable, including the total cost of the penalty.

      • OptionalapplicableFromDate?: string

        Format: date-time

        The date from when the penalty becomes applicable, in ISO 8601 format.

        2024-07-07T16:00:00Z
        
      • OptionalapplicableToDate?: string

        Format: date-time

        The date when the penalty applicability ends, in ISO 8601 format.

        2024-07-09T16:00:00Z
        
      • penalty: { amount: string; currencyCode: string }
        • amount: string

          The monetary amount.

          100.00
          
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
    • DocumentSubTypeEnum: "RUC" | "CUIT/CUIL" | "NIT"

      Identifies the passenger document subtype for documentType set to FISCAL_ID. Can be RUC (Taxpayer's Unique Registry in Ecuador), CUIT/CUIL (Argentina Unique Tax Identification Key), or NIT (Tax Identification Number in Bolivia).

      RUC
      @enum {string}
    • DocumentTypeEnum:
          | "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"

      Identifies the type of passenger document.

    • ElectronicMiscellaneousDocumentTypeEnum:
          | "ETICKET"
          | "STANDALONE"
          | "FLIGHT_COUPON_ASSOCIATED"
          | "STANDALONE_TICKET_ASSOCIATED"
          | "OTHER_THAN_EMD"

      Identifies the type of Electronic Miscellaneous Document (EMD) or other document that must be issued for the selected subcode.

      FLIGHT_COUPON_ASSOCIATED
      @enum {string}
    • EmailContacts: { emails?: string[] }

      Contains generic contact information.

      • Optionalemails?: string[]

        Lists email addresses of travelers or vendors.

    • Endorsements: { description?: string; useOverride?: boolean }

      Contains information that may be used to replace the ticket endorsement text stored during pricing.

      • Optionaldescription?: string

        The original text for the endorsements field.

        REF AGY ONLY
        
      • OptionaluseOverride?: boolean

        If true, overrides all pre-programmed endorsements and prints special endorsements of the fare.

        true
        
    • Error: {
          category: string;
          description?: string;
          fieldName?: string;
          fieldPath?: string;
          fieldValue?: string;
          type: string;
      }

      Contains error information.

      • category: string

        The category of the error.

        BAD_REQUEST
        
      • Optionaldescription?: string

        The detailed description of the error.

        may not be null
        
      • OptionalfieldName?: string

        The field name of the request if the error is related to a specific request/response field.

        someName
        
      • OptionalfieldPath?: string

        The field path of the request if the error is related to a specific request/response field.

        someObject.someFieldName
        
      • OptionalfieldValue?: string

        The field value of the request if the error is related to a specific request/response field.

        field value
        
      • type: string

        The type of the error.

        REQUIRED_FIELD_MISSING
        
    • ExtraFeatures: { returnEmptySeatObjects: boolean } & {
          returnFiscalId: boolean;
          returnFrequentRenter: boolean;
          returnWalletFormsOfPayment: boolean;
      } & Record<string, never>

      Contains a set of additional features whose usage requires explicit indication to maintain backward compatibility. These functionalities will be seamlessly incorporated into a future major version of this API.

    • Fare: {
          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: string; currencyCode: string };
              brandAttributes?: { description?: string; itemId?: string }[];
              brandFareCode?: string;
              brandFareName?: string;
              brandProgramCode?: string;
              brandProgramName?: string;
              checkedBaggageAllowance?: {
                  baggagePieces?: {
                      fee?: { amount: string; currencyCode: string };
                      isCheckInOnly?: boolean;
                      maximumSizeInCentimeters?: number;
                      maximumSizeInInches?: number;
                      maximumWeightInKilograms?: number;
                      maximumWeightInPounds?: number;
                      numberOfPieces: number;
                      specialItemDescription?: string;
                  }[];
                  maximumPieces?: number;
                  totalWeightInKilograms?: number;
                  totalWeightInPounds?: number;
              };
              fareBasisCode?: string;
              flightIndices?: number[];
              flights?: { itemId: string }[];
              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: string; currencyCode: string };
              taxCode?: string;
          }[];
          totals?: {
              currencyCode: string;
              fees?: string;
              subtotal?: string;
              taxes?: string;
              total: string;
          };
          tourCode?: string;
          travelerIndices?: number[];
      }

      Contains construction details of a specific fare.

      • OptionalairlineCode?: string

        The two-letter IATA designator code of the airline that validated the fare.

        AA
        
      • Optionalcommission?: {
            commissionAmount?: string;
            commissionPercentage?: string;
            currencyCode?: string;
        }
        • OptionalcommissionAmount?: string

          The commission amount included in the fare or applied during ticketing.

          25.00
          
        • OptionalcommissionPercentage?: string

          The commission percentage included in the fare or applied during ticketing.

          5.00
          
        • OptionalcurrencyCode?: string

          The three letters ISO 4217 currency code.

          USD
          
      • OptionalcreationDetails?: {
            agencyIataNumber?: string;
            creationDate?: string;
            creationTime?: string;
            creationUserSine?: string;
            primeHostId?: string;
            purchaseDeadlineDate?: string;
            purchaseDeadlineTime?: string;
            userHomePcc?: string;
            userWorkPcc?: string;
        }
        • OptionalagencyIataNumber?: string

          A unique identifier accredited by the International Air Transport Association (IATA).

          99119911
          
        • OptionalcreationDate?: string

          Format: date

          The date in YYYY-MM-DD format when the booking was created.

          2024-01-09
          
        • OptionalcreationTime?: string

          The time in HH:MM format when the booking was created. Not supported for NDC bookings.

          15:00
          
        • OptionalcreationUserSine?: string

          The sine of the Employee Profile Record that created the booking. Not supported for NDC bookings.

          A12
          
        • OptionalprimeHostId?: string

          The identification code for the prime host (global distribution system) associated with the reservation.

          1S
          
        • OptionalpurchaseDeadlineDate?: string

          Format: date

          The date in the YYYY-MM-DD format by which the stored fare must be ticketed.

          2024-01-09
          
        • OptionalpurchaseDeadlineTime?: string

          The time in the HH:MM format by which the stored fare must be ticketed.

          15:00
          
        • OptionaluserHomePcc?: string

          The pseudo city code of the agent who created the booking.

          CD34
          
        • OptionaluserWorkPcc?: string

          The pseudo city code where the booking was created.

          AB12
          
      • OptionalfareCalculationLine?: string

        Coded fare construction information. Not supported for NDC.

        BUE AA DFW Q430.00 5740.00NUC6170.00END ROE1.00 XT175.50TQ175.50QO315.90US96.50YC122.90XY69.50XA
        
      • OptionalfareConstruction?: {
            baseRate?: { amount: string; currencyCode: string };
            brandAttributes?: { description?: string; itemId?: string }[];
            brandFareCode?: string;
            brandFareName?: string;
            brandProgramCode?: string;
            brandProgramName?: string;
            checkedBaggageAllowance?: {
                baggagePieces?: {
                    fee?: { amount: string; currencyCode: string };
                    isCheckInOnly?: boolean;
                    maximumSizeInCentimeters?: number;
                    maximumSizeInInches?: number;
                    maximumWeightInKilograms?: number;
                    maximumWeightInPounds?: number;
                    numberOfPieces: number;
                    specialItemDescription?: string;
                }[];
                maximumPieces?: number;
                totalWeightInKilograms?: number;
                totalWeightInPounds?: number;
            };
            fareBasisCode?: string;
            flightIndices?: number[];
            flights?: { itemId: string }[];
            isCurrentItinerary?: boolean;
        }[]

        Lists the components used to construct the fare.

      • hasValidPricing: boolean

        If true, the fare pricing is valid for the agency. If false, the agency's local date exceeds the purchase date.

        true
        
        false
        
      • OptionalisNegotiatedFare?: boolean

        If true, the fare used for pricing is negotiated. If false, the fare used for pricing is public.

        true
        
      • OptionalpricedTravelerType?: string

        The type code of the traveler returned in the pricing response and stored in the price quote.

        C08
        
      • OptionalpricingStatusCode?: "A" | "H"
      • OptionalpricingStatusName?: "Active" | "History"
      • OptionalpricingTypeCode?: "S" | "A" | "M"
      • OptionalpricingTypeName?: "Unknown" | "System" | "Amended" | "Manual"
      • OptionalrecordId?: string

        The ID of the fare source.

        12
        
      • OptionalrecordTypeCode?: string

        The code describing the source of the fare.

        PQ
        
      • OptionalrecordTypeName?: string

        The name describing the source of the fare.

        Price Quote
        
      • OptionalrequestedTravelerType?: string

        The type code of the traveler requested when pricing the fare.

        C08
        
      • OptionaltaxBreakdown?: { taxAmount?: { amount: string; currencyCode: string }; taxCode?: string }[]

        Lists the taxes applied to the fare.

      • Optionaltotals?: {
            currencyCode: string;
            fees?: string;
            subtotal?: string;
            taxes?: string;
            total: string;
        }
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
        • Optionalfees?: string

          The amount of all applicable fees.

          20.00
          
        • Optionalsubtotal?: string

          The subtotal before applying taxes and fees.

          100.00
          
        • Optionaltaxes?: string

          The amount of all taxes.

          8.00
          
        • total: string

          The total amount; the sum of the subtotal, taxes, and fees.

          128.00
          
      • OptionaltourCode?: string

        The tour code applied to price the fare.

        123456789ABCDE
        
      • OptionaltravelerIndices?: number[]

        Indicates to which travelers from the travelers list the fare belongs to. If the fare is applicable for all travelers, this list is not provided.

    • FareApplicationTypeEnum: "Single Traveler" | "All Travelers" | "Each Traveler"

      Identifies the association type of the accounting item, which indicates to whom the fare is applied. Can be Single Traveler (fare amount applied to a singular passenger whose details are provided in FormOfPayment), All Travelers (fare amount applied to all passengers together as a group), or Each Traveler (fare amount applied to individual passengers).

      Single Traveler
      @enum {string}
    • FareComponent: {
          baseRate?: { amount: string; currencyCode: string };
          brandAttributes?: { description?: string; itemId?: string }[];
          brandFareCode?: string;
          brandFareName?: string;
          brandProgramCode?: string;
          brandProgramName?: string;
          checkedBaggageAllowance?: {
              baggagePieces?: {
                  fee?: { amount: string; currencyCode: string };
                  isCheckInOnly?: boolean;
                  maximumSizeInCentimeters?: number;
                  maximumSizeInInches?: number;
                  maximumWeightInKilograms?: number;
                  maximumWeightInPounds?: number;
                  numberOfPieces: number;
                  specialItemDescription?: string;
              }[];
              maximumPieces?: number;
              totalWeightInKilograms?: number;
              totalWeightInPounds?: number;
          };
          fareBasisCode?: string;
          flightIndices?: number[];
          flights?: { itemId: string }[];
          isCurrentItinerary?: boolean;
      }

      Contains details of a specific fare component.

      • OptionalbaseRate?: { amount: string; currencyCode: string }
        • amount: string

          The monetary amount.

          100.00
          
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
      • OptionalbrandAttributes?: { description?: string; itemId?: string }[]

        Lists Branded Fare (Price Class) attributes from NDC offers.

      • OptionalbrandFareCode?: string

        The code of the Branded Fare.

        ECOFLEX
        
      • OptionalbrandFareName?: string

        The name of the Branded Fare.

        ECO FLEX
        
      • OptionalbrandProgramCode?: string

        The code of the program the Branded Fare belongs to.

        CFFLH
        
      • OptionalbrandProgramName?: string

        The name of the program the Branded Fare belongs to.

        LH BRANDED FARES INTERCONT
        
      • OptionalcheckedBaggageAllowance?: {
            baggagePieces?: {
                fee?: { amount: string; currencyCode: string };
                isCheckInOnly?: boolean;
                maximumSizeInCentimeters?: number;
                maximumSizeInInches?: number;
                maximumWeightInKilograms?: number;
                maximumWeightInPounds?: number;
                numberOfPieces: number;
                specialItemDescription?: string;
            }[];
            maximumPieces?: number;
            totalWeightInKilograms?: number;
            totalWeightInPounds?: number;
        }
        • OptionalbaggagePieces?: {
              fee?: { amount: string; currencyCode: string };
              isCheckInOnly?: boolean;
              maximumSizeInCentimeters?: number;
              maximumSizeInInches?: number;
              maximumWeightInKilograms?: number;
              maximumWeightInPounds?: number;
              numberOfPieces: number;
              specialItemDescription?: string;
          }[]

          Lists baggage allowance policies for each type of baggage.

        • OptionalmaximumPieces?: number

          Format: int32

          Maximum number of allowed baggage pieces.

          1
          
        • OptionaltotalWeightInKilograms?: number

          Format: int32

          Maximum summary weight of all allowed baggage measured in kilograms [kg].

          23
          
        • OptionaltotalWeightInPounds?: number

          Format: int32

          Maximum summary weight of all allowed baggage measured in pounds [lb].

          50
          
      • OptionalfareBasisCode?: string

        The fare basis code used for fare construction.

        ABCDE10
        
      • OptionalflightIndices?: number[]

        Lists the indices of flights within the current itinerary. If the fare component is associated with all flights, this list is not provided. This property will be deprecated in the future major version of this API. If you wish to check flight association, use the flights property within the FareComponent object.

      • Optionalflights?: { itemId: string }[]

        Lists flights referenced by flight itemId. Multiple flight IDs can be returned for a single fare component. If the fare component is associated with all flights or a different flight itinerary was used to create this fare component (verify isCurrentItinerary property), this list is not provided.

      • OptionalisCurrentItinerary?: boolean

        If true, the fare component was created for a flight present in the current itinerary. If false, the fare component is related to a flight which is no longer a part of the current itinerary. This may be the case, for example, after a schedule change.

        false
        
    • FareOffer: {
          cabinBaggageAllowance?: {
              baggagePieces?: {
                  fee?: { amount: string; currencyCode: string };
                  isCheckInOnly?: boolean;
                  maximumSizeInCentimeters?: number;
                  maximumSizeInInches?: number;
                  maximumWeightInKilograms?: number;
                  maximumWeightInPounds?: number;
                  numberOfPieces: number;
                  specialItemDescription?: string;
              }[];
              maximumPieces?: number;
              totalWeightInKilograms?: number;
              totalWeightInPounds?: number;
          };
          cabinBaggageCharges?: {
              fee?: { amount: string; currencyCode: string };
              isCheckInOnly?: boolean;
              maximumSizeInCentimeters?: number;
              maximumSizeInInches?: number;
              maximumWeightInKilograms?: number;
              maximumWeightInPounds?: number;
              numberOfPieces: number;
              specialItemDescription?: string;
          }[];
          checkedBaggageAllowance?: {
              baggagePieces?: {
                  fee?: { amount: string; currencyCode: string };
                  isCheckInOnly?: boolean;
                  maximumSizeInCentimeters?: number;
                  maximumSizeInInches?: number;
                  maximumWeightInKilograms?: number;
                  maximumWeightInPounds?: number;
                  numberOfPieces: number;
                  specialItemDescription?: string;
              }[];
              maximumPieces?: number;
              totalWeightInKilograms?: number;
              totalWeightInPounds?: number;
          };
          checkedBaggageCharges?: {
              fee?: { amount: string; currencyCode: string };
              isCheckInOnly?: boolean;
              maximumSizeInCentimeters?: number;
              maximumSizeInInches?: number;
              maximumWeightInKilograms?: number;
              maximumWeightInPounds?: number;
              numberOfPieces: number;
              specialItemDescription?: string;
          }[];
          flights?: { itemId: string }[];
          travelerIndices?: number[];
      }

      Contains ancillary offer for selected flights identified by itemId flight references and for selected travelers identified by indices in travelers list.

      • OptionalcabinBaggageAllowance?: {
            baggagePieces?: {
                fee?: { amount: string; currencyCode: string };
                isCheckInOnly?: boolean;
                maximumSizeInCentimeters?: number;
                maximumSizeInInches?: number;
                maximumWeightInKilograms?: number;
                maximumWeightInPounds?: number;
                numberOfPieces: number;
                specialItemDescription?: string;
            }[];
            maximumPieces?: number;
            totalWeightInKilograms?: number;
            totalWeightInPounds?: number;
        }
        • OptionalbaggagePieces?: {
              fee?: { amount: string; currencyCode: string };
              isCheckInOnly?: boolean;
              maximumSizeInCentimeters?: number;
              maximumSizeInInches?: number;
              maximumWeightInKilograms?: number;
              maximumWeightInPounds?: number;
              numberOfPieces: number;
              specialItemDescription?: string;
          }[]

          Lists baggage allowance policies for each type of baggage.

        • OptionalmaximumPieces?: number

          Format: int32

          Maximum number of allowed baggage pieces.

          1
          
        • OptionaltotalWeightInKilograms?: number

          Format: int32

          Maximum summary weight of all allowed baggage measured in kilograms [kg].

          23
          
        • OptionaltotalWeightInPounds?: number

          Format: int32

          Maximum summary weight of all allowed baggage measured in pounds [lb].

          50
          
      • OptionalcabinBaggageCharges?: {
            fee?: { amount: string; currencyCode: string };
            isCheckInOnly?: boolean;
            maximumSizeInCentimeters?: number;
            maximumSizeInInches?: number;
            maximumWeightInKilograms?: number;
            maximumWeightInPounds?: number;
            numberOfPieces: number;
            specialItemDescription?: string;
        }[]

        Lists cabin baggage (carry-on) policies and service fees.

      • OptionalcheckedBaggageAllowance?: {
            baggagePieces?: {
                fee?: { amount: string; currencyCode: string };
                isCheckInOnly?: boolean;
                maximumSizeInCentimeters?: number;
                maximumSizeInInches?: number;
                maximumWeightInKilograms?: number;
                maximumWeightInPounds?: number;
                numberOfPieces: number;
                specialItemDescription?: string;
            }[];
            maximumPieces?: number;
            totalWeightInKilograms?: number;
            totalWeightInPounds?: number;
        }
        • OptionalbaggagePieces?: {
              fee?: { amount: string; currencyCode: string };
              isCheckInOnly?: boolean;
              maximumSizeInCentimeters?: number;
              maximumSizeInInches?: number;
              maximumWeightInKilograms?: number;
              maximumWeightInPounds?: number;
              numberOfPieces: number;
              specialItemDescription?: string;
          }[]

          Lists baggage allowance policies for each type of baggage.

        • OptionalmaximumPieces?: number

          Format: int32

          Maximum number of allowed baggage pieces.

          1
          
        • OptionaltotalWeightInKilograms?: number

          Format: int32

          Maximum summary weight of all allowed baggage measured in kilograms [kg].

          23
          
        • OptionaltotalWeightInPounds?: number

          Format: int32

          Maximum summary weight of all allowed baggage measured in pounds [lb].

          50
          
      • OptionalcheckedBaggageCharges?: {
            fee?: { amount: string; currencyCode: string };
            isCheckInOnly?: boolean;
            maximumSizeInCentimeters?: number;
            maximumSizeInInches?: number;
            maximumWeightInKilograms?: number;
            maximumWeightInPounds?: number;
            numberOfPieces: number;
            specialItemDescription?: string;
        }[]

        Lists checked baggage policies and service fees.

      • Optionalflights?: { itemId: string }[]

        Lists flights referenced by flight itemId. If the offer is valid for all flights, this list is not provided.

      • OptionaltravelerIndices?: number[]

        Indicates to which travelers from the travelers list the ancillary offer belongs to. If the offer is valid for all travelers, this list is not provided.

    • FareRule: {
          destinationAirportCode?: string;
          exchangePenalties?: {
              applicability: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
              conditionsApply: boolean;
              penalty: { amount: string; currencyCode: string };
          }[];
          isChangeable?: boolean;
          isRefundable?: boolean;
          originAirportCode?: string;
          owningAirlineCode: string;
          passengerCode?: string;
          refundPenalties?: {
              applicability: "BEFORE_DEPARTURE"
              | "AFTER_DEPARTURE";
              conditionsApply: boolean;
              penalty: { amount: string; currencyCode: string };
          }[];
      }

      Contains eligibility requirements and travel restrictions for a flight.

      • OptionaldestinationAirportCode?: string

        The three-letter IATA airport code of the destination airport.

        ATL
        
      • OptionalexchangePenalties?: {
            applicability: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
            conditionsApply: boolean;
            penalty: { amount: string; currencyCode: string };
        }[]

        Lists the conditions and payments for fare exchanges. Fare differences maybe added.

      • OptionalisChangeable?: boolean

        If true, the fare can be exchanged with or without additional cost. Refer to the exchangePenalties array for more information.

        true
        
      • OptionalisRefundable?: boolean

        If true, the fare can be refunded in total or in segments. Refer to the refundPenalties array for more information.

        true
        
      • OptionaloriginAirportCode?: string

        The three-letter IATA airport code of the origin airport.

        DFW
        
      • owningAirlineCode: string

        The two-letter IATA designator code of the airline that owns the fare rule.

        AA
        
      • OptionalpassengerCode?: string

        The ATPCO code of the passenger type. Applicable travelers are identified by the passenger type code.

        ADT
        
      • OptionalrefundPenalties?: {
            applicability: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
            conditionsApply: boolean;
            penalty: { amount: string; currencyCode: string };
        }[]

        Lists conditions and payments for fare refunds.

    • FareRulePenalty: {
          applicability: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
          conditionsApply: boolean;
          penalty: { amount: string; currencyCode: string };
      }

      Contains penalty information applied to specific fare rules.

      • applicability: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE"
      • conditionsApply: boolean

        If true, additional restrictions apply.

        false
        
        false
        
      • penalty: { amount: string; currencyCode: string }
        • amount: string

          The monetary amount.

          100.00
          
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
    • FareRulePenaltyApplicabilityEnum: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE"

      Identifies the applicability type associated with a particular fare rule penalty.

      BEFORE_DEPARTURE
      @enum {string}
    • FareRuleRestrictionEnum: "CHANGEABLE" | "REFUNDABLE" | "CHANGEABLE_AND_REFUNDABLE"

      Identifies the fare restriction type.

      CHANGEABLE
      @enum {string}
    • Flight: { 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?: string;
              aircraftTypeName?: string;
              airportCode?: string;
              arrivalDate?: string;
              arrivalTime?: string;
              departureDate?: string;
              departureTime?: string;
              durationInMinutes?: number;
          }[];
          identityDocuments?: {
              itemId?: string;
              status?: | "Unknown"
              | "Confirmed"
              | "On Request"
              | "Pending"
              | "Cancelled"
              | "Unconfirmed"
              | "Waitlisted"
              | "Infant/No Seat"
              | "Priority Waitlist"
              | "Quote"
              | "Space Available"
              | "Pending Quote"
              | "No Seat"
              | "Standby";
          }[];
          isPast?: boolean;
          meals?: {
              code: string;
              description: | "Meal"
              | "Alcoholic beverages for purchase"
              | "Breakfast"
              | "Cold meal"
              | "Complimentary alcoholic beverages"
              | "Continental breakfast"
              | "Dinner"
              | "Food for purchase"
              | "Food and beverage for purchase"
              | "Hot meal"
              | "Lunch"
              | "No meal service"
              | "Refreshment"
              | "Refreshment for purchase"
              | "Snack";
          }[];
          numberOfSeats?: number;
          operatingAirlineCode?: string;
          operatingAirlineName?: string;
          operatingFlightNumber?: number;
          seats?: {
              characteristics?: string[];
              number: 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";
          }[];
          sourceType?: "NDC"
          | "LCC"
          | "ATPCO";
          toAirportCode: string;
          travelerIndices?: number[];
          updatedArrivalDate?: string;
          updatedArrivalTime?: string;
          updatedDepartureDate?: string;
          updatedDepartureTime?: string;
      }

      Contains flight information, identified by itemId, for the given booking.

    • FlightApplicabilityTypeEnum: "Unknown" | "Single" | "Multiple"

      Identifies the applicability of the ancillary item to the flights in the booking. Can be Single (an ancillary item applies to a single flight/sector of the booking), Multiple (an ancillary item applies to the portion of flights in the booking), or Unknown (applicability of the ancillary cannot be determined). This information is required when electronicMiscellaneousDocumentType has the value OTHER_THAN_EMD.

      Unknown
      
      Single
      @enum {string}
    • FlightCoupon: { 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?: string;
              aircraftTypeName?: string;
              airportCode?: string;
              arrivalDate?: string;
              arrivalTime?: string;
              departureDate?: string;
              departureTime?: string;
              durationInMinutes?: number;
          }[];
          identityDocuments?: {
              itemId?: string;
              status?: | "Unknown"
              | "Confirmed"
              | "On Request"
              | "Pending"
              | "Cancelled"
              | "Unconfirmed"
              | "Waitlisted"
              | "Infant/No Seat"
              | "Priority Waitlist"
              | "Quote"
              | "Space Available"
              | "Pending Quote"
              | "No Seat"
              | "Standby";
          }[];
          isPast?: boolean;
          meals?: {
              code: string;
              description: | "Meal"
              | "Alcoholic beverages for purchase"
              | "Breakfast"
              | "Cold meal"
              | "Complimentary alcoholic beverages"
              | "Continental breakfast"
              | "Dinner"
              | "Food for purchase"
              | "Food and beverage for purchase"
              | "Hot meal"
              | "Lunch"
              | "No meal service"
              | "Refreshment"
              | "Refreshment for purchase"
              | "Snack";
          }[];
          numberOfSeats?: number;
          operatingAirlineCode?: string;
          operatingAirlineName?: string;
          operatingFlightNumber?: number;
          seats?: {
              characteristics?: string[];
              number: 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";
          }[];
          sourceType?: "NDC"
          | "LCC"
          | "ATPCO";
          toAirportCode: string;
          travelerIndices?: number[];
          updatedArrivalDate?: string;
          updatedArrivalTime?: string;
          updatedDepartureDate?: string;
          updatedDepartureTime?: string;
      } & {
          couponStatus: | "Airport Control"
          | "Lifted"
          | "Checked In"
          | "Exchanged"
          | "Flown"
          | "Not Flown"
          | "Refunded"
          | "Voided"
          | "Printed"
          | "Okay"
          | "Reactivated"
          | "Irregular Operations"
          | "Print Exchange"
          | "Paper Ticket"
          | "Suspended"
          | "Locked";
          couponStatusCode: | "AL"
          | "PE"
          | "XX"
          | "S"
          | "P"
          | "B"
          | "E"
          | "BD"
          | "CK"
          | "I"
          | "RF"
          | "V"
          | "PR"
          | "IO"
          | "T";
      }

      Contains coupon information of the corresponding flight for the given booking.

    • 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: string[]; forceAccountCodes?: boolean };
                  adjustedSellingLevel?: {
                      ignore?: boolean;
                      markDownAmount?: string;
                      markUpAmount?: string;
                      returnBreakdown?: boolean;
                  };
                  baggageAllowance?: {
                      baggagePieces?: number;
                      flightIndices?: number[];
                      totalWeightInKilograms?: number;
                  }[];
                  brandedFares?: { brandCode: string; flightIndices?: number[] }[];
                  breakFareFlightIndices?: number[];
                  cabinCode?: string;
                  commissionContractNames?: string[];
                  considerMultiTicket?: boolean;
                  corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                  currencyPricing?: string;
                  exchangePenalties?: {
                      applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                      penaltyAmount?: { amount?: string };
                      restrictionType:
                          | "CHANGEABLE"
                          | "REFUNDABLE"
                          | "CHANGEABLE_AND_REFUNDABLE";
                  };
                  excludeBasicEconomyFares?: string[];
                  exemptTaxes?: string[];
                  flightIndices?: number[];
                  forceConnectionFlightIndices?: number[];
                  forceStopoverFlightIndices?: number[];
                  hemisphereCode?: number;
                  journeyCode?: number;
                  netRemit?: {
                      cashValue?: { amount: string; currencyCode: string };
                      commercialAgreementReferenceCode?: string;
                      creditValue?: { amount: string; currencyCode: string };
                      netRemitCode?: string;
                  };
                  overrideTaxes?: { amount: string; taxCode: string }[];
                  passengersPricing?: {
                      forcePassengerCode?: boolean;
                      numberOfpassengers?: number;
                      passengerCode?: string;
                  }[];
                  passengerStatus?: "RESIDENT"
                  | "NATIONALITY"
                  | "EMPLOYEE";
                  passengerStatusCountryCode?: string;
                  payment?: {
                      amountOnSecondFormOfPayment?: string;
                      primaryFormOfPayment: number;
                      secondaryFormOfPayment?: number;
                  };
                  priceWithTaxes: boolean;
                  rebookLowestFares?: boolean;
                  retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                  settlementMethod?: string;
                  sideTripFlightIndices?: number[];
                  spanishIslandResidentDiscountCode?: string;
                  spanishLargeFamilyDiscountLevel?: number;
                  specificFares?: { fareBasisCode: string; flightIndices?: number[] }[];
                  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?: (
                      | "AISLE"
                      | "BULKHEAD"
                      | "FRONT"
                      | "LEFT_SIDE"
                      | "RIGHT_SIDE"
                      | "TAIL"
                      | "WINDOW"
                  )[];
                  number?: string;
                  travelerIndex: number;
              }[];
              source?: "LCC"
              | "ATPCO";
              toAirportCode: string;
          }[];
          haltOnFlightStatusCodes?: (
              "US"
              | "NO"
              | "NN"
              | "UC"
              | "UN"
              | "UU"
              | "LL"
              | "HL"
          )[];
          retryBookingUnconfirmedFlights?: boolean;
      }

      Contains details of all flights to book.

      • OptionalflightPricing?: {
            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: string[]; forceAccountCodes?: boolean };
                adjustedSellingLevel?: {
                    ignore?: boolean;
                    markDownAmount?: string;
                    markUpAmount?: string;
                    returnBreakdown?: boolean;
                };
                baggageAllowance?: {
                    baggagePieces?: number;
                    flightIndices?: number[];
                    totalWeightInKilograms?: number;
                }[];
                brandedFares?: { brandCode: string; flightIndices?: number[] }[];
                breakFareFlightIndices?: number[];
                cabinCode?: string;
                commissionContractNames?: string[];
                considerMultiTicket?: boolean;
                corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                currencyPricing?: string;
                exchangePenalties?: {
                    applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                    penaltyAmount?: { amount?: string };
                    restrictionType:
                        | "CHANGEABLE"
                        | "REFUNDABLE"
                        | "CHANGEABLE_AND_REFUNDABLE";
                };
                excludeBasicEconomyFares?: string[];
                exemptTaxes?: string[];
                flightIndices?: number[];
                forceConnectionFlightIndices?: number[];
                forceStopoverFlightIndices?: number[];
                hemisphereCode?: number;
                journeyCode?: number;
                netRemit?: {
                    cashValue?: { amount: string; currencyCode: string };
                    commercialAgreementReferenceCode?: string;
                    creditValue?: { amount: string; currencyCode: string };
                    netRemitCode?: string;
                };
                overrideTaxes?: { amount: string; taxCode: string }[];
                passengersPricing?: {
                    forcePassengerCode?: boolean;
                    numberOfpassengers?: number;
                    passengerCode?: string;
                }[];
                passengerStatus?: "RESIDENT"
                | "NATIONALITY"
                | "EMPLOYEE";
                passengerStatusCountryCode?: string;
                payment?: {
                    amountOnSecondFormOfPayment?: string;
                    primaryFormOfPayment: number;
                    secondaryFormOfPayment?: number;
                };
                priceWithTaxes: boolean;
                rebookLowestFares?: boolean;
                retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                settlementMethod?: string;
                sideTripFlightIndices?: number[];
                spanishIslandResidentDiscountCode?: string;
                spanishLargeFamilyDiscountLevel?: number;
                specificFares?: { fareBasisCode: string; flightIndices?: number[] }[];
                useExcursionFare?: boolean;
                useNetFare?: boolean;
                usePrivateFare?: boolean;
                usePublicFare?: boolean;
                useRoundTheWorldFare?: boolean;
            };
        }[]

        Contains pricing qualifiers. If you wish to assign different mark-ups or commissions per specific passenger type, you can send separate pricing instructions per each type.

      • Optionalflights?: {
            airlineCode: string;
            arrivalDate?: string;
            arrivalTime?: string;
            bookingClass: string;
            confirmationId?: string;
            departureDate: string;
            departureTime: string;
            flightNumber: number;
            flightStatusCode: string;
            fromAirportCode: string;
            isMarriageGroup?: boolean;
            seats?: {
                areaPreferences?: (
                    | "AISLE"
                    | "BULKHEAD"
                    | "FRONT"
                    | "LEFT_SIDE"
                    | "RIGHT_SIDE"
                    | "TAIL"
                    | "WINDOW"
                )[];
                number?: string;
                travelerIndex: number;
            }[];
            source?: "LCC"
            | "ATPCO";
            toAirportCode: string;
        }[]

        Lists individual flights to book.

      • OptionalhaltOnFlightStatusCodes?: ("US" | "NO" | "NN" | "UC" | "UN" | "UU" | "LL" | "HL")[]

        Lists optional flight status codes considered unacceptable. The system will stop processing upon encountering an unacceptable status code within a booked flight. If no status codes are provided, the system will automatically stop processing when encountering NO, UC, US, UN, UU, LL, or HL.

      • OptionalretryBookingUnconfirmedFlights?: boolean

        If true, the system will attempt to rebook unconfirmed flights. If any of the booked flights returns an unacceptable status code (as defined by HaltOnFlightStatusCodeEnum), the system will cancel them and rebook them in the lowest available fare. If the status codes remain unacceptable after the process has completed, the system will stop processing and return an error message. retryBookingUnconfirmedFlights may result in a price increase.

        true
        
    • FlightItem: {
          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?: string;
              aircraftTypeName?: string;
              airportCode?: string;
              arrivalDate?: string;
              arrivalTime?: string;
              departureDate?: string;
              departureTime?: string;
              durationInMinutes?: number;
          }[];
          identityDocuments?: {
              itemId?: string;
              status?: | "Unknown"
              | "Confirmed"
              | "On Request"
              | "Pending"
              | "Cancelled"
              | "Unconfirmed"
              | "Waitlisted"
              | "Infant/No Seat"
              | "Priority Waitlist"
              | "Quote"
              | "Space Available"
              | "Pending Quote"
              | "No Seat"
              | "Standby";
          }[];
          isPast?: boolean;
          meals?: {
              code: string;
              description: | "Meal"
              | "Alcoholic beverages for purchase"
              | "Breakfast"
              | "Cold meal"
              | "Complimentary alcoholic beverages"
              | "Continental breakfast"
              | "Dinner"
              | "Food for purchase"
              | "Food and beverage for purchase"
              | "Hot meal"
              | "Lunch"
              | "No meal service"
              | "Refreshment"
              | "Refreshment for purchase"
              | "Snack";
          }[];
          numberOfSeats?: number;
          operatingAirlineCode?: string;
          operatingAirlineName?: string;
          operatingFlightNumber?: number;
          seats?: {
              characteristics?: string[];
              number: 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";
          }[];
          sourceType?: "NDC"
          | "LCC"
          | "ATPCO";
          toAirportCode: string;
          travelerIndices?: number[];
          updatedArrivalDate?: string;
          updatedArrivalTime?: string;
          updatedDepartureDate?: string;
          updatedDepartureTime?: string;
      }

      Contains flight information for the given booking.

      • OptionalaircraftTypeCode?: string

        The IATA code of the aircraft.

        E90
        
      • OptionalaircraftTypeName?: string

        The name of the aircraft model.

        EMBRAER EMB E90
        
      • airlineCode: string

        The two-letter IATA designator code of the marketing airline.

        AA
        
      • OptionalairlineName?: string

        The name of the marketing airline.

        AMERICAN AIRLINES
        
      • arrivalDate: string

        Format: date

        The scheduled arrival date in YYYY-MM-DD format in the airport's time zone.

        2024-07-09
        
      • OptionalarrivalGate?: string

        The arrival gate's number.

        1
        
      • OptionalarrivalTerminalName?: string

        The arrival terminal name.

        Terminal 1
        
      • arrivalTime: string

        The scheduled time of arrival in HH:MM format.

        12:28
        
      • OptionalbookingClass?: string

        The booking inventory code of the marketing airline.

        Y
        
      • OptionalcabinTypeCode?: string

        The cabin type code.

        C
        
      • OptionalcabinTypeName?: string

        The type of aircraft cabin. The name used is specific to the airline carrier's naming convention.

        Coach
        
      • OptionalconfirmationId?: string

        The booking reference ID in the carrier's system. For example, this value would reflect the PNR Locator for American Airlines.

        NIEBNY
        
      • departureDate: string

        Format: date

        The scheduled departure date in YYYY-MM-DD format in the airport's time zone.

        2024-07-09
        
      • OptionaldepartureGate?: string

        The departure gate number.

        D
        
      • OptionaldepartureTerminalName?: string

        The departure terminal name.

        Terminal D
        
      • departureTime: string

        The scheduled time of departure in HH:MM format.

        09:15
        
      • OptionaldistanceInMiles?: number

        The flight distance in miles.

        5143
        
      • OptionaldurationInMinutes?: number

        Flight duration in minutes.

        590
        
      • flightNumber: number

        Format: int32

        The flight number associated with the marketing carrier.

        123
        
      • OptionalflightStatusCode?: string

        The two-letter status code used by vendors. It indicates the booking status.

        AF
        
      • OptionalflightStatusName?:
            | "Unknown"
            | "Confirmed"
            | "On Request"
            | "Pending"
            | "Cancelled"
            | "Unconfirmed"
            | "Waitlisted"
            | "Infant/No Seat"
            | "Priority Waitlist"
            | "Quote"
            | "Space Available"
            | "Pending Quote"
            | "No Seat"
            | "Standby"
      • fromAirportCode: string

        The three-letter IATA airport code of the origin airport.

        DFW
        
      • OptionalhiddenStopAircraftTypeCode?: string

        The IATA code of the aircraft. This property is not returned when the aircraft type is unchanged. This property will be deprecated in the future major version of this API. If you wish to check hidden stop information, use the hiddenStops list instead.

        E90
        
      • OptionalhiddenStopAircraftTypeName?: string

        The name of the aircraft model. This property is not returned when the aircraft type is unchanged. This property will be deprecated in the future major version of this API. If you wish to check hidden stop information, use the hiddenStops list instead.

        EMBRAER EMB E90
        
      • OptionalhiddenStopAirportCode?: string

        The three-letter IATA airport code of the hidden stop airport. This property is not returned when the aircraft type is unchanged. This property will be deprecated in the future major version of this API. If you wish to check hidden stop information, use the hiddenStops list instead.

        HAV
        
      • OptionalhiddenStopArrivalDate?: string

        Format: date

        The arrival date to the hidden stop airport in the YYYY-MM-DD format in the airport's time zone. This property is not returned when the aircraft type is unchanged. This property will be deprecated in the future major version of this API. If you wish to check hidden stop information, use the hiddenStops list instead.

        2024-07-09
        
      • OptionalhiddenStopArrivalTime?: string

        The time of arrival to the hidden stop airport in the HH:MM format. This property is not returned when the aircraft type is unchanged. This property will be deprecated in the future major version of this API. If you wish to check hidden stop information, use the hiddenStops list instead.

        09:15
        
      • OptionalhiddenStopDepartureDate?: string

        Format: date

        The departure date from the hidden stop airport in the YYYY-MM-DD format in the airport's time zone. This property is not returned when the aircraft type is unchanged. This property will be deprecated in the future major version of this API. If you wish to check hidden stop information, use the hiddenStops list instead.

        2024-07-09
        
      • OptionalhiddenStopDepartureTime?: string

        The time of departure from the hidden stop airport in the HH:MM format. This property is not returned when the aircraft type is unchanged. This property will be deprecated in the future major version of this API. If you wish to check hidden stop information, use the hiddenStops list instead.

        09:15
        
      • OptionalhiddenStops?: {
            aircraftTypeCode?: string;
            aircraftTypeName?: string;
            airportCode?: string;
            arrivalDate?: string;
            arrivalTime?: string;
            departureDate?: string;
            departureTime?: string;
            durationInMinutes?: number;
        }[]

        Lists details of hidden stops that are part of the flight.

      • OptionalidentityDocuments?: {
            itemId?: string;
            status?:
                | "Unknown"
                | "Confirmed"
                | "On Request"
                | "Pending"
                | "Cancelled"
                | "Unconfirmed"
                | "Waitlisted"
                | "Infant/No Seat"
                | "Priority Waitlist"
                | "Quote"
                | "Space Available"
                | "Pending Quote"
                | "No Seat"
                | "Standby";
        }[]

        Lists assigned identity documents with statuses for each flight.

      • OptionalisPast?: boolean

        If true, the current flight is past-dated.

        false
        
      • Optionalmeals?: {
            code: string;
            description:
                | "Meal"
                | "Alcoholic beverages for purchase"
                | "Breakfast"
                | "Cold meal"
                | "Complimentary alcoholic beverages"
                | "Continental breakfast"
                | "Dinner"
                | "Food for purchase"
                | "Food and beverage for purchase"
                | "Hot meal"
                | "Lunch"
                | "No meal service"
                | "Refreshment"
                | "Refreshment for purchase"
                | "Snack";
        }[]

        Lists the meal options provided on the flight.

      • OptionalnumberOfSeats?: number

        Format: int32

        The quantity of seats occupied by the travelers. Specific seat details, if applicable, are listed in the 'seats' array.

        1
        
      • OptionaloperatingAirlineCode?: string

        The two-letter IATA designator code of the operating airline.

        UA
        
      • OptionaloperatingAirlineName?: string

        The name of the operating airline.

        UNITED AIRLINES
        
      • OptionaloperatingFlightNumber?: number

        Format: int32

        The flight number associated with the operating carrier.

        321
        
      • Optionalseats?: {
            characteristics?: string[];
            number: 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";
        }[]

        Lists seats assigned to the travelers by matching the indices in the travelers array. Refer to the travelerIndices array to verify traveler association. An empty Seat object means that there is no seat assigned to the corresponding traveler.

      • OptionalsourceType?: "NDC" | "LCC" | "ATPCO"
      • toAirportCode: string

        The three-letter IATA airport code of the destination airport.

        HNL
        
      • OptionaltravelerIndices?: number[]

        Lists the travelers within the travelers list. Indicates which travelers are associated with a particular flight.

      • OptionalupdatedArrivalDate?: string

        Format: date

        The estimated (before arrival) or actual arrival date in YYYY-MM-DD format in the airport's time zone.

        2024-07-09
        
      • OptionalupdatedArrivalTime?: string

        The estimated (before arrival) or actual arrival time in HH:MM format.

        12:38
        
      • OptionalupdatedDepartureDate?: string

        Format: date

        The estimated (before departure) or actual departure date in YYYY-MM-DD format in the airport's time zone.

        2024-07-09
        
      • OptionalupdatedDepartureTime?: string

        The estimated (before departure) or actual departure time in HH:MM format.

        09:25
        
    • FlightOffer: { offerId: string; selectedOfferItems: string[] }

      Contains required and optional fields needed to make an NDC air booking.

      • offerId: string

        The unique identifier of the selected Offer (either a standard Offer or an a-la-carte Offer) returned in a shopping response.

        dx369rfr7jt8dnd2i0-1
        
      • selectedOfferItems: string[]

        The offerItem list selected by a specific traveler.

    • FlightReference: { itemId: string }

      Contains flight object reference by itemId.

      • itemId: string

        The ID of a flight.

        12
        
    • FlightReferenceCoupon: { itemId: string } & {
          couponStatus:
              | "Airport Control"
              | "Lifted"
              | "Checked In"
              | "Exchanged"
              | "Flown"
              | "Not Flown"
              | "Refunded"
              | "Voided"
              | "Printed"
              | "Okay"
              | "Reactivated"
              | "Irregular Operations"
              | "Print Exchange"
              | "Paper Ticket"
              | "Suspended"
              | "Locked";
          couponStatusCode: | "AL"
          | "PE"
          | "XX"
          | "S"
          | "P"
          | "B"
          | "E"
          | "BD"
          | "CK"
          | "I"
          | "RF"
          | "V"
          | "PR"
          | "IO"
          | "T";
      }

      Contains coupon information of the corresponding flight, identified by itemId, for the given booking.

    • FlightSourceEnum: "NDC" | "LCC" | "ATPCO"

      Identifies source type of the flight.

      NDC
      @enum {string}
    • FlightTicket: {
          agencyIataNumber?: string;
          airlineCode: string;
          allCoupons?: (
              {
                  couponStatus: | "Airport Control"
                  | "Lifted"
                  | "Checked In"
                  | "Exchanged"
                  | "Flown"
                  | "Not Flown"
                  | "Refunded"
                  | "Voided"
                  | "Printed"
                  | "Okay"
                  | "Reactivated"
                  | "Irregular Operations"
                  | "Print Exchange"
                  | "Paper Ticket"
                  | "Suspended"
                  | "Locked";
                  couponStatusCode: | "AL"
                  | "PE"
                  | "XX"
                  | "S"
                  | "P"
                  | "B"
                  | "E"
                  | "BD"
                  | "CK"
                  | "I"
                  | "RF"
                  | "V"
                  | "PR"
                  | "IO"
                  | "T";
              } & { itemId?: string }
          )[];
          commission?: {
              commissionAmount?: string;
              commissionPercentage?: string;
              currencyCode?: string;
          };
          date: string;
          flightCoupons: (
              { itemId: string } & {
                  couponStatus:
                      | "Airport Control"
                      | "Lifted"
                      | "Checked In"
                      | "Exchanged"
                      | "Flown"
                      | "Not Flown"
                      | "Refunded"
                      | "Voided"
                      | "Printed"
                      | "Okay"
                      | "Reactivated"
                      | "Irregular Operations"
                      | "Print Exchange"
                      | "Paper Ticket"
                      | "Suspended"
                      | "Locked";
                  couponStatusCode: | "AL"
                  | "PE"
                  | "XX"
                  | "S"
                  | "P"
                  | "B"
                  | "E"
                  | "BD"
                  | "CK"
                  | "I"
                  | "RF"
                  | "V"
                  | "PR"
                  | "IO"
                  | "T";
              }
          )[];
          number: string;
          payment: {
              currencyCode: string;
              fees?: string;
              subtotal?: string;
              taxes?: string;
              total: string;
          };
          ticketingPcc?: string;
          ticketStatusCode?: string;
          ticketStatusName?: "Voided"
          | "Issued"
          | "Refunded/Exchanged";
          travelerIndex: number;
      }

      Contains information about an electronic flight ticket or EMD issued for a traveler.

      • OptionalagencyIataNumber?: string

        The unique identifier of an IATA-accredited agency that issued the ticket.

        12344321
        
      • airlineCode: string

        The two-letter IATA designator code of the issuing airline.

        AA
        
      • OptionalallCoupons?: (
            {
                couponStatus: | "Airport Control"
                | "Lifted"
                | "Checked In"
                | "Exchanged"
                | "Flown"
                | "Not Flown"
                | "Refunded"
                | "Voided"
                | "Printed"
                | "Okay"
                | "Reactivated"
                | "Irregular Operations"
                | "Print Exchange"
                | "Paper Ticket"
                | "Suspended"
                | "Locked";
                couponStatusCode: | "AL"
                | "PE"
                | "XX"
                | "S"
                | "P"
                | "B"
                | "E"
                | "BD"
                | "CK"
                | "I"
                | "RF"
                | "V"
                | "PR"
                | "IO"
                | "T";
            } & { itemId?: string }
        )[]

        Lists all coupons of booked and ticketed flights. The corresponding flight itemId is provided if available. If a coupon cannot be associated with any flight present in the booking (e.g. due to schedule change), the itemId is hidden, however the coupon status details are still returned.

      • Optionalcommission?: {
            commissionAmount?: string;
            commissionPercentage?: string;
            currencyCode?: string;
        }
        • OptionalcommissionAmount?: string

          The commission amount included in the fare or applied during ticketing.

          25.00
          
        • OptionalcommissionPercentage?: string

          The commission percentage included in the fare or applied during ticketing.

          5.00
          
        • OptionalcurrencyCode?: string

          The three letters ISO 4217 currency code.

          USD
          
      • date: string

        Format: date

        The date the electronic flight ticket was issued in YYYY-MM-DD format.

        2024-07-01
        
      • flightCoupons: (
            { itemId: string } & {
                couponStatus:
                    | "Airport Control"
                    | "Lifted"
                    | "Checked In"
                    | "Exchanged"
                    | "Flown"
                    | "Not Flown"
                    | "Refunded"
                    | "Voided"
                    | "Printed"
                    | "Okay"
                    | "Reactivated"
                    | "Irregular Operations"
                    | "Print Exchange"
                    | "Paper Ticket"
                    | "Suspended"
                    | "Locked";
                couponStatusCode: | "AL"
                | "PE"
                | "XX"
                | "S"
                | "P"
                | "B"
                | "E"
                | "BD"
                | "CK"
                | "I"
                | "RF"
                | "V"
                | "PR"
                | "IO"
                | "T";
            }
        )[]

        Lists all coupons of booked and ticketed flights referenced by the flight itemId.

      • number: string

        The electronic flight ticket number.

        0167489825830
        
      • payment: {
            currencyCode: string;
            fees?: string;
            subtotal?: string;
            taxes?: string;
            total: string;
        }
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
        • Optionalfees?: string

          The amount of all applicable fees.

          20.00
          
        • Optionalsubtotal?: string

          The subtotal before applying taxes and fees.

          100.00
          
        • Optionaltaxes?: string

          The amount of all taxes.

          8.00
          
        • total: string

          The total amount; the sum of the subtotal, taxes, and fees.

          128.00
          
      • OptionalticketingPcc?: string

        The pseudo city code of the agency which issued the ticket or EMD.

        G7HE
        
      • OptionalticketStatusCode?: string

        The code of the ticket status.

        TE
        
      • OptionalticketStatusName?: "Voided" | "Issued" | "Refunded/Exchanged"
      • travelerIndex: number

        Format: int32

        Specifies the traveler from the travelers array whose name is associated with the ticket.

        1
        
    • FlightTicketOperationEnum: "VOID" | "REFUND"

      Identifies the policy for handling flight ticket operations within the Cancel Booking service.

      VOID
      @enum {string}
    • FlightToBook: {
          airlineCode: string;
          arrivalDate?: string;
          arrivalTime?: string;
          bookingClass: string;
          confirmationId?: string;
          departureDate: string;
          departureTime: string;
          flightNumber: number;
          flightStatusCode: string;
          fromAirportCode: string;
          isMarriageGroup?: boolean;
          seats?: {
              areaPreferences?: (
                  | "AISLE"
                  | "BULKHEAD"
                  | "FRONT"
                  | "LEFT_SIDE"
                  | "RIGHT_SIDE"
                  | "TAIL"
                  | "WINDOW"
              )[];
              number?: string;
              travelerIndex: number;
          }[];
          source?: "LCC"
          | "ATPCO";
          toAirportCode: string;
      }

      Contains flight information.

      • airlineCode: string

        The two-letter IATA designator code of the marketing airline.

        AA
        
      • OptionalarrivalDate?: string

        Format: date

        The arrival date in YYYY-MM-DD format in the airport's time zone. Used for the purpose of creating passive bookings.

        2024-07-09
        
      • OptionalarrivalTime?: string

        The time of arrival in HH:MM format. Used for the purpose of creating passive bookings.

        12:28
        
      • bookingClass: string

        The booking code.

        Y
        
      • OptionalconfirmationId?: string

        The booking reference ID. Populate this value if you made a booking directly with the airline and wish to build a Sabre passive booking.

        NIEBNY
        
      • departureDate: string

        Format: date

        The scheduled departure date in YYYY-MM-DD format in the airport's time zone.

        2024-07-09
        
      • departureTime: string

        The scheduled time of departure in HH:MM format.

        09:15
        
      • flightNumber: number

        Format: int32

        The flight number associated with the marketing carrier.

        123
        
      • flightStatusCode: string

        The desired status code for the booked flight. The default is NN.

        NN
        
      • fromAirportCode: string

        The three-letter IATA airport code of the origin airport.

        DFW
        
      • OptionalisMarriageGroup?: boolean

        If true, the flight segment is part of a married connection.

        false
        
      • Optionalseats?: {
            areaPreferences?: (
                | "AISLE"
                | "BULKHEAD"
                | "FRONT"
                | "LEFT_SIDE"
                | "RIGHT_SIDE"
                | "TAIL"
                | "WINDOW"
            )[];
            number?: string;
            travelerIndex: number;
        }[]

        Lists details of seats to book or preferred seating areas in the cabin.

      • Optionalsource?: "LCC" | "ATPCO"
      • toAirportCode: string

        The three-letter IATA airport code of the destination airport.

        HNL
        
    • FlightToBookSourceEnum: "LCC" | "ATPCO"

      Identifies the booking method for a flight. ATPCO is the traditional booking method. LCC is the instant purchase booking method common across low cost carriers such as U2 or FR. If not specified, defaults to ATPCO.

      ATPCO
      @enum {string}
    • FlightToModify: { seats?: { number: string; offerItemId?: string }[] }

      Contains flight details to modify for the given booking.

      • Optionalseats?: { number: string; offerItemId?: string }[]

        Lists seats assigned to the travelers by matching the indices in the travelers array. Providing a null value instead of a SeatToModify object indicates that there is no seat assigned to the corresponding traveler. To obtain full seat details for modification, we recommended sending a Get Booking call with the extra feature returnEmptySeatObjects parameter set to false.

    • FormOfPayment: {
          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 };
      }

      Contains details of a form of payment.

    • FormOfPaymentTripTypeEnum:
          | "All"
          | "Unknown"
          | "Corporate/Business"
          | "Leisure"
          | "Emergency"
          | "Family"
          | "Group"

      Identifies the trip type associated with the selected form of payment.

      Unknown
      @enum {string}
    • FormOfPaymentTypeEnum:
          | "INVOICE"
          | "CORPORATE"
          | "PAYMENTCARD"
          | "CASH"
          | "CHECK"
          | "MISCELLANEOUS"
          | "INSTALLMENTS"
          | "VIRTUAL_CARD"
          | "AGENCY_NAME"
          | "AGENCY_IATA"
          | "COMPANY_NAME"
          | "VOUCHER"
          | "DOCKET"
          | "GOVERNMENT_TRAVEL_REQUEST"

      Identifies the type of payment method. The MISCELLANEOUS payment method must be activated on the agency level and requires a specific payment credit code. INSTALLMENTS is used for BSP Brazil customers only and refers to payment by means of card installments commonly referred to as "parcelado". VIRTUAL_CARD, AGENCY_NAME, AGENCY_IATA, CORPORATE, COMPANY_NAME are used for hotel bookings. VOUCHER is used for vehicle booking.

      CHECK
      @enum {string}
    • FormOfPaymentUseTypeEnum:
          | "All"
          | "Other"
          | "Tour"
          | "Unknown"
          | "Ancillary"
          | "Hotel"
          | "Car"
          | "Cruise"
          | "Airline"
          | "Bus/Ground Transportation"
          | "Insurance"
          | "Low-Cost Carrier"
          | "Rail"
          | "Specialty Service"
          | "Interface Record"

      Identifies the use type associated with the selected form of payment.

      Unknown
      @enum {string}
    • FulfillBaggageAllowance: {
          baggagePieces?: number;
          flights?: { itemId: string }[];
          totalWeightInKilograms?: number;
      }

      Contains baggage allowance information (either its weight or the number of pieces) and associated flights.

      • OptionalbaggagePieces?: number

        Format: int32

        The total number of baggage pieces. Mutually exclusive with the totalWeightInKilograms property.

        1
        
      • Optionalflights?: { itemId: string }[]

        Lists flights associated with the brand code referenced by their itemId.

      • OptionaltotalWeightInKilograms?: number

        Format: int32

        The total weight of baggage measured in kilograms [kg]. Mutually exclusive with the baggagePieces property.

        23
        
    • FulfillBrandedFare: { brandCode: string; flights?: { itemId: string }[] }

      Contains a brand code to use for the ticketing operation.

      • brandCode: string

        The desired brand code.

        CP
        
      • Optionalflights?: { itemId: string }[]

        Lists flights associated with the brand code referenced by their itemId.

    • FulfillDocumentsEnum: "All" | "Invoice" | "Electronic Ticketing Receipt"

      Identifies the type of the document to print during the fulfillment process. Can be Invoice, Electronic Ticketing Receipt, or All (prints both the invoice and the electronic ticketing receipt).

      Invoice
      @enum {string}
    • FulfillErrorPolicyEnum: "ALLOW_PARTIAL_FULFILLMENT" | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"

      Identifies the type of error handling policy used by the Fulfill Flight Tickets service. Can be ALLOW_PARTIAL_FULFILLMENT (continues processing upon encountering any error from downline services during ticket issuance) or HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR (stops processing if the minimum connecting time between flights is not met).

      ALLOW_PARTIAL_FULFILLMENT
      
      ALLOW_PARTIAL_FULFILLMENT
      @enum {string}
    • FulfillFormOfPayment: {
          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;
      }

      Contains details of a form of payment.

    • FulfillFormOfPaymentTypeEnum:
          | "PAYMENTCARD"
          | "CASH"
          | "CHECK"
          | "MISCELLANEOUS"
          | "INSTALLMENTS"
          | "VIRTUAL_CARD"

      Identifies the type of the form of payment supported for fulfillment. Can be CASH, CHECK, PAYMENTCARD, VIRTUAL_CARD, MISCELLANEOUS (must be activated by the agency; requires a specific payment credit code), or INSTALLMENTS (applies only for BSP Brazil customers and refers to payment by means of card installments commonly referred to as "parcelado").

      CHECK
      @enum {string}
    • FulfillmentDetails: {
          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?: { itemId: string }[];
                  totalWeightInKilograms?: number;
              }[];
              brandedFares?: { brandCode: string; flights?: { itemId: string }[] }[];
              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?: "BEFORE_DEPARTURE"
                  | "AFTER_DEPARTURE";
                  isChangeable?: boolean;
                  maximumPenalty?: { amount: string; currencyCode: string };
                  type: "Changeable" | "Either or" | "Refundable";
              }[];
              priceQuoteRecordIds?: string[];
              priceWithTaxes: boolean;
              printDocuments?: "All"
              | "Invoice"
              | "Electronic Ticketing Receipt";
              returnFareFlexibilityDetails: boolean;
              sideTripFlights?: { itemId: string }[];
              spanishLargeFamilyDiscountLevel?: number;
              specificFares?: { fareBasisCode: string; flights?: { itemId: string }[] }[];
              validityDates?: {
                  endDate?: string;
                  flights?: { itemId: string }[];
                  startDate?: string;
              }[];
          };
      }

      Contains ticketing details related to a given document.

      • OptionalancillaryIds?: string[]

        Lists ancillaries referenced by itemId obtained from the Get Booking response for which Electronic Miscellaneous Document (EMD) issuance is needed.

      • Optionalpayment?: {
            amountOnSecondFormOfPayment?: string;
            primaryFormOfPayment: number;
            secondaryFormOfPayment?: number;
        }
        • OptionalamountOnSecondFormOfPayment?: string

          The desired base fare amount to charge to the second form of payment. Applicable only if two forms of payment are requested.

          100.00
          
        • primaryFormOfPayment: number

          Format: int32

          The index of the primary form of payment type in the formsOfPayment array.

          1
          
        • OptionalsecondaryFormOfPayment?: number

          Format: int32

          The index of the primary form of payment type in the formsOfPayment array.

          2
          
      • OptionalserviceFee?: {
            currencyCode?: string;
            customerReference?: string;
            description?: string;
            overrideAmount?: string;
        }
        • OptionalcurrencyCode?: string

          The three-letter ISO 4217 currency code.

          USD
          
        • OptionalcustomerReference?: string

          The reference to the customer.

          IBM997YYZ
          
        • Optionaldescription?: string

          The description of the service fee.

          AIR SERVICE FEE
          
        • OptionaloverrideAmount?: string

          The override amount of the service fee.

          100.00
          
      • OptionalticketingQualifiers?: {
            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?: { itemId: string }[];
                totalWeightInKilograms?: number;
            }[];
            brandedFares?: { brandCode: string; flights?: { itemId: string }[] }[];
            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?: "BEFORE_DEPARTURE"
                | "AFTER_DEPARTURE";
                isChangeable?: boolean;
                maximumPenalty?: { amount: string; currencyCode: string };
                type: "Changeable" | "Either or" | "Refundable";
            }[];
            priceQuoteRecordIds?: string[];
            priceWithTaxes: boolean;
            printDocuments?: "All"
            | "Invoice"
            | "Electronic Ticketing Receipt";
            returnFareFlexibilityDetails: boolean;
            sideTripFlights?: { itemId: string }[];
            spanishLargeFamilyDiscountLevel?: number;
            specificFares?: { fareBasisCode: string; flights?: { itemId: string }[] }[];
            validityDates?: {
                endDate?: string;
                flights?: { itemId: string }[];
                startDate?: string;
            }[];
        }
    • FulfillNetRemit: {
          cashAmount?: string;
          commercialAgreementReferenceCode?: string;
          creditAmount?: string;
          discountAmount?: string;
          netRemitCode?: string;
          sellingFareAmount?: string;
          tourCode?: string;
      }

      Contains the automated Net Remit ticketing qualifiers. Net Remit is used to arrange the payment of an additional commission above the standard commission amount. This extra commission is payable by the validating carrier through the BSP settlement cycle.

      • OptionalcashAmount?: string

        The cash amount of Net Remit.

        100.00
        
      • OptionalcommercialAgreementReferenceCode?: string

        The reference code used to indicate the Net Remit commercial contract.

        DEF456
        
      • OptionalcreditAmount?: string

        The credit amount of Net Remit.

        100.00
        
      • OptionaldiscountAmount?: string

        The amount of Net Remit discount.

        100.00
        
      • OptionalnetRemitCode?: string

        The value code used to enter a manual Net Remit code.

        ABCD123
        
      • OptionalsellingFareAmount?: string

        The monetary amount of the total selling fare.

        100.00
        
      • OptionaltourCode?: string

        The tour code to use during Net Remit ticketing.

        123456789ABCDE
        
    • FulfillQualifiers: {
          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?: { itemId: string }[];
              totalWeightInKilograms?: number;
          }[];
          brandedFares?: { brandCode: string; flights?: { itemId: string }[] }[];
          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?: "BEFORE_DEPARTURE"
              | "AFTER_DEPARTURE";
              isChangeable?: boolean;
              maximumPenalty?: { amount: string; currencyCode: string };
              type: "Changeable" | "Either or" | "Refundable";
          }[];
          priceQuoteRecordIds?: string[];
          priceWithTaxes: boolean;
          printDocuments?: "All"
          | "Invoice"
          | "Electronic Ticketing Receipt";
          returnFareFlexibilityDetails: boolean;
          sideTripFlights?: { itemId: string }[];
          spanishLargeFamilyDiscountLevel?: number;
          specificFares?: { fareBasisCode: string; flights?: { itemId: string }[] }[];
          validityDates?: {
              endDate?: string;
              flights?: { itemId: string }[];
              startDate?: string;
          }[];
      }

      Contains all optional ticketing qualifiers to use during the fulfillment process.

    • FulfillSpecificFare: { fareBasisCode: string; flights?: { itemId: string }[] }

      Contains a desired fare basis code with complete auto-pricing validation and associated flights.

      • fareBasisCode: string

        The fare basis code.

        ABCDE
        
      • Optionalflights?: { itemId: string }[]

        Lists flights associated with the brand code referenced by their itemId.

    • FulfillStrongCustomerAuthentication: { channelCode?: string }

      Contains strong customer authentication details for a payment card.

      • OptionalchannelCode?: string

        The channel in which a payment transaction was initiated. Can be MO (Mail Order) or TO (Telephone Order).

        MO
        
    • FulfillTicket: {
          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;
      }

      Contains information about an electronic flight ticket or EMD issued for a traveler.

      • date: string

        Format: date

        The date the electronic flight ticket was issued in YYYY-MM-DD format.

        2024-07-01
        
      • OptionalisCommitted?: boolean

        If true, the ticket number has been committed to the PNR. Applicable to ATPCO bookings only.

        false
        
      • number: string

        The electronic flight ticket number.

        0167489825830
        
      • payment: {
            currencyCode: string;
            fees?: string;
            subtotal?: string;
            taxes?: string;
            total: string;
        }
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
        • Optionalfees?: string

          The amount of all applicable fees.

          20.00
          
        • Optionalsubtotal?: string

          The subtotal before applying taxes and fees.

          100.00
          
        • Optionaltaxes?: string

          The amount of all taxes.

          8.00
          
        • total: string

          The total amount; the sum of the subtotal, taxes, and fees.

          128.00
          
      • OptionalticketingPcc?: string

        The pseudo city code of the agency which issued the ticket or EMD.

        G7HE
        
      • OptionalticketStatusCode?: string

        The code of the ticket status.

        TE
        
      • OptionalticketStatusName?: "Voided" | "Issued" | "Refunded/Exchanged"
      • OptionaltravelerGivenName?: string

        The traveler's first name.

        John
        
      • OptionaltravelerSurname?: string

        The traveler's last name.

        Smith
        
    • FulfillTicketsRequest: {
          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?: { itemId: string }[];
                      totalWeightInKilograms?: number;
                  }[];
                  brandedFares?: { brandCode: string; flights?: { itemId: string }[] }[];
                  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?: "BEFORE_DEPARTURE"
                      | "AFTER_DEPARTURE";
                      isChangeable?: boolean;
                      maximumPenalty?: { amount: string; currencyCode: string };
                      type: "Changeable" | "Either or" | "Refundable";
                  }[];
                  priceQuoteRecordIds?: string[];
                  priceWithTaxes: boolean;
                  printDocuments?: "All"
                  | "Invoice"
                  | "Electronic Ticketing Receipt";
                  returnFareFlexibilityDetails: boolean;
                  sideTripFlights?: { itemId: string }[];
                  spanishLargeFamilyDiscountLevel?: number;
                  specificFares?: { fareBasisCode: string; flights?: { itemId: string }[] }[];
                  validityDates?: {
                      endDate?: string;
                      flights?: { itemId: string }[];
                      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 }[];
      }

      Contains required and optional elements to fulfill tickets and EMDs.

      • acceptNegotiatedFare: boolean

        If true, uses the negotiated fare for ticketing when it is not possible to use the stored fare.

        true
        
        true
        
      • acceptPriceChanges: boolean

        If true, issues a ticket when the price increases during processing.

        true
        
        true
        
      • OptionalbackDatePriceQuoteMethod?: "Reprice" | "Override" | "Quit"
      • OptionalbookingSource?: "SABRE" | "SABRE_ORDER"
      • commitTicketToBookingWaitTime: number

        Format: int32

        The maximum wait time in milliseconds applied to asynchronous updates during the ghost ticket validation process, which is performed to check if the newly issued tickets have been committed to the face of the PNR.

        0
        
        3000
        
      • confirmationId: string

        The booking reference ID as shown in the source supplier/vendor system. For SABRE, this is the PNR Locator value.

        GLEBNY
        
      • OptionaldesignatePrinters?: {
            hardcopy?: { address?: string; spacing?: string };
            invoiceItinerary?: string;
            profileNumber?: number;
            ticket?: { address?: string; countryCode?: string };
        }[]

        Lists printers or a printer profile to designate. It is possible to provide a single PrinterAddress object with a printer profile. Alternatively, the array may contain multiple PrinterAddress objects, but each of them must have the same printer type definition.

      • OptionalerrorHandlingPolicy?: ("ALLOW_PARTIAL_FULFILLMENT" | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR")[]

        Lists the type of error handling policy used by the Fulfill Flight Tickets service.

      • OptionalformsOfPayment?: (
            {
                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;
            }
        )[]

        Lists the payment methods to use during the fulfillment process.

      • 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?: { itemId: string }[];
                    totalWeightInKilograms?: number;
                }[];
                brandedFares?: { brandCode: string; flights?: { itemId: string }[] }[];
                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?: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    isChangeable?: boolean;
                    maximumPenalty?: { amount: string; currencyCode: string };
                    type: "Changeable" | "Either or" | "Refundable";
                }[];
                priceQuoteRecordIds?: string[];
                priceWithTaxes: boolean;
                printDocuments?: "All"
                | "Invoice"
                | "Electronic Ticketing Receipt";
                returnFareFlexibilityDetails: boolean;
                sideTripFlights?: { itemId: string }[];
                spanishLargeFamilyDiscountLevel?: number;
                specificFares?: { fareBasisCode: string; flights?: { itemId: string }[] }[];
                validityDates?: {
                    endDate?: string;
                    flights?: { itemId: string }[];
                    startDate?: string;
                }[];
            };
        }[]

        Lists fulfillment details required to issue a document, such as a ticket or an EMD.

      • generateSingleInvoice: boolean

        If true, sends multiple tickets to commit to the PNR in a single batch after they have been issued.

        false
        
        true
        
      • OptionalnotificationEmail?:
            | "DEFAULT"
            | "INVOICE"
            | "ETICKET"
            | "ETICKET_PDF"
            | "ITINERARY"
            | "ITINERARY_PDF"
      • OptionalpriceQuoteExpirationMethod?: "Reprice" | "Override" | "Quit"
      • receivedFrom: string

        The entity that authorizes the changes in a Passenger Name Record.

        Fulfill Flight Tickets
        
        Booking Management API testing
        
      • retainAccounting: boolean

        If true, the service does not delete any existing accounting lines prior to ticketing.

        false
        
        true
        
      • OptionaltargetPcc?: string

        The pseudo city code of the target destination for which the ticket exchange is requested.

        G7HE
        
      • Optionaltravelers?: { givenName: string; middleName?: string; surname: string }[]

        Lists information about the travelers.

    • FulfillTicketsResponse: {
          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?: 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?: { itemId: ... }[];
                          totalWeightInKilograms?: number;
                      }[];
                      brandedFares?: { brandCode: string; flights?: { itemId: ... }[] }[];
                      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?: "BEFORE_DEPARTURE"
                          | "AFTER_DEPARTURE";
                          isChangeable?: boolean;
                          maximumPenalty?: { amount: string; currencyCode: string };
                          type: "Changeable" | "Either or" | "Refundable";
                      }[];
                      priceQuoteRecordIds?: string[];
                      priceWithTaxes: boolean;
                      printDocuments?: "All"
                      | "Invoice"
                      | "Electronic Ticketing Receipt";
                      returnFareFlexibilityDetails: boolean;
                      sideTripFlights?: { itemId: string }[];
                      spanishLargeFamilyDiscountLevel?: number;
                      specificFares?: { fareBasisCode: string; flights?: { itemId: ... }[] }[];
                      validityDates?: {
                          endDate?: string;
                          flights?: { itemId: ... }[];
                          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 }[];
          };
          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;
      }

      Contains information about issued tickets and EMDs.

      • Optionalerrors?: {
            category: string;
            description?: string;
            fieldName?: string;
            fieldPath?: string;
            fieldValue?: string;
            type: string;
        }[]

        Lists detailed error information. This array is not displayed in successful responses.

      • Optionalrequest?: {
            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?: { itemId: ... }[];
                        totalWeightInKilograms?: number;
                    }[];
                    brandedFares?: { brandCode: string; flights?: { itemId: ... }[] }[];
                    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?: "BEFORE_DEPARTURE"
                        | "AFTER_DEPARTURE";
                        isChangeable?: boolean;
                        maximumPenalty?: { amount: string; currencyCode: string };
                        type: "Changeable" | "Either or" | "Refundable";
                    }[];
                    priceQuoteRecordIds?: string[];
                    priceWithTaxes: boolean;
                    printDocuments?: "All"
                    | "Invoice"
                    | "Electronic Ticketing Receipt";
                    returnFareFlexibilityDetails: boolean;
                    sideTripFlights?: { itemId: string }[];
                    spanishLargeFamilyDiscountLevel?: number;
                    specificFares?: { fareBasisCode: string; flights?: { itemId: ... }[] }[];
                    validityDates?: {
                        endDate?: string;
                        flights?: { itemId: ... }[];
                        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 }[];
        }
        • acceptNegotiatedFare: boolean

          If true, uses the negotiated fare for ticketing when it is not possible to use the stored fare.

          true
          
          true
          
        • acceptPriceChanges: boolean

          If true, issues a ticket when the price increases during processing.

          true
          
          true
          
        • OptionalbackDatePriceQuoteMethod?: "Reprice" | "Override" | "Quit"
        • OptionalbookingSource?: "SABRE" | "SABRE_ORDER"
        • commitTicketToBookingWaitTime: number

          Format: int32

          The maximum wait time in milliseconds applied to asynchronous updates during the ghost ticket validation process, which is performed to check if the newly issued tickets have been committed to the face of the PNR.

          0
          
          3000
          
        • confirmationId: string

          The booking reference ID as shown in the source supplier/vendor system. For SABRE, this is the PNR Locator value.

          GLEBNY
          
        • OptionaldesignatePrinters?: {
              hardcopy?: { address?: string; spacing?: string };
              invoiceItinerary?: string;
              profileNumber?: number;
              ticket?: { address?: string; countryCode?: string };
          }[]

          Lists printers or a printer profile to designate. It is possible to provide a single PrinterAddress object with a printer profile. Alternatively, the array may contain multiple PrinterAddress objects, but each of them must have the same printer type definition.

        • OptionalerrorHandlingPolicy?: ("ALLOW_PARTIAL_FULFILLMENT" | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR")[]

          Lists the type of error handling policy used by the Fulfill Flight Tickets service.

        • OptionalformsOfPayment?: (
              {
                  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;
              }
          )[]

          Lists the payment methods to use during the fulfillment process.

        • 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?: { itemId: ... }[];
                      totalWeightInKilograms?: number;
                  }[];
                  brandedFares?: { brandCode: string; flights?: { itemId: ... }[] }[];
                  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?: "BEFORE_DEPARTURE"
                      | "AFTER_DEPARTURE";
                      isChangeable?: boolean;
                      maximumPenalty?: { amount: string; currencyCode: string };
                      type: "Changeable" | "Either or" | "Refundable";
                  }[];
                  priceQuoteRecordIds?: string[];
                  priceWithTaxes: boolean;
                  printDocuments?: "All"
                  | "Invoice"
                  | "Electronic Ticketing Receipt";
                  returnFareFlexibilityDetails: boolean;
                  sideTripFlights?: { itemId: string }[];
                  spanishLargeFamilyDiscountLevel?: number;
                  specificFares?: { fareBasisCode: string; flights?: { itemId: ... }[] }[];
                  validityDates?: {
                      endDate?: string;
                      flights?: { itemId: ... }[];
                      startDate?: string;
                  }[];
              };
          }[]

          Lists fulfillment details required to issue a document, such as a ticket or an EMD.

        • generateSingleInvoice: boolean

          If true, sends multiple tickets to commit to the PNR in a single batch after they have been issued.

          false
          
          true
          
        • OptionalnotificationEmail?:
              | "DEFAULT"
              | "INVOICE"
              | "ETICKET"
              | "ETICKET_PDF"
              | "ITINERARY"
              | "ITINERARY_PDF"
        • OptionalpriceQuoteExpirationMethod?: "Reprice" | "Override" | "Quit"
        • receivedFrom: string

          The entity that authorizes the changes in a Passenger Name Record.

          Fulfill Flight Tickets
          
          Booking Management API testing
          
        • retainAccounting: boolean

          If true, the service does not delete any existing accounting lines prior to ticketing.

          false
          
          true
          
        • OptionaltargetPcc?: string

          The pseudo city code of the target destination for which the ticket exchange is requested.

          G7HE
          
        • Optionaltravelers?: { givenName: string; middleName?: string; surname: string }[]

          Lists information about the travelers.

      • Optionaltickets?: {
            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;
        }[]

        Lists all electronic flight tickets issued for the travelers.

      • Optionaltimestamp?: string

        Format: date-time

        Provides the exact point in time when the response was generated. The timestamp is expressed in UTC and presented in the YYYY-MM-DDTHH:MM:SSZ format.

        2024-10-28T11:11:21Z
        
    • FutureProcessing: { firstLineNumber: number; lastLineNumber?: number; travelerIndex?: number }

      Contains details of a so-called future processing or future pricing line (FP).

      • firstLineNumber: number

        Format: int32

        The number of the first FP line in a sequence.

        1
        
      • OptionallastLineNumber?: number

        Format: int32

        The number of the last FP line in a sequence.

        3
        
      • OptionaltravelerIndex?: number

        Format: int32

        The item number of the traveler in the travelers array to whom the future processing or pricing is assigned.

        1
        
    • FutureTicketingPolicy: {
          comment?: string;
          queueNumber?: string;
          ticketingDate?: string;
          ticketingPcc?: string;
          ticketingTime?: string;
      }

      Contains a detailed ticket arrangement for a future date.

      • Optionalcomment?: string

        Free text comment.

        TICKET BEFORE TUES
        
      • OptionalqueueNumber?: string

        Used to specify a queue number.

        55
        
      • OptionalticketingDate?: string

        Format: date

        The ticketing date.

        2024-07-09
        
      • OptionalticketingPcc?: string

        Used to specify a pseudocity code.

        G7RE
        
      • OptionalticketingTime?: string

        The ticketing time in HH:MM format.

        11:00
        
    • GenderEnum:
          | "FEMALE"
          | "MALE"
          | "INFANT_FEMALE"
          | "INFANT_MALE"
          | "UNDISCLOSED"
          | "UNDEFINED"

      Identifies the gender of the traveler.

    • GenericAddress: {
          city?: string;
          countryCode?: string;
          postalCode?: string;
          stateProvince?: string;
          street?: string;
      } & { freeText?: string; name?: string }

      Contains address information.

    • GetBookingRequest: {
          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;
      }

      Contains both required and optional elements to make a booking request.

      • OptionalbookingSource?: "SABRE" | "SABRE_ORDER"
      • confirmationId: string

        The booking reference ID as shown in the source supplier/vendor system. For SABRE, this is the PNR Locator value.

        GLEBNY
        
      • OptionalextraFeatures?: { returnEmptySeatObjects: boolean } & {
            returnFiscalId: boolean;
            returnFrequentRenter: boolean;
            returnWalletFormsOfPayment: boolean;
        } & Record<string, never>
      • OptionalgivenName?: string

        The traveler's first name.

        John
        
      • OptionalmiddleName?: string

        The middle name or the initial of the middle name of the traveler.

        W
        
      • OptionalreturnOnly?: (
            | "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"
        )[]

        Lists the response sections which are returned by the service. If this list is empty or not provided, then the full structure is returned. By using this option, the application may exclude or simplify calls of downline APIs, which usually results in a significant performance boost.

      • Optionalsurname?: string

        The traveler's last name.

        Smith
        
      • OptionaltargetPcc?: string

        The pseudo city code of the target destination in which the booking retrieval is requested.

        G7HE
        
      • OptionalunmaskPaymentCardNumbers?: boolean

        If true, the application unmasks payment card information stored in the booking. To display this data, the Employee Profile Record (EPR) needs to include the CCVIEW keyword.

        false
        
    • GetBookingResponse: {
          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?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  date?: string;
                  endAddress?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  endDate?: string;
                  endLocationCode?: string;
                  endTime?: string;
                  locationCode?: string;
                  startAddress?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  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?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  dropOffContactInfo?: { emails?: string[] } & {
                      emergencyPhones?: string[];
                      faxes?: string[];
                      phones?: string[];
                  };
                  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?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  pickUpContactInfo?: { emails?: string[] } & {
                      emergencyPhones?: string[];
                      faxes?: string[];
                      phones?: string[];
                  };
                  pickUpDate: string;
                  pickUpLocationCode?: string;
                  pickUpTime: string;
                  rateCode?: string;
                  refundPenalties?: {
                      applicableFromDate?: string;
                      applicableToDate?: string;
                      penalty: { amount: string; currencyCode: string };
                  }[];
                  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?: { amount: string; currencyCode: string };
                      isCheckInOnly?: boolean;
                      maximumSizeInCentimeters?: number;
                      maximumSizeInInches?: number;
                      maximumWeightInKilograms?: number;
                      maximumWeightInPounds?: number;
                      numberOfPieces: number;
                      specialItemDescription?: string;
                  }[];
                  maximumPieces?: number;
                  totalWeightInKilograms?: number;
                  totalWeightInPounds?: number;
              };
              cabinBaggageCharges?: {
                  fee?: { amount: string; currencyCode: string };
                  isCheckInOnly?: boolean;
                  maximumSizeInCentimeters?: number;
                  maximumSizeInInches?: number;
                  maximumWeightInKilograms?: number;
                  maximumWeightInPounds?: number;
                  numberOfPieces: number;
                  specialItemDescription?: string;
              }[];
              checkedBaggageAllowance?: {
                  baggagePieces?: {
                      fee?: { amount: string; currencyCode: string };
                      isCheckInOnly?: boolean;
                      maximumSizeInCentimeters?: number;
                      maximumSizeInInches?: number;
                      maximumWeightInKilograms?: number;
                      maximumWeightInPounds?: number;
                      numberOfPieces: number;
                      specialItemDescription?: string;
                  }[];
                  maximumPieces?: number;
                  totalWeightInKilograms?: number;
                  totalWeightInPounds?: number;
              };
              checkedBaggageCharges?: {
                  fee?: { amount: string; currencyCode: string };
                  isCheckInOnly?: boolean;
                  maximumSizeInCentimeters?: number;
                  maximumSizeInInches?: number;
                  maximumWeightInKilograms?: number;
                  maximumWeightInPounds?: number;
                  numberOfPieces: number;
                  specialItemDescription?: string;
              }[];
              flights?: { itemId: string }[];
              travelerIndices?: number[];
          }[];
          fareRules?: {
              destinationAirportCode?: string;
              exchangePenalties?: {
                  applicability: "BEFORE_DEPARTURE"
                  | "AFTER_DEPARTURE";
                  conditionsApply: boolean;
                  penalty: { amount: string; currencyCode: string };
              }[];
              isChangeable?: boolean;
              isRefundable?: boolean;
              originAirportCode?: string;
              owningAirlineCode: string;
              passengerCode?: string;
              refundPenalties?: {
                  applicability: "BEFORE_DEPARTURE"
                  | "AFTER_DEPARTURE";
                  conditionsApply: boolean;
                  penalty: { amount: string; currencyCode: string };
              }[];
          }[];
          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: string; currencyCode: string };
                  brandAttributes?: { description?: string; itemId?: string }[];
                  brandFareCode?: string;
                  brandFareName?: string;
                  brandProgramCode?: string;
                  brandProgramName?: string;
                  checkedBaggageAllowance?: {
                      baggagePieces?: {
                          fee?: { amount: ...; currencyCode: ... };
                          isCheckInOnly?: boolean;
                          maximumSizeInCentimeters?: number;
                          maximumSizeInInches?: number;
                          maximumWeightInKilograms?: number;
                          maximumWeightInPounds?: number;
                          numberOfPieces: number;
                          specialItemDescription?: string;
                      }[];
                      maximumPieces?: number;
                      totalWeightInKilograms?: number;
                      totalWeightInPounds?: number;
                  };
                  fareBasisCode?: string;
                  flightIndices?: number[];
                  flights?: { itemId: string }[];
                  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: string; currencyCode: string };
                  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?: string;
                      aircraftTypeName?: string;
                      airportCode?: string;
                      arrivalDate?: string;
                      arrivalTime?: string;
                      departureDate?: string;
                      departureTime?: string;
                      durationInMinutes?: number;
                  }[];
                  identityDocuments?: {
                      itemId?: string;
                      status?: | "Unknown"
                      | "Confirmed"
                      | "On Request"
                      | "Pending"
                      | "Cancelled"
                      | "Unconfirmed"
                      | "Waitlisted"
                      | "Infant/No Seat"
                      | "Priority Waitlist"
                      | "Quote"
                      | "Space Available"
                      | "Pending Quote"
                      | "No Seat"
                      | "Standby";
                  }[];
                  isPast?: boolean;
                  meals?: {
                      code: string;
                      description: | "Meal"
                      | "Alcoholic beverages for purchase"
                      | "Breakfast"
                      | "Cold meal"
                      | "Complimentary alcoholic beverages"
                      | "Continental breakfast"
                      | "Dinner"
                      | "Food for purchase"
                      | "Food and beverage for purchase"
                      | "Hot meal"
                      | "Lunch"
                      | "No meal service"
                      | "Refreshment"
                      | "Refreshment for purchase"
                      | "Snack";
                  }[];
                  numberOfSeats?: number;
                  operatingAirlineCode?: string;
                  operatingAirlineName?: string;
                  operatingFlightNumber?: number;
                  seats?: {
                      characteristics?: string[];
                      number: 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";
                  }[];
                  sourceType?: "NDC"
                  | "LCC"
                  | "ATPCO";
                  toAirportCode: string;
                  travelerIndices?: number[];
                  updatedArrivalDate?: string;
                  updatedArrivalTime?: string;
                  updatedDepartureDate?: string;
                  updatedDepartureTime?: string;
              }
          )[];
          flightTickets?: {
              agencyIataNumber?: string;
              airlineCode: string;
              allCoupons?: (
                  {
                      couponStatus: | "Airport Control"
                      | "Lifted"
                      | "Checked In"
                      | "Exchanged"
                      | "Flown"
                      | "Not Flown"
                      | "Refunded"
                      | "Voided"
                      | "Printed"
                      | "Okay"
                      | "Reactivated"
                      | "Irregular Operations"
                      | "Print Exchange"
                      | "Paper Ticket"
                      | "Suspended"
                      | "Locked";
                      couponStatusCode: | "AL"
                      | "PE"
                      | "XX"
                      | "S"
                      | "P"
                      | "B"
                      | "E"
                      | "BD"
                      | "CK"
                      | "I"
                      | "RF"
                      | "V"
                      | "PR"
                      | "IO"
                      | "T";
                  } & { itemId?: string }
              )[];
              commission?: {
                  commissionAmount?: string;
                  commissionPercentage?: string;
                  currencyCode?: string;
              };
              date: string;
              flightCoupons: (
                  { itemId: string } & {
                      couponStatus:
                          | "Airport Control"
                          | "Lifted"
                          | "Checked In"
                          | "Exchanged"
                          | "Flown"
                          | "Not Flown"
                          | "Refunded"
                          | "Voided"
                          | "Printed"
                          | "Okay"
                          | "Reactivated"
                          | "Irregular Operations"
                          | "Print Exchange"
                          | "Paper Ticket"
                          | "Suspended"
                          | "Locked";
                      couponStatusCode: | "AL"
                      | "PE"
                      | "XX"
                      | "S"
                      | "P"
                      | "B"
                      | "E"
                      | "BD"
                      | "CK"
                      | "I"
                      | "RF"
                      | "V"
                      | "PR"
                      | "IO"
                      | "T";
                  }
              )[];
              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?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string } & { cityCode?: string };
                  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?: string[] } & {
                      emergencyPhones?: string[];
                      faxes?: string[];
                      phones?: string[];
                  };
                  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?: string;
                      applicableToDate?: string;
                      penalty: { amount: string; currencyCode: string };
                  }[];
                  refundPenaltyPolicyCode?: string;
                  room?: {
                      agencyCommission?: {
                          commissionAmount?: string;
                          commissionPercentage?: string;
                          currencyCode?: string;
                      };
                      description?: string;
                      productCode?: string;
                      quantity: number;
                      roomRate?: { amount: string; currencyCode: string };
                      roomType: string;
                      roomTypeCode?: string;
                      travelerIndices?: number[];
                  };
                  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?: {
                          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 };
                  }
              )[];
              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?: "Unknown" | "Single" | "Multiple";
                  flights?: { itemId: string }[];
                  isCommissionable?: boolean;
                  isRefundable?: boolean;
                  itemId?: string;
                  numberOfItems?: number;
                  reasonForIssuanceCode?: string;
                  reasonForIssuanceName?:
                      | "UNKNOWN"
                      | "AIR_TRANSPORTATION"
                      | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                      | "BAGGAGE"
                      | "FINANCIAL_IMPACT"
                      | "AIRPORT_SERVICES"
                      | "MERCHANDISE"
                      | "INFLIGHT_SERVICES"
                      | "INDIVIDUAL_AIRLINE_USE";
                  source?: "ATPCO"
                  | "MERCHANDISING_MANAGER";
                  statusCode?: string;
                  statusName?:
                      | "Confirmed"
                      | "Confirmed with EMD issued"
                      | "On Request"
                      | "Pending"
                      | "Cancelled"
                      | "Unconfirmed"
                      | "Confirmed with pending payment"
                      | "Schedule change";
                  subcode?: string;
                  totals?: {
                      currencyCode: string;
                      fees?: string;
                      subtotal?: string;
                      taxes?: string;
                      total: string;
                  };
                  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?: "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;
                  itemId?: string;
                  middleName?: string;
                  placeOfBirth?: string;
                  placeOfIssue?: string;
                  residenceCountryCode?: string;
                  residenceDestinationAddress?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  };
                  surname?: string;
              }[];
              isGrouped?: boolean;
              loyaltyPrograms?: {
                  programNumber: string;
                  programType?: | "FREQUENT_FLYER"
                  | "FREQUENT_RENTER"
                  | "LOYALTY_ID"
                  | "CORPORATE_LOYALTY_ID";
                  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?:
                      | "INVOICE"
                      | "ITINERARY"
                      | "GENERAL"
                      | "HISTORICAL"
                      | "CLIENT_ADDRESS"
                      | "ALPHA_CODED"
                      | "DELIVERY_ADDRESS"
                      | "HIDDEN"
                      | "CORPORATE"
                      | "FORM_OF_PAYMENT"
                      | "PRINT_ON_TICKET"
                      | "FILLER_STRIP"
                      | "INTERFACE"
                      | "QUEUE_PLACE";
              }[];
              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;
      }

      Contains service response object with booking information.

    • GuaranteeTypeNameEnum:
          | "Credit card"
          | "Travel agency name/address"
          | "Travel agency IATA number"
          | "Company name/address"
          | "Corporate ID/CD number"
          | "Virtual card"

      Identifies the OTA payment name.

      Credit card
      @enum {string}
    • HaltOnFlightStatusCodeEnum: "US" | "NO" | "NN" | "UC" | "UN" | "UU" | "LL" | "HL"

      Identifies flight status code that was considered unacceptable. Refer to the Sabre Central Status Codes page for more information on different status codes.

      NO
      @enum {string}
    • HardcopyPrinter: { address?: string; spacing?: string }

      Contains information about the hardcopy printer.

      • Optionaladdress?: string

        The hardcopy printer LNIATA to be designated.

        EF34GH
        
      • Optionalspacing?: string

        The hardcopy printer spacing to be applied.

        1
        
    • HiddenStop: {
          aircraftTypeCode?: string;
          aircraftTypeName?: string;
          airportCode?: string;
          arrivalDate?: string;
          arrivalTime?: string;
          departureDate?: string;
          departureTime?: string;
          durationInMinutes?: number;
      }

      Contains detailed information about the hidden stop location.

      • OptionalaircraftTypeCode?: string

        The IATA code of the aircraft.

        E90
        
      • OptionalaircraftTypeName?: string

        The name of the aircraft model.

        EMBRAER EMB E90
        
      • OptionalairportCode?: string

        The three-letter IATA airport code of the hidden stop location.

        DFW
        
      • OptionalarrivalDate?: string

        Format: date

        The scheduled arrival date in YYYY-MM-DD format in the airport's timezone.

        2024-07-09
        
      • OptionalarrivalTime?: string

        The scheduled time of arrival in HH:MM format.

        12:28
        
      • OptionaldepartureDate?: string

        Format: date

        The scheduled departure date in YYYY-MM-DD format in the airport's timezone.

        2024-07-09
        
      • OptionaldepartureTime?: string

        The scheduled time of departure in HH:MM format.

        09:15
        
      • OptionaldurationInMinutes?: number

        Layover duration in minutes.

        300
        
    • Hotel: { itemId: string } & {
          address: {
              city?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          } & { freeText?: string; name?: string } & { cityCode?: string };
          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?: string[] } & {
              emergencyPhones?: string[];
              faxes?: string[];
              phones?: string[];
          };
          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?: string;
              applicableToDate?: string;
              penalty: { amount: string; currencyCode: string };
          }[];
          refundPenaltyPolicyCode?: string;
          room?: {
              agencyCommission?: {
                  commissionAmount?: string;
                  commissionPercentage?: string;
                  currencyCode?: string;
              };
              description?: string;
              productCode?: string;
              quantity: number;
              roomRate?: { amount: string; currencyCode: string };
              roomType: string;
              roomTypeCode?: string;
              travelerIndices?: number[];
          };
          sabrePropertyId?: string;
          sourceTypeCode?: number;
          sourceTypeName?: | "Unknown"
          | "Legacy"
          | "Sabre GDS"
          | "Expedia Associate Network"
          | "HotelBeds.com"
          | "Booking.com"
          | "CMNet";
          specialInstructions?: string;
      }

      Contains hotel reservation information identified by itemId and associated with a booking.

    • HotelAddress: {
          city?: string;
          countryCode?: string;
          postalCode?: string;
          stateProvince?: string;
          street?: string;
      } & { freeText?: string; name?: string } & { cityCode?: string }

      Contains hotel address information.

    • HotelDetailsToModify: {
          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;
      }

      Contains hotel information for the given booking which should be modified.

      • OptionalassociatedFlightDetails?: {
            arrivalAirlineCode?: string;
            arrivalFlightNumber?: number;
            arrivalTime?: string;
            departureAirlineCode?: string;
            departureFlightNumber?: number;
            departureTime?: string;
        }
        • OptionalarrivalAirlineCode?: string

          The two-letter IATA designator code of the marketing airline for the arrival flight.

          AA
          
        • OptionalarrivalFlightNumber?: number

          Format: int32

          The flight number associated with the marketing carrier for the arrival flight.

          123
          
        • OptionalarrivalTime?: string

          The scheduled time of arrival in HH:MM format.

          12:28
          
        • OptionaldepartureAirlineCode?: string

          The two-letter IATA designator code of the marketing airline for the departure flight.

          AA
          
        • OptionaldepartureFlightNumber?: number

          Format: int32

          The flight number associated with the marketing carrier for the departure flight.

          123
          
        • OptionaldepartureTime?: string

          The scheduled time of departure in HH:MM format.

          09:15
          
      • OptionalbookingKey?: string

        A mandatory value to provide in case of changes to the room type, number of guests, and check-in or check-out dates outside of the original date range. Returned in the Hotel Price Check API response.

        d9e73f0d-5f90-4b43-9c86-2d88a732604f
        
      • OptionalcheckInDate?: string

        Format: date

        The check-in date in YYYY-MM-DD format in the hotel's local time zone.

        2024-07-09
        
      • OptionalcheckOutDate?: string

        Format: date

        The checkout date in YYYY-MM-DD format in the hotel's local time zone.

        2024-07-19
        
      • OptionalcorporateDiscountCode?: number

        Format: int32

        A discount code that a company may provide to an agency. Usually tied to a negotiated rate code.

        6878700
        
      • OptionalformOfPaymentIndex?: number

        Format: int32

        The index of the payment type in the formsOfPayment list. Forms of payment applicable to a hotel booking: PAYMENT_CARD, AGENCY_NAME, AGENCY_IATA, CORPORATE, COMPANY_NAME, VIRTUAL_CARD.

        1
        
      • leadTravelerIndex: number

        Format: int32

        Specifies the lead traveler from the travelers list with whom the hotel booking is associated.

        1
        
      • numberOfGuests: number

        Format: int32

        The number of guests.

        1
        
      • paymentPolicy: "DEPOSIT" | "GUARANTEE" | "LATE"
      • room: { productCode?: string; travelerIndices: number[] }
        • OptionalproductCode?: string

          The inventory block code of the room. An ID returned by the hotel supplier for all unique room+rate combinations.

          SM3A00
          
        • travelerIndices: number[]

          Lists indices of travelers from the travelers array to whom the room is assigned.

      • OptionalspecialInstructions?: string

        Additional special requests put in by the traveler with regards to the hotel reservation.

        Need a wi-fi in the room.
        
    • HotelItem: {
          address: {
              city?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          } & { freeText?: string; name?: string } & { cityCode?: string };
          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?: string[] } & {
              emergencyPhones?: string[];
              faxes?: string[];
              phones?: string[];
          };
          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?: string;
              applicableToDate?: string;
              penalty: { amount: string; currencyCode: string };
          }[];
          refundPenaltyPolicyCode?: string;
          room?: {
              agencyCommission?: {
                  commissionAmount?: string;
                  commissionPercentage?: string;
                  currencyCode?: string;
              };
              description?: string;
              productCode?: string;
              quantity: number;
              roomRate?: { amount: string; currencyCode: string };
              roomType: string;
              roomTypeCode?: string;
              travelerIndices?: number[];
          };
          sabrePropertyId?: string;
          sourceTypeCode?: number;
          sourceTypeName?: | "Unknown"
          | "Legacy"
          | "Sabre GDS"
          | "Expedia Associate Network"
          | "HotelBeds.com"
          | "Booking.com"
          | "CMNet";
          specialInstructions?: string;
      }

      Contains hotel information for the given booking.

      • address: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        } & { freeText?: string; name?: string } & { cityCode?: string }
      • OptionalassociatedFlightDetails?: {
            arrivalAirlineCode?: string;
            arrivalFlightNumber?: number;
            arrivalTime?: string;
            departureAirlineCode?: string;
            departureFlightNumber?: number;
            departureTime?: string;
        }
        • OptionalarrivalAirlineCode?: string

          The two-letter IATA designator code of the marketing airline for the arrival flight.

          AA
          
        • OptionalarrivalFlightNumber?: number

          Format: int32

          The flight number associated with the marketing carrier for the arrival flight.

          123
          
        • OptionalarrivalTime?: string

          The scheduled time of arrival in HH:MM format.

          12:28
          
        • OptionaldepartureAirlineCode?: string

          The two-letter IATA designator code of the marketing airline for the departure flight.

          AA
          
        • OptionaldepartureFlightNumber?: number

          Format: int32

          The flight number associated with the marketing carrier for the departure flight.

          123
          
        • OptionaldepartureTime?: string

          The scheduled time of departure in HH:MM format.

          09:15
          
      • OptionalchainCode?: string

        The two character code of the chain.

        BY
        
      • OptionalchainName?: string

        The name of the chain.

        Banyan Tree Hotels and Resorts
        
      • checkInDate: string

        Format: date

        The check-in date in YYYY-MM-DD format in the hotel's local time zone.

        2024-07-09
        
      • checkInTime: string

        The check-in time in HH:MM format in the hotel's local time.

        15:00
        
      • checkOutDate: string

        Format: date

        The checkout date in YYYY-MM-DD format in the hotel's local time zone.

        2024-07-19
        
      • checkOutTime: string

        The checkout time in HH:MM format in the hotel's local time.

        11:00
        
      • OptionalconfirmationId?: string

        The hotel supplier reservation number.

        23428937429074
        
      • OptionalcontactInfo?: { emails?: string[] } & {
            emergencyPhones?: string[];
            faxes?: string[];
            phones?: string[];
        }
      • OptionalcorporateDiscountCode?: number

        Format: int32

        A discount code that a company may provide to an agency. Usually tied to a negotiated rate code.

        6878700
        
      • OptionalguaranteePaymentNote?: string

        Provides information regarding the guarantee provided for the legacy GDS hotel content.

        GVI4XXXXXXXXXXX1111EXP 01 25-HOTEL
        
      • OptionalguaranteeTypeCode?: number

        Format: int32

        The Open Travel Alliance Payment Type Code. Applicable OTA codes can be one of the following - 5, 18, 19, 29, 30, or 43.

        5
        
      • OptionalguaranteeTypeName?:
            | "Credit card"
            | "Travel agency name/address"
            | "Travel agency IATA number"
            | "Company name/address"
            | "Corporate ID/CD number"
            | "Virtual card"
      • hotelName: string

        The full name of the hotel.

        Ilia Hotel and Luxury Suites
        
      • OptionalhotelStatusCode?: string

        The one or two-letter status code used by vendors. It indicates the hotel booking status.

        HK
        
      • OptionalhotelStatusName?:
            | "Unknown"
            | "Confirmed"
            | "On Request"
            | "Pending"
            | "Cancelled"
            | "Unconfirmed"
            | "Waitlisted"
            | "Infant/No Seat"
            | "Priority Waitlist"
            | "Quote"
            | "Space Available"
            | "Pending Quote"
            | "No Seat"
            | "Standby"
      • isRefundable: boolean

        If true, the hotel reservation can be refunded in total or in segments. Refer to the refundPenalties array for more information.

        true
        
        false
        
      • OptionalleadTravelerIndex?: number

        Format: int32

        Specifies the lead traveler from the travelers list with whom the hotel booking is associated.

        1
        
      • OptionalnumberOfGuests?: number

        Format: int32

        The number of guests.

        1
        
      • Optionalpayment?: {
            currencyCode: string;
            fees?: string;
            subtotal?: string;
            taxes?: string;
            total: string;
        }
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
        • Optionalfees?: string

          The amount of all applicable fees.

          20.00
          
        • Optionalsubtotal?: string

          The subtotal before applying taxes and fees.

          100.00
          
        • Optionaltaxes?: string

          The amount of all taxes.

          8.00
          
        • total: string

          The total amount; the sum of the subtotal, taxes, and fees.

          128.00
          
      • OptionalpaymentPolicy?: "DEPOSIT" | "GUARANTEE" | "LATE"
      • OptionalpropertyId?: string

        The unique ID of the property agreed between vendors.

        100144834
        
      • OptionalrefundPenalties?: {
            applicableFromDate?: string;
            applicableToDate?: string;
            penalty: { amount: string; currencyCode: string };
        }[]

        Lists conditions and payments for hotel room reservation cancellations.

      • OptionalrefundPenaltyPolicyCode?: string

        The penalty code for a cancellation within the context of legacy GDS hotel content.

        01D
        
      • Optionalroom?: {
            agencyCommission?: {
                commissionAmount?: string;
                commissionPercentage?: string;
                currencyCode?: string;
            };
            description?: string;
            productCode?: string;
            quantity: number;
            roomRate?: { amount: string; currencyCode: string };
            roomType: string;
            roomTypeCode?: string;
            travelerIndices?: number[];
        }
        • OptionalagencyCommission?: {
              commissionAmount?: string;
              commissionPercentage?: string;
              currencyCode?: string;
          }
          • OptionalcommissionAmount?: string

            The commission amount included in the fare or applied during ticketing.

            25.00
            
          • OptionalcommissionPercentage?: string

            The commission percentage included in the fare or applied during ticketing.

            5.00
            
          • OptionalcurrencyCode?: string

            The three letters ISO 4217 currency code.

            USD
            
        • Optionaldescription?: string

          The detailed description of the room provided by the hotel supplier.

          Deluxe Room, 2 Double Beds
          
        • OptionalproductCode?: string

          The inventory block code of the room. An ID returned by GDS suppliers for all unique room+rate combinations. Populated only for GDS products.

          SM3A00
          
        • quantity: number

          Format: int32

          The number of booked rooms of this room type.

          1
          
          1
          
        • OptionalroomRate?: { amount: string; currencyCode: string }
          • amount: string

            The monetary amount.

            100.00
            
          • currencyCode: string

            The three-letter ISO 4217 currency code.

            USD
            
        • roomType: string

          The type of the room provided by the hotel supplier.

          2 double beds
          
        • OptionalroomTypeCode?: string

          The unique ID for a room type at a given vendor.

          100144834
          
        • OptionaltravelerIndices?: number[]

          Lists the travelers within the travelers list. Indicates which travelers are considered to be guests associated with a particular room. It is possible that not all travelers are listed as hotel guests in the hotel booking.

      • OptionalsabrePropertyId?: string

        The code that uniquely identifies a single hotel property. This is a legacy concept, to be sunset in the future major version.

        7678
        
      • OptionalsourceTypeCode?: number

        Format: int32

        A specific numeric code indicating the source of the hotel booking.

        100
        
      • OptionalsourceTypeName?:
            | "Unknown"
            | "Legacy"
            | "Sabre GDS"
            | "Expedia Associate Network"
            | "HotelBeds.com"
            | "Booking.com"
            | "CMNet"
      • OptionalspecialInstructions?: string

        Additional special requests put in by the traveler with regards to the hotel reservation.

        Need a wi-fi in the room.
        
    • HotelPaymentPolicyEnum: "DEPOSIT" | "GUARANTEE" | "LATE"

      Identifies the hotel payment policy.

      DEPOSIT
      @enum {string}
    • HotelReference: { itemId: string }

      Contains hotel object reference by itemId.

      • itemId: string

        The ID of a hotel reservation.

        12
        
    • HotelSourceEnum:
          | "Unknown"
          | "Legacy"
          | "Sabre GDS"
          | "Expedia Associate Network"
          | "HotelBeds.com"
          | "Booking.com"
          | "CMNet"

      Identifies the source of the hotel booking.

      Unknown
      
      Sabre GDS
      @enum {string}
    • HotelToBook: {
          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;
      }

      Contains hotel information.

      • OptionalassociatedFlightDetails?: {
            arrivalAirlineCode?: string;
            arrivalFlightNumber?: number;
            arrivalTime?: string;
            departureAirlineCode?: string;
            departureFlightNumber?: number;
            departureTime?: string;
        }
        • OptionalarrivalAirlineCode?: string

          The two-letter IATA designator code of the marketing airline for the arrival flight.

          AA
          
        • OptionalarrivalFlightNumber?: number

          Format: int32

          The flight number associated with the marketing carrier for the arrival flight.

          123
          
        • OptionalarrivalTime?: string

          The scheduled time of arrival in HH:MM format.

          12:28
          
        • OptionaldepartureAirlineCode?: string

          The two-letter IATA designator code of the marketing airline for the departure flight.

          AA
          
        • OptionaldepartureFlightNumber?: number

          Format: int32

          The flight number associated with the marketing carrier for the departure flight.

          123
          
        • OptionaldepartureTime?: string

          The scheduled time of departure in HH:MM format.

          09:15
          
      • bookingKey: string

        The booking key is returned in the Hotel Price Check API response and is a mandatory value to perform the hotel booking.

        d9e73f0d-5f90-4b43-9c86-2d88a732604f
        
      • OptionalcorporateDiscountCode?: number

        Format: int32

        A code that a company may give to an agency to use for a discount. It is quite often tied to a negotiated rate code. Applies to GDS hotels only.

        6878700
        
      • OptionalformOfPayment?: number

        Format: int32

        Index of the payment type in the formsOfPayment list. Forms of payment applicable to hotel booking are - PAYMENT_CARD, AGENCY_NAME, AGENCY_IATA, CORPORATE, COMPANY_NAME, VIRTUAL_CARD.

        1
        
      • OptionalpaymentPolicy?: "DEPOSIT" | "GUARANTEE" | "LATE"
      • Optionalrooms?: {
            bedTypeCode?: number;
            isSmoking: boolean;
            physicalDisabilityCode?: number;
            roomExtras?: { amount?: string; quantity: number; roomExtraType: number }[];
            travelerIndices?: number[];
        }[]

        Contains details of the hotel rooms that will be booked. Multiple room bookings are currently not supported by GDS hotels.

      • OptionalspecialInstruction?: string

        The special instruction provided to the property.

        Need a wi-fi in the room.
        
      • useCsl: boolean

        If true, the hotel originally sourced from the GDS will be booked using the Content Services for Lodging (CSL) booking path instead of the legacy path (low level services).

        true
        
        true
        
    • HotelToModify: { 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;
      }

      Contains hotel reservation information identified by itemId and associated with a booking.

    • IdentityDocument: {
          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;
          itemId?: string;
          middleName?: string;
          placeOfBirth?: string;
          placeOfIssue?: string;
          residenceCountryCode?: string;
          residenceDestinationAddress?: {
              city?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          };
          surname?: string;
      }

      Contains details of an identity document.

      • OptionalbirthDate?: string

        Format: date

        The traveler's date of birth in the YYYY-MM-DD format.

        2024-12-02
        
      • OptionaldocumentNumber?: string

        The unique identifier of the document.

        0123456789
        
      • OptionaldocumentSubType?: "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"
      • OptionalexpiryDate?: string

        Format: date

        The expiration date of the identity document in the YYYY-MM-DD format.

        2024-07-09
        
      • OptionalflightIndices?: number[]

        Lists the indices of flights within a booking. This property will be deprecated in the future major version of this API. If you wish to list documents associated with the flight, use the identityDocuments property within the Flight object.

      • Optionalgender?:
            | "FEMALE"
            | "MALE"
            | "INFANT_FEMALE"
            | "INFANT_MALE"
            | "UNDISCLOSED"
            | "UNDEFINED"
      • OptionalgivenName?: string

        The traveler's first name.

        John
        
      • OptionalhostCountryCode?: string

        The two- or three-letter ISO 3166 country code where the document is valid. This is mainly used for the VISA document type.

        US
        
      • OptionalisLapChildDocument?: boolean

        If true, the identity document applies to a lap child.

        true
        
      • OptionalisPrimaryDocumentHolder?: boolean

        If true, indicates the primary passport holder of a document issued for multiple travelers.

        true
        
      • OptionalissueDate?: string

        Format: date

        The date the identity document was issued in YYYY-MM-DD format. This is mainly used for the visa document type.

        2024-07-09
        
      • OptionalissuingCountryCode?: string

        The country issuing the passenger document provided as a two- or three-letter ISO 3166 code.

        US
        
      • OptionalitemId?: string

        The unique identifier of the document.

        76c2817b178cc264fa44cf85df1da5fb9e1b963006b2339aa5edc09129415bba5fcf5bf91a5f
        
      • OptionalmiddleName?: string

        The traveler's middle name. (NDC not supported).

        Jack
        
      • OptionalplaceOfBirth?: string

        The passenger's place of birth, fully spelled out. This is mainly used for the VISA document type.

        KOSZALIN
        
      • OptionalplaceOfIssue?: string

        The name of the place where the document was issued.

        ROME
        
      • OptionalresidenceCountryCode?: string

        The country the passenger resides in or their nationality country provided as a two- or three-letter ISO 3166 code.

        US
        
      • OptionalresidenceDestinationAddress?: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        }
        • Optionalcity?: string

          The name of the city.

          Dallas
          
        • OptionalcountryCode?: string

          The two-letter ISO 3166 country code.

          US
          
        • OptionalpostalCode?: string

          The zip or postal code.

          75063
          
        • OptionalstateProvince?: string

          The name or code of the state or province.

          TX
          
        • Optionalstreet?: string

          The street name and house number accompanied with the number of apartments/unit/suite, if applicable.

          1230 Ellen Ave, apt 10
          
      • Optionalsurname?: string

        The traveler's last name.

        Smith
        
    • IdentityDocumentDetails: {
          birthDate?: string;
          documentNumber?: string;
          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;
          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;
          residenceDestinationAddress?: {
              city?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          };
          surname?: string;
      }

      Contains details of an identity document.

      • OptionalbirthDate?: string

        Format: date

        The traveler's date of birth in the YYYY-MM-DD format.

        2024-12-02
        
      • OptionaldocumentNumber?: string

        The unique identifier of the document.

        0123456789
        
      • 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"
      • OptionalexpiryDate?: string

        Format: date

        The expiration date of the identity document in the YYYY-MM-DD format.

        2024-07-09
        
      • Optionalgender?:
            | "FEMALE"
            | "MALE"
            | "INFANT_FEMALE"
            | "INFANT_MALE"
            | "UNDISCLOSED"
            | "UNDEFINED"
      • OptionalgivenName?: string

        The traveler's first name.

        John
        
      • OptionalhostCountryCode?: string

        The two- or three-letter country code where the document is valid. Used with the VISA document type (NDC not supported).

        US
        
      • OptionalisLapChildDocument?: boolean

        If true, the identity document applies to a lap child. Can only be used with VISA, RESIDENCE_ADDRESS, and DESTINATION_ADDRESS document types.

        true
        
      • OptionalisPrimaryDocumentHolder?: boolean

        If true, indicates the primary holder of a document issued for multiple travelers.

        true
        
      • OptionalissueDate?: string

        Format: date

        The date the identity document was issued on provided in the YYYY-MM-DD format. Mainly used with the VISA document type.

        2024-07-09
        
      • OptionalissuingCountryCode?: string

        The country issuing the passenger document provided as a two- or three-letter ISO 3166 code. Not applicable to the VISA document type.

        US
        
      • OptionalmiddleName?: string

        The traveler's middle name (NDC not supported).

        Jack
        
      • OptionalplaceOfBirth?: string

        The place of birth of the passenger. Mainly used with the VISA document type (NDC not supported).

        LYON FR
        
      • OptionalplaceOfIssue?: string

        The country the VISA document was issued in. Used with the VISA document type (NDC not supported).

        LONDON UK
        
      • OptionalresidenceCountryCode?: string

        The country the passenger resides in or their nationality country provided as a two- or three-letter ISO 3166 code.

        US
        
      • OptionalresidenceDestinationAddress?: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        }
        • Optionalcity?: string

          The name of the city.

          Dallas
          
        • OptionalcountryCode?: string

          The two-letter ISO 3166 country code.

          US
          
        • OptionalpostalCode?: string

          The zip or postal code.

          75063
          
        • OptionalstateProvince?: string

          The name or code of the state or province.

          TX
          
        • Optionalstreet?: string

          The street name and house number accompanied with the number of apartments/unit/suite, if applicable.

          1230 Ellen Ave, apt 10
          
      • Optionalsurname?: string

        The traveler's last name.

        Smith
        
    • IdentityDocumentReference: {
          itemId?: string;
          status?:
              | "Unknown"
              | "Confirmed"
              | "On Request"
              | "Pending"
              | "Cancelled"
              | "Unconfirmed"
              | "Waitlisted"
              | "Infant/No Seat"
              | "Priority Waitlist"
              | "Quote"
              | "Space Available"
              | "Pending Quote"
              | "No Seat"
              | "Standby";
      }
      • OptionalitemId?: string

        The unique identifier of the document.

        76c2817b178cc264fa44cf85df1da5fb9e1b963006b2339aa5edc09129415bba5fcf5bf91a5f
        
      • Optionalstatus?:
            | "Unknown"
            | "Confirmed"
            | "On Request"
            | "Pending"
            | "Cancelled"
            | "Unconfirmed"
            | "Waitlisted"
            | "Infant/No Seat"
            | "Priority Waitlist"
            | "Quote"
            | "Space Available"
            | "Pending Quote"
            | "No Seat"
            | "Standby"
    • Journey: {
          departureDate: string;
          departureTime: string;
          firstAirportCode: string;
          lastAirportCode: string;
          numberOfFlights: number;
      }

      Contains details of the flights within the journey.

      • departureDate: string

        Format: date

        The scheduled departure date in YYYY-MM-DD format in the airport's time zone.

        2024-07-09
        
      • departureTime: string

        The scheduled time of departure in HH:MM format.

        09:15
        
      • firstAirportCode: string

        The three-letter IATA airport code of the first flight in the journey.

        DFW
        
      • lastAirportCode: string

        The three-letter IATA airport code of the last flight in the journey.

        HNL
        
      • numberOfFlights: number

        The total number of flights in the journey.

        1
        
    • JourneyTypeCodeEnum: "F" | "M" | "B"

      Applicable to BSP France and Canada only. Identifies the journey type, which must be supplied if the refund is for a domestic flight. Possible values are B, F, or M.

      B
      @enum {string}
    • LoyaltyProgram: {
          programNumber: string;
          programType?:
              | "FREQUENT_FLYER"
              | "FREQUENT_RENTER"
              | "LOYALTY_ID"
              | "CORPORATE_LOYALTY_ID";
          receiverCode?: string;
          supplierCode?: string;
          tierLevel?: number;
      }

      Contains details of the passenger's loyalty program, such as a frequent flyer card.

      • programNumber: string

        The traveler membership number for loyalty program such as the frequent flyer number.

        987654321
        
      • OptionalprogramType?: "FREQUENT_FLYER" | "FREQUENT_RENTER" | "LOYALTY_ID" | "CORPORATE_LOYALTY_ID"
      • OptionalreceiverCode?: string

        The two-letter receiver code, such as IATA airline code.

        UA
        
      • OptionalsupplierCode?: string

        The two-letter code that issued the number such as the IATA airline code.

        AA
        
      • OptionaltierLevel?: number

        Format: int32

        The level reached by the traveler in the loyalty program.

        3
        
    • ManualApproval: {
          airlineCode: string;
          amount: string;
          code: string;
          currencyCode: string;
          expiryDateTime: string;
          requestDateTime: string;
      }

      Contains manual approval details of a form of payment. Use with PAYMENTCARD.

      • airlineCode: string

        The two-letter IATA designator code of the desired manual approval airline.

        AA
        
      • amount: string

        The monetary cash amount of the manual approval.

        100.00
        
      • code: string

        The manual approval code of a credit or debit card. Use with PAYMENTCARD.

        12345
        
      • currencyCode: string

        The ISO 4217 currency code.

        USD
        
      • expiryDateTime: string

        Format: date-time

        The manual approval expiration date in ISO 8601 format. Time should be provided in UTC time zone.

        2024-07-09T09:15:00Z
        
      • requestDateTime: string

        Format: date-time

        The manual approval request date in ISO 8601 format. Time should be provided in UTC time zone.

        2024-07-09T09:15:00Z
        
    • Meal: {
          code: string;
          description:
              | "Meal"
              | "Alcoholic beverages for purchase"
              | "Breakfast"
              | "Cold meal"
              | "Complimentary alcoholic beverages"
              | "Continental breakfast"
              | "Dinner"
              | "Food for purchase"
              | "Food and beverage for purchase"
              | "Hot meal"
              | "Lunch"
              | "No meal service"
              | "Refreshment"
              | "Refreshment for purchase"
              | "Snack";
      }

      Contains the meal options provided on the flight.

      • code: string

        The code of the type of meal. Available meal type codes are P, B, O, C, K, D, F, G, H, L, M, N, R, V and S.

        H
        
      • description:
            | "Meal"
            | "Alcoholic beverages for purchase"
            | "Breakfast"
            | "Cold meal"
            | "Complimentary alcoholic beverages"
            | "Continental breakfast"
            | "Dinner"
            | "Food for purchase"
            | "Food and beverage for purchase"
            | "Hot meal"
            | "Lunch"
            | "No meal service"
            | "Refreshment"
            | "Refreshment for purchase"
            | "Snack"
    • MealDescriptionEnum:
          | "Meal"
          | "Alcoholic beverages for purchase"
          | "Breakfast"
          | "Cold meal"
          | "Complimentary alcoholic beverages"
          | "Continental breakfast"
          | "Dinner"
          | "Food for purchase"
          | "Food and beverage for purchase"
          | "Hot meal"
          | "Lunch"
          | "No meal service"
          | "Refreshment"
          | "Refreshment for purchase"
          | "Snack"

      Identifies the meal provided on the flight, matching accordingly to the meal type code.

      Hot meal
      @enum {string}
    • MiscellaneousServiceFee: {
          currencyCode?: string;
          customerReference?: string;
          description?: string;
          overrideAmount?: string;
      }

      Contains details of the Miscellaneous Intelligent Service Fee (MISF), applied for submitting a paperless service fee request using the amount stored in the travel journal record (TJR). May be combined with formsOfPayment details. Applicable to Canadian customers only.

      • OptionalcurrencyCode?: string

        The three-letter ISO 4217 currency code.

        USD
        
      • OptionalcustomerReference?: string

        The reference to the customer.

        IBM997YYZ
        
      • Optionaldescription?: string

        The description of the service fee.

        AIR SERVICE FEE
        
      • OptionaloverrideAmount?: string

        The override amount of the service fee.

        100.00
        
    • ModifyBookingRequest: {
          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?: 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 };
                      }
                  )[];
              };
              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: | "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;
                          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;
                          residenceDestinationAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          surname?: string;
                      } & { flights?: { itemId: string }[] }
                  )[];
                  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?: 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 };
                      }
                  )[];
              };
              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: | "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;
                          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;
                          residenceDestinationAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          surname?: string;
                      } & { flights?: { itemId: string }[] }
                  )[];
                  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;
      }

      Contains required and optional elements to modify a booking.

      • 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?: 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 };
                    }
                )[];
            };
            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: | "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;
                        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;
                        residenceDestinationAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        };
                        surname?: string;
                    } & { flights?: { itemId: string }[] }
                )[];
                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;
            }[];
        }
        • OptionalagencyCustomerNumber?: string

          The customer identifier used by their travel agency, also known as the customer number or the DK number. Can be a six, seven, or 10-character string.

          1234567
          
        • OptionalcreationDetails?: { agencyIataNumber?: string }
          • OptionalagencyIataNumber?: string

            A unique identifier accredited by the International Air Transport Association (IATA).

            12344321
            
        • Optionalflights?: { seats?: { number: string; offerItemId?: string }[] }[]

          Lists all flights associated with the booking in chronological order.

        • Optionalhotels?: (
              { 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;
              }
          )[]

          Lists the hotels which should be modified.

        • Optionalpayments?: {
              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 };
                  }
              )[];
          }
          • OptionalformsOfPayment?: (
                {
                    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 };
                }
            )[]

            Lists payment methods associated with the booking.

        • OptionalretentionEndDate?: string

          Format: date

          The retention date of the booking. Used optionally to keep the booking active past the date of the last itinerary item (flight, hotel, car, etc.). After this date, the booking is set for purging.

          2024-01-30
          
        • OptionalretentionLabel?: string

          The label associated with the retention date.

          RETENTION DATE
          
        • OptionalspecialServices?: {
              code: string;
              flights?: { itemId: string }[];
              message?: string;
              travelerIndices?: number[];
          }[]

          Lists all special service request (SSR) messages sent to an airline. The messages may contain traveler preferences or mandatory/optional information directed to the airline.

        • Optionaltravelers?: {
              birthDate?: string;
              emails?: string[];
              givenName?: string;
              identityDocuments?: (
                  {
                      birthDate?: string;
                      documentNumber?: string;
                      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;
                      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;
                      residenceDestinationAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      };
                      surname?: string;
                  } & { flights?: { itemId: string }[] }
              )[];
              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;
          }[]

          Lists personal information of the travelers.

      • 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?: 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 };
                    }
                )[];
            };
            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: | "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;
                        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;
                        residenceDestinationAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        };
                        surname?: string;
                    } & { flights?: { itemId: string }[] }
                )[];
                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;
            }[];
        }
        • OptionalagencyCustomerNumber?: string

          The customer identifier used by their travel agency, also known as the customer number or the DK number. Can be a six, seven, or 10-character string.

          1234567
          
        • OptionalcreationDetails?: { agencyIataNumber?: string }
          • OptionalagencyIataNumber?: string

            A unique identifier accredited by the International Air Transport Association (IATA).

            12344321
            
        • Optionalflights?: { seats?: { number: string; offerItemId?: string }[] }[]

          Lists all flights associated with the booking in chronological order.

        • Optionalhotels?: (
              { 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;
              }
          )[]

          Lists the hotels which should be modified.

        • Optionalpayments?: {
              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 };
                  }
              )[];
          }
          • OptionalformsOfPayment?: (
                {
                    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 };
                }
            )[]

            Lists payment methods associated with the booking.

        • OptionalretentionEndDate?: string

          Format: date

          The retention date of the booking. Used optionally to keep the booking active past the date of the last itinerary item (flight, hotel, car, etc.). After this date, the booking is set for purging.

          2024-01-30
          
        • OptionalretentionLabel?: string

          The label associated with the retention date.

          RETENTION DATE
          
        • OptionalspecialServices?: {
              code: string;
              flights?: { itemId: string }[];
              message?: string;
              travelerIndices?: number[];
          }[]

          Lists all special service request (SSR) messages sent to an airline. The messages may contain traveler preferences or mandatory/optional information directed to the airline.

        • Optionaltravelers?: {
              birthDate?: string;
              emails?: string[];
              givenName?: string;
              identityDocuments?: (
                  {
                      birthDate?: string;
                      documentNumber?: string;
                      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;
                      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;
                      residenceDestinationAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      };
                      surname?: string;
                  } & { flights?: { itemId: string }[] }
              )[];
              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;
          }[]

          Lists personal information of the travelers.

      • bookingSignature: string

        The unique identifier of a booking, obtained by the means of the Get Booking method. Used to verify the state of the booking prior to a modification operation.

        76c2817b178cc264fa44cf85df1da5fb9e1b963006b2339aa5edc09129415bba5fcf5bf91a5f
        
      • OptionalbookingSource?: "SABRE" | "SABRE_ORDER"
      • confirmationId: string

        The booking reference ID as shown in the source supplier/vendor system.

        GLEBNY
        
      • OptionalextraFeatures?: {
            returnFiscalId: boolean;
            returnFrequentRenter: boolean;
            returnWalletFormsOfPayment: boolean;
        }
        • returnFiscalId: boolean

          If true, the additional identity document FISCAL_ID is supported.

          false
          
        • returnFrequentRenter: boolean

          If true, the additional loyalty program type FREQUENT_RENTER is supported.

          false
          
        • returnWalletFormsOfPayment: boolean

          If true, returns the following additional forms of payment - DOCKET, GOVERNMENT_TRAVEL_REQUEST, and INVOICE.

          false
          
      • receivedFrom: string

        The entity that authorizes the changes in a booking.

        Modify Booking
        
        Booking Management API testing
        
      • retrieveBooking: boolean

        If true, the response includes the current state of the booking.

        false
        
        true
        
      • OptionaltargetPcc?: string

        Specifies the desired pseudo city code value. The API does not revert context after completing the booking.

        AAA
        
      • OptionalunmaskPaymentCardNumbers?: boolean

        If true, unmasks payment card information during the bookingSignature verification step. To use unmasked data, the Employee Profile Record (EPR) needs to include the CCVIEW keyword.

        false
        
    • ModifyBookingResponse: {
          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?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      date?: string;
                      endAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      endDate?: string;
                      endLocationCode?: string;
                      endTime?: string;
                      locationCode?: string;
                      startAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      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?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      dropOffContactInfo?: { emails?: string[] } & {
                          emergencyPhones?: string[];
                          faxes?: string[];
                          phones?: string[];
                      };
                      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?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      pickUpContactInfo?: { emails?: string[] } & {
                          emergencyPhones?: string[];
                          faxes?: string[];
                          phones?: string[];
                      };
                      pickUpDate: string;
                      pickUpLocationCode?: string;
                      pickUpTime: string;
                      rateCode?: string;
                      refundPenalties?: {
                          applicableFromDate?: string;
                          applicableToDate?: string;
                          penalty: { amount: string; currencyCode: string };
                      }[];
                      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?: { amount: string; currencyCode: string };
                          isCheckInOnly?: boolean;
                          maximumSizeInCentimeters?: number;
                          maximumSizeInInches?: number;
                          maximumWeightInKilograms?: number;
                          maximumWeightInPounds?: number;
                          numberOfPieces: number;
                          specialItemDescription?: string;
                      }[];
                      maximumPieces?: number;
                      totalWeightInKilograms?: number;
                      totalWeightInPounds?: number;
                  };
                  cabinBaggageCharges?: {
                      fee?: { amount: string; currencyCode: string };
                      isCheckInOnly?: boolean;
                      maximumSizeInCentimeters?: number;
                      maximumSizeInInches?: number;
                      maximumWeightInKilograms?: number;
                      maximumWeightInPounds?: number;
                      numberOfPieces: number;
                      specialItemDescription?: string;
                  }[];
                  checkedBaggageAllowance?: {
                      baggagePieces?: {
                          fee?: { amount: string; currencyCode: string };
                          isCheckInOnly?: boolean;
                          maximumSizeInCentimeters?: number;
                          maximumSizeInInches?: number;
                          maximumWeightInKilograms?: number;
                          maximumWeightInPounds?: number;
                          numberOfPieces: number;
                          specialItemDescription?: string;
                      }[];
                      maximumPieces?: number;
                      totalWeightInKilograms?: number;
                      totalWeightInPounds?: number;
                  };
                  checkedBaggageCharges?: {
                      fee?: { amount: string; currencyCode: string };
                      isCheckInOnly?: boolean;
                      maximumSizeInCentimeters?: number;
                      maximumSizeInInches?: number;
                      maximumWeightInKilograms?: number;
                      maximumWeightInPounds?: number;
                      numberOfPieces: number;
                      specialItemDescription?: string;
                  }[];
                  flights?: { itemId: string }[];
                  travelerIndices?: number[];
              }[];
              fareRules?: {
                  destinationAirportCode?: string;
                  exchangePenalties?: {
                      applicability: "BEFORE_DEPARTURE"
                      | "AFTER_DEPARTURE";
                      conditionsApply: boolean;
                      penalty: { amount: string; currencyCode: string };
                  }[];
                  isChangeable?: boolean;
                  isRefundable?: boolean;
                  originAirportCode?: string;
                  owningAirlineCode: string;
                  passengerCode?: string;
                  refundPenalties?: {
                      applicability: "BEFORE_DEPARTURE"
                      | "AFTER_DEPARTURE";
                      conditionsApply: boolean;
                      penalty: { amount: string; currencyCode: string };
                  }[];
              }[];
              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: string; currencyCode: string };
                      brandAttributes?: { description?: string; itemId?: string }[];
                      brandFareCode?: string;
                      brandFareName?: string;
                      brandProgramCode?: string;
                      brandProgramName?: string;
                      checkedBaggageAllowance?: {
                          baggagePieces?: {
                              fee?: { amount: ...; currencyCode: ... };
                              isCheckInOnly?: boolean;
                              maximumSizeInCentimeters?: number;
                              maximumSizeInInches?: number;
                              maximumWeightInKilograms?: number;
                              maximumWeightInPounds?: number;
                              numberOfPieces: number;
                              specialItemDescription?: string;
                          }[];
                          maximumPieces?: number;
                          totalWeightInKilograms?: number;
                          totalWeightInPounds?: number;
                      };
                      fareBasisCode?: string;
                      flightIndices?: number[];
                      flights?: { itemId: string }[];
                      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: string; currencyCode: string };
                      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?: string;
                          aircraftTypeName?: string;
                          airportCode?: string;
                          arrivalDate?: string;
                          arrivalTime?: string;
                          departureDate?: string;
                          departureTime?: string;
                          durationInMinutes?: number;
                      }[];
                      identityDocuments?: {
                          itemId?: string;
                          status?: | "Unknown"
                          | "Confirmed"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Waitlisted"
                          | "Infant/No Seat"
                          | "Priority Waitlist"
                          | "Quote"
                          | "Space Available"
                          | "Pending Quote"
                          | "No Seat"
                          | "Standby";
                      }[];
                      isPast?: boolean;
                      meals?: {
                          code: string;
                          description: | "Meal"
                          | "Alcoholic beverages for purchase"
                          | "Breakfast"
                          | "Cold meal"
                          | "Complimentary alcoholic beverages"
                          | "Continental breakfast"
                          | "Dinner"
                          | "Food for purchase"
                          | "Food and beverage for purchase"
                          | "Hot meal"
                          | "Lunch"
                          | "No meal service"
                          | "Refreshment"
                          | "Refreshment for purchase"
                          | "Snack";
                      }[];
                      numberOfSeats?: number;
                      operatingAirlineCode?: string;
                      operatingAirlineName?: string;
                      operatingFlightNumber?: number;
                      seats?: {
                          characteristics?: string[];
                          number: 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";
                      }[];
                      sourceType?: "NDC"
                      | "LCC"
                      | "ATPCO";
                      toAirportCode: string;
                      travelerIndices?: number[];
                      updatedArrivalDate?: string;
                      updatedArrivalTime?: string;
                      updatedDepartureDate?: string;
                      updatedDepartureTime?: string;
                  }
              )[];
              flightTickets?: {
                  agencyIataNumber?: string;
                  airlineCode: string;
                  allCoupons?: (
                      {
                          couponStatus: | "Airport Control"
                          | "Lifted"
                          | "Checked In"
                          | "Exchanged"
                          | "Flown"
                          | "Not Flown"
                          | "Refunded"
                          | "Voided"
                          | "Printed"
                          | "Okay"
                          | "Reactivated"
                          | "Irregular Operations"
                          | "Print Exchange"
                          | "Paper Ticket"
                          | "Suspended"
                          | "Locked";
                          couponStatusCode: | "AL"
                          | "PE"
                          | "XX"
                          | "S"
                          | "P"
                          | "B"
                          | "E"
                          | "BD"
                          | "CK"
                          | "I"
                          | "RF"
                          | "V"
                          | "PR"
                          | "IO"
                          | "T";
                      } & { itemId?: string }
                  )[];
                  commission?: {
                      commissionAmount?: string;
                      commissionPercentage?: string;
                      currencyCode?: string;
                  };
                  date: string;
                  flightCoupons: (
                      { itemId: string } & {
                          couponStatus:
                              | "Airport Control"
                              | "Lifted"
                              | "Checked In"
                              | "Exchanged"
                              | "Flown"
                              | "Not Flown"
                              | "Refunded"
                              | "Voided"
                              | "Printed"
                              | "Okay"
                              | "Reactivated"
                              | "Irregular Operations"
                              | "Print Exchange"
                              | "Paper Ticket"
                              | "Suspended"
                              | "Locked";
                          couponStatusCode: | "AL"
                          | "PE"
                          | "XX"
                          | "S"
                          | "P"
                          | "B"
                          | "E"
                          | "BD"
                          | "CK"
                          | "I"
                          | "RF"
                          | "V"
                          | "PR"
                          | "IO"
                          | "T";
                      }
                  )[];
                  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?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string } & { cityCode?: string };
                      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?: string[] } & {
                          emergencyPhones?: string[];
                          faxes?: string[];
                          phones?: string[];
                      };
                      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?: string;
                          applicableToDate?: string;
                          penalty: { amount: string; currencyCode: string };
                      }[];
                      refundPenaltyPolicyCode?: string;
                      room?: {
                          agencyCommission?: {
                              commissionAmount?: string;
                              commissionPercentage?: string;
                              currencyCode?: string;
                          };
                          description?: string;
                          productCode?: string;
                          quantity: number;
                          roomRate?: { amount: string; currencyCode: string };
                          roomType: string;
                          roomTypeCode?: string;
                          travelerIndices?: number[];
                      };
                      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?: {
                              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 };
                      }
                  )[];
                  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?: "Unknown" | "Single" | "Multiple";
                      flights?: { itemId: string }[];
                      isCommissionable?: boolean;
                      isRefundable?: boolean;
                      itemId?: string;
                      numberOfItems?: number;
                      reasonForIssuanceCode?: string;
                      reasonForIssuanceName?:
                          | "UNKNOWN"
                          | "AIR_TRANSPORTATION"
                          | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                          | "BAGGAGE"
                          | "FINANCIAL_IMPACT"
                          | "AIRPORT_SERVICES"
                          | "MERCHANDISE"
                          | "INFLIGHT_SERVICES"
                          | "INDIVIDUAL_AIRLINE_USE";
                      source?: "ATPCO"
                      | "MERCHANDISING_MANAGER";
                      statusCode?: string;
                      statusName?:
                          | "Confirmed"
                          | "Confirmed with EMD issued"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Confirmed with pending payment"
                          | "Schedule change";
                      subcode?: string;
                      totals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      };
                      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?: "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;
                      itemId?: string;
                      middleName?: string;
                      placeOfBirth?: string;
                      placeOfIssue?: string;
                      residenceCountryCode?: string;
                      residenceDestinationAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      };
                      surname?: string;
                  }[];
                  isGrouped?: boolean;
                  loyaltyPrograms?: {
                      programNumber: string;
                      programType?: | "FREQUENT_FLYER"
                      | "FREQUENT_RENTER"
                      | "LOYALTY_ID"
                      | "CORPORATE_LOYALTY_ID";
                      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?:
                          | "INVOICE"
                          | "ITINERARY"
                          | "GENERAL"
                          | "HISTORICAL"
                          | "CLIENT_ADDRESS"
                          | "ALPHA_CODED"
                          | "DELIVERY_ADDRESS"
                          | "HIDDEN"
                          | "CORPORATE"
                          | "FORM_OF_PAYMENT"
                          | "PRINT_ON_TICKET"
                          | "FILLER_STRIP"
                          | "INTERFACE"
                          | "QUEUE_PLACE";
                  }[];
                  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: 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?: 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 };
                          }
                      )[];
                  };
                  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: | "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;
                              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;
                              residenceDestinationAddress?: {
                                  city?: string;
                                  countryCode?: string;
                                  postalCode?: string;
                                  stateProvince?: string;
                                  street?: string;
                              };
                              surname?: string;
                          } & { flights?: { itemId: ... }[] }
                      )[];
                      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?: 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 };
                          }
                      )[];
                  };
                  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: | "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;
                              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;
                              residenceDestinationAddress?: {
                                  city?: string;
                                  countryCode?: string;
                                  postalCode?: string;
                                  stateProvince?: string;
                                  street?: string;
                              };
                              surname?: string;
                          } & { flights?: { itemId: ... }[] }
                      )[];
                      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;
          };
          timestamp?: string;
      }

      Contains the response from the Modify Booking service.

      • Optionalbooking?: {
            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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    date?: string;
                    endAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    endDate?: string;
                    endLocationCode?: string;
                    endTime?: string;
                    locationCode?: string;
                    startAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    dropOffContactInfo?: { emails?: string[] } & {
                        emergencyPhones?: string[];
                        faxes?: string[];
                        phones?: string[];
                    };
                    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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    pickUpContactInfo?: { emails?: string[] } & {
                        emergencyPhones?: string[];
                        faxes?: string[];
                        phones?: string[];
                    };
                    pickUpDate: string;
                    pickUpLocationCode?: string;
                    pickUpTime: string;
                    rateCode?: string;
                    refundPenalties?: {
                        applicableFromDate?: string;
                        applicableToDate?: string;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                    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?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    maximumPieces?: number;
                    totalWeightInKilograms?: number;
                    totalWeightInPounds?: number;
                };
                cabinBaggageCharges?: {
                    fee?: { amount: string; currencyCode: string };
                    isCheckInOnly?: boolean;
                    maximumSizeInCentimeters?: number;
                    maximumSizeInInches?: number;
                    maximumWeightInKilograms?: number;
                    maximumWeightInPounds?: number;
                    numberOfPieces: number;
                    specialItemDescription?: string;
                }[];
                checkedBaggageAllowance?: {
                    baggagePieces?: {
                        fee?: { amount: string; currencyCode: string };
                        isCheckInOnly?: boolean;
                        maximumSizeInCentimeters?: number;
                        maximumSizeInInches?: number;
                        maximumWeightInKilograms?: number;
                        maximumWeightInPounds?: number;
                        numberOfPieces: number;
                        specialItemDescription?: string;
                    }[];
                    maximumPieces?: number;
                    totalWeightInKilograms?: number;
                    totalWeightInPounds?: number;
                };
                checkedBaggageCharges?: {
                    fee?: { amount: string; currencyCode: string };
                    isCheckInOnly?: boolean;
                    maximumSizeInCentimeters?: number;
                    maximumSizeInInches?: number;
                    maximumWeightInKilograms?: number;
                    maximumWeightInPounds?: number;
                    numberOfPieces: number;
                    specialItemDescription?: string;
                }[];
                flights?: { itemId: string }[];
                travelerIndices?: number[];
            }[];
            fareRules?: {
                destinationAirportCode?: string;
                exchangePenalties?: {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                }[];
                isChangeable?: boolean;
                isRefundable?: boolean;
                originAirportCode?: string;
                owningAirlineCode: string;
                passengerCode?: string;
                refundPenalties?: {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                }[];
            }[];
            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: string; currencyCode: string };
                    brandAttributes?: { description?: string; itemId?: string }[];
                    brandFareCode?: string;
                    brandFareName?: string;
                    brandProgramCode?: string;
                    brandProgramName?: string;
                    checkedBaggageAllowance?: {
                        baggagePieces?: {
                            fee?: { amount: ...; currencyCode: ... };
                            isCheckInOnly?: boolean;
                            maximumSizeInCentimeters?: number;
                            maximumSizeInInches?: number;
                            maximumWeightInKilograms?: number;
                            maximumWeightInPounds?: number;
                            numberOfPieces: number;
                            specialItemDescription?: string;
                        }[];
                        maximumPieces?: number;
                        totalWeightInKilograms?: number;
                        totalWeightInPounds?: number;
                    };
                    fareBasisCode?: string;
                    flightIndices?: number[];
                    flights?: { itemId: string }[];
                    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: string; currencyCode: string };
                    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?: string;
                        aircraftTypeName?: string;
                        airportCode?: string;
                        arrivalDate?: string;
                        arrivalTime?: string;
                        departureDate?: string;
                        departureTime?: string;
                        durationInMinutes?: number;
                    }[];
                    identityDocuments?: {
                        itemId?: string;
                        status?: | "Unknown"
                        | "Confirmed"
                        | "On Request"
                        | "Pending"
                        | "Cancelled"
                        | "Unconfirmed"
                        | "Waitlisted"
                        | "Infant/No Seat"
                        | "Priority Waitlist"
                        | "Quote"
                        | "Space Available"
                        | "Pending Quote"
                        | "No Seat"
                        | "Standby";
                    }[];
                    isPast?: boolean;
                    meals?: {
                        code: string;
                        description: | "Meal"
                        | "Alcoholic beverages for purchase"
                        | "Breakfast"
                        | "Cold meal"
                        | "Complimentary alcoholic beverages"
                        | "Continental breakfast"
                        | "Dinner"
                        | "Food for purchase"
                        | "Food and beverage for purchase"
                        | "Hot meal"
                        | "Lunch"
                        | "No meal service"
                        | "Refreshment"
                        | "Refreshment for purchase"
                        | "Snack";
                    }[];
                    numberOfSeats?: number;
                    operatingAirlineCode?: string;
                    operatingAirlineName?: string;
                    operatingFlightNumber?: number;
                    seats?: {
                        characteristics?: string[];
                        number: 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";
                    }[];
                    sourceType?: "NDC"
                    | "LCC"
                    | "ATPCO";
                    toAirportCode: string;
                    travelerIndices?: number[];
                    updatedArrivalDate?: string;
                    updatedArrivalTime?: string;
                    updatedDepartureDate?: string;
                    updatedDepartureTime?: string;
                }
            )[];
            flightTickets?: {
                agencyIataNumber?: string;
                airlineCode: string;
                allCoupons?: (
                    {
                        couponStatus: | "Airport Control"
                        | "Lifted"
                        | "Checked In"
                        | "Exchanged"
                        | "Flown"
                        | "Not Flown"
                        | "Refunded"
                        | "Voided"
                        | "Printed"
                        | "Okay"
                        | "Reactivated"
                        | "Irregular Operations"
                        | "Print Exchange"
                        | "Paper Ticket"
                        | "Suspended"
                        | "Locked";
                        couponStatusCode: | "AL"
                        | "PE"
                        | "XX"
                        | "S"
                        | "P"
                        | "B"
                        | "E"
                        | "BD"
                        | "CK"
                        | "I"
                        | "RF"
                        | "V"
                        | "PR"
                        | "IO"
                        | "T";
                    } & { itemId?: string }
                )[];
                commission?: {
                    commissionAmount?: string;
                    commissionPercentage?: string;
                    currencyCode?: string;
                };
                date: string;
                flightCoupons: (
                    { itemId: string } & {
                        couponStatus:
                            | "Airport Control"
                            | "Lifted"
                            | "Checked In"
                            | "Exchanged"
                            | "Flown"
                            | "Not Flown"
                            | "Refunded"
                            | "Voided"
                            | "Printed"
                            | "Okay"
                            | "Reactivated"
                            | "Irregular Operations"
                            | "Print Exchange"
                            | "Paper Ticket"
                            | "Suspended"
                            | "Locked";
                        couponStatusCode: | "AL"
                        | "PE"
                        | "XX"
                        | "S"
                        | "P"
                        | "B"
                        | "E"
                        | "BD"
                        | "CK"
                        | "I"
                        | "RF"
                        | "V"
                        | "PR"
                        | "IO"
                        | "T";
                    }
                )[];
                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?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string } & { cityCode?: string };
                    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?: string[] } & {
                        emergencyPhones?: string[];
                        faxes?: string[];
                        phones?: string[];
                    };
                    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?: string;
                        applicableToDate?: string;
                        penalty: { amount: string; currencyCode: string };
                    }[];
                    refundPenaltyPolicyCode?: string;
                    room?: {
                        agencyCommission?: {
                            commissionAmount?: string;
                            commissionPercentage?: string;
                            currencyCode?: string;
                        };
                        description?: string;
                        productCode?: string;
                        quantity: number;
                        roomRate?: { amount: string; currencyCode: string };
                        roomType: string;
                        roomTypeCode?: string;
                        travelerIndices?: number[];
                    };
                    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?: {
                            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 };
                    }
                )[];
                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?: "Unknown" | "Single" | "Multiple";
                    flights?: { itemId: string }[];
                    isCommissionable?: boolean;
                    isRefundable?: boolean;
                    itemId?: string;
                    numberOfItems?: number;
                    reasonForIssuanceCode?: string;
                    reasonForIssuanceName?:
                        | "UNKNOWN"
                        | "AIR_TRANSPORTATION"
                        | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                        | "BAGGAGE"
                        | "FINANCIAL_IMPACT"
                        | "AIRPORT_SERVICES"
                        | "MERCHANDISE"
                        | "INFLIGHT_SERVICES"
                        | "INDIVIDUAL_AIRLINE_USE";
                    source?: "ATPCO"
                    | "MERCHANDISING_MANAGER";
                    statusCode?: string;
                    statusName?:
                        | "Confirmed"
                        | "Confirmed with EMD issued"
                        | "On Request"
                        | "Pending"
                        | "Cancelled"
                        | "Unconfirmed"
                        | "Confirmed with pending payment"
                        | "Schedule change";
                    subcode?: string;
                    totals?: {
                        currencyCode: string;
                        fees?: string;
                        subtotal?: string;
                        taxes?: string;
                        total: string;
                    };
                    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?: "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;
                    itemId?: string;
                    middleName?: string;
                    placeOfBirth?: string;
                    placeOfIssue?: string;
                    residenceCountryCode?: string;
                    residenceDestinationAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    };
                    surname?: string;
                }[];
                isGrouped?: boolean;
                loyaltyPrograms?: {
                    programNumber: string;
                    programType?: | "FREQUENT_FLYER"
                    | "FREQUENT_RENTER"
                    | "LOYALTY_ID"
                    | "CORPORATE_LOYALTY_ID";
                    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?:
                        | "INVOICE"
                        | "ITINERARY"
                        | "GENERAL"
                        | "HISTORICAL"
                        | "CLIENT_ADDRESS"
                        | "ALPHA_CODED"
                        | "DELIVERY_ADDRESS"
                        | "HIDDEN"
                        | "CORPORATE"
                        | "FORM_OF_PAYMENT"
                        | "PRINT_ON_TICKET"
                        | "FILLER_STRIP"
                        | "INTERFACE"
                        | "QUEUE_PLACE";
                }[];
                surname: string;
                type?: | "ADULT"
                | "AGENT"
                | "AIRLINE"
                | "CHILD"
                | "EDUCATION"
                | "GOVERNMENT"
                | "GROUP"
                | "INFANT"
                | "MILITARY"
                | "SENIOR"
                | "SPECIAL"
                | "YOUTH";
            }[];
            travelersGroup?: {
                itemId?: string;
                name?: string;
                numberOfTravelers?: number;
                numberOfTravelersRemaining?: number;
            };
        }
        • OptionalaccountingItems?: {
              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[];
          }[]

          Lists accounting items from the booking.

        • OptionalagencyCustomerNumber?: string

          The customer identifier used by their travel agency, also known as the customer number or the DK number. Can be a six, seven, or 10-character string.

          1234567
          
        • OptionalallSegments?: (
              { id: string } & {
                  address?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  date?: string;
                  endAddress?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  endDate?: string;
                  endLocationCode?: string;
                  endTime?: string;
                  locationCode?: string;
                  startAddress?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  startDate?: string;
                  startLocationCode?: string;
                  startTime?: string;
                  text?: string;
                  time?: string;
                  type: string;
                  vendorCode?: string;
              }
          )[]

          Lists all segments of the booking which overlaps with contextual booking elements such as flights, hotels, cars, trains and so on. This list also contains non-product related segments which exist in an underlying booking system.

        • OptionalbookingId?: string

          The booking reference ID as shown in the source supplier/vendor system. For SABRE, this is the PNR Locator or NDC orderId value, depending on content type.

          1SXXX1A2B3C4D
          
        • Optionalcars?: (
              { 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?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  dropOffContactInfo?: { emails?: string[] } & {
                      emergencyPhones?: string[];
                      faxes?: string[];
                      phones?: string[];
                  };
                  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?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  pickUpContactInfo?: { emails?: string[] } & {
                      emergencyPhones?: string[];
                      faxes?: string[];
                      phones?: string[];
                  };
                  pickUpDate: string;
                  pickUpLocationCode?: string;
                  pickUpTime: string;
                  rateCode?: string;
                  refundPenalties?: {
                      applicableFromDate?: string;
                      applicableToDate?: string;
                      penalty: { amount: string; currencyCode: string };
                  }[];
                  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;
              }
          )[]

          Lists all car rentals associated with the booking.

        • OptionalcontactInfo?: { emails?: string[] } & {
              emergencyPhones?: string[];
              faxes?: string[];
              phones?: string[];
          }
        • OptionalcreationDetails?: {
              agencyIataNumber?: string;
              creationDate?: string;
              creationTime?: string;
              creationUserSine?: string;
              primeHostId?: string;
              purchaseDeadlineDate?: string;
              purchaseDeadlineTime?: string;
              userHomePcc?: string;
              userWorkPcc?: string;
          }
          • OptionalagencyIataNumber?: string

            A unique identifier accredited by the International Air Transport Association (IATA).

            99119911
            
          • OptionalcreationDate?: string

            Format: date

            The date in YYYY-MM-DD format when the booking was created.

            2024-01-09
            
          • OptionalcreationTime?: string

            The time in HH:MM format when the booking was created. Not supported for NDC bookings.

            15:00
            
          • OptionalcreationUserSine?: string

            The sine of the Employee Profile Record that created the booking. Not supported for NDC bookings.

            A12
            
          • OptionalprimeHostId?: string

            The identification code for the prime host (global distribution system) associated with the reservation.

            1S
            
          • OptionalpurchaseDeadlineDate?: string

            Format: date

            The date in the YYYY-MM-DD format by which the stored fare must be ticketed.

            2024-01-09
            
          • OptionalpurchaseDeadlineTime?: string

            The time in the HH:MM format by which the stored fare must be ticketed.

            15:00
            
          • OptionaluserHomePcc?: string

            The pseudo city code of the agent who created the booking.

            CD34
            
          • OptionaluserWorkPcc?: string

            The pseudo city code where the booking was created.

            AB12
            
        • Optionalcruises?: (
              { 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;
              }
          )[]

          Lists all cruises associated with the booking.

        • OptionalendDate?: string

          Format: date

          The end date of the booking in ISO 8601 format.

          2024-07-19
          
        • OptionalfareOffers?: {
              cabinBaggageAllowance?: {
                  baggagePieces?: {
                      fee?: { amount: string; currencyCode: string };
                      isCheckInOnly?: boolean;
                      maximumSizeInCentimeters?: number;
                      maximumSizeInInches?: number;
                      maximumWeightInKilograms?: number;
                      maximumWeightInPounds?: number;
                      numberOfPieces: number;
                      specialItemDescription?: string;
                  }[];
                  maximumPieces?: number;
                  totalWeightInKilograms?: number;
                  totalWeightInPounds?: number;
              };
              cabinBaggageCharges?: {
                  fee?: { amount: string; currencyCode: string };
                  isCheckInOnly?: boolean;
                  maximumSizeInCentimeters?: number;
                  maximumSizeInInches?: number;
                  maximumWeightInKilograms?: number;
                  maximumWeightInPounds?: number;
                  numberOfPieces: number;
                  specialItemDescription?: string;
              }[];
              checkedBaggageAllowance?: {
                  baggagePieces?: {
                      fee?: { amount: string; currencyCode: string };
                      isCheckInOnly?: boolean;
                      maximumSizeInCentimeters?: number;
                      maximumSizeInInches?: number;
                      maximumWeightInKilograms?: number;
                      maximumWeightInPounds?: number;
                      numberOfPieces: number;
                      specialItemDescription?: string;
                  }[];
                  maximumPieces?: number;
                  totalWeightInKilograms?: number;
                  totalWeightInPounds?: number;
              };
              checkedBaggageCharges?: {
                  fee?: { amount: string; currencyCode: string };
                  isCheckInOnly?: boolean;
                  maximumSizeInCentimeters?: number;
                  maximumSizeInInches?: number;
                  maximumWeightInKilograms?: number;
                  maximumWeightInPounds?: number;
                  numberOfPieces: number;
                  specialItemDescription?: string;
              }[];
              flights?: { itemId: string }[];
              travelerIndices?: number[];
          }[]

          Lists ancillary offers for selected flights identified by itemId flight references.

        • OptionalfareRules?: {
              destinationAirportCode?: string;
              exchangePenalties?: {
                  applicability: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                  conditionsApply: boolean;
                  penalty: { amount: string; currencyCode: string };
              }[];
              isChangeable?: boolean;
              isRefundable?: boolean;
              originAirportCode?: string;
              owningAirlineCode: string;
              passengerCode?: string;
              refundPenalties?: {
                  applicability: "BEFORE_DEPARTURE"
                  | "AFTER_DEPARTURE";
                  conditionsApply: boolean;
                  penalty: { amount: string; currencyCode: string };
              }[];
          }[]

          Lists most restrictive fare rule information displayed at the time of purchase. This service applies data from either Tickets or Price Quotes.

        • Optionalfares?: {
              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: string; currencyCode: string };
                  brandAttributes?: { description?: string; itemId?: string }[];
                  brandFareCode?: string;
                  brandFareName?: string;
                  brandProgramCode?: string;
                  brandProgramName?: string;
                  checkedBaggageAllowance?: {
                      baggagePieces?: {
                          fee?: { amount: ...; currencyCode: ... };
                          isCheckInOnly?: boolean;
                          maximumSizeInCentimeters?: number;
                          maximumSizeInInches?: number;
                          maximumWeightInKilograms?: number;
                          maximumWeightInPounds?: number;
                          numberOfPieces: number;
                          specialItemDescription?: string;
                      }[];
                      maximumPieces?: number;
                      totalWeightInKilograms?: number;
                      totalWeightInPounds?: number;
                  };
                  fareBasisCode?: string;
                  flightIndices?: number[];
                  flights?: { itemId: string }[];
                  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: string; currencyCode: string };
                  taxCode?: string;
              }[];
              totals?: {
                  currencyCode: string;
                  fees?: string;
                  subtotal?: string;
                  taxes?: string;
                  total: string;
              };
              tourCode?: string;
              travelerIndices?: number[];
          }[]

          Lists the details for saved fares. This service applies data either from a Price Quote or an Order Item.

        • Optionalflights?: (
              { 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?: string;
                      aircraftTypeName?: string;
                      airportCode?: string;
                      arrivalDate?: string;
                      arrivalTime?: string;
                      departureDate?: string;
                      departureTime?: string;
                      durationInMinutes?: number;
                  }[];
                  identityDocuments?: {
                      itemId?: string;
                      status?: | "Unknown"
                      | "Confirmed"
                      | "On Request"
                      | "Pending"
                      | "Cancelled"
                      | "Unconfirmed"
                      | "Waitlisted"
                      | "Infant/No Seat"
                      | "Priority Waitlist"
                      | "Quote"
                      | "Space Available"
                      | "Pending Quote"
                      | "No Seat"
                      | "Standby";
                  }[];
                  isPast?: boolean;
                  meals?: {
                      code: string;
                      description: | "Meal"
                      | "Alcoholic beverages for purchase"
                      | "Breakfast"
                      | "Cold meal"
                      | "Complimentary alcoholic beverages"
                      | "Continental breakfast"
                      | "Dinner"
                      | "Food for purchase"
                      | "Food and beverage for purchase"
                      | "Hot meal"
                      | "Lunch"
                      | "No meal service"
                      | "Refreshment"
                      | "Refreshment for purchase"
                      | "Snack";
                  }[];
                  numberOfSeats?: number;
                  operatingAirlineCode?: string;
                  operatingAirlineName?: string;
                  operatingFlightNumber?: number;
                  seats?: {
                      characteristics?: string[];
                      number: 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";
                  }[];
                  sourceType?: "NDC"
                  | "LCC"
                  | "ATPCO";
                  toAirportCode: string;
                  travelerIndices?: number[];
                  updatedArrivalDate?: string;
                  updatedArrivalTime?: string;
                  updatedDepartureDate?: string;
                  updatedDepartureTime?: string;
              }
          )[]

          Lists all flights associated with the booking in chronological order.

        • OptionalflightTickets?: {
              agencyIataNumber?: string;
              airlineCode: string;
              allCoupons?: (
                  {
                      couponStatus: | "Airport Control"
                      | "Lifted"
                      | "Checked In"
                      | "Exchanged"
                      | "Flown"
                      | "Not Flown"
                      | "Refunded"
                      | "Voided"
                      | "Printed"
                      | "Okay"
                      | "Reactivated"
                      | "Irregular Operations"
                      | "Print Exchange"
                      | "Paper Ticket"
                      | "Suspended"
                      | "Locked";
                      couponStatusCode: | "AL"
                      | "PE"
                      | "XX"
                      | "S"
                      | "P"
                      | "B"
                      | "E"
                      | "BD"
                      | "CK"
                      | "I"
                      | "RF"
                      | "V"
                      | "PR"
                      | "IO"
                      | "T";
                  } & { itemId?: string }
              )[];
              commission?: {
                  commissionAmount?: string;
                  commissionPercentage?: string;
                  currencyCode?: string;
              };
              date: string;
              flightCoupons: (
                  { itemId: string } & {
                      couponStatus:
                          | "Airport Control"
                          | "Lifted"
                          | "Checked In"
                          | "Exchanged"
                          | "Flown"
                          | "Not Flown"
                          | "Refunded"
                          | "Voided"
                          | "Printed"
                          | "Okay"
                          | "Reactivated"
                          | "Irregular Operations"
                          | "Print Exchange"
                          | "Paper Ticket"
                          | "Suspended"
                          | "Locked";
                      couponStatusCode: | "AL"
                      | "PE"
                      | "XX"
                      | "S"
                      | "P"
                      | "B"
                      | "E"
                      | "BD"
                      | "CK"
                      | "I"
                      | "RF"
                      | "V"
                      | "PR"
                      | "IO"
                      | "T";
                  }
              )[];
              number: string;
              payment: {
                  currencyCode: string;
                  fees?: string;
                  subtotal?: string;
                  taxes?: string;
                  total: string;
              };
              ticketingPcc?: string;
              ticketStatusCode?: string;
              ticketStatusName?: "Voided"
              | "Issued"
              | "Refunded/Exchanged";
              travelerIndex: number;
          }[]

          Lists all electronic flight tickets issued for the travelers.

        • OptionalfutureTicketingPolicy?: {
              comment?: string;
              queueNumber?: string;
              ticketingDate?: string;
              ticketingPcc?: string;
              ticketingTime?: string;
          }
          • Optionalcomment?: string

            Free text comment.

            TICKET BEFORE TUES
            
          • OptionalqueueNumber?: string

            Used to specify a queue number.

            55
            
          • OptionalticketingDate?: string

            Format: date

            The ticketing date.

            2024-07-09
            
          • OptionalticketingPcc?: string

            Used to specify a pseudocity code.

            G7RE
            
          • OptionalticketingTime?: string

            The ticketing time in HH:MM format.

            11:00
            
        • Optionalhotels?: (
              { itemId: string } & {
                  address: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string } & { cityCode?: string };
                  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?: string[] } & {
                      emergencyPhones?: string[];
                      faxes?: string[];
                      phones?: string[];
                  };
                  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?: string;
                      applicableToDate?: string;
                      penalty: { amount: string; currencyCode: string };
                  }[];
                  refundPenaltyPolicyCode?: string;
                  room?: {
                      agencyCommission?: {
                          commissionAmount?: string;
                          commissionPercentage?: string;
                          currencyCode?: string;
                      };
                      description?: string;
                      productCode?: string;
                      quantity: number;
                      roomRate?: { amount: string; currencyCode: string };
                      roomType: string;
                      roomTypeCode?: string;
                      travelerIndices?: number[];
                  };
                  sabrePropertyId?: string;
                  sourceTypeCode?: number;
                  sourceTypeName?: | "Unknown"
                  | "Legacy"
                  | "Sabre GDS"
                  | "Expedia Associate Network"
                  | "HotelBeds.com"
                  | "Booking.com"
                  | "CMNet";
                  specialInstructions?: string;
              }
          )[]

          Lists all hotel reservations associated with the booking.

        • OptionalisCancelable?: boolean

          If true, the booking is cancelable in full or in segments. Refer to the refundPenalties array for more information.

          false
          
        • OptionalisTicketed?: boolean

          If true, at least one ticket was issued for the booking.

          false
          
        • Optionaljourneys?: {
              departureDate: string;
              departureTime: string;
              firstAirportCode: string;
              lastAirportCode: string;
              numberOfFlights: number;
          }[]

          Lists all the journeys associated with the booking. * For one-way, this is a single element list. * For round-trip, the list contains two journeys. * For multi-destinations, the list contains more than two journeys.

        • OptionalnonElectronicTickets?: {
              date?: string;
              ticketingPcc?: string;
              ticketingUserCode?: string;
              ticketNumber?: string;
              ticketStatus?: "Unknown" | "Active" | "Inactive";
              time?: string;
              travelerIndex?: number;
          }[]

          Lists nonelectronic tickets from the booking.

        • OptionalotherServices?: {
              airlineCode?: string;
              chainCode?: string;
              serviceMessage?: string;
              travelerIndex?: number;
              vendorCode?: string;
          }[]

          Lists Other Service Information (OSI) to/from a specific vendor.

        • Optionalpayments?: {
              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?: {
                          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 };
                  }
              )[];
              hotelTotals?: {
                  currencyCode: string;
                  fees?: string;
                  subtotal?: string;
                  taxes?: string;
                  total: string;
              }[];
              trainTotals?: {
                  currencyCode: string;
                  fees?: string;
                  subtotal?: string;
                  taxes?: string;
                  total: string;
              }[];
          }
          • OptionalcarTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            }[]

            Lists all car rental payments, per each currency used.

          • OptionalflightCurrentTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            }[]

            Lists all flight payments, per each currency used, and is applicable only for ticketed bookings. It sums up all payments with the exclusion of Refunded/Voided tickets, obtained directly from the ticket data.

          • OptionalflightTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            }[]

            Lists all flight payments, per each currency used. For ticketed bookings it sums all payments irrespective of the document status. For non-ticketed bookings it sums payments from all price quotes stored in the booking.

          • OptionalformsOfPayment?: (
                {
                    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 };
                }
            )[]

            Lists all the payment methods that are stored in the booking.

          • OptionalhotelTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            }[]

            Lists all hotel payments, per each currency used.

          • OptionaltrainTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            }[]

            Lists all train payments, per each currency used.

        • Optionalremarks?: {
              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";
          }[]

          Contains list of remarks added to the PNR.

        • OptionalretentionEndDate?: string

          Format: date

          The retention date of the booking. Used optionally to keep the booking active past the date of the last itinerary item (flight, hotel, car, etc.). After this date, the booking is set for purging.

          2024-01-30
          
        • OptionalretentionLabel?: string

          The label associated with the retention date.

          RETENTION DATE
          
        • OptionalspecialServices?: {
              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[];
          }[]

          Lists all special services associated with a traveler.

        • OptionalstartDate?: string

          Format: date

          The start date of the booking in ISO 8601 format.

          2024-07-09
          
        • Optionaltrains?: (
              { 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;
              }
          )[]

          Lists all trains associated with the booking.

        • Optionaltravelers?: {
              address?: {
                  city?: string;
                  countryCode?: string;
                  postalCode?: string;
                  stateProvince?: string;
                  street?: string;
              } & { freeText?: string; name?: string };
              ancillaries?: {
                  airlineCode?: string;
                  commercialName?: string;
                  electronicMiscellaneousDocumentNumber?: string;
                  flightApplicabilityType?: "Unknown" | "Single" | "Multiple";
                  flights?: { itemId: string }[];
                  isCommissionable?: boolean;
                  isRefundable?: boolean;
                  itemId?: string;
                  numberOfItems?: number;
                  reasonForIssuanceCode?: string;
                  reasonForIssuanceName?:
                      | "UNKNOWN"
                      | "AIR_TRANSPORTATION"
                      | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                      | "BAGGAGE"
                      | "FINANCIAL_IMPACT"
                      | "AIRPORT_SERVICES"
                      | "MERCHANDISE"
                      | "INFLIGHT_SERVICES"
                      | "INDIVIDUAL_AIRLINE_USE";
                  source?: "ATPCO"
                  | "MERCHANDISING_MANAGER";
                  statusCode?: string;
                  statusName?:
                      | "Confirmed"
                      | "Confirmed with EMD issued"
                      | "On Request"
                      | "Pending"
                      | "Cancelled"
                      | "Unconfirmed"
                      | "Confirmed with pending payment"
                      | "Schedule change";
                  subcode?: string;
                  totals?: {
                      currencyCode: string;
                      fees?: string;
                      subtotal?: string;
                      taxes?: string;
                      total: string;
                  };
                  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?: "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;
                  itemId?: string;
                  middleName?: string;
                  placeOfBirth?: string;
                  placeOfIssue?: string;
                  residenceCountryCode?: string;
                  residenceDestinationAddress?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  };
                  surname?: string;
              }[];
              isGrouped?: boolean;
              loyaltyPrograms?: {
                  programNumber: string;
                  programType?: | "FREQUENT_FLYER"
                  | "FREQUENT_RENTER"
                  | "LOYALTY_ID"
                  | "CORPORATE_LOYALTY_ID";
                  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?:
                      | "INVOICE"
                      | "ITINERARY"
                      | "GENERAL"
                      | "HISTORICAL"
                      | "CLIENT_ADDRESS"
                      | "ALPHA_CODED"
                      | "DELIVERY_ADDRESS"
                      | "HIDDEN"
                      | "CORPORATE"
                      | "FORM_OF_PAYMENT"
                      | "PRINT_ON_TICKET"
                      | "FILLER_STRIP"
                      | "INTERFACE"
                      | "QUEUE_PLACE";
              }[];
              surname: string;
              type?: | "ADULT"
              | "AGENT"
              | "AIRLINE"
              | "CHILD"
              | "EDUCATION"
              | "GOVERNMENT"
              | "GROUP"
              | "INFANT"
              | "MILITARY"
              | "SENIOR"
              | "SPECIAL"
              | "YOUTH";
          }[]

          Lists the traveler(s) associated with the booking.

        • OptionaltravelersGroup?: {
              itemId?: string;
              name?: string;
              numberOfTravelers?: number;
              numberOfTravelersRemaining?: number;
          }
          • OptionalitemId?: string

            Contains the ID of the group.

            3
            
          • Optionalname?: string

            The name of the group.

            GROUP ONE
            
          • OptionalnumberOfTravelers?: number

            Format: int32

            The total number of travelers within the group. Lap infants are not taken into consideration.

            1
            
          • OptionalnumberOfTravelersRemaining?: number

            Format: int32

            The number of remaining travelers within the group whose names are not provided. Lap infants are not taken into consideration.

            1
            
      • Optionalerrors?: {
            category: string;
            description?: string;
            fieldName?: string;
            fieldPath?: string;
            fieldValue?: string;
            type: string;
        }[]

        Lists detailed error information. This array is not displayed in successful responses.

      • Optionalrequest?: {
            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?: 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 };
                        }
                    )[];
                };
                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: | "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;
                            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;
                            residenceDestinationAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            };
                            surname?: string;
                        } & { flights?: { itemId: ... }[] }
                    )[];
                    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?: 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 };
                        }
                    )[];
                };
                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: | "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;
                            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;
                            residenceDestinationAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            };
                            surname?: string;
                        } & { flights?: { itemId: ... }[] }
                    )[];
                    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;
        }
        • 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?: 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 };
                      }
                  )[];
              };
              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: | "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;
                          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;
                          residenceDestinationAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          surname?: string;
                      } & { flights?: { itemId: ... }[] }
                  )[];
                  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;
              }[];
          }
          • OptionalagencyCustomerNumber?: string

            The customer identifier used by their travel agency, also known as the customer number or the DK number. Can be a six, seven, or 10-character string.

            1234567
            
          • OptionalcreationDetails?: { agencyIataNumber?: string }
            • OptionalagencyIataNumber?: string

              A unique identifier accredited by the International Air Transport Association (IATA).

              12344321
              
          • Optionalflights?: { seats?: { number: string; offerItemId?: string }[] }[]

            Lists all flights associated with the booking in chronological order.

          • Optionalhotels?: (
                { 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;
                }
            )[]

            Lists the hotels which should be modified.

          • Optionalpayments?: {
                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 };
                    }
                )[];
            }
            • OptionalformsOfPayment?: (
                  {
                      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 };
                  }
              )[]

              Lists payment methods associated with the booking.

          • OptionalretentionEndDate?: string

            Format: date

            The retention date of the booking. Used optionally to keep the booking active past the date of the last itinerary item (flight, hotel, car, etc.). After this date, the booking is set for purging.

            2024-01-30
            
          • OptionalretentionLabel?: string

            The label associated with the retention date.

            RETENTION DATE
            
          • OptionalspecialServices?: {
                code: string;
                flights?: { itemId: string }[];
                message?: string;
                travelerIndices?: number[];
            }[]

            Lists all special service request (SSR) messages sent to an airline. The messages may contain traveler preferences or mandatory/optional information directed to the airline.

          • Optionaltravelers?: {
                birthDate?: string;
                emails?: string[];
                givenName?: string;
                identityDocuments?: (
                    {
                        birthDate?: string;
                        documentNumber?: string;
                        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;
                        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;
                        residenceDestinationAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        };
                        surname?: string;
                    } & { flights?: { itemId: ... }[] }
                )[];
                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;
            }[]

            Lists personal information of the travelers.

        • 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?: 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 };
                      }
                  )[];
              };
              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: | "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;
                          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;
                          residenceDestinationAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          surname?: string;
                      } & { flights?: { itemId: ... }[] }
                  )[];
                  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;
              }[];
          }
          • OptionalagencyCustomerNumber?: string

            The customer identifier used by their travel agency, also known as the customer number or the DK number. Can be a six, seven, or 10-character string.

            1234567
            
          • OptionalcreationDetails?: { agencyIataNumber?: string }
            • OptionalagencyIataNumber?: string

              A unique identifier accredited by the International Air Transport Association (IATA).

              12344321
              
          • Optionalflights?: { seats?: { number: string; offerItemId?: string }[] }[]

            Lists all flights associated with the booking in chronological order.

          • Optionalhotels?: (
                { 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;
                }
            )[]

            Lists the hotels which should be modified.

          • Optionalpayments?: {
                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 };
                    }
                )[];
            }
            • OptionalformsOfPayment?: (
                  {
                      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 };
                  }
              )[]

              Lists payment methods associated with the booking.

          • OptionalretentionEndDate?: string

            Format: date

            The retention date of the booking. Used optionally to keep the booking active past the date of the last itinerary item (flight, hotel, car, etc.). After this date, the booking is set for purging.

            2024-01-30
            
          • OptionalretentionLabel?: string

            The label associated with the retention date.

            RETENTION DATE
            
          • OptionalspecialServices?: {
                code: string;
                flights?: { itemId: string }[];
                message?: string;
                travelerIndices?: number[];
            }[]

            Lists all special service request (SSR) messages sent to an airline. The messages may contain traveler preferences or mandatory/optional information directed to the airline.

          • Optionaltravelers?: {
                birthDate?: string;
                emails?: string[];
                givenName?: string;
                identityDocuments?: (
                    {
                        birthDate?: string;
                        documentNumber?: string;
                        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;
                        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;
                        residenceDestinationAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        };
                        surname?: string;
                    } & { flights?: { itemId: ... }[] }
                )[];
                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;
            }[]

            Lists personal information of the travelers.

        • bookingSignature: string

          The unique identifier of a booking, obtained by the means of the Get Booking method. Used to verify the state of the booking prior to a modification operation.

          76c2817b178cc264fa44cf85df1da5fb9e1b963006b2339aa5edc09129415bba5fcf5bf91a5f
          
        • OptionalbookingSource?: "SABRE" | "SABRE_ORDER"
        • confirmationId: string

          The booking reference ID as shown in the source supplier/vendor system.

          GLEBNY
          
        • OptionalextraFeatures?: {
              returnFiscalId: boolean;
              returnFrequentRenter: boolean;
              returnWalletFormsOfPayment: boolean;
          }
          • returnFiscalId: boolean

            If true, the additional identity document FISCAL_ID is supported.

            false
            
          • returnFrequentRenter: boolean

            If true, the additional loyalty program type FREQUENT_RENTER is supported.

            false
            
          • returnWalletFormsOfPayment: boolean

            If true, returns the following additional forms of payment - DOCKET, GOVERNMENT_TRAVEL_REQUEST, and INVOICE.

            false
            
        • receivedFrom: string

          The entity that authorizes the changes in a booking.

          Modify Booking
          
          Booking Management API testing
          
        • retrieveBooking: boolean

          If true, the response includes the current state of the booking.

          false
          
          true
          
        • OptionaltargetPcc?: string

          Specifies the desired pseudo city code value. The API does not revert context after completing the booking.

          AAA
          
        • OptionalunmaskPaymentCardNumbers?: boolean

          If true, unmasks payment card information during the bookingSignature verification step. To use unmasked data, the Employee Profile Record (EPR) needs to include the CCVIEW keyword.

          false
          
      • Optionaltimestamp?: string

        Format: date-time

        Provides the exact point in time when the response was generated. The timestamp is expressed in UTC and presented in the YYYY-MM-DDTHH:MM:SSZ format.

        2024-10-28T11:11:21Z
        
    • ModifyIdentityDocument: {
          birthDate?: string;
          documentNumber?: string;
          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;
          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;
          residenceDestinationAddress?: {
              city?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          };
          surname?: string;
      } & { flights?: { itemId: string }[] }

      Contains details of the identity document to modify.

    • NetRemit: {
          cashValue?: { amount: string; currencyCode: string };
          commercialAgreementReferenceCode?: string;
          creditValue?: { amount: string; currencyCode: string };
          netRemitCode?: string;
      }

      Contains Automated Net Remit pricing qualifiers. Net Remit is used to arrange the payment of an extra commission that is over and above the standard commission. This extra commission is payable by the validating carrier through BSP reports.

      • OptionalcashValue?: { amount: string; currencyCode: string }
        • amount: string

          The monetary amount.

          100.00
          
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
      • OptionalcommercialAgreementReferenceCode?: string

        The reference code used to indicate the Net Remit commercial contract.

        DEF456
        
      • OptionalcreditValue?: { amount: string; currencyCode: string }
        • amount: string

          The monetary amount.

          100.00
          
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
      • OptionalnetRemitCode?: string

        The value code used to enter a manual Net Remit code.

        ABCD123
        
    • NonElectronicTicket: {
          date?: string;
          ticketingPcc?: string;
          ticketingUserCode?: string;
          ticketNumber?: string;
          ticketStatus?: "Unknown" | "Active" | "Inactive";
          time?: string;
          travelerIndex?: number;
      }

      Contains a nonelectronic ticket. Supported for ATPCO content only.

      • Optionaldate?: string

        Format: date

        The date the nonelectronic ticket was issued, provided in YYYY-MM-DD format in the issuing agency's time zone.

        2024-07-01
        
      • OptionalticketingPcc?: string

        The pseudo city code of the agency which issued the ticket.

        G7HE
        
      • OptionalticketingUserCode?: string

        The code of the user that issued the ticket. Not supported for NDC bookings.

        A12
        
      • OptionalticketNumber?: string

        The number of the nonelectronic ticket.

        0011234567899
        
      • OptionalticketStatus?: "Unknown" | "Active" | "Inactive"
      • Optionaltime?: string

        The time the nonelectronic ticket was issued, provided in HH:MM format in the issuing agency's time zone.

        09:15
        
      • OptionaltravelerIndex?: number

        Format: int32

        The index of the traveler to whom the ticket is assigned.

        1
        
    • NonElectronicTicketStatusEnum: "Unknown" | "Active" | "Inactive"

      Identifies the status of a nonelectronic ticket.

      Unknown
      
      Active
      @enum {string}
    • NonShowPenalty: {
          penalty?: { amount: string; currencyCode: string };
          source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
      }

      Contains penalty information that applies to specific fare rules.

      • Optionalpenalty?: { amount: string; currencyCode: string }
        • amount: string

          The monetary amount.

          100.00
          
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
      • Optionalsource?: "Unknown" | "Category 33" | "Category 31" | "Category 16"
    • Notification: {
          email?:
              | "DEFAULT"
              | "INVOICE"
              | "ETICKET"
              | "ETICKET_PDF"
              | "ITINERARY"
              | "ITINERARY_PDF";
          queuePlacement?: {
              futureQueuePlacementDate?: string;
              pcc?: string;
              prefatoryInstructionCode: number;
              queueName?: string;
              queueNumber?: number;
          }[];
      }

      Contains the actions to be performed after the completion of the requested action (booking creation/ticket void or refund).

      • Optionalemail?:
            | "DEFAULT"
            | "INVOICE"
            | "ETICKET"
            | "ETICKET_PDF"
            | "ITINERARY"
            | "ITINERARY_PDF"
      • OptionalqueuePlacement?: {
            futureQueuePlacementDate?: string;
            pcc?: string;
            prefatoryInstructionCode: number;
            queueName?: string;
            queueNumber?: number;
        }[]

        Lists the specifiec queue (up to three) to place the PNR into for the operation.

    • NotificationEmailEnum:
          | "DEFAULT"
          | "INVOICE"
          | "ETICKET"
          | "ETICKET_PDF"
          | "ITINERARY"
          | "ITINERARY_PDF"

      Identifies the method of e-mail notification. DEFAULT sends a default e-mail notification based on the agency/PCC configuration. INVOICE sends an e-mail with a copy of the eInvoice, ETICKET sends an e-mail with a text copy of the eTicket, and ITINERARY sends an e-mail with a text copy of the itinerary.

      INVOICE
      @enum {string}
    • OtherServiceInformation: {
          airlineCode?: string;
          chainCode?: string;
          serviceMessage?: string;
          travelerIndex?: number;
          vendorCode?: string;
      }

      Contains other service information (OSI) to/from a specific vendor.

      • OptionalairlineCode?: string

        The two-letter IATA designator code of the issuing airline.

        AA
        
      • OptionalchainCode?: string

        The two character code of the hotel chain.

        BY
        
      • OptionalserviceMessage?: string

        The text of the service information.

        /CX-J674A0957C0
        
      • OptionaltravelerIndex?: number

        Format: int32

        Specifies the traveler from the travelers array whose name is associated with the ticket.

        1
        
      • OptionalvendorCode?: string

        The two-letter code of the car rental vendor.

        ZE
        
    • OverrideTax: {
          airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
          taxAmount?: string;
          taxCode?: string;
      }

      Contains code and amount of a specific tax.

      • OptionalairportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[]

        Lists information to override the refundable amount of individual XF airport taxes.

      • OptionaltaxAmount?: string

        Amount in the currency of the original ticket.

        5.00
        
      • OptionaltaxCode?: string

        The two-character tax code for which the refundable amount is applicable. Must be combined with taxAmount.

        XF
        
    • PassengerPricing: {
          forcePassengerCode?: boolean;
          numberOfpassengers?: number;
          passengerCode?: string;
      }

      Contains a desired passengerCode and the quantity used for pricing.

      • OptionalforcePassengerCode?: boolean

        If true, the system will price the booking based on the desired passengerCode.

        false
        
      • OptionalnumberOfpassengers?: number

        Format: int32

        Identifies the number of travelers with the desired passengerCode.

        2
        
      • OptionalpassengerCode?: string

        Identifies the type (age) of the traveler. To book a flight that includes infant travelers, pass INF. Pass INY to indicate an infant without an assigned seat, or pass INS to indicate an infant with a seat.

        ADT
        
    • PassengerStatusEnum: "RESIDENT" | "NATIONALITY" | "EMPLOYEE"

      Identifies the passenger status code.

    • 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 };
              }
          )[];
      }

      Contains required and optional fields needed to pass payment information necessary to complete the booking.

      • OptionalbillingAddress?: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        } & { freeText?: string; name?: string }
      • OptionalformsOfPayment?: (
            {
                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 };
            }
        )[]

        Contains all the payment methods that will be associated to the booking.

    • PaymentMethod: {
          amountOnSecondFormOfPayment?: string;
          primaryFormOfPayment: number;
          secondaryFormOfPayment?: number;
      }

      Contains a maximum of two forms of payment from the formsOfPayment array. Multiple forms of payment may be defined only if your location uses Billing and Settlement Plan (BSP) reporting and/or the point of sale country does not prohibit providing more than one credit card as the form of payment.

      • OptionalamountOnSecondFormOfPayment?: string

        The desired base fare amount to charge to the second form of payment. Applicable only if two forms of payment are requested.

        100.00
        
      • primaryFormOfPayment: number

        Format: int32

        The index of the primary form of payment type in the formsOfPayment array.

        1
        
      • OptionalsecondaryFormOfPayment?: number

        Format: int32

        The index of the primary form of payment type in the formsOfPayment array.

        2
        
    • PaymentToModify: {
          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 };
              }
          )[];
      }

      Contains payment information necessary to modify the booking.

      • OptionalformsOfPayment?: (
            {
                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 };
            }
        )[]

        Lists payment methods associated with the booking.

    • PenaltyItem: {
          applicability: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
          conditionsApply: boolean;
          penalty: { amount: string; currencyCode: string };
      } & {
          hasNoShowCost?: boolean;
          noShowPenalty?: {
              penalty?: { amount: string; currencyCode: string };
              source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
          };
          source?: "Unknown"
          | "Category 33"
          | "Category 31"
          | "Category 16";
      }

      Contains penalty information that applies to specific fare rules.

    • PenaltyRestriction: {
          applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
          penaltyAmount?: { amount?: string };
          restrictionType: "CHANGEABLE" | "REFUNDABLE" | "CHANGEABLE_AND_REFUNDABLE";
      }

      Contains penalty information applied to specific fare rules.

      • Optionalapplicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE"
      • OptionalpenaltyAmount?: { amount?: string }
        • Optionalamount?: string

          The penalty amount.

          100
          
      • restrictionType: "CHANGEABLE" | "REFUNDABLE" | "CHANGEABLE_AND_REFUNDABLE"
    • PenaltyRestrictionAmount: { amount?: string }
      • Optionalamount?: string

        The penalty amount.

        100
        
    • PenaltySourceEnum: "Unknown" | "Category 33" | "Category 31" | "Category 16"

      Identifies a particular ATPCO Fare Category as the source of penalty information.

      Unknown
      
      Category 33
      @enum {string}
    • Phone: { label?: string; number: string }

      Contains phone details.

      • Optionallabel?: string

        The type of the phone number. Available phone type codes are H - home, B - business, C - cell and M - mobile.

        M
        
      • number: string

        The formatted phone number of the traveler.

        +1-555-123-4567
        
    • PriceComparison: {
          amount?: string;
          comparisonType:
              | "INCREASE_BY_AMOUNT"
              | "INCREASE_BY_PERCENT"
              | "DECREASE_BY_AMOUNT"
              | "DECREASE_BY_PERCENT";
          desiredAmount: string;
          percent?: string;
      }

      Contains details of the acceptable booking price threshold that will be validated against. If the threshold is exceeded, system stops processing and terminates the transaction.

      • Optionalamount?: string

        The acceptable monetary threshold that the desired amount can exceed. Cannot be combined with percent.

        30.00
        
      • comparisonType:
            | "INCREASE_BY_AMOUNT"
            | "INCREASE_BY_PERCENT"
            | "DECREASE_BY_AMOUNT"
            | "DECREASE_BY_PERCENT"
      • desiredAmount: string

        The desired amount that will serve as the basis of pricing comparison.

        100.00
        
      • Optionalpercent?: string

        The acceptable percent threshold that the desired amount can exceed. Cannot be combined with amount.

        10.00
        
    • PriceQuoteHandlingMethodEnum: "Reprice" | "Override" | "Quit"

      Identifies how the service handles expired Price Quotes (PQ) or Price Quotes with a back date price.

      Reprice
      
      Quit
      @enum {string}
    • PricingDetails: {
          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: string[]; forceAccountCodes?: boolean };
              adjustedSellingLevel?: {
                  ignore?: boolean;
                  markDownAmount?: string;
                  markUpAmount?: string;
                  returnBreakdown?: boolean;
              };
              baggageAllowance?: {
                  baggagePieces?: number;
                  flightIndices?: number[];
                  totalWeightInKilograms?: number;
              }[];
              brandedFares?: { brandCode: string; flightIndices?: number[] }[];
              breakFareFlightIndices?: number[];
              cabinCode?: string;
              commissionContractNames?: string[];
              considerMultiTicket?: boolean;
              corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
              currencyPricing?: string;
              exchangePenalties?: {
                  applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                  penaltyAmount?: { amount?: string };
                  restrictionType:
                      | "CHANGEABLE"
                      | "REFUNDABLE"
                      | "CHANGEABLE_AND_REFUNDABLE";
              };
              excludeBasicEconomyFares?: string[];
              exemptTaxes?: string[];
              flightIndices?: number[];
              forceConnectionFlightIndices?: number[];
              forceStopoverFlightIndices?: number[];
              hemisphereCode?: number;
              journeyCode?: number;
              netRemit?: {
                  cashValue?: { amount: string; currencyCode: string };
                  commercialAgreementReferenceCode?: string;
                  creditValue?: { amount: string; currencyCode: string };
                  netRemitCode?: string;
              };
              overrideTaxes?: { amount: string; taxCode: string }[];
              passengersPricing?: {
                  forcePassengerCode?: boolean;
                  numberOfpassengers?: number;
                  passengerCode?: string;
              }[];
              passengerStatus?: "RESIDENT"
              | "NATIONALITY"
              | "EMPLOYEE";
              passengerStatusCountryCode?: string;
              payment?: {
                  amountOnSecondFormOfPayment?: string;
                  primaryFormOfPayment: number;
                  secondaryFormOfPayment?: number;
              };
              priceWithTaxes: boolean;
              rebookLowestFares?: boolean;
              retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
              settlementMethod?: string;
              sideTripFlightIndices?: number[];
              spanishIslandResidentDiscountCode?: string;
              spanishLargeFamilyDiscountLevel?: number;
              specificFares?: { fareBasisCode: string; flightIndices?: number[] }[];
              useExcursionFare?: boolean;
              useNetFare?: boolean;
              usePrivateFare?: boolean;
              usePublicFare?: boolean;
              useRoundTheWorldFare?: boolean;
          };
      }

      Contains optional fields needed to pass pricing information that may be necessary to complete the booking.

      • OptionalpriceComparisons?: {
            amount?: string;
            comparisonType:
                | "INCREASE_BY_AMOUNT"
                | "INCREASE_BY_PERCENT"
                | "DECREASE_BY_AMOUNT"
                | "DECREASE_BY_PERCENT";
            desiredAmount: string;
            percent?: string;
        }[]

        Contains details of the acceptable booking price threshold that will be validated against. If the threshold is exceeded, system stops processing and terminates the transaction.

      • Optionalqualifiers?: {
            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: string[]; forceAccountCodes?: boolean };
            adjustedSellingLevel?: {
                ignore?: boolean;
                markDownAmount?: string;
                markUpAmount?: string;
                returnBreakdown?: boolean;
            };
            baggageAllowance?: {
                baggagePieces?: number;
                flightIndices?: number[];
                totalWeightInKilograms?: number;
            }[];
            brandedFares?: { brandCode: string; flightIndices?: number[] }[];
            breakFareFlightIndices?: number[];
            cabinCode?: string;
            commissionContractNames?: string[];
            considerMultiTicket?: boolean;
            corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
            currencyPricing?: string;
            exchangePenalties?: {
                applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                penaltyAmount?: { amount?: string };
                restrictionType: "CHANGEABLE" | "REFUNDABLE" | "CHANGEABLE_AND_REFUNDABLE";
            };
            excludeBasicEconomyFares?: string[];
            exemptTaxes?: string[];
            flightIndices?: number[];
            forceConnectionFlightIndices?: number[];
            forceStopoverFlightIndices?: number[];
            hemisphereCode?: number;
            journeyCode?: number;
            netRemit?: {
                cashValue?: { amount: string; currencyCode: string };
                commercialAgreementReferenceCode?: string;
                creditValue?: { amount: string; currencyCode: string };
                netRemitCode?: string;
            };
            overrideTaxes?: { amount: string; taxCode: string }[];
            passengersPricing?: {
                forcePassengerCode?: boolean;
                numberOfpassengers?: number;
                passengerCode?: string;
            }[];
            passengerStatus?: "RESIDENT"
            | "NATIONALITY"
            | "EMPLOYEE";
            passengerStatusCountryCode?: string;
            payment?: {
                amountOnSecondFormOfPayment?: string;
                primaryFormOfPayment: number;
                secondaryFormOfPayment?: number;
            };
            priceWithTaxes: boolean;
            rebookLowestFares?: boolean;
            retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
            settlementMethod?: string;
            sideTripFlightIndices?: number[];
            spanishIslandResidentDiscountCode?: string;
            spanishLargeFamilyDiscountLevel?: number;
            specificFares?: { fareBasisCode: string; flightIndices?: number[] }[];
            useExcursionFare?: boolean;
            useNetFare?: boolean;
            usePrivateFare?: boolean;
            usePublicFare?: boolean;
            useRoundTheWorldFare?: boolean;
        }
    • PricingQualifiers: {
          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: string[]; forceAccountCodes?: boolean };
          adjustedSellingLevel?: {
              ignore?: boolean;
              markDownAmount?: string;
              markUpAmount?: string;
              returnBreakdown?: boolean;
          };
          baggageAllowance?: {
              baggagePieces?: number;
              flightIndices?: number[];
              totalWeightInKilograms?: number;
          }[];
          brandedFares?: { brandCode: string; flightIndices?: number[] }[];
          breakFareFlightIndices?: number[];
          cabinCode?: string;
          commissionContractNames?: string[];
          considerMultiTicket?: boolean;
          corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
          currencyPricing?: string;
          exchangePenalties?: {
              applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
              penaltyAmount?: { amount?: string };
              restrictionType: "CHANGEABLE" | "REFUNDABLE" | "CHANGEABLE_AND_REFUNDABLE";
          };
          excludeBasicEconomyFares?: string[];
          exemptTaxes?: string[];
          flightIndices?: number[];
          forceConnectionFlightIndices?: number[];
          forceStopoverFlightIndices?: number[];
          hemisphereCode?: number;
          journeyCode?: number;
          netRemit?: {
              cashValue?: { amount: string; currencyCode: string };
              commercialAgreementReferenceCode?: string;
              creditValue?: { amount: string; currencyCode: string };
              netRemitCode?: string;
          };
          overrideTaxes?: { amount: string; taxCode: string }[];
          passengersPricing?: {
              forcePassengerCode?: boolean;
              numberOfpassengers?: number;
              passengerCode?: string;
          }[];
          passengerStatus?: "RESIDENT"
          | "NATIONALITY"
          | "EMPLOYEE";
          passengerStatusCountryCode?: string;
          payment?: {
              amountOnSecondFormOfPayment?: string;
              primaryFormOfPayment: number;
              secondaryFormOfPayment?: number;
          };
          priceWithTaxes: boolean;
          rebookLowestFares?: boolean;
          retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
          settlementMethod?: string;
          sideTripFlightIndices?: number[];
          spanishIslandResidentDiscountCode?: string;
          spanishLargeFamilyDiscountLevel?: number;
          specificFares?: { fareBasisCode: string; flightIndices?: number[] }[];
          useExcursionFare?: boolean;
          useNetFare?: boolean;
          usePrivateFare?: boolean;
          usePublicFare?: boolean;
          useRoundTheWorldFare?: boolean;
      }

      Contains all optional pricing qualifiers.

    • PricingStatusCodeEnum: "A" | "H"

      Identifies the status code of a fare.

      A
      @enum {string}
    • PricingStatusNameEnum: "Active" | "History"

      Identifies the status name of a fare.

      Active
      @enum {string}
    • PricingTypeCodeEnum: "S" | "A" | "M"

      Identifies pricing type code of a fare.

      S
      @enum {string}
    • PricingTypeNameEnum: "Unknown" | "System" | "Amended" | "Manual"

      Identifies the pricing type of a fare.

      Manual
      @enum {string}
    • PrinterAddress: {
          hardcopy?: { address?: string; spacing?: string };
          invoiceItinerary?: string;
          profileNumber?: number;
          ticket?: { address?: string; countryCode?: string };
      }

      Contains information about a printer or a printer profile.

      • Optionalhardcopy?: { address?: string; spacing?: string }
        • Optionaladdress?: string

          The hardcopy printer LNIATA to be designated.

          EF34GH
          
        • Optionalspacing?: string

          The hardcopy printer spacing to be applied.

          1
          
      • OptionalinvoiceItinerary?: string

        The invoice and itinerary printer details to be designated.

        AB12CD
        
      • OptionalprofileNumber?: number

        Format: int32

        The printer profile number to be designated.

        1
        
      • Optionalticket?: { address?: string; countryCode?: string }
        • Optionaladdress?: string

          The ticket printer LNIATA to be designated.

          EF34GH
          
        • OptionalcountryCode?: string

          The ticket stock country code to be applied.

          RU
          
    • Profile: {
          domainId: string;
          filterId?: string;
          profileName?: string;
          profileTypeCode: string;
          uniqueId?: string;
      }

      Contains required and optional fields needed to retrieve the profile information needed to complete a booking.

      • domainId: string

        Usually this is the user PCC. It could be a specific customer code as well.

        G7HE
        
      • OptionalfilterId?: string

        A unique profile filter ID which allows to retrieve a predefined subset of profile data.

        112676753
        
      • OptionalprofileName?: string

        A unique profile name used to blind move the profile into the AAA. Cannot be combined with domainId. To retrieve a profile, use either profileName or domainId.

        TESTPROFILE
        
      • profileTypeCode: string

        A unique profile type code.

        TVL
        
      • OptionaluniqueId?: string

        The unique profile ID number. Used to blind the move profile into the AAA. Cannot combine with profileName. Either profileName or domainId` need to be used in order to retrieve a profile.

        ABC123
        
    • ProgramTypeEnum: "FREQUENT_FLYER" | "FREQUENT_RENTER" | "LOYALTY_ID" | "CORPORATE_LOYALTY_ID"

      Identifies the type of the loyalty program.

      FREQUENT_FLYER
      
      FREQUENT_FLYER
      @enum {string}
    • Queue: {
          futureQueuePlacementDate?: string;
          pcc?: string;
          prefatoryInstructionCode: number;
          queueName?: string;
          queueNumber?: number;
      }

      Contains details of a queue.

      • OptionalfutureQueuePlacementDate?: string

        Format: date

        The future queue placement date in ISO 8601 format. Can only be used when passing QUEUE_PLACE remark type from RemarkTypeEnum.

        2024-07-09
        
      • Optionalpcc?: string

        The pseudo city code.

        G7RE
        
      • prefatoryInstructionCode: number

        Format: int32

        The programmable agency Prefatory Instruction Codes (PIC) that are unique to your agency. A PIC causes a message to display at the top of the booking when an agent displays it on queue. This message provides the agent information explaining why the booking is on the queue or what action needs to be completed depending on the PIC number you use.

        11
        
      • OptionalqueueName?: string

        The queue name.

        HENRY
        
      • OptionalqueueNumber?: number

        Format: int32

        The queue number.

        400
        
    • ReasonForIssuanceEnum:
          | "UNKNOWN"
          | "AIR_TRANSPORTATION"
          | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
          | "BAGGAGE"
          | "FINANCIAL_IMPACT"
          | "AIRPORT_SERVICES"
          | "MERCHANDISE"
          | "INFLIGHT_SERVICES"
          | "INDIVIDUAL_AIRLINE_USE"

      Specifies the IATA-defined reason for the issuance code (RFIC) applicable to the Electronic Miscellaneous Document (EMD) that will be issued for the subcode identified in this record. The UNKNOWN option is used for the read-only purpose by getBooking API.

      BAGGAGE
      @enum {string}
    • RefundFlightTicket: {
          number?: string;
          refundQualifiers?: {
              commissionAmount?: string;
              commissionOnPenalty?: string;
              commissionPercentage?: string;
              journeyTypeCode?: "F" | "M" | "B";
              overrideCancelFee?: string;
              overrideTaxes?: {
                  airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
                  taxAmount?: string;
                  taxCode?: string;
              }[];
              splitRefundAmounts?: { amount?: string }[];
              tourCode?: string;
              waiverCode?: string;
          };
      }

      Contains detailed information for each ticket to be refunded.

      • Optionalnumber?: string

        The electronic document number of the ticket that needs to be refunded.

        0167489825830
        
      • OptionalrefundQualifiers?: {
            commissionAmount?: string;
            commissionOnPenalty?: string;
            commissionPercentage?: string;
            journeyTypeCode?: "F" | "M" | "B";
            overrideCancelFee?: string;
            overrideTaxes?: {
                airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
                taxAmount?: string;
                taxCode?: string;
            }[];
            splitRefundAmounts?: { amount?: string }[];
            tourCode?: string;
            waiverCode?: string;
        }
        • OptionalcommissionAmount?: string

          Amount to be applied to the refund. This will override the commission from the original ticket. Cannot be combined with commissionPercentage.

          25.00
          
        • OptionalcommissionOnPenalty?: string

          Amount of commission being collected on the cancel penalty.

          25.00
          
        • OptionalcommissionPercentage?: string

          Percentage to be applied to the refund. This will override the commission from the original ticket. Cannot be combined with commissionAmount.

          5.00
          
        • OptionaljourneyTypeCode?: "F" | "M" | "B"
        • OptionaloverrideCancelFee?: string

          Amount of cancel penalty in the currency of the original ticket to apply to the refund. This will override any penalty calculated by the system.

          100.00
          
        • OptionaloverrideTaxes?: {
              airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
              taxAmount?: string;
              taxCode?: string;
          }[]

          Lists codes and amounts of taxes to be overridden.

        • OptionalsplitRefundAmounts?: { amount?: string }[]

          Lists payment amounts to be applied when refunding a ticket that was issued to multiple forms of payment. Order has to match the forms of payment used when issuing the ticket. E.g. ticket was issue with 1. Form of Payment 'Cash' and 2. Form of Payment 'Credit Card'. In this case the first item should represent the amount to be refunded in cash and second the amount to be refunded to the credit card.

        • OptionaltourCode?: string

          A tour code to be applied to the refund. Input of a tourCode will override any tour code on the original ticket.

          123456789ABCDE
          
        • OptionalwaiverCode?: string

          A waiver code to be applied to the refund. Typically a waiver code will be supplied by the airline for the agent to use to override a cancel fee.

          12345ABCD
          
    • RefundQualifiers: {
          commissionAmount?: string;
          commissionOnPenalty?: string;
          commissionPercentage?: string;
          journeyTypeCode?: "F" | "M" | "B";
          overrideCancelFee?: string;
          overrideTaxes?: {
              airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
              taxAmount?: string;
              taxCode?: string;
          }[];
          splitRefundAmounts?: { amount?: string }[];
          tourCode?: string;
          waiverCode?: string;
      }

      Contains optional refund qualifiers for ATPCO tickets.

      • OptionalcommissionAmount?: string

        Amount to be applied to the refund. This will override the commission from the original ticket. Cannot be combined with commissionPercentage.

        25.00
        
      • OptionalcommissionOnPenalty?: string

        Amount of commission being collected on the cancel penalty.

        25.00
        
      • OptionalcommissionPercentage?: string

        Percentage to be applied to the refund. This will override the commission from the original ticket. Cannot be combined with commissionAmount.

        5.00
        
      • OptionaljourneyTypeCode?: "F" | "M" | "B"
      • OptionaloverrideCancelFee?: string

        Amount of cancel penalty in the currency of the original ticket to apply to the refund. This will override any penalty calculated by the system.

        100.00
        
      • OptionaloverrideTaxes?: {
            airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
            taxAmount?: string;
            taxCode?: string;
        }[]

        Lists codes and amounts of taxes to be overridden.

      • OptionalsplitRefundAmounts?: { amount?: string }[]

        Lists payment amounts to be applied when refunding a ticket that was issued to multiple forms of payment. Order has to match the forms of payment used when issuing the ticket. E.g. ticket was issue with 1. Form of Payment 'Cash' and 2. Form of Payment 'Credit Card'. In this case the first item should represent the amount to be refunded in cash and second the amount to be refunded to the credit card.

      • OptionaltourCode?: string

        A tour code to be applied to the refund. Input of a tourCode will override any tour code on the original ticket.

        123456789ABCDE
        
      • OptionalwaiverCode?: string

        A waiver code to be applied to the refund. Typically a waiver code will be supplied by the airline for the agent to use to override a cancel fee.

        12345ABCD
        
    • RefundTicketsRequest: {
          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?: string; taxAmount?: string }[];
                      taxAmount?: string;
                      taxCode?: string;
                  }[];
                  splitRefundAmounts?: { amount?: string }[];
                  tourCode?: string;
                  waiverCode?: string;
              };
          }[];
      }

      Contains required and optional elements to refund tickets.

      • OptionalconfirmationId?: string

        The booking reference ID as shown in the source supplier or vendor system.

        GLEBNY
        
      • OptionaldesignatePrinters?: {
            hardcopy?: { address?: string; spacing?: string };
            invoiceItinerary?: string;
            profileNumber?: number;
            ticket?: { address?: string; countryCode?: string };
        }[]

        Lists printers or a printer profile to designate. It is possible to provide a single PrinterAddress object with a printer profile. Alternatively, the array may contain multiple PrinterAddress objects, but each of them must have the same printer type definition.

      • OptionalerrorHandlingPolicy?: "HALT_ON_ERROR" | "ALLOW_PARTIAL_CANCEL"
      • Optionalnotification?: {
            email?:
                | "DEFAULT"
                | "INVOICE"
                | "ETICKET"
                | "ETICKET_PDF"
                | "ITINERARY"
                | "ITINERARY_PDF";
            queuePlacement?: {
                futureQueuePlacementDate?: string;
                pcc?: string;
                prefatoryInstructionCode: number;
                queueName?: string;
                queueNumber?: number;
            }[];
        }
        • Optionalemail?:
              | "DEFAULT"
              | "INVOICE"
              | "ETICKET"
              | "ETICKET_PDF"
              | "ITINERARY"
              | "ITINERARY_PDF"
        • OptionalqueuePlacement?: {
              futureQueuePlacementDate?: string;
              pcc?: string;
              prefatoryInstructionCode: number;
              queueName?: string;
              queueNumber?: number;
          }[]

          Lists the specifiec queue (up to three) to place the PNR into for the operation.

      • OptionalreceivedFrom?: string

        The entity that authorizes the changes in a Passenger Name Record.

        Booking Management API testing
        
      • OptionaltargetPcc?: string

        The pseudo city code of the target destination for which the ticket refund is requested.

        G7HE
        
      • Optionaltickets?: {
            number?: string;
            refundQualifiers?: {
                commissionAmount?: string;
                commissionOnPenalty?: string;
                commissionPercentage?: string;
                journeyTypeCode?: "F" | "M" | "B";
                overrideCancelFee?: string;
                overrideTaxes?: {
                    airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
                    taxAmount?: string;
                    taxCode?: string;
                }[];
                splitRefundAmounts?: { amount?: string }[];
                tourCode?: string;
                waiverCode?: string;
            };
        }[]

        Lists tickets which should be refunded. Can contain up to 12 elements.

    • RefundTicketsResponse: {
          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?: { airportCode?: string; taxAmount?: string }[];
                          taxAmount?: string;
                          taxCode?: string;
                      }[];
                      splitRefundAmounts?: { amount?: string }[];
                      tourCode?: string;
                      waiverCode?: string;
                  };
              }[];
          };
          tickets?: {
              exchangePenalties?: (
                  {
                      applicability: "BEFORE_DEPARTURE"
                      | "AFTER_DEPARTURE";
                      conditionsApply: boolean;
                      penalty: { amount: string; currencyCode: string };
                  } & {
                      hasNoShowCost?: boolean;
                      noShowPenalty?: {
                          penalty?: { amount: string; currencyCode: string };
                          source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                      };
                      source?: "Unknown"
                      | "Category 33"
                      | "Category 31"
                      | "Category 16";
                  }
              )[];
              isAutomatedRefundsEligible?: boolean;
              isChangeable?: boolean;
              isRefundable?: boolean;
              isVoidable?: boolean;
              number?: string;
              refundPenalties?: (
                  {
                      applicability: "BEFORE_DEPARTURE"
                      | "AFTER_DEPARTURE";
                      conditionsApply: boolean;
                      penalty: { amount: string; currencyCode: string };
                  } & {
                      hasNoShowCost?: boolean;
                      noShowPenalty?: {
                          penalty?: { amount: string; currencyCode: string };
                          source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                      };
                      source?: "Unknown"
                      | "Category 33"
                      | "Category 31"
                      | "Category 16";
                  }
              )[];
              refundTaxes?: { amount: string; taxCode: string }[];
              refundTotals?: {
                  currencyCode: string;
                  fees?: string;
                  subtotal?: string;
                  taxes?: string;
                  total: string;
              };
          }[];
          timestamp?: string;
      }

      Contains voided ticket information.

      • Optionalerrors?: {
            category: string;
            description?: string;
            fieldName?: string;
            fieldPath?: string;
            fieldValue?: string;
            type: string;
        }[]

        Lists detailed error information. This array is not displayed in successful responses.

      • OptionalrefundedTickets?: string[]

        Lists all successfully refunded tickets.

      • Optionalrequest?: {
            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?: string; taxAmount?: string }[];
                        taxAmount?: string;
                        taxCode?: string;
                    }[];
                    splitRefundAmounts?: { amount?: string }[];
                    tourCode?: string;
                    waiverCode?: string;
                };
            }[];
        }
        • OptionalconfirmationId?: string

          The booking reference ID as shown in the source supplier or vendor system.

          GLEBNY
          
        • OptionaldesignatePrinters?: {
              hardcopy?: { address?: string; spacing?: string };
              invoiceItinerary?: string;
              profileNumber?: number;
              ticket?: { address?: string; countryCode?: string };
          }[]

          Lists printers or a printer profile to designate. It is possible to provide a single PrinterAddress object with a printer profile. Alternatively, the array may contain multiple PrinterAddress objects, but each of them must have the same printer type definition.

        • OptionalerrorHandlingPolicy?: "HALT_ON_ERROR" | "ALLOW_PARTIAL_CANCEL"
        • Optionalnotification?: {
              email?:
                  | "DEFAULT"
                  | "INVOICE"
                  | "ETICKET"
                  | "ETICKET_PDF"
                  | "ITINERARY"
                  | "ITINERARY_PDF";
              queuePlacement?: {
                  futureQueuePlacementDate?: string;
                  pcc?: string;
                  prefatoryInstructionCode: number;
                  queueName?: string;
                  queueNumber?: number;
              }[];
          }
          • Optionalemail?:
                | "DEFAULT"
                | "INVOICE"
                | "ETICKET"
                | "ETICKET_PDF"
                | "ITINERARY"
                | "ITINERARY_PDF"
          • OptionalqueuePlacement?: {
                futureQueuePlacementDate?: string;
                pcc?: string;
                prefatoryInstructionCode: number;
                queueName?: string;
                queueNumber?: number;
            }[]

            Lists the specifiec queue (up to three) to place the PNR into for the operation.

        • OptionalreceivedFrom?: string

          The entity that authorizes the changes in a Passenger Name Record.

          Booking Management API testing
          
        • OptionaltargetPcc?: string

          The pseudo city code of the target destination for which the ticket refund is requested.

          G7HE
          
        • Optionaltickets?: {
              number?: string;
              refundQualifiers?: {
                  commissionAmount?: string;
                  commissionOnPenalty?: string;
                  commissionPercentage?: string;
                  journeyTypeCode?: "F" | "M" | "B";
                  overrideCancelFee?: string;
                  overrideTaxes?: {
                      airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
                      taxAmount?: string;
                      taxCode?: string;
                  }[];
                  splitRefundAmounts?: { amount?: string }[];
                  tourCode?: string;
                  waiverCode?: string;
              };
          }[]

          Lists tickets which should be refunded. Can contain up to 12 elements.

      • Optionaltickets?: {
            exchangePenalties?: (
                {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                } & {
                    hasNoShowCost?: boolean;
                    noShowPenalty?: {
                        penalty?: { amount: string; currencyCode: string };
                        source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                    };
                    source?: "Unknown"
                    | "Category 33"
                    | "Category 31"
                    | "Category 16";
                }
            )[];
            isAutomatedRefundsEligible?: boolean;
            isChangeable?: boolean;
            isRefundable?: boolean;
            isVoidable?: boolean;
            number?: string;
            refundPenalties?: (
                {
                    applicability: "BEFORE_DEPARTURE"
                    | "AFTER_DEPARTURE";
                    conditionsApply: boolean;
                    penalty: { amount: string; currencyCode: string };
                } & {
                    hasNoShowCost?: boolean;
                    noShowPenalty?: {
                        penalty?: { amount: string; currencyCode: string };
                        source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                    };
                    source?: "Unknown"
                    | "Category 33"
                    | "Category 31"
                    | "Category 16";
                }
            )[];
            refundTaxes?: { amount: string; taxCode: string }[];
            refundTotals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            };
        }[]

        Lists information about cancellation eligibility and refundable amounts per ticket in the order of the request.

      • Optionaltimestamp?: string

        Format: date-time

        Provides the exact point in time when the response was generated. The timestamp is expressed in UTC and presented in the YYYY-MM-DDTHH:MM:SSZ format.

        2024-10-28T11:11:21Z
        
    • Remark: {
          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";
      }

      Contains remark added to the PNR.

      • OptionalalphaCode?: string

        The character coding with ALPHA_CODED type of remark added to the PNR.

        T
        
      • Optionaltext?: string

        The original text of the remark added to the PNR.

        XXATW/
        
      • Optionaltype?:
            | "INVOICE"
            | "ITINERARY"
            | "GENERAL"
            | "HISTORICAL"
            | "CLIENT_ADDRESS"
            | "ALPHA_CODED"
            | "DELIVERY_ADDRESS"
            | "HIDDEN"
            | "CORPORATE"
            | "FORM_OF_PAYMENT"
            | "PRINT_ON_TICKET"
            | "FILLER_STRIP"
            | "INTERFACE"
            | "QUEUE_PLACE"
    • RemarkTypeEnum:
          | "INVOICE"
          | "ITINERARY"
          | "GENERAL"
          | "HISTORICAL"
          | "CLIENT_ADDRESS"
          | "ALPHA_CODED"
          | "DELIVERY_ADDRESS"
          | "HIDDEN"
          | "CORPORATE"
          | "FORM_OF_PAYMENT"
          | "PRINT_ON_TICKET"
          | "FILLER_STRIP"
          | "INTERFACE"
          | "QUEUE_PLACE"

      Identifies the type associated with the particular remark.

      GENERAL
      @enum {string}
    • RetailerRule: { forceQualifiers?: boolean; qualifiers: string[] }

      Contains qualifier fields that allow pricing a booking by incorporating fares linked to a specific Retailer Rule code.

      • OptionalforceQualifiers?: boolean

        If true system will force fares with a matched business rule applicable to a single qualifier. Can be combined with a single qualfier.

        false
        
      • qualifiers: string[]

        The Retailer Rule Qualifier list.

    • ReturnOnlyEnum:
          | "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"

      Identifies the portion of data to be returned.

      FLIGHTS
      @enum {string}
    • Room: {
          agencyCommission?: {
              commissionAmount?: string;
              commissionPercentage?: string;
              currencyCode?: string;
          };
          description?: string;
          productCode?: string;
          quantity: number;
          roomRate?: { amount: string; currencyCode: string };
          roomType: string;
          roomTypeCode?: string;
          travelerIndices?: number[];
      }

      Contains basic information of the rooms in the hotel with the number of rooms booked.

      • OptionalagencyCommission?: {
            commissionAmount?: string;
            commissionPercentage?: string;
            currencyCode?: string;
        }
        • OptionalcommissionAmount?: string

          The commission amount included in the fare or applied during ticketing.

          25.00
          
        • OptionalcommissionPercentage?: string

          The commission percentage included in the fare or applied during ticketing.

          5.00
          
        • OptionalcurrencyCode?: string

          The three letters ISO 4217 currency code.

          USD
          
      • Optionaldescription?: string

        The detailed description of the room provided by the hotel supplier.

        Deluxe Room, 2 Double Beds
        
      • OptionalproductCode?: string

        The inventory block code of the room. An ID returned by GDS suppliers for all unique room+rate combinations. Populated only for GDS products.

        SM3A00
        
      • quantity: number

        Format: int32

        The number of booked rooms of this room type.

        1
        
        1
        
      • OptionalroomRate?: { amount: string; currencyCode: string }
        • amount: string

          The monetary amount.

          100.00
          
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
      • roomType: string

        The type of the room provided by the hotel supplier.

        2 double beds
        
      • OptionalroomTypeCode?: string

        The unique ID for a room type at a given vendor.

        100144834
        
      • OptionaltravelerIndices?: number[]

        Lists the travelers within the travelers list. Indicates which travelers are considered to be guests associated with a particular room. It is possible that not all travelers are listed as hotel guests in the hotel booking.

    • RoomExtra: { amount?: string; quantity: number; roomExtraType: number }

      Contains room extra information.

      • Optionalamount?: string

        The monetary amount.

        100.00
        
      • quantity: number

        Format: int32

        The number of rooms extras of this type.

        1
        
        1
        
      • roomExtraType: number

        Format: int32

        Identifies the type of the room extra. Currently supported types are 26 - Crib, 91 - Roll-away Bed, 196 - Extra Person.

        26
        
    • RoomToBook: {
          bedTypeCode?: number;
          isSmoking: boolean;
          physicalDisabilityCode?: number;
          roomExtras?: { amount?: string; quantity: number; roomExtraType: number }[];
          travelerIndices?: number[];
      }

      Contains details of a hotel room to be booked.

      • OptionalbedTypeCode?: number

        Format: int32

        Allows requesting a specific bed type code. Pass OTA Code Table (BED) for EAN aggregator hotel bookings.

        3
        
      • isSmoking: boolean

        If true, the room is a smoking room. If not used, system assumes a non-smoking room.

        false
        
        false
        
      • OptionalphysicalDisabilityCode?: number

        Format: int32

        Allows requesting accessibility rooms. Pass OTA Code Table (PHY).

        3
        
      • OptionalroomExtras?: { amount?: string; quantity: number; roomExtraType: number }[]

        Contains details of the requested room extras.

      • OptionaltravelerIndices?: number[]

        Index of the traveler within the travelers list. Indicates which travelers will be booked into a particular room. It is assumed that the first traveler will be considered the lead guest.

    • RoomToModify: { productCode?: string; travelerIndices: number[] }

      Contains details of a hotel room to modify.

      • OptionalproductCode?: string

        The inventory block code of the room. An ID returned by the hotel supplier for all unique room+rate combinations.

        SM3A00
        
      • travelerIndices: number[]

        Lists indices of travelers from the travelers array to whom the room is assigned.

    • Seat: {
          characteristics?: string[];
          number: 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";
      }

      Contains detailed information about the seat.

      • Optionalcharacteristics?: string[]

        Lists all IATA-defined characteristic codes associated with the seat. For the list of all codes refer to the following resource - IATA PADIS codeset element 9825.

      • number: string

        The traveler's assigned seat number.

        13A
        
      • OptionalstatusCode?: string

        The two-letter status code used by vendors. It indicates the seat status.

        AF
        
      • OptionalstatusName?:
            | "Unknown"
            | "Confirmed"
            | "On Request"
            | "Pending"
            | "Cancelled"
            | "Unconfirmed"
            | "Waitlisted"
            | "Infant/No Seat"
            | "Priority Waitlist"
            | "Quote"
            | "Space Available"
            | "Pending Quote"
            | "No Seat"
            | "Standby"
    • SeatAreaPreferenceEnum: "AISLE" | "BULKHEAD" | "FRONT" | "LEFT_SIDE" | "RIGHT_SIDE" | "TAIL" | "WINDOW"

      Identifies area preference. Cannot be combined with number. You can combine a maximum of three non-conflicting values such as FRONT and LEFT_SIDE, etc.

      AISLE
      @enum {string}
    • SeatToModify: { number: string; offerItemId?: string }

      Contains detailed information about a seat that should be modified.

      • number: string

        The traveler's assigned seat number.

        13A
        
      • OptionalofferItemId?: string

        The seat availability offer item ID. Applicable for NDC flights only.

        dx71wzhgpjxpvmuy80-1
        
    • Segment: { id?: string; sequence?: number }

      Contains reference to the segment for cancellation, identified either by sequence or by id.

      • Optionalid?: string

        The unique item id for the segment to be cancelled.

        12
        
      • Optionalsequence?: number

        Format: int32

        Identifies the sequence of the segment number.

        1
        
    • SegmentBasicAttributes: {
          address?: {
              city?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          } & { freeText?: string; name?: string };
          date?: string;
          endAddress?: {
              city?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          } & { freeText?: string; name?: string };
          endDate?: string;
          endLocationCode?: string;
          endTime?: string;
          locationCode?: string;
          startAddress?: {
              city?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          } & { freeText?: string; name?: string };
          startDate?: string;
          startLocationCode?: string;
          startTime?: string;
          text?: string;
          time?: string;
          type: string;
          vendorCode?: string;
      }

      Contains basic attributes common for all possible types of booking segments. Provided attributes are only relevant to the segment type.

      • Optionaladdress?: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        } & { freeText?: string; name?: string }
      • Optionaldate?: string

        Format: date

        The date of the event represented by the segment in YYYY-MM-DD format and in the event's local time zone. Not returned for events that span multiple days.

        2024-07-09
        
      • OptionalendAddress?: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        } & { freeText?: string; name?: string }
      • OptionalendDate?: string

        Format: date

        The end date of the event represented by the segment, provided in YYYY-MM-DD format and in the event's local timezone. Not populated for a single-day event, such as a one-day tour.

        2024-07-09
        
      • OptionalendLocationCode?: string

        The code of the ending location of the event represented by the segment, such as destination airport code for a FLIGHT type segment. This attribute does not exist for a single location type event such as hotel or cruise reservation.

        HNL
        
      • OptionalendTime?: string

        The end time of the event represented by the segment in HH:MM format.

        12:28
        
      • OptionallocationCode?: string

        The code of the location of the event represented by the segment. This attribute does not exist for an event with start and end locations.

        ATL
        
      • OptionalstartAddress?: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        } & { freeText?: string; name?: string }
      • OptionalstartDate?: string

        Format: date

        The start date of the event represented by the segment, provided in YYYY-MM-DD format and in the event's local timezone. Not populated for a single-day event.

        2024-07-09
        
      • OptionalstartLocationCode?: string

        The code of the start location of the event represented by the segment, such as origin airport code for a FLIGHT type segment. This attribute does not exist for a single location event, such as cruise trip.

        DFW
        
      • OptionalstartTime?: string

        The start time of the event represented by the segment in HH:MM format.

        09:15
        
      • Optionaltext?: string

        The name or description of the segment, such as flight number for the segment representing a flight.

        123
        
      • Optionaltime?: string

        The time of the event represented by the segment in HH:MM format.

        09:15
        
      • type: string

        The type of the booking segment.

        FLIGHT
        
      • OptionalvendorCode?: string

        The corresponding vendor code, such as carrier code for a FLIGHT type segment, or hotel vendor code for a HOTEL type segment.

        AA
        
    • SegmentBasics: { id: string } & {
          address?: {
              city?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          } & { freeText?: string; name?: string };
          date?: string;
          endAddress?: {
              city?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          } & { freeText?: string; name?: string };
          endDate?: string;
          endLocationCode?: string;
          endTime?: string;
          locationCode?: string;
          startAddress?: {
              city?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          } & { freeText?: string; name?: string };
          startDate?: string;
          startLocationCode?: string;
          startTime?: string;
          text?: string;
          time?: string;
          type: string;
          vendorCode?: string;
      }

      Contains essential information which is common for all possible types of booking segments.

    • SegmentReference: { id: string }

      Contains the unique ID of the segment.

      • id: string

        The unique ID of the segment which may correspond to the itemId of a booking element, such as flight, hotel, car, etc.

        12
        
    • SpecialService: {
          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[];
      }

      Contains special service information (SSR) for a specific traveler.

      • Optionalcode?: string

        Defines the category of the special service request sent to the airline. Visit the official IATA website for the list of currently supported SSR code references. Some airline-specific codes may be missing within these IATA resources.

        WCHR
        
      • Optionalflights?: { itemId: string }[]

        Lists flights referenced by flight itemId. Multiple flight IDs can be returned for a single special service.

      • Optionalmessage?: string

        Miscellaneous free text information used in teletype messages sent to or from the airline. May contain additional special service details which are mandatory to distinguish product characteristics on the airline's side.

        /PREPAID
        
      • Optionalname?: string

        The name of the special service request. This property is not returned when the name is unknown.

        Wheelchair/Passenger can walk up stairs
        
      • OptionalstatusCode?: string

        The two-letter status code used by vendors. It indicates the special service status.

        HK
        
      • OptionalstatusName?:
            | "Unknown"
            | "Confirmed"
            | "On Request"
            | "Pending"
            | "Cancelled"
            | "Unconfirmed"
            | "Waitlisted"
            | "Infant/No Seat"
            | "Priority Waitlist"
            | "Quote"
            | "Space Available"
            | "Pending Quote"
            | "No Seat"
            | "Standby"
      • OptionaltravelerIndices?: number[]

        Lists the travelers within the travelers list the special service belongs to. This list is not provided for special services without explicit traveler assignation.

    • SpecialServiceToModify: {
          code: string;
          flights?: { itemId: string }[];
          message?: string;
          travelerIndices?: number[];
      }

      Contains the special service request (SSR) message sent to an airline. The message may contain traveler preferences or mandatory/optional information directed to the airline.

      • code: string

        Defines the category of the special service request sent to the airline. Visit the official IATA website for the list of currently supported SSR code references. Some airline-specific codes may be missing within these IATA resources.

        WCHR
        
      • Optionalflights?: { itemId: string }[]

        Lists flights referenced by their itemId. A single special service can be associated with multiple flights.

      • Optionalmessage?: string

        Miscellaneous free text information used in teletype messages sent to or from the airline. May contain additional special service details which are mandatory to distinguish product characteristics on the airline's side.

        /PREPAID
        
      • OptionaltravelerIndices?: number[]

        Lists indices of travelers from the travelers array to whom the special service is assigned. For special services without explicit traveler assignation, this array should not be provided.

    • SpecificFare: { fareBasisCode: string; flightIndices?: number[] }

      Contains a desired fare basis code with complete auto-pricing validation and associated flights.

      • fareBasisCode: string

        The fare basis code.

        ABCDE
        
      • OptionalflightIndices?: number[]

        Lists the indices of flights within a booking.

    • SplitRefundAmount: { amount?: string }

      Contains refund amount per form of payment in the currency of the original ticket.

      • Optionalamount?: string

        Amount in the currency of the original ticket.

        5.00
        
    • StatusNameEnum:
          | "Unknown"
          | "Confirmed"
          | "On Request"
          | "Pending"
          | "Cancelled"
          | "Unconfirmed"
          | "Waitlisted"
          | "Infant/No Seat"
          | "Priority Waitlist"
          | "Quote"
          | "Space Available"
          | "Pending Quote"
          | "No Seat"
          | "Standby"

      Identifies the booking status of the item.

      Confirmed
      @enum {string}
    • StrongCustomerAuthentication: {
          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;
      }

      Contains strong customer authentication details for the payment card.

      • Optionalamount?: string

        Indicates purchase amount.

        1234.56
        
      • OptionalcardNumberCollectionCode?: string

        Determines how the card number was collected for the transaction. Can be K - keyed in for this transaction, or S - card on file (previously stored credentials).

        K
        
      • OptionalchannelCode?: string

        Indicates which channel the transaction was initiated in. Can be MO - Mail Order, TO - Telephone Order, EC - ECOM, FA - Face to Face.

        MO
        
      • OptionalcurrencyCode?: string

        The three-letter ISO 4217 currency code.

        USD
        
      • OptionalelectronicCommerceIndicator?: string

        The Electronic Commerce Indicator (ECI) is two alphanumeric code that is returned by the issuing banks and credit card specific networks.

        12
        
      • OptionalexemptionTypeCode?: string

        Determines which exemption was used by the Payment Service Provider (PSP). Can be SC - Secure Corporate Exemption, DA - Delegated Authentication, TR - Transaction Risk Analysis Exemption, TB - Trusted Beneficiary Exemption, LV - Low Value Exemption.

        SC
        
      • OptionalissueCode?: string

        Indicates that authentication was attempted for a transaction, but there was an authentication outage in the authentication flow between the merchant, gateway 3-D Secure (3DS) server, and the Directory Server. This means an authentication request was not possible and an authentication response could not be received. This is not a formal exemption, but information for issuers to consider.

        AO
        
      • OptionalmandateTypeCode?: string

        Describes the agreed mandate between the cardholder and the agent/third party. Can be one of the following values: NA - No agreement for future transactions, NS - Agreement for future no show or cancellation fee, AC - Agreement for any payments due after check in to cover charges during stay, CO - Any charges post checkout, BP - Agreement for pre-payment, deposit or balance payment, FR - Agreement for recurring payment (fixed date and fixed amount), VR - Agreement for recurring payment (fixed date and variable amount), UR - Agreement for recurring payment (non fixed date and variable amount). It is possible to enter more than one value using a comma as a separator e.g. NA, NS.

        NA
        
      • OptionalmerchantName?: string

        The name of the merchant containing up to 40 alphanumeric characters.

        TEST CREDIT CARD
        
      • OptionaloriginalPaymentReference?: string

        The identifier of the authorization (Authorization Trace ID/Authorization Trans ID) request when performed by the booking agent. This value can be up to 16 alphanumeric and special characters, and is returned from the initial authorization response.

        1234547839012345
        
      • OptionalresultCode?: string

        Indicates whether authentication was successful.

        OK
        
      • OptionalsecureAuthenticationValue?: string

        The 3DS authentication value (MasterCard - AAV; Amex - AEVV; Visa - CAVV). A 20-byte value that has been Base64 encoded, giving a 28-byte result.

        ABC123455533533444455555678
        
      • OptionalsecureTransactionId?: string

        The 3DS transaction ID returned by the 3DS Directory Server. A 20 byte unsigned binary value.

        ABCDEFGHI123456789012!.1234567890123
        
      • OptionaltokenAuthenticationValue?: string

        The authentication value for tokens (e.g. TAVV). A 20-byte value that has been Base64 encoded, giving a 28-byte result.

        ABC3434334343556677487312567
        
      • OptionalupdatedDateTime?: string

        Format: date-time

        Identifies the SCA update date and time in ISO 8601 format.

        2024-07-07T16:00:00Z
        
      • OptionalverificationResultCode?: string

        Indicates whether the cardholder is enrolled in 3DS.

        PASS
        
      • Optionalversion?: string

        The 3DS Program Protocol version. A 3 alphanumeric character value, without dots between.

        120
        
    • TariffBasisTypeEnum: "Domestic" | "Foreign" | "International"

      Indicates the type of tariff basis.

      Foreign
      @enum {string}
    • Tax: { amount: string; taxCode: string }

      Contains desired tax codes and their associated amounts.

      • amount: string

        The monetary amount.

        100.00
        
      • taxCode: string

        The desired tax code. Must be combined with amount.

        XY
        
    • TaxComponent: { taxAmount?: { amount: string; currencyCode: string }; taxCode?: string }

      Contains details for a single tax.

      • OptionaltaxAmount?: { amount: string; currencyCode: string }
        • amount: string

          The monetary amount.

          100.00
          
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
      • OptionaltaxCode?: string

        The desired tax code. Must be combined with taxAmount.

        XY
        
    • Ticket: {
          exchangePenalties?: (
              {
                  applicability: "BEFORE_DEPARTURE"
                  | "AFTER_DEPARTURE";
                  conditionsApply: boolean;
                  penalty: { amount: string; currencyCode: string };
              } & {
                  hasNoShowCost?: boolean;
                  noShowPenalty?: {
                      penalty?: { amount: string; currencyCode: string };
                      source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                  };
                  source?: "Unknown"
                  | "Category 33"
                  | "Category 31"
                  | "Category 16";
              }
          )[];
          isAutomatedRefundsEligible?: boolean;
          isChangeable?: boolean;
          isRefundable?: boolean;
          isVoidable?: boolean;
          number?: string;
          refundPenalties?: (
              {
                  applicability: "BEFORE_DEPARTURE"
                  | "AFTER_DEPARTURE";
                  conditionsApply: boolean;
                  penalty: { amount: string; currencyCode: string };
              } & {
                  hasNoShowCost?: boolean;
                  noShowPenalty?: {
                      penalty?: { amount: string; currencyCode: string };
                      source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                  };
                  source?: "Unknown"
                  | "Category 33"
                  | "Category 31"
                  | "Category 16";
              }
          )[];
          refundTaxes?: { amount: string; taxCode: string }[];
          refundTotals?: {
              currencyCode: string;
              fees?: string;
              subtotal?: string;
              taxes?: string;
              total: string;
          };
      }

      Contains detailed information about cancellation eligibility, refundable amounts, and exchangeability data for a single ticket.

      • OptionalexchangePenalties?: (
            {
                applicability: "BEFORE_DEPARTURE"
                | "AFTER_DEPARTURE";
                conditionsApply: boolean;
                penalty: { amount: string; currencyCode: string };
            } & {
                hasNoShowCost?: boolean;
                noShowPenalty?: {
                    penalty?: { amount: string; currencyCode: string };
                    source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                };
                source?: "Unknown"
                | "Category 33"
                | "Category 31"
                | "Category 16";
            }
        )[]

        Lists penalty details associated with a fare exchange.

      • OptionalisAutomatedRefundsEligible?: boolean

        If true, the electronic document meets the requirements for an automated refund.

        true
        
      • OptionalisChangeable?: boolean

        If true, the fare can be exchanged with or without additional cost. Refer to the exchangePenalties array for more information. If the penalty source parameter indicates Category 16, exchangeability is not guaranteed.

        true
        
      • OptionalisRefundable?: boolean

        If true, the electronic document is fully or partially refundable. Refer to the refundPenalties array for more information. If the penalty source parameter indicates Category 16, refundability is not guaranteed.

        true
        
      • OptionalisVoidable?: boolean

        If true, the electronic document meets the requirements for the void procedure.

        true
        
      • Optionalnumber?: string

        The electronic flight ticket number.

        0167489825830
        
      • OptionalrefundPenalties?: (
            {
                applicability: "BEFORE_DEPARTURE"
                | "AFTER_DEPARTURE";
                conditionsApply: boolean;
                penalty: { amount: string; currencyCode: string };
            } & {
                hasNoShowCost?: boolean;
                noShowPenalty?: {
                    penalty?: { amount: string; currencyCode: string };
                    source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                };
                source?: "Unknown"
                | "Category 33"
                | "Category 31"
                | "Category 16";
            }
        )[]

        Lists penalty details associated with a refund.

      • OptionalrefundTaxes?: { amount: string; taxCode: string }[]

        Lists tax information associated with a refund. Applicable to Automated Refunds only.

      • OptionalrefundTotals?: {
            currencyCode: string;
            fees?: string;
            subtotal?: string;
            taxes?: string;
            total: string;
        }
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
        • Optionalfees?: string

          The amount of all applicable fees.

          20.00
          
        • Optionalsubtotal?: string

          The subtotal before applying taxes and fees.

          100.00
          
        • Optionaltaxes?: string

          The amount of all taxes.

          8.00
          
        • total: string

          The total amount; the sum of the subtotal, taxes, and fees.

          128.00
          
    • TicketCoupon: {
          couponStatus:
              | "Airport Control"
              | "Lifted"
              | "Checked In"
              | "Exchanged"
              | "Flown"
              | "Not Flown"
              | "Refunded"
              | "Voided"
              | "Printed"
              | "Okay"
              | "Reactivated"
              | "Irregular Operations"
              | "Print Exchange"
              | "Paper Ticket"
              | "Suspended"
              | "Locked";
          couponStatusCode: | "AL"
          | "PE"
          | "XX"
          | "S"
          | "P"
          | "B"
          | "E"
          | "BD"
          | "CK"
          | "I"
          | "RF"
          | "V"
          | "PR"
          | "IO"
          | "T";
      } & { itemId?: string }

      Contains coupon status details.

    • TicketingPolicyEnum: "TODAY" | "ALREADY_TICKETED" | "FUTURE_TICKETING" | "TICKETING_TIME_LIMIT"

      Identifies general information about the booking ticket date.

      TODAY
      @enum {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;
      }

      Contains basic ticketing qualifiers.

      • OptionalcommissionAmount?: string

        The commission amount to be claimed. Cannot be combined with commissionPercentage.

        30.00
        
      • OptionalcommissionPercentage?: string

        The commission percent to be claimed. Cannot be combined with commissionAmount.

        10.00
        
      • Optionalendorsements?: { description?: string; useOverride?: boolean }
        • Optionaldescription?: string

          The original text for the endorsements field.

          REF AGY ONLY
          
        • OptionaluseOverride?: boolean

          If true, overrides all pre-programmed endorsements and prints special endorsements of the fare.

          true
          
      • OptionalexcludeFareFocusFares?: boolean

        If true, fares with advance purchase requirements are excluded during pricing. Mutually exclusive with the priceQuoteRecordIds property within the fulfillment process.

        false
        
      • OptionaltourCode?: string

        The tour code to use during ticketing.

        TEST1212
        
      • OptionaltourCodeOverrides?: "REPLACE_WITH_BT" | "REPLACE_WITH_IT" | "SUPPRESS_IT" | "SUPPRESS_IT_AND_FARE"
      • OptionaltravelerIndices?: number[]

        Lists references to the travelers within the travelers array for the purpose of name association during the fulfillment process. Mutually exclusive with the priceQuoteRecordIds property.

      • OptionalvalidatingAirlineCode?: string

        The two-letter IATA designator code of the desired validating airline.

        AA
        
    • TicketingTimeLimitPolicy: { airlineCode?: string; ticketingDate?: string; ticketingTime?: string }

      Contains information necessary to request time limit policies for tickets. This is used by travel agencies to request the first airline in the air booking to issue the tickets.

      • OptionalairlineCode?: string

        The two-letter IATA designator code of the marketing airline.

        AA
        
      • OptionalticketingDate?: string

        Format: date

        The ticketing date.

        2024-07-09
        
      • OptionalticketingTime?: string

        The ticketing time in HH:MM format.

        11:00
        
    • TicketPenalty: {
          applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
          isChangeable?: boolean;
          maximumPenalty?: { amount: string; currencyCode: string };
          type: "Changeable" | "Either or" | "Refundable";
      }

      Contains information about a penalty correlated with itinerary change or cancellation.

      • Optionalapplicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE"
      • OptionalisChangeable?: boolean

        If true, requests changeable options. If false, only non-changeable options are requested. Mutually exclusive with the maximumPenalty property.

        false
        
      • OptionalmaximumPenalty?: { amount: string; currencyCode: string }
        • amount: string

          The monetary amount.

          100.00
          
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
      • type: "Changeable" | "Either or" | "Refundable"
    • TicketPenaltyTypeEnum: "Changeable" | "Either or" | "Refundable"

      Identifies the penalty associated with the fare. Can be Changeable (changeable fare options), Either or (refundable or changeable fare options), or Refundable (refundable fare options).

      Refundable
      @enum {string}
    • TicketPrinter: { address?: string; countryCode?: string }

      Contains information about the ticket printer.

      • Optionaladdress?: string

        The ticket printer LNIATA to be designated.

        EF34GH
        
      • OptionalcountryCode?: string

        The ticket stock country code to be applied.

        RU
        
    • TicketStatusEnum: "Voided" | "Issued" | "Refunded/Exchanged"

      Identifies the current status of the ticket.

      Issued
      @enum {string}
    • TotalPayments: {
          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?: {
                      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 };
              }
          )[];
          hotelTotals?: {
              currencyCode: string;
              fees?: string;
              subtotal?: string;
              taxes?: string;
              total: string;
          }[];
          trainTotals?: {
              currencyCode: string;
              fees?: string;
              subtotal?: string;
              taxes?: string;
              total: string;
          }[];
      }

      Contains all total payment amounts across flights, hotels, car reservations and others.

      • OptionalcarTotals?: {
            currencyCode: string;
            fees?: string;
            subtotal?: string;
            taxes?: string;
            total: string;
        }[]

        Lists all car rental payments, per each currency used.

      • OptionalflightCurrentTotals?: {
            currencyCode: string;
            fees?: string;
            subtotal?: string;
            taxes?: string;
            total: string;
        }[]

        Lists all flight payments, per each currency used, and is applicable only for ticketed bookings. It sums up all payments with the exclusion of Refunded/Voided tickets, obtained directly from the ticket data.

      • OptionalflightTotals?: {
            currencyCode: string;
            fees?: string;
            subtotal?: string;
            taxes?: string;
            total: string;
        }[]

        Lists all flight payments, per each currency used. For ticketed bookings it sums all payments irrespective of the document status. For non-ticketed bookings it sums payments from all price quotes stored in the booking.

      • OptionalformsOfPayment?: (
            {
                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 };
            }
        )[]

        Lists all the payment methods that are stored in the booking.

      • OptionalhotelTotals?: {
            currencyCode: string;
            fees?: string;
            subtotal?: string;
            taxes?: string;
            total: string;
        }[]

        Lists all hotel payments, per each currency used.

      • OptionaltrainTotals?: {
            currencyCode: string;
            fees?: string;
            subtotal?: string;
            taxes?: string;
            total: string;
        }[]

        Lists all train payments, per each currency used.

    • TotalValues: {
          currencyCode: string;
          fees?: string;
          subtotal?: string;
          taxes?: string;
          total: string;
      }

      Contains details of the payment amount - the total amount to pay, the amount before tax, the amount of fees, and the amount of tax.

      • currencyCode: string

        The three-letter ISO 4217 currency code.

        USD
        
      • Optionalfees?: string

        The amount of all applicable fees.

        20.00
        
      • Optionalsubtotal?: string

        The subtotal before applying taxes and fees.

        100.00
        
      • Optionaltaxes?: string

        The amount of all taxes.

        8.00
        
      • total: string

        The total amount; the sum of the subtotal, taxes, and fees.

        128.00
        
    • TourCodeOverridesOptionEnum: "REPLACE_WITH_BT" | "REPLACE_WITH_IT" | "SUPPRESS_IT" | "SUPPRESS_IT_AND_FARE"

      Identifies the options that will be printed on the final ticket. Must be used in combination with tourCode. Can be REPLACE_WITH_BT (suppresses the fare amount and replaces it with BT), REPLACE_WITH_IT (suppresses the fare amount and replaces it with IT), SUPPRESS_IT (suppresses IT), or SUPPRESS_IT_AND_FARE (suppresses IT as well as the fare amount). IT stands for the inclusive tour ticket amount on the passenger coupon of a ticket, while BT indicates the bulk inclusive tour ticket amount on the passenger coupon of a ticket.

      REPLACE_WITH_BT
      @enum {string}
    • Train: { 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;
      }

      Contains train reservation information, identified by itemId, for the given booking.

    • TrainItem: {
          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;
      }

      Contains train information for the given booking.

      • arrivalDate: string

        Format: date

        The scheduled arrival date in YYYY-MM-DD format in the train station's timezone.

        2024-07-10
        
      • arrivalTime: string

        The scheduled time of arrival in HH:MM format.

        23:10
        
      • OptionalconfirmationId?: string

        The train reservation number.

        7.6e+221
        
      • departureDate: string

        Format: date

        The scheduled departure date in YYYY-MM-DD format in the train station's timezone.

        2024-07-10
        
      • departureTime: string

        The scheduled time of departure in HH:MM format.

        19:15
        
      • fromStationCode: string

        The origin train station code of the marketing railroad company station coding system.

        FTW
        
      • OptionalfromStationName?: string

        The train station name of the origin station.

        Central Station
        
      • OptionalisRefundable?: boolean

        If true, the train reservation can be refunded in total.

        true
        
      • OptionaloperatingVendorCode?: string

        The two-letter IATA designator code of the operating railroad company.

        2V
        
      • OptionaloperatingVendorName?: string

        The name of the operating railroad company.

        Amtrak
        
      • Optionalpayment?: {
            currencyCode: string;
            fees?: string;
            subtotal?: string;
            taxes?: string;
            total: string;
        }
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
        • Optionalfees?: string

          The amount of all applicable fees.

          20.00
          
        • Optionalsubtotal?: string

          The subtotal before applying taxes and fees.

          100.00
          
        • Optionaltaxes?: string

          The amount of all taxes.

          8.00
          
        • total: string

          The total amount; the sum of the subtotal, taxes, and fees.

          128.00
          
      • toStationCode: string

        The destination train station code of the marketing railroad company station coding system.

        ATL
        
      • OptionaltoStationName?: string

        The train station name of the destination station.

        Peachtree Station
        
      • OptionaltrainName?: string

        The train name associated with the marketing railroad company.

        Heartland Flyer
        
      • trainNumber: string

        The train number associated with the marketing railroad company.

        822
        
      • OptionaltrainStatusCode?: string

        The one or two-letter status code used by vendors. It indicates the train's booking status.

        HK
        
      • OptionaltrainStatusName?:
            | "Unknown"
            | "Confirmed"
            | "On Request"
            | "Pending"
            | "Cancelled"
            | "Unconfirmed"
            | "Waitlisted"
            | "Infant/No Seat"
            | "Priority Waitlist"
            | "Quote"
            | "Space Available"
            | "Pending Quote"
            | "No Seat"
            | "Standby"
      • vendorCode: string

        The two-letter IATA designator code of the marketing railroad company.

        2V
        
      • OptionalvendorName?: string

        The name of the marketing railroad company.

        Amtrak
        
    • TrainReference: { itemId: string }

      Contains train object reference by itemId.

      • itemId: string

        The id of the given train reservation.

        12
        
    • Traveler: {
          address?: {
              city?: string;
              countryCode?: string;
              postalCode?: string;
              stateProvince?: string;
              street?: string;
          } & { freeText?: string; name?: string };
          ancillaries?: {
              airlineCode?: string;
              commercialName?: string;
              electronicMiscellaneousDocumentNumber?: string;
              flightApplicabilityType?: "Unknown" | "Single" | "Multiple";
              flights?: { itemId: string }[];
              isCommissionable?: boolean;
              isRefundable?: boolean;
              itemId?: string;
              numberOfItems?: number;
              reasonForIssuanceCode?: string;
              reasonForIssuanceName?:
                  | "UNKNOWN"
                  | "AIR_TRANSPORTATION"
                  | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                  | "BAGGAGE"
                  | "FINANCIAL_IMPACT"
                  | "AIRPORT_SERVICES"
                  | "MERCHANDISE"
                  | "INFLIGHT_SERVICES"
                  | "INDIVIDUAL_AIRLINE_USE";
              source?: "ATPCO"
              | "MERCHANDISING_MANAGER";
              statusCode?: string;
              statusName?:
                  | "Confirmed"
                  | "Confirmed with EMD issued"
                  | "On Request"
                  | "Pending"
                  | "Cancelled"
                  | "Unconfirmed"
                  | "Confirmed with pending payment"
                  | "Schedule change";
              subcode?: string;
              totals?: {
                  currencyCode: string;
                  fees?: string;
                  subtotal?: string;
                  taxes?: string;
                  total: string;
              };
              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?: "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;
              itemId?: string;
              middleName?: string;
              placeOfBirth?: string;
              placeOfIssue?: string;
              residenceCountryCode?: string;
              residenceDestinationAddress?: {
                  city?: string;
                  countryCode?: string;
                  postalCode?: string;
                  stateProvince?: string;
                  street?: string;
              };
              surname?: string;
          }[];
          isGrouped?: boolean;
          loyaltyPrograms?: {
              programNumber: string;
              programType?: | "FREQUENT_FLYER"
              | "FREQUENT_RENTER"
              | "LOYALTY_ID"
              | "CORPORATE_LOYALTY_ID";
              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?:
                  | "INVOICE"
                  | "ITINERARY"
                  | "GENERAL"
                  | "HISTORICAL"
                  | "CLIENT_ADDRESS"
                  | "ALPHA_CODED"
                  | "DELIVERY_ADDRESS"
                  | "HIDDEN"
                  | "CORPORATE"
                  | "FORM_OF_PAYMENT"
                  | "PRINT_ON_TICKET"
                  | "FILLER_STRIP"
                  | "INTERFACE"
                  | "QUEUE_PLACE";
          }[];
          surname: string;
          type?: | "ADULT"
          | "AGENT"
          | "AIRLINE"
          | "CHILD"
          | "EDUCATION"
          | "GOVERNMENT"
          | "GROUP"
          | "INFANT"
          | "MILITARY"
          | "SENIOR"
          | "SPECIAL"
          | "YOUTH";
      }

      Contains traveler information.

      • Optionaladdress?: {
            city?: string;
            countryCode?: string;
            postalCode?: string;
            stateProvince?: string;
            street?: string;
        } & { freeText?: string; name?: string }
      • Optionalancillaries?: {
            airlineCode?: string;
            commercialName?: string;
            electronicMiscellaneousDocumentNumber?: string;
            flightApplicabilityType?: "Unknown" | "Single" | "Multiple";
            flights?: { itemId: string }[];
            isCommissionable?: boolean;
            isRefundable?: boolean;
            itemId?: string;
            numberOfItems?: number;
            reasonForIssuanceCode?: string;
            reasonForIssuanceName?:
                | "UNKNOWN"
                | "AIR_TRANSPORTATION"
                | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                | "BAGGAGE"
                | "FINANCIAL_IMPACT"
                | "AIRPORT_SERVICES"
                | "MERCHANDISE"
                | "INFLIGHT_SERVICES"
                | "INDIVIDUAL_AIRLINE_USE";
            source?: "ATPCO"
            | "MERCHANDISING_MANAGER";
            statusCode?: string;
            statusName?:
                | "Confirmed"
                | "Confirmed with EMD issued"
                | "On Request"
                | "Pending"
                | "Cancelled"
                | "Unconfirmed"
                | "Confirmed with pending payment"
                | "Schedule change";
            subcode?: string;
            totals?: {
                currencyCode: string;
                fees?: string;
                subtotal?: string;
                taxes?: string;
                total: string;
            };
            vendorCode?: string;
        }[]

        Lists the details of ancillary services.

      • OptionalbirthDate?: string

        Format: date

        The date of birth of the traveler in YYYY-MM-DD format.

        2024-01-23
        
      • Optionalemails?: string[]

        Lists all email addresses of the traveler.

      • OptionalformOfPaymentIndices?: number[]

        Lists the indices of forms of payment associated with the traveler.

      • Optionalgender?:
            | "FEMALE"
            | "MALE"
            | "INFANT_FEMALE"
            | "INFANT_MALE"
            | "UNDISCLOSED"
            | "UNDEFINED"
      • givenName: string

        The traveler's first name.

        John
        
      • OptionalidentityDocuments?: {
            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;
            itemId?: string;
            middleName?: string;
            placeOfBirth?: string;
            placeOfIssue?: string;
            residenceCountryCode?: string;
            residenceDestinationAddress?: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            };
            surname?: string;
        }[]

        Lists the identity documents applicable for a traveler.

      • OptionalisGrouped?: boolean

        If true, the traveler is associated with a group booking.

        true
        
      • OptionalloyaltyPrograms?: {
            programNumber: string;
            programType?:
                | "FREQUENT_FLYER"
                | "FREQUENT_RENTER"
                | "LOYALTY_ID"
                | "CORPORATE_LOYALTY_ID";
            receiverCode?: string;
            supplierCode?: string;
            tierLevel?: number;
        }[]

        Lists the loyalty programs applicable for a traveler.

      • OptionalmiddleName?: string

        The middle name or the initial of the middle name of the traveler.

        W
        
      • OptionalnameAssociationId?: string

        The ID associated with the traveler. Used for reference purposes after a booking PNR divide operation or traveler name change have been performed.

        3
        
      • OptionalnameReferenceCode?: string

        An additional code associated with the traveler (the so-called MAN number or statement information) used for accounting or identification purposes.

        C05
        
      • OptionalpassengerCode?: string

        The ATPCO code of the passenger type used for pricing, ticketing or fare rules of booked flights.

        ADT
        
      • Optionalphones?: { label?: string; number: string }[]

        Lists all phone numbers associated with the traveler.

      • Optionalremarks?: {
            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";
        }[]

        Lists all remarks associated with the traveler.

      • surname: string

        The traveler's last name.

        Smith
        
      • Optionaltype?:
            | "ADULT"
            | "AGENT"
            | "AIRLINE"
            | "CHILD"
            | "EDUCATION"
            | "GOVERNMENT"
            | "GROUP"
            | "INFANT"
            | "MILITARY"
            | "SENIOR"
            | "SPECIAL"
            | "YOUTH"
    • TravelerName: { givenName: string; middleName?: string; surname: string }

      Contains details of the traveler's full name.

      • givenName: string

        The traveler's first name.

        John
        
      • OptionalmiddleName?: string

        The traveler's middle name.

        Jack
        
      • surname: string

        The traveler's last name.

        Smith
        
    • TravelersGroup: {
          itemId?: string;
          name?: string;
          numberOfTravelers?: number;
          numberOfTravelersRemaining?: number;
      }

      Contains information about the group the travelers belong to.

      • OptionalitemId?: string

        Contains the ID of the group.

        3
        
      • Optionalname?: string

        The name of the group.

        GROUP ONE
        
      • OptionalnumberOfTravelers?: number

        Format: int32

        The total number of travelers within the group. Lap infants are not taken into consideration.

        1
        
      • OptionalnumberOfTravelersRemaining?: number

        Format: int32

        The number of remaining travelers within the group whose names are not provided. Lap infants are not taken into consideration.

        1
        
    • TravelerToModify: {
          birthDate?: string;
          emails?: string[];
          givenName?: string;
          identityDocuments?: (
              {
                  birthDate?: string;
                  documentNumber?: string;
                  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;
                  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;
                  residenceDestinationAddress?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  };
                  surname?: string;
              } & { flights?: { itemId: string }[] }
          )[];
          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;
      }

      Contains traveler information.

      • OptionalbirthDate?: string

        Format: date

        The date of birth of the traveler in YYYY-MM-DD format.

        2024-01-23
        
      • Optionalemails?: string[]

        Lists all email addresses of the traveler.

      • OptionalgivenName?: string

        The traveler's first name.

        John
        
      • OptionalidentityDocuments?: (
            {
                birthDate?: string;
                documentNumber?: string;
                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;
                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;
                residenceDestinationAddress?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                };
                surname?: string;
            } & { flights?: { itemId: string }[] }
        )[]

        Lists identity documents applicable to the traveler.

      • OptionalisGrouped?: boolean

        If true, the traveler is associated with a group booking.

        true
        
      • OptionalloyaltyPrograms?: {
            programNumber: string;
            programType?:
                | "FREQUENT_FLYER"
                | "FREQUENT_RENTER"
                | "LOYALTY_ID"
                | "CORPORATE_LOYALTY_ID";
            receiverCode?: string;
            supplierCode?: string;
            tierLevel?: number;
        }[]

        Lists loyalty programs the traveler participates in.

      • OptionalmiddleName?: string

        The traveler's middle name. Supported for NDC content only.

        Jack
        
      • OptionalpassengerCode?: string

        Specifies the type (age) of the traveler. Used for flights and hotel bookings. Available values for hotel reservations are limited to ADT (for adult) and CNN (for child).

        ADT
        
      • Optionalphones?: { label?: string; number: string }[]

        Lists all phone numbers associated with the traveler.

      • Optionalsurname?: string

        The traveler's last name.

        Smith
        
    • TravelerTypeEnum:
          | "ADULT"
          | "AGENT"
          | "AIRLINE"
          | "CHILD"
          | "EDUCATION"
          | "GOVERNMENT"
          | "GROUP"
          | "INFANT"
          | "MILITARY"
          | "SENIOR"
          | "SPECIAL"
          | "YOUTH"

      Identifies the type of the traveler.

      ADULT
      @enum {string}
    • ValidityPeriod: { endDate?: string; flights?: { itemId: string }[]; startDate?: string }

      Contains the ticket validity period and associated flights.

      • OptionalendDate?: string

        Format: date

        The end date of the validity period in ISO 8601 format.

        2024-09-19
        
      • Optionalflights?: { itemId: string }[]

        Lists flights associated with the brand code referenced by their itemId.

      • OptionalstartDate?: string

        Format: date

        The start date of the validity period in ISO 8601 format.

        2024-07-09
        
    • Value: { amount: string; currencyCode: string }

      Contains monetary amount information.

      • amount: string

        The monetary amount.

        100.00
        
      • currencyCode: string

        The three-letter ISO 4217 currency code.

        USD
        
    • VehicleTypeNameEnum:
          | "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"

      Identifies the name of the car type based on the second character of the ACRISS code.

      Two/Three Door
      @enum {string}
    • VirtualCard: {
          agencyEmail?: string;
          customerAccountCode?: string;
          hotelFax?: string;
          hotelName?: string;
          rateAmount?: { amount: string; currencyCode: string };
          roomDescription?: string;
          roomType?: string;
          virtualCardCharges?: string[];
      }

      Contains virtual card information.

      • OptionalagencyEmail?: string

        Format: email

        The agency email address.

        john@smith.family.priv
        
      • OptionalcustomerAccountCode?: string

        The customer account code of a virtual card. Use with VIRTUAL_CARD.

        John
        
      • OptionalhotelFax?: string

        The hotel's fax number.

        +1-555-123-4567
        
      • OptionalhotelName?: string

        The full name of the hotel. Pass the value obtained from HotelPriceCheckRS/PriceCheckInfo/HotelInfo/@HotelName.

        Ilia Hotel and Luxury Suites
        
      • OptionalrateAmount?: { amount: string; currencyCode: string }
        • amount: string

          The monetary amount.

          100.00
          
        • currencyCode: string

          The three-letter ISO 4217 currency code.

          USD
          
      • OptionalroomDescription?: string

        The detailed description of the room provided by the hotel supplier. Pass the value obtained from HotelPriceCheckRS/PriceCheckInfo/HotelRateInfo/Rooms/Room/RoomDescription/Text.

        Deluxe Room, 2 Double Beds
        
      • OptionalroomType?: string

        The type of the room provided by the hotel supplier. Pass the value obtained from HotelPriceCheckRS/PriceCheckInfo/HotelRateInfo/Rooms/Room/RoomDescription/@Name.

        2 double beds
        
      • OptionalvirtualCardCharges?: string[]

        Lists all extra charges that can be covered by the virtual card. If the card is used to cover room only please pass "Room Only" value.

    • VoidTicketsRequest: {
          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[];
      }

      Contains required and optional elements to void tickets.

      • OptionalconfirmationId?: string

        The booking reference ID as shown in the source supplier or vendor system.

        GLEBNY
        
      • OptionaldesignatePrinters?: {
            hardcopy?: { address?: string; spacing?: string };
            invoiceItinerary?: string;
            profileNumber?: number;
            ticket?: { address?: string; countryCode?: string };
        }[]

        Lists printers or a printer profile to designate. It is possible to provide a single PrinterAddress object with a printer profile. Alternatively, the array may contain multiple PrinterAddress objects, but each of them must have the same printer type definition.

      • OptionalerrorHandlingPolicy?: "HALT_ON_ERROR" | "ALLOW_PARTIAL_CANCEL"
      • Optionalnotification?: {
            email?:
                | "DEFAULT"
                | "INVOICE"
                | "ETICKET"
                | "ETICKET_PDF"
                | "ITINERARY"
                | "ITINERARY_PDF";
            queuePlacement?: {
                futureQueuePlacementDate?: string;
                pcc?: string;
                prefatoryInstructionCode: number;
                queueName?: string;
                queueNumber?: number;
            }[];
        }
        • Optionalemail?:
              | "DEFAULT"
              | "INVOICE"
              | "ETICKET"
              | "ETICKET_PDF"
              | "ITINERARY"
              | "ITINERARY_PDF"
        • OptionalqueuePlacement?: {
              futureQueuePlacementDate?: string;
              pcc?: string;
              prefatoryInstructionCode: number;
              queueName?: string;
              queueNumber?: number;
          }[]

          Lists the specifiec queue (up to three) to place the PNR into for the operation.

      • OptionalreceivedFrom?: string

        The entity that authorizes the changes in a Passenger Name Record.

        Booking Management API testing
        
      • OptionaltargetPcc?: string

        The pseudo city code of the target destination for which the ticket voiding is requested.

        G7HE
        
      • Optionaltickets?: string[]

        Lists document numbers for tickets or EMDs which should be voided. Can contain up to 12 elements.

    • VoidTicketsResponse: {
          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[];
      }

      Contains voided ticket information.

      • Optionalerrors?: {
            category: string;
            description?: string;
            fieldName?: string;
            fieldPath?: string;
            fieldValue?: string;
            type: string;
        }[]

        Lists detailed error information. This array is not displayed in successful responses.

      • Optionalrequest?: {
            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[];
        }
        • OptionalconfirmationId?: string

          The booking reference ID as shown in the source supplier or vendor system.

          GLEBNY
          
        • OptionaldesignatePrinters?: {
              hardcopy?: { address?: string; spacing?: string };
              invoiceItinerary?: string;
              profileNumber?: number;
              ticket?: { address?: string; countryCode?: string };
          }[]

          Lists printers or a printer profile to designate. It is possible to provide a single PrinterAddress object with a printer profile. Alternatively, the array may contain multiple PrinterAddress objects, but each of them must have the same printer type definition.

        • OptionalerrorHandlingPolicy?: "HALT_ON_ERROR" | "ALLOW_PARTIAL_CANCEL"
        • Optionalnotification?: {
              email?:
                  | "DEFAULT"
                  | "INVOICE"
                  | "ETICKET"
                  | "ETICKET_PDF"
                  | "ITINERARY"
                  | "ITINERARY_PDF";
              queuePlacement?: {
                  futureQueuePlacementDate?: string;
                  pcc?: string;
                  prefatoryInstructionCode: number;
                  queueName?: string;
                  queueNumber?: number;
              }[];
          }
          • Optionalemail?:
                | "DEFAULT"
                | "INVOICE"
                | "ETICKET"
                | "ETICKET_PDF"
                | "ITINERARY"
                | "ITINERARY_PDF"
          • OptionalqueuePlacement?: {
                futureQueuePlacementDate?: string;
                pcc?: string;
                prefatoryInstructionCode: number;
                queueName?: string;
                queueNumber?: number;
            }[]

            Lists the specifiec queue (up to three) to place the PNR into for the operation.

        • OptionalreceivedFrom?: string

          The entity that authorizes the changes in a Passenger Name Record.

          Booking Management API testing
          
        • OptionaltargetPcc?: string

          The pseudo city code of the target destination for which the ticket voiding is requested.

          G7HE
          
        • Optionaltickets?: string[]

          Lists document numbers for tickets or EMDs which should be voided. Can contain up to 12 elements.

      • Optionaltimestamp?: string

        Format: date-time

        Provides the exact point in time when the response was generated. The timestamp is expressed in UTC and presented in the YYYY-MM-DDTHH:MM:SSZ format.

        2024-10-28T11:11:21Z
        
      • OptionalvoidedTickets?: string[]

        Lists all successfully voided tickets.

    • Voucher: { billingNumber?: string; type?: string }

      Contains voucher information.

      • OptionalbillingNumber?: string

        The billing number associated with the voucher.

        1234567
        
      • Optionaltype?: string

        Abbreviated code that indicates the type of voucher.

        FC