Documentation
    Preparing search index...

    This file was auto-generated by openapi-typescript. Do not make direct changes to the file.

    interface paths {
        "/cancelBooking": {
            delete?: never;
            get?: never;
            head?: never;
            options?: never;
            parameters: {
                cookie?: never;
                header?: never;
                path?: never;
                query?: never;
            };
            patch?: never;
            post: {
                parameters: {
                    cookie?: never;
                    header: { Authorization: string };
                    path?: never;
                    query?: never;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            bookingSource?: "SABRE"
                            | "SABRE_ORDER";
                            cancelAll: boolean;
                            cars?: { itemId: string }[];
                            confirmationId: string;
                            cruises?: { itemId: string }[];
                            designatePrinters?: {
                                hardcopy?: { address?: string; spacing?: string };
                                invoiceItinerary?: string;
                                profileNumber?: number;
                                ticket?: { address?: string; countryCode?: string };
                            }[];
                            errorHandlingPolicy?: "HALT_ON_ERROR"
                            | "ALLOW_PARTIAL_CANCEL";
                            flights?: { itemId: string }[];
                            flightTicketOperation?: "VOID" | "REFUND";
                            hotels?: { itemId: string }[];
                            notification?: {
                                email?:
                                    | "DEFAULT"
                                    | "INVOICE"
                                    | "ETICKET"
                                    | "ETICKET_PDF"
                                    | "ITINERARY"
                                    | "ITINERARY_PDF";
                                queuePlacement?: {
                                    futureQueuePlacementDate?: string;
                                    pcc?: string;
                                    prefatoryInstructionCode: number;
                                    queueName?: string;
                                    queueNumber?: number;
                                }[];
                            };
                            offerItemId?: string;
                            receivedFrom?: string;
                            retentionEndDate?: string;
                            retentionLabel?: string;
                            retrieveBooking: boolean;
                            segments?: { id?: string; sequence?: number }[];
                            targetPcc?: string;
                            trains?: { itemId: string }[];
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                booking?: {
                                    accountingItems?: {
                                        airlineCode?: string;
                                        cardNumber?: string;
                                        cardTypeCode?: string;
                                        commission?: {
                                            commissionAmount?: string;
                                            commissionPercentage?: string;
                                            currencyCode?: string;
                                        };
                                        creationType?: "Refund"
                                        | "Exchange"
                                        | "First Issuance";
                                        currencyCode?: string;
                                        fareAmount?: string;
                                        fareApplicationType?:
                                            | "Single Traveler"
                                            | "All Travelers"
                                            | "Each Traveler";
                                        formOfPaymentType?: | "Unknown"
                                        | "Cash"
                                        | "Check"
                                        | "Check or Cash"
                                        | "Payment Card"
                                        | "Masked Payment Card";
                                        tariffBasisType?: "Domestic"
                                        | "Foreign"
                                        | "International";
                                        taxAmount?: string;
                                        ticketNumber?: string;
                                        travelerIndices?: number[];
                                    }[];
                                    agencyCustomerNumber?: string;
                                    allSegments?: (
                                        { id: string } & {
                                            address?: (...) & (...);
                                            date?: string;
                                            endAddress?: (...) & (...);
                                            endDate?: string;
                                            endLocationCode?: string;
                                            endTime?: string;
                                            locationCode?: string;
                                            startAddress?: (...) & (...);
                                            startDate?: string;
                                            startLocationCode?: string;
                                            startTime?: string;
                                            text?: string;
                                            time?: string;
                                            type: string;
                                            vendorCode?: string;
                                        }
                                    )[];
                                    bookingId?: string;
                                    cars?: (
                                        { itemId: string } & {
                                            carStatusCode?: string;
                                            carStatusName?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            collectionAddress?: {
                                                city?: ...;
                                                countryCode?: ...;
                                                postalCode?: ...;
                                                stateProvince?: ...;
                                                street?: ...;
                                            };
                                            collectionSite?: { id?: ...; name?: ...; phone?: ... };
                                            confirmationId?: string;
                                            deliveryAddress?: {
                                                city?: ...;
                                                countryCode?: ...;
                                                postalCode?: ...;
                                                stateProvince?: ...;
                                                street?: ...;
                                            };
                                            deliverySite?: { id?: ...; name?: ...; phone?: ... };
                                            distanceAllowance?: string;
                                            dropOffAddress?: (...) & (...);
                                            dropOffContactInfo?: (...) & (...);
                                            dropOffDate: string;
                                            dropOffLocationCode?: string;
                                            dropOffTime: string;
                                            guaranteePaymentNote?: string;
                                            isRefundable: boolean;
                                            numberOfVehicles?: number;
                                            payment?: {
                                                currencyCode: ...;
                                                fees?: ...;
                                                subtotal?: ...;
                                                taxes?: ...;
                                                total: ...;
                                            };
                                            pickUpAddress: (...) & (...);
                                            pickUpContactInfo?: (...) & (...);
                                            pickUpDate: string;
                                            pickUpLocationCode?: string;
                                            pickUpTime: string;
                                            rateCode?: string;
                                            refundPenalties?: (...)[];
                                            specialInstructions?: string;
                                            travelerIndex?: number;
                                            vehicleTypeCode?: string;
                                            vehicleTypeName?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            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?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            departureDate: string;
                                            departureTime?: string;
                                            fromPortCode: string;
                                            numberOfGuests?: number;
                                            shipCode?: string;
                                            shipName?: string;
                                            toPortCode?: string;
                                            vendorCode: string;
                                        }
                                    )[];
                                    endDate?: string;
                                    fareOffers?: {
                                        cabinBaggageAllowance?: {
                                            baggagePieces?: (...)[];
                                            maximumPieces?: number;
                                            totalWeightInKilograms?: number;
                                            totalWeightInPounds?: number;
                                        };
                                        cabinBaggageCharges?: {
                                            fee?: ...;
                                            isCheckInOnly?: ...;
                                            maximumSizeInCentimeters?: ...;
                                            maximumSizeInInches?: ...;
                                            maximumWeightInKilograms?: ...;
                                            maximumWeightInPounds?: ...;
                                            numberOfPieces: ...;
                                            specialItemDescription?: ...;
                                        }[];
                                        checkedBaggageAllowance?: {
                                            baggagePieces?: (...)[];
                                            maximumPieces?: number;
                                            totalWeightInKilograms?: number;
                                            totalWeightInPounds?: number;
                                        };
                                        checkedBaggageCharges?: {
                                            fee?: ...;
                                            isCheckInOnly?: ...;
                                            maximumSizeInCentimeters?: ...;
                                            maximumSizeInInches?: ...;
                                            maximumWeightInKilograms?: ...;
                                            maximumWeightInPounds?: ...;
                                            numberOfPieces: ...;
                                            specialItemDescription?: ...;
                                        }[];
                                        flights?: { itemId: ... }[];
                                        travelerIndices?: number[];
                                    }[];
                                    fareRules?: {
                                        destinationAirportCode?: string;
                                        exchangePenalties?: {
                                            applicability: ...;
                                            conditionsApply: ...;
                                            penalty: ...;
                                        }[];
                                        isChangeable?: boolean;
                                        isRefundable?: boolean;
                                        originAirportCode?: string;
                                        owningAirlineCode: string;
                                        passengerCode?: string;
                                        refundPenalties?: {
                                            applicability: ...;
                                            conditionsApply: ...;
                                            penalty: ...;
                                        }[];
                                    }[];
                                    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?: ...;
                                            brandAttributes?: ...;
                                            brandFareCode?: ...;
                                            brandFareName?: ...;
                                            brandProgramCode?: ...;
                                            brandProgramName?: ...;
                                            checkedBaggageAllowance?: ...;
                                            fareBasisCode?: ...;
                                            flightIndices?: ...;
                                            flights?: ...;
                                            isCurrentItinerary?: ...;
                                        }[];
                                        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?: ...; taxCode?: ... }[];
                                        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?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            fromAirportCode: string;
                                            hiddenStopAircraftTypeCode?: string;
                                            hiddenStopAircraftTypeName?: string;
                                            hiddenStopAirportCode?: string;
                                            hiddenStopArrivalDate?: string;
                                            hiddenStopArrivalTime?: string;
                                            hiddenStopDepartureDate?: string;
                                            hiddenStopDepartureTime?: string;
                                            hiddenStops?: (...)[];
                                            identityDocuments?: (...)[];
                                            isPast?: boolean;
                                            meals?: (...)[];
                                            numberOfSeats?: number;
                                            operatingAirlineCode?: string;
                                            operatingAirlineName?: string;
                                            operatingFlightNumber?: number;
                                            seats?: (...)[];
                                            sourceType?: (...) | (...) | (...);
                                            toAirportCode: string;
                                            travelerIndices?: (...)[];
                                            updatedArrivalDate?: string;
                                            updatedArrivalTime?: string;
                                            updatedDepartureDate?: string;
                                            updatedDepartureTime?: string;
                                        }
                                    )[];
                                    flightTickets?: {
                                        agencyIataNumber?: string;
                                        airlineCode: string;
                                        allCoupons?: ((...) & (...))[];
                                        commission?: {
                                            commissionAmount?: string;
                                            commissionPercentage?: string;
                                            currencyCode?: string;
                                        };
                                        date: string;
                                        flightCoupons: ((...) & (...))[];
                                        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: (...) & (...) & (...);
                                            associatedFlightDetails?: {
                                                arrivalAirlineCode?: ...;
                                                arrivalFlightNumber?: ...;
                                                arrivalTime?: ...;
                                                departureAirlineCode?: ...;
                                                departureFlightNumber?: ...;
                                                departureTime?: ...;
                                            };
                                            chainCode?: string;
                                            chainName?: string;
                                            checkInDate: string;
                                            checkInTime: string;
                                            checkOutDate: string;
                                            checkOutTime: string;
                                            confirmationId?: string;
                                            contactInfo?: (...) & (...);
                                            corporateDiscountCode?: number;
                                            guaranteePaymentNote?: string;
                                            guaranteeTypeCode?: number;
                                            guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                                            hotelName: string;
                                            hotelStatusCode?: string;
                                            hotelStatusName?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            isRefundable: boolean;
                                            leadTravelerIndex?: number;
                                            numberOfGuests?: number;
                                            payment?: {
                                                currencyCode: ...;
                                                fees?: ...;
                                                subtotal?: ...;
                                                taxes?: ...;
                                                total: ...;
                                            };
                                            paymentPolicy?: (...)
                                            | (...)
                                            | (...);
                                            propertyId?: string;
                                            refundPenalties?: (...)[];
                                            refundPenaltyPolicyCode?: string;
                                            room?: {
                                                agencyCommission?: ...;
                                                description?: ...;
                                                productCode?: ...;
                                                quantity: ...;
                                                roomRate?: ...;
                                                roomType: ...;
                                                roomTypeCode?: ...;
                                                travelerIndices?: ...;
                                            };
                                            sabrePropertyId?: string;
                                            sourceTypeCode?: number;
                                            sourceTypeName?: | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                            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?: ...;
                                                cardNumber?: ...;
                                                cardSecurityCode?: ...;
                                                cardTypeCode?: ...;
                                                expiryDate?: ...;
                                                extendedPayment?: ...;
                                                installmentAmount?: ...;
                                                miscellaneousCreditCode?: ...;
                                                numberOfInstallments?: ...;
                                            } & {
                                                agencyAddress?: ...;
                                                agencyIataNumber?: ...;
                                                authentications?: ...;
                                                cardHolder?: ...;
                                                companyAddress?: ...;
                                                corporateId?: ...;
                                                docketDescription?: ...;
                                                docketIssuingAgentInitials?: ...;
                                                docketNumber?: ...;
                                                docketPrefix?: ...;
                                                governmentTravelRequestDescription?: ...;
                                                invoiceDescription?: ...;
                                                isAgencyPaymentCard?: ...;
                                                manualApproval?: ...;
                                                netBalance?: ...;
                                                tripType?: ...;
                                                tripTypes?: ...;
                                                type: ...;
                                                useType?: ...;
                                                useTypes?: ...;
                                                virtualCard?: ...;
                                                voucher?: ...;
                                            }
                                        )[];
                                        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: ... }[];
                                        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: ...;
                                                fees?: ...;
                                                subtotal?: ...;
                                                taxes?: ...;
                                                total: ...;
                                            };
                                            toStationCode: string;
                                            toStationName?: string;
                                            trainName?: string;
                                            trainNumber: string;
                                            trainStatusCode?: string;
                                            trainStatusName?: | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                            vendorCode: string;
                                            vendorName?: string;
                                        }
                                    )[];
                                    travelers?: {
                                        address?: {
                                            city?: ...;
                                            countryCode?: ...;
                                            postalCode?: ...;
                                            stateProvince?: ...;
                                            street?: ...;
                                        } & { freeText?: ...; name?: ... };
                                        ancillaries?: {
                                            airlineCode?: ...;
                                            commercialName?: ...;
                                            electronicMiscellaneousDocumentNumber?: ...;
                                            flightApplicabilityType?: ...;
                                            flights?: ...;
                                            isCommissionable?: ...;
                                            isRefundable?: ...;
                                            itemId?: ...;
                                            numberOfItems?: ...;
                                            reasonForIssuanceCode?: ...;
                                            reasonForIssuanceName?: ...;
                                            source?: ...;
                                            statusCode?: ...;
                                            statusName?: ...;
                                            subcode?: ...;
                                            totals?: ...;
                                            vendorCode?: ...;
                                        }[];
                                        birthDate?: string;
                                        emails?: string[];
                                        formOfPaymentIndices?: number[];
                                        gender?: | "FEMALE"
                                        | "MALE"
                                        | "INFANT_FEMALE"
                                        | "INFANT_MALE"
                                        | "UNDISCLOSED"
                                        | "UNDEFINED";
                                        givenName: string;
                                        identityDocuments?: {
                                            birthDate?: ...;
                                            documentNumber?: ...;
                                            documentSubType?: ...;
                                            documentType: ...;
                                            expiryDate?: ...;
                                            flightIndices?: ...;
                                            gender?: ...;
                                            givenName?: ...;
                                            hostCountryCode?: ...;
                                            isLapChildDocument?: ...;
                                            isPrimaryDocumentHolder?: ...;
                                            issueDate?: ...;
                                            issuingCountryCode?: ...;
                                            itemId?: ...;
                                            middleName?: ...;
                                            placeOfBirth?: ...;
                                            placeOfIssue?: ...;
                                            residenceCountryCode?: ...;
                                            residenceDestinationAddress?: ...;
                                            surname?: ...;
                                        }[];
                                        isGrouped?: boolean;
                                        loyaltyPrograms?: {
                                            programNumber: ...;
                                            programType?: ...;
                                            receiverCode?: ...;
                                            supplierCode?: ...;
                                            tierLevel?: ...;
                                        }[];
                                        middleName?: string;
                                        nameAssociationId?: string;
                                        nameReferenceCode?: string;
                                        passengerCode?: string;
                                        phones?: { label?: ...; number: ... }[];
                                        remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                                        surname: string;
                                        type?:
                                            | "ADULT"
                                            | "AGENT"
                                            | "AIRLINE"
                                            | "CHILD"
                                            | "EDUCATION"
                                            | "GOVERNMENT"
                                            | "GROUP"
                                            | "INFANT"
                                            | "MILITARY"
                                            | "SENIOR"
                                            | "SPECIAL"
                                            | "YOUTH";
                                    }[];
                                    travelersGroup?: {
                                        itemId?: string;
                                        name?: string;
                                        numberOfTravelers?: number;
                                        numberOfTravelersRemaining?: number;
                                    };
                                };
                                errors?: {
                                    category: string;
                                    description?: string;
                                    fieldName?: string;
                                    fieldPath?: string;
                                    fieldValue?: string;
                                    type: string;
                                }[];
                                refundedTickets?: string[];
                                request?: {
                                    bookingSource?: "SABRE"
                                    | "SABRE_ORDER";
                                    cancelAll: boolean;
                                    cars?: { itemId: string }[];
                                    confirmationId: string;
                                    cruises?: { itemId: string }[];
                                    designatePrinters?: {
                                        hardcopy?: { address?: string; spacing?: string };
                                        invoiceItinerary?: string;
                                        profileNumber?: number;
                                        ticket?: { address?: string; countryCode?: string };
                                    }[];
                                    errorHandlingPolicy?: "HALT_ON_ERROR"
                                    | "ALLOW_PARTIAL_CANCEL";
                                    flights?: { itemId: string }[];
                                    flightTicketOperation?: "VOID" | "REFUND";
                                    hotels?: { itemId: string }[];
                                    notification?: {
                                        email?:
                                            | "DEFAULT"
                                            | "INVOICE"
                                            | "ETICKET"
                                            | "ETICKET_PDF"
                                            | "ITINERARY"
                                            | "ITINERARY_PDF";
                                        queuePlacement?: {
                                            futureQueuePlacementDate?: string;
                                            pcc?: string;
                                            prefatoryInstructionCode: number;
                                            queueName?: string;
                                            queueNumber?: number;
                                        }[];
                                    };
                                    offerItemId?: string;
                                    receivedFrom?: string;
                                    retentionEndDate?: string;
                                    retentionLabel?: string;
                                    retrieveBooking: boolean;
                                    segments?: { id?: string; sequence?: number }[];
                                    targetPcc?: string;
                                    trains?: { itemId: string }[];
                                };
                                tickets?: {
                                    exchangePenalties?: (
                                        { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                            hasNoShowCost?: ...;
                                            noShowPenalty?: ...;
                                            source?: ...;
                                        }
                                    )[];
                                    isAutomatedRefundsEligible?: boolean;
                                    isChangeable?: boolean;
                                    isRefundable?: boolean;
                                    isVoidable?: boolean;
                                    number?: string;
                                    refundPenalties?: (
                                        { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                            hasNoShowCost?: ...;
                                            noShowPenalty?: ...;
                                            source?: ...;
                                        }
                                    )[];
                                    refundTaxes?: { amount: string; taxCode: string }[];
                                    refundTotals?: {
                                        currencyCode: string;
                                        fees?: string;
                                        subtotal?: string;
                                        taxes?: string;
                                        total: string;
                                    };
                                }[];
                                timestamp?: string;
                                voidedTickets?: string[];
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            put?: never;
            trace?: never;
        };
        "/checkFlightTickets": {
            delete?: never;
            get?: never;
            head?: never;
            options?: never;
            parameters: {
                cookie?: never;
                header?: never;
                path?: never;
                query?: never;
            };
            patch?: never;
            post: {
                parameters: {
                    cookie?: never;
                    header: { Authorization: string };
                    path?: never;
                    query?: never;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            confirmationId?: string;
                            targetPcc?: string;
                            tickets?: {
                                number?: string;
                                refundQualifiers?: {
                                    commissionAmount?: string;
                                    commissionOnPenalty?: string;
                                    commissionPercentage?: string;
                                    journeyTypeCode?: "F"
                                    | "M"
                                    | "B";
                                    overrideCancelFee?: string;
                                    overrideTaxes?: {
                                        airportTaxBreakdowns?: (...)[];
                                        taxAmount?: string;
                                        taxCode?: string;
                                    }[];
                                    splitRefundAmounts?: { amount?: string }[];
                                    tourCode?: string;
                                    waiverCode?: string;
                                };
                            }[];
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                cancelOffers?: {
                                    offerExpirationDate?: string;
                                    offerExpirationTime?: string;
                                    offerItemId?: string;
                                    offerType?: "VOID"
                                    | "REFUND";
                                    refundTotals?: {
                                        currencyCode: string;
                                        fees?: string;
                                        subtotal?: string;
                                        taxes?: string;
                                        total: string;
                                    };
                                }[];
                                errors?: {
                                    category: string;
                                    description?: string;
                                    fieldName?: string;
                                    fieldPath?: string;
                                    fieldValue?: string;
                                    type: string;
                                }[];
                                request?: {
                                    confirmationId?: string;
                                    targetPcc?: string;
                                    tickets?: {
                                        number?: string;
                                        refundQualifiers?: {
                                            commissionAmount?: string;
                                            commissionOnPenalty?: string;
                                            commissionPercentage?: string;
                                            journeyTypeCode?: (...)
                                            | (...)
                                            | (...);
                                            overrideCancelFee?: string;
                                            overrideTaxes?: (...)[];
                                            splitRefundAmounts?: (...)[];
                                            tourCode?: string;
                                            waiverCode?: string;
                                        };
                                    }[];
                                };
                                tickets?: {
                                    exchangePenalties?: (
                                        { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                            hasNoShowCost?: ...;
                                            noShowPenalty?: ...;
                                            source?: ...;
                                        }
                                    )[];
                                    isAutomatedRefundsEligible?: boolean;
                                    isChangeable?: boolean;
                                    isRefundable?: boolean;
                                    isVoidable?: boolean;
                                    number?: string;
                                    refundPenalties?: (
                                        { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                            hasNoShowCost?: ...;
                                            noShowPenalty?: ...;
                                            source?: ...;
                                        }
                                    )[];
                                    refundTaxes?: { amount: string; taxCode: string }[];
                                    refundTotals?: {
                                        currencyCode: string;
                                        fees?: string;
                                        subtotal?: string;
                                        taxes?: string;
                                        total: string;
                                    };
                                }[];
                                timestamp?: string;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            put?: never;
            trace?: never;
        };
        "/createBooking": {
            delete?: never;
            get?: never;
            head?: never;
            options?: never;
            parameters: {
                cookie?: never;
                header?: never;
                path?: never;
                query?: never;
            };
            patch?: never;
            post: {
                parameters: {
                    cookie?: never;
                    header: { Authorization: string };
                    path?: never;
                    query?: never;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            agency?: {
                                address?: {
                                    city?: string;
                                    countryCode?: string;
                                    postalCode?: string;
                                    stateProvince?: string;
                                    street?: string;
                                } & { freeText?: string; name?: string };
                                agencyCustomerNumber?: string;
                                contactInfo?: { emails?: string[] };
                                futureTicketingPolicy?: {
                                    comment?: string;
                                    queueNumber?: string;
                                    ticketingDate?: string;
                                    ticketingPcc?: string;
                                    ticketingTime?: string;
                                };
                                ticketingPolicy?: | "TODAY"
                                | "ALREADY_TICKETED"
                                | "FUTURE_TICKETING"
                                | "TICKETING_TIME_LIMIT";
                                ticketingTimeLimitPolicy?: {
                                    airlineCode?: string;
                                    ticketingDate?: string;
                                    ticketingTime?: string;
                                };
                            };
                            asynchronousUpdateWaitTime: number;
                            car?: {
                                bookingKey: string;
                                collectionAddress?: {
                                    city?: string;
                                    countryCode?: string;
                                    postalCode?: string;
                                    stateProvince?: string;
                                    street?: string;
                                };
                                collectionSite?: { id?: string; name?: string; phone?: string };
                                deliveryAddress?: {
                                    city?: string;
                                    countryCode?: string;
                                    postalCode?: string;
                                    stateProvince?: string;
                                    street?: string;
                                };
                                deliverySite?: { id?: string; name?: string; phone?: string };
                                emailIndex?: number;
                                flightIndex?: number;
                                formOfPayment?: number;
                                paymentPolicy?: "DEPOSIT" | "GUARANTEE";
                                quantity: number;
                                specialInstructions?: string;
                                travelerIndex?: number;
                            };
                            contactInfo?: { emails?: string[] } & {
                                emergencyPhones?: string[];
                                faxes?: string[];
                                phones?: string[];
                            };
                            errorHandlingPolicy?: (
                                | "HALT_ON_ERROR"
                                | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                                | "DO_NOT_HALT_ON_FLIGHT_PRICING_ERROR"
                                | "DO_NOT_HALT_ON_HOTEL_BOOKING_ERROR"
                                | "DO_NOT_HALT_ON_ANCILLARY_BOOKING_ERROR"
                                | "DO_NOT_HALT_ON_SEAT_BOOKING_ERROR"
                                | "DO_NOT_HALT_ON_CAR_BOOKING_ERROR"
                            )[];
                            flightDetails?: {
                                flightPricing?: {
                                    priceComparisons?: {
                                        amount?: string;
                                        comparisonType: (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                        desiredAmount: string;
                                        percent?: string;
                                    }[];
                                    qualifiers?: {
                                        commissionAmount?: string;
                                        commissionPercentage?: string;
                                        endorsements?: { description?: ...; useOverride?: ... };
                                        excludeFareFocusFares?: boolean;
                                        tourCode?: string;
                                        tourCodeOverrides?: (...) | (...) | (...) | (...);
                                        travelerIndices?: (...)[];
                                        validatingAirlineCode?: string;
                                    } & {
                                        accountCode?: { accountCodes: ...; forceAccountCodes?: ... };
                                        adjustedSellingLevel?: {
                                            ignore?: ...;
                                            markDownAmount?: ...;
                                            markUpAmount?: ...;
                                            returnBreakdown?: ...;
                                        };
                                        baggageAllowance?: (...)[];
                                        brandedFares?: (...)[];
                                        breakFareFlightIndices?: (...)[];
                                        cabinCode?: string;
                                        commissionContractNames?: (...)[];
                                        considerMultiTicket?: boolean;
                                        corporateFare?: { corporateIds: ...; forceCorporateId?: ... };
                                        currencyPricing?: string;
                                        exchangePenalties?: {
                                            applicability?: ...;
                                            penaltyAmount?: ...;
                                            restrictionType: ...;
                                        };
                                        excludeBasicEconomyFares?: (...)[];
                                        exemptTaxes?: (...)[];
                                        flightIndices?: (...)[];
                                        forceConnectionFlightIndices?: (...)[];
                                        forceStopoverFlightIndices?: (...)[];
                                        hemisphereCode?: number;
                                        journeyCode?: number;
                                        netRemit?: {
                                            cashValue?: ...;
                                            commercialAgreementReferenceCode?: ...;
                                            creditValue?: ...;
                                            netRemitCode?: ...;
                                        };
                                        overrideTaxes?: (...)[];
                                        passengersPricing?: (...)[];
                                        passengerStatus?: (...) | (...) | (...);
                                        passengerStatusCountryCode?: string;
                                        payment?: {
                                            amountOnSecondFormOfPayment?: ...;
                                            primaryFormOfPayment: ...;
                                            secondaryFormOfPayment?: ...;
                                        };
                                        priceWithTaxes: boolean;
                                        rebookLowestFares?: boolean;
                                        retailerRule?: { forceQualifiers?: ...; qualifiers: ... };
                                        settlementMethod?: string;
                                        sideTripFlightIndices?: (...)[];
                                        spanishIslandResidentDiscountCode?: string;
                                        spanishLargeFamilyDiscountLevel?: number;
                                        specificFares?: (...)[];
                                        useExcursionFare?: boolean;
                                        useNetFare?: boolean;
                                        usePrivateFare?: boolean;
                                        usePublicFare?: boolean;
                                        useRoundTheWorldFare?: boolean;
                                    };
                                }[];
                                flights?: {
                                    airlineCode: string;
                                    arrivalDate?: string;
                                    arrivalTime?: string;
                                    bookingClass: string;
                                    confirmationId?: string;
                                    departureDate: string;
                                    departureTime: string;
                                    flightNumber: number;
                                    flightStatusCode: string;
                                    fromAirportCode: string;
                                    isMarriageGroup?: boolean;
                                    seats?: {
                                        areaPreferences?: (...)[];
                                        number?: string;
                                        travelerIndex: number;
                                    }[];
                                    source?: "LCC"
                                    | "ATPCO";
                                    toAirportCode: string;
                                }[];
                                haltOnFlightStatusCodes?: (
                                    "US"
                                    | "NO"
                                    | "NN"
                                    | "UC"
                                    | "UN"
                                    | "UU"
                                    | "LL"
                                    | "HL"
                                )[];
                                retryBookingUnconfirmedFlights?: boolean;
                            };
                            flightOffer?: { offerId: string; selectedOfferItems: string[] };
                            hotel?: {
                                associatedFlightDetails?: {
                                    arrivalAirlineCode?: string;
                                    arrivalFlightNumber?: number;
                                    arrivalTime?: string;
                                    departureAirlineCode?: string;
                                    departureFlightNumber?: number;
                                    departureTime?: string;
                                };
                                bookingKey: string;
                                corporateDiscountCode?: number;
                                formOfPayment?: number;
                                paymentPolicy?: "DEPOSIT"
                                | "GUARANTEE"
                                | "LATE";
                                rooms?: {
                                    bedTypeCode?: number;
                                    isSmoking: boolean;
                                    physicalDisabilityCode?: number;
                                    roomExtras?: {
                                        amount?: string;
                                        quantity: number;
                                        roomExtraType: number;
                                    }[];
                                    travelerIndices?: number[];
                                }[];
                                specialInstruction?: string;
                                useCsl: boolean;
                            };
                            notification?: {
                                email?: | "DEFAULT"
                                | "INVOICE"
                                | "ETICKET"
                                | "ETICKET_PDF"
                                | "ITINERARY"
                                | "ITINERARY_PDF";
                                queuePlacement?: {
                                    futureQueuePlacementDate?: string;
                                    pcc?: string;
                                    prefatoryInstructionCode: number;
                                    queueName?: string;
                                    queueNumber?: number;
                                }[];
                            };
                            otherServices?: {
                                airlineCode?: string;
                                chainCode?: string;
                                serviceMessage?: string;
                                travelerIndex?: number;
                                vendorCode?: string;
                            }[];
                            payment?: {
                                billingAddress?: {
                                    city?: string;
                                    countryCode?: string;
                                    postalCode?: string;
                                    stateProvince?: string;
                                    street?: string;
                                } & { freeText?: string; name?: string };
                                formsOfPayment?: (
                                    {
                                        airlinePlanCode?: string;
                                        cardNumber?: string;
                                        cardSecurityCode?: string;
                                        cardTypeCode?: string;
                                        expiryDate?: string;
                                        extendedPayment?: number;
                                        installmentAmount?: string;
                                        miscellaneousCreditCode?: string;
                                        numberOfInstallments?: number;
                                    } & {
                                        agencyAddress?: {
                                            city?: ...;
                                            countryCode?: ...;
                                            postalCode?: ...;
                                            stateProvince?: ...;
                                            street?: ...;
                                        } & { freeText?: ...; name?: ... };
                                        agencyIataNumber?: string;
                                        authentications?: {
                                            amount?: ...;
                                            cardNumberCollectionCode?: ...;
                                            channelCode?: ...;
                                            currencyCode?: ...;
                                            electronicCommerceIndicator?: ...;
                                            exemptionTypeCode?: ...;
                                            issueCode?: ...;
                                            mandateTypeCode?: ...;
                                            merchantName?: ...;
                                            originalPaymentReference?: ...;
                                            resultCode?: ...;
                                            secureAuthenticationValue?: ...;
                                            secureTransactionId?: ...;
                                            tokenAuthenticationValue?: ...;
                                            updatedDateTime?: ...;
                                            verificationResultCode?: ...;
                                            version?: ...;
                                        }[];
                                        cardHolder?: {
                                            address?: {
                                                city?: ...;
                                                countryCode?: ...;
                                                postalCode?: ...;
                                                stateProvince?: ...;
                                                street?: ...;
                                            };
                                            email?: string;
                                            givenName: string;
                                            phone?: string;
                                            surname: string;
                                        };
                                        companyAddress?: {
                                            city?: ...;
                                            countryCode?: ...;
                                            postalCode?: ...;
                                            stateProvince?: ...;
                                            street?: ...;
                                        } & { freeText?: ...; name?: ... };
                                        corporateId?: string;
                                        docketDescription?: string;
                                        docketIssuingAgentInitials?: string;
                                        docketNumber?: string;
                                        docketPrefix?: string;
                                        governmentTravelRequestDescription?: string;
                                        invoiceDescription?: string;
                                        isAgencyPaymentCard?: boolean;
                                        manualApproval?: {
                                            airlineCode: string;
                                            amount: string;
                                            code: string;
                                            currencyCode: string;
                                            expiryDateTime: string;
                                            requestDateTime: string;
                                        };
                                        netBalance?: string;
                                        tripType?: | "All"
                                        | "Unknown"
                                        | "Corporate/Business"
                                        | "Leisure"
                                        | "Emergency"
                                        | "Family"
                                        | "Group";
                                        tripTypes?: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                        type:
                                            | "INVOICE"
                                            | "CORPORATE"
                                            | "PAYMENTCARD"
                                            | "CASH"
                                            | "CHECK"
                                            | "MISCELLANEOUS"
                                            | "INSTALLMENTS"
                                            | "VIRTUAL_CARD"
                                            | "AGENCY_NAME"
                                            | "AGENCY_IATA"
                                            | "COMPANY_NAME"
                                            | "VOUCHER"
                                            | "DOCKET"
                                            | "GOVERNMENT_TRAVEL_REQUEST";
                                        useType?: | "All"
                                        | "Other"
                                        | "Tour"
                                        | "Unknown"
                                        | "Ancillary"
                                        | "Hotel"
                                        | "Car"
                                        | "Cruise"
                                        | "Airline"
                                        | "Bus/Ground Transportation"
                                        | "Insurance"
                                        | "Low-Cost Carrier"
                                        | "Rail"
                                        | "Specialty Service"
                                        | "Interface Record";
                                        useTypes?: (
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                        )[];
                                        virtualCard?: {
                                            agencyEmail?: string;
                                            customerAccountCode?: string;
                                            hotelFax?: string;
                                            hotelName?: string;
                                            rateAmount?: { amount: ...; currencyCode: ... };
                                            roomDescription?: string;
                                            roomType?: string;
                                            virtualCardCharges?: (...)[];
                                        };
                                        voucher?: { billingNumber?: string; type?: string };
                                    }
                                )[];
                            };
                            profiles?: {
                                domainId: string;
                                filterId?: string;
                                profileName?: string;
                                profileTypeCode: string;
                                uniqueId?: string;
                            }[];
                            receivedFrom: string;
                            remarks?: (
                                {
                                    alphaCode?: string;
                                    text?: string;
                                    type?: | "INVOICE"
                                    | "ITINERARY"
                                    | "GENERAL"
                                    | "HISTORICAL"
                                    | "CLIENT_ADDRESS"
                                    | "ALPHA_CODED"
                                    | "DELIVERY_ADDRESS"
                                    | "HIDDEN"
                                    | "CORPORATE"
                                    | "FORM_OF_PAYMENT"
                                    | "PRINT_ON_TICKET"
                                    | "FILLER_STRIP"
                                    | "INTERFACE"
                                    | "QUEUE_PLACE";
                                } & {
                                    queuePlacement?: {
                                        futureQueuePlacementDate?: string;
                                        pcc?: string;
                                        prefatoryInstructionCode: number;
                                        queueName?: string;
                                        queueNumber?: number;
                                    };
                                }
                            )[];
                            retentionEndDate?: string;
                            retentionLabel?: string;
                            targetPcc?: string;
                            travelers?: {
                                age?: number;
                                ancillaries?: {
                                    airlineCode: string;
                                    basePrice: string;
                                    commercialName?: string;
                                    currencyCode: string;
                                    electronicMiscellaneousDocumentType: | "ETICKET"
                                    | "STANDALONE"
                                    | "FLIGHT_COUPON_ASSOCIATED"
                                    | "STANDALONE_TICKET_ASSOCIATED"
                                    | "OTHER_THAN_EMD";
                                    firstTravelDate?: string;
                                    flightApplicabilityType?: "Unknown"
                                    | "Single"
                                    | "Multiple";
                                    flightIndices: number[];
                                    groupCode: string;
                                    lastTravelDate?: string;
                                    numberOfItems: number;
                                    purchaseDateTime?: string;
                                    reasonForIssuance?:
                                        | "UNKNOWN"
                                        | "AIR_TRANSPORTATION"
                                        | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                                        | "BAGGAGE"
                                        | "FINANCIAL_IMPACT"
                                        | "AIRPORT_SERVICES"
                                        | "MERCHANDISE"
                                        | "INFLIGHT_SERVICES"
                                        | "INDIVIDUAL_AIRLINE_USE";
                                    source?: "ATPCO"
                                    | "MERCHANDISING_MANAGER";
                                    specialServiceIndex?: number;
                                    subcode: string;
                                    totalPrice?: string;
                                    vendorCode?: string;
                                }[];
                                birthDate?: string;
                                emails?: string[];
                                formOfPaymentIndices?: number[];
                                gender?: | "FEMALE"
                                | "MALE"
                                | "INFANT_FEMALE"
                                | "INFANT_MALE"
                                | "UNDISCLOSED"
                                | "UNDEFINED";
                                givenName?: string;
                                id?: string;
                                identityDocuments?: {
                                    birthDate?: string;
                                    documentNumber?: string;
                                    documentSubType?: "RUC"
                                    | "CUIT/CUIL"
                                    | "NIT";
                                    documentType:
                                        | "MILITARY"
                                        | "PASSPORT"
                                        | "VISA"
                                        | "SECURE_FLIGHT_PASSENGER_DATA"
                                        | "RESIDENCE_ADDRESS"
                                        | "DESTINATION_ADDRESS"
                                        | "KNOWN_TRAVELER_NUMBER"
                                        | "REDRESS_NUMBER"
                                        | "ALIEN_RESIDENT"
                                        | "PERMANENT_RESIDENT"
                                        | "FACILITATION_DOCUMENT"
                                        | "NATIONAL_ID_CARD"
                                        | "NEXUS_CARD"
                                        | "NATURALIZATION_CERTIFICATE"
                                        | "REFUGEE_REENTRY_PERMIT"
                                        | "BORDER_CROSSING_CARD"
                                        | "FISCAL_ID";
                                    expiryDate?: string;
                                    flightIndices?: number[];
                                    gender?: | "FEMALE"
                                    | "MALE"
                                    | "INFANT_FEMALE"
                                    | "INFANT_MALE"
                                    | "UNDISCLOSED"
                                    | "UNDEFINED";
                                    givenName?: string;
                                    hostCountryCode?: string;
                                    isLapChildDocument?: boolean;
                                    isPrimaryDocumentHolder?: boolean;
                                    issueDate?: string;
                                    issuingCountryCode?: string;
                                    middleName?: string;
                                    placeOfBirth?: string;
                                    placeOfIssue?: string;
                                    residenceCountryCode?: string;
                                    residenceOrDestinationAddress?: {
                                        city?: string;
                                        countryCode?: string;
                                        postalCode?: string;
                                        stateProvince?: string;
                                        street?: string;
                                    };
                                    surname?: string;
                                }[];
                                loyaltyPrograms?: {
                                    programNumber: string;
                                    programType?: | "FREQUENT_FLYER"
                                    | "FREQUENT_RENTER"
                                    | "LOYALTY_ID"
                                    | "CORPORATE_LOYALTY_ID";
                                    receiverCode?: string;
                                    supplierCode?: string;
                                    tierLevel?: number;
                                }[];
                                nameReferenceCode?: string;
                                passengerCode?: string;
                                phones?: { label?: string; number: string }[];
                                specialServices?: {
                                    code: string;
                                    flightIndices?: number[];
                                    message?: string;
                                }[];
                                surname?: string;
                            }[];
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                booking?: {
                                    accountingItems?: {
                                        airlineCode?: string;
                                        cardNumber?: string;
                                        cardTypeCode?: string;
                                        commission?: {
                                            commissionAmount?: string;
                                            commissionPercentage?: string;
                                            currencyCode?: string;
                                        };
                                        creationType?: "Refund"
                                        | "Exchange"
                                        | "First Issuance";
                                        currencyCode?: string;
                                        fareAmount?: string;
                                        fareApplicationType?:
                                            | "Single Traveler"
                                            | "All Travelers"
                                            | "Each Traveler";
                                        formOfPaymentType?: | "Unknown"
                                        | "Cash"
                                        | "Check"
                                        | "Check or Cash"
                                        | "Payment Card"
                                        | "Masked Payment Card";
                                        tariffBasisType?: "Domestic"
                                        | "Foreign"
                                        | "International";
                                        taxAmount?: string;
                                        ticketNumber?: string;
                                        travelerIndices?: number[];
                                    }[];
                                    agencyCustomerNumber?: string;
                                    allSegments?: (
                                        { id: string } & {
                                            address?: (...) & (...);
                                            date?: string;
                                            endAddress?: (...) & (...);
                                            endDate?: string;
                                            endLocationCode?: string;
                                            endTime?: string;
                                            locationCode?: string;
                                            startAddress?: (...) & (...);
                                            startDate?: string;
                                            startLocationCode?: string;
                                            startTime?: string;
                                            text?: string;
                                            time?: string;
                                            type: string;
                                            vendorCode?: string;
                                        }
                                    )[];
                                    bookingId?: string;
                                    cars?: (
                                        { itemId: string } & {
                                            carStatusCode?: string;
                                            carStatusName?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            collectionAddress?: {
                                                city?: ...;
                                                countryCode?: ...;
                                                postalCode?: ...;
                                                stateProvince?: ...;
                                                street?: ...;
                                            };
                                            collectionSite?: { id?: ...; name?: ...; phone?: ... };
                                            confirmationId?: string;
                                            deliveryAddress?: {
                                                city?: ...;
                                                countryCode?: ...;
                                                postalCode?: ...;
                                                stateProvince?: ...;
                                                street?: ...;
                                            };
                                            deliverySite?: { id?: ...; name?: ...; phone?: ... };
                                            distanceAllowance?: string;
                                            dropOffAddress?: (...) & (...);
                                            dropOffContactInfo?: (...) & (...);
                                            dropOffDate: string;
                                            dropOffLocationCode?: string;
                                            dropOffTime: string;
                                            guaranteePaymentNote?: string;
                                            isRefundable: boolean;
                                            numberOfVehicles?: number;
                                            payment?: {
                                                currencyCode: ...;
                                                fees?: ...;
                                                subtotal?: ...;
                                                taxes?: ...;
                                                total: ...;
                                            };
                                            pickUpAddress: (...) & (...);
                                            pickUpContactInfo?: (...) & (...);
                                            pickUpDate: string;
                                            pickUpLocationCode?: string;
                                            pickUpTime: string;
                                            rateCode?: string;
                                            refundPenalties?: (...)[];
                                            specialInstructions?: string;
                                            travelerIndex?: number;
                                            vehicleTypeCode?: string;
                                            vehicleTypeName?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            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?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            departureDate: string;
                                            departureTime?: string;
                                            fromPortCode: string;
                                            numberOfGuests?: number;
                                            shipCode?: string;
                                            shipName?: string;
                                            toPortCode?: string;
                                            vendorCode: string;
                                        }
                                    )[];
                                    endDate?: string;
                                    fareOffers?: {
                                        cabinBaggageAllowance?: {
                                            baggagePieces?: (...)[];
                                            maximumPieces?: number;
                                            totalWeightInKilograms?: number;
                                            totalWeightInPounds?: number;
                                        };
                                        cabinBaggageCharges?: {
                                            fee?: ...;
                                            isCheckInOnly?: ...;
                                            maximumSizeInCentimeters?: ...;
                                            maximumSizeInInches?: ...;
                                            maximumWeightInKilograms?: ...;
                                            maximumWeightInPounds?: ...;
                                            numberOfPieces: ...;
                                            specialItemDescription?: ...;
                                        }[];
                                        checkedBaggageAllowance?: {
                                            baggagePieces?: (...)[];
                                            maximumPieces?: number;
                                            totalWeightInKilograms?: number;
                                            totalWeightInPounds?: number;
                                        };
                                        checkedBaggageCharges?: {
                                            fee?: ...;
                                            isCheckInOnly?: ...;
                                            maximumSizeInCentimeters?: ...;
                                            maximumSizeInInches?: ...;
                                            maximumWeightInKilograms?: ...;
                                            maximumWeightInPounds?: ...;
                                            numberOfPieces: ...;
                                            specialItemDescription?: ...;
                                        }[];
                                        flights?: { itemId: ... }[];
                                        travelerIndices?: number[];
                                    }[];
                                    fareRules?: {
                                        destinationAirportCode?: string;
                                        exchangePenalties?: {
                                            applicability: ...;
                                            conditionsApply: ...;
                                            penalty: ...;
                                        }[];
                                        isChangeable?: boolean;
                                        isRefundable?: boolean;
                                        originAirportCode?: string;
                                        owningAirlineCode: string;
                                        passengerCode?: string;
                                        refundPenalties?: {
                                            applicability: ...;
                                            conditionsApply: ...;
                                            penalty: ...;
                                        }[];
                                    }[];
                                    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?: ...;
                                            brandAttributes?: ...;
                                            brandFareCode?: ...;
                                            brandFareName?: ...;
                                            brandProgramCode?: ...;
                                            brandProgramName?: ...;
                                            checkedBaggageAllowance?: ...;
                                            fareBasisCode?: ...;
                                            flightIndices?: ...;
                                            flights?: ...;
                                            isCurrentItinerary?: ...;
                                        }[];
                                        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?: ...; taxCode?: ... }[];
                                        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?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            fromAirportCode: string;
                                            hiddenStopAircraftTypeCode?: string;
                                            hiddenStopAircraftTypeName?: string;
                                            hiddenStopAirportCode?: string;
                                            hiddenStopArrivalDate?: string;
                                            hiddenStopArrivalTime?: string;
                                            hiddenStopDepartureDate?: string;
                                            hiddenStopDepartureTime?: string;
                                            hiddenStops?: (...)[];
                                            identityDocuments?: (...)[];
                                            isPast?: boolean;
                                            meals?: (...)[];
                                            numberOfSeats?: number;
                                            operatingAirlineCode?: string;
                                            operatingAirlineName?: string;
                                            operatingFlightNumber?: number;
                                            seats?: (...)[];
                                            sourceType?: (...) | (...) | (...);
                                            toAirportCode: string;
                                            travelerIndices?: (...)[];
                                            updatedArrivalDate?: string;
                                            updatedArrivalTime?: string;
                                            updatedDepartureDate?: string;
                                            updatedDepartureTime?: string;
                                        }
                                    )[];
                                    flightTickets?: {
                                        agencyIataNumber?: string;
                                        airlineCode: string;
                                        allCoupons?: ((...) & (...))[];
                                        commission?: {
                                            commissionAmount?: string;
                                            commissionPercentage?: string;
                                            currencyCode?: string;
                                        };
                                        date: string;
                                        flightCoupons: ((...) & (...))[];
                                        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: (...) & (...) & (...);
                                            associatedFlightDetails?: {
                                                arrivalAirlineCode?: ...;
                                                arrivalFlightNumber?: ...;
                                                arrivalTime?: ...;
                                                departureAirlineCode?: ...;
                                                departureFlightNumber?: ...;
                                                departureTime?: ...;
                                            };
                                            chainCode?: string;
                                            chainName?: string;
                                            checkInDate: string;
                                            checkInTime: string;
                                            checkOutDate: string;
                                            checkOutTime: string;
                                            confirmationId?: string;
                                            contactInfo?: (...) & (...);
                                            corporateDiscountCode?: number;
                                            guaranteePaymentNote?: string;
                                            guaranteeTypeCode?: number;
                                            guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                                            hotelName: string;
                                            hotelStatusCode?: string;
                                            hotelStatusName?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            isRefundable: boolean;
                                            leadTravelerIndex?: number;
                                            numberOfGuests?: number;
                                            payment?: {
                                                currencyCode: ...;
                                                fees?: ...;
                                                subtotal?: ...;
                                                taxes?: ...;
                                                total: ...;
                                            };
                                            paymentPolicy?: (...)
                                            | (...)
                                            | (...);
                                            propertyId?: string;
                                            refundPenalties?: (...)[];
                                            refundPenaltyPolicyCode?: string;
                                            room?: {
                                                agencyCommission?: ...;
                                                description?: ...;
                                                productCode?: ...;
                                                quantity: ...;
                                                roomRate?: ...;
                                                roomType: ...;
                                                roomTypeCode?: ...;
                                                travelerIndices?: ...;
                                            };
                                            sabrePropertyId?: string;
                                            sourceTypeCode?: number;
                                            sourceTypeName?: | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                            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?: ...;
                                                cardNumber?: ...;
                                                cardSecurityCode?: ...;
                                                cardTypeCode?: ...;
                                                expiryDate?: ...;
                                                extendedPayment?: ...;
                                                installmentAmount?: ...;
                                                miscellaneousCreditCode?: ...;
                                                numberOfInstallments?: ...;
                                            } & {
                                                agencyAddress?: ...;
                                                agencyIataNumber?: ...;
                                                authentications?: ...;
                                                cardHolder?: ...;
                                                companyAddress?: ...;
                                                corporateId?: ...;
                                                docketDescription?: ...;
                                                docketIssuingAgentInitials?: ...;
                                                docketNumber?: ...;
                                                docketPrefix?: ...;
                                                governmentTravelRequestDescription?: ...;
                                                invoiceDescription?: ...;
                                                isAgencyPaymentCard?: ...;
                                                manualApproval?: ...;
                                                netBalance?: ...;
                                                tripType?: ...;
                                                tripTypes?: ...;
                                                type: ...;
                                                useType?: ...;
                                                useTypes?: ...;
                                                virtualCard?: ...;
                                                voucher?: ...;
                                            }
                                        )[];
                                        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: ... }[];
                                        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: ...;
                                                fees?: ...;
                                                subtotal?: ...;
                                                taxes?: ...;
                                                total: ...;
                                            };
                                            toStationCode: string;
                                            toStationName?: string;
                                            trainName?: string;
                                            trainNumber: string;
                                            trainStatusCode?: string;
                                            trainStatusName?: | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                            vendorCode: string;
                                            vendorName?: string;
                                        }
                                    )[];
                                    travelers?: {
                                        address?: {
                                            city?: ...;
                                            countryCode?: ...;
                                            postalCode?: ...;
                                            stateProvince?: ...;
                                            street?: ...;
                                        } & { freeText?: ...; name?: ... };
                                        ancillaries?: {
                                            airlineCode?: ...;
                                            commercialName?: ...;
                                            electronicMiscellaneousDocumentNumber?: ...;
                                            flightApplicabilityType?: ...;
                                            flights?: ...;
                                            isCommissionable?: ...;
                                            isRefundable?: ...;
                                            itemId?: ...;
                                            numberOfItems?: ...;
                                            reasonForIssuanceCode?: ...;
                                            reasonForIssuanceName?: ...;
                                            source?: ...;
                                            statusCode?: ...;
                                            statusName?: ...;
                                            subcode?: ...;
                                            totals?: ...;
                                            vendorCode?: ...;
                                        }[];
                                        birthDate?: string;
                                        emails?: string[];
                                        formOfPaymentIndices?: number[];
                                        gender?: | "FEMALE"
                                        | "MALE"
                                        | "INFANT_FEMALE"
                                        | "INFANT_MALE"
                                        | "UNDISCLOSED"
                                        | "UNDEFINED";
                                        givenName: string;
                                        identityDocuments?: {
                                            birthDate?: ...;
                                            documentNumber?: ...;
                                            documentSubType?: ...;
                                            documentType: ...;
                                            expiryDate?: ...;
                                            flightIndices?: ...;
                                            gender?: ...;
                                            givenName?: ...;
                                            hostCountryCode?: ...;
                                            isLapChildDocument?: ...;
                                            isPrimaryDocumentHolder?: ...;
                                            issueDate?: ...;
                                            issuingCountryCode?: ...;
                                            itemId?: ...;
                                            middleName?: ...;
                                            placeOfBirth?: ...;
                                            placeOfIssue?: ...;
                                            residenceCountryCode?: ...;
                                            residenceDestinationAddress?: ...;
                                            surname?: ...;
                                        }[];
                                        isGrouped?: boolean;
                                        loyaltyPrograms?: {
                                            programNumber: ...;
                                            programType?: ...;
                                            receiverCode?: ...;
                                            supplierCode?: ...;
                                            tierLevel?: ...;
                                        }[];
                                        middleName?: string;
                                        nameAssociationId?: string;
                                        nameReferenceCode?: string;
                                        passengerCode?: string;
                                        phones?: { label?: ...; number: ... }[];
                                        remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                                        surname: string;
                                        type?:
                                            | "ADULT"
                                            | "AGENT"
                                            | "AIRLINE"
                                            | "CHILD"
                                            | "EDUCATION"
                                            | "GOVERNMENT"
                                            | "GROUP"
                                            | "INFANT"
                                            | "MILITARY"
                                            | "SENIOR"
                                            | "SPECIAL"
                                            | "YOUTH";
                                    }[];
                                    travelersGroup?: {
                                        itemId?: string;
                                        name?: string;
                                        numberOfTravelers?: number;
                                        numberOfTravelersRemaining?: number;
                                    };
                                };
                                confirmationId?: string;
                                errors?: {
                                    category: string;
                                    description?: string;
                                    fieldName?: string;
                                    fieldPath?: string;
                                    fieldValue?: string;
                                    type: string;
                                }[];
                                request?: {
                                    agency?: {
                                        address?: {
                                            city?: string;
                                            countryCode?: string;
                                            postalCode?: string;
                                            stateProvince?: string;
                                            street?: string;
                                        } & { freeText?: string; name?: string };
                                        agencyCustomerNumber?: string;
                                        contactInfo?: { emails?: string[] };
                                        futureTicketingPolicy?: {
                                            comment?: string;
                                            queueNumber?: string;
                                            ticketingDate?: string;
                                            ticketingPcc?: string;
                                            ticketingTime?: string;
                                        };
                                        ticketingPolicy?: | "TODAY"
                                        | "ALREADY_TICKETED"
                                        | "FUTURE_TICKETING"
                                        | "TICKETING_TIME_LIMIT";
                                        ticketingTimeLimitPolicy?: {
                                            airlineCode?: string;
                                            ticketingDate?: string;
                                            ticketingTime?: string;
                                        };
                                    };
                                    asynchronousUpdateWaitTime: number;
                                    car?: {
                                        bookingKey: string;
                                        collectionAddress?: {
                                            city?: string;
                                            countryCode?: string;
                                            postalCode?: string;
                                            stateProvince?: string;
                                            street?: string;
                                        };
                                        collectionSite?: { id?: string; name?: string; phone?: string };
                                        deliveryAddress?: {
                                            city?: string;
                                            countryCode?: string;
                                            postalCode?: string;
                                            stateProvince?: string;
                                            street?: string;
                                        };
                                        deliverySite?: { id?: string; name?: string; phone?: string };
                                        emailIndex?: number;
                                        flightIndex?: number;
                                        formOfPayment?: number;
                                        paymentPolicy?: "DEPOSIT" | "GUARANTEE";
                                        quantity: number;
                                        specialInstructions?: string;
                                        travelerIndex?: number;
                                    };
                                    contactInfo?: { emails?: string[] } & {
                                        emergencyPhones?: string[];
                                        faxes?: string[];
                                        phones?: string[];
                                    };
                                    errorHandlingPolicy?: (
                                        | "HALT_ON_ERROR"
                                        | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                                        | "DO_NOT_HALT_ON_FLIGHT_PRICING_ERROR"
                                        | "DO_NOT_HALT_ON_HOTEL_BOOKING_ERROR"
                                        | "DO_NOT_HALT_ON_ANCILLARY_BOOKING_ERROR"
                                        | "DO_NOT_HALT_ON_SEAT_BOOKING_ERROR"
                                        | "DO_NOT_HALT_ON_CAR_BOOKING_ERROR"
                                    )[];
                                    flightDetails?: {
                                        flightPricing?: {
                                            priceComparisons?: (...)[];
                                            qualifiers?: (...) & (...);
                                        }[];
                                        flights?: {
                                            airlineCode: string;
                                            arrivalDate?: string;
                                            arrivalTime?: string;
                                            bookingClass: string;
                                            confirmationId?: string;
                                            departureDate: string;
                                            departureTime: string;
                                            flightNumber: number;
                                            flightStatusCode: string;
                                            fromAirportCode: string;
                                            isMarriageGroup?: boolean;
                                            seats?: (...)[];
                                            source?: (...) | (...);
                                            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?: (...)[];
                                            travelerIndices?: (...)[];
                                        }[];
                                        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?: ...;
                                                cardNumber?: ...;
                                                cardSecurityCode?: ...;
                                                cardTypeCode?: ...;
                                                expiryDate?: ...;
                                                extendedPayment?: ...;
                                                installmentAmount?: ...;
                                                miscellaneousCreditCode?: ...;
                                                numberOfInstallments?: ...;
                                            } & {
                                                agencyAddress?: ...;
                                                agencyIataNumber?: ...;
                                                authentications?: ...;
                                                cardHolder?: ...;
                                                companyAddress?: ...;
                                                corporateId?: ...;
                                                docketDescription?: ...;
                                                docketIssuingAgentInitials?: ...;
                                                docketNumber?: ...;
                                                docketPrefix?: ...;
                                                governmentTravelRequestDescription?: ...;
                                                invoiceDescription?: ...;
                                                isAgencyPaymentCard?: ...;
                                                manualApproval?: ...;
                                                netBalance?: ...;
                                                tripType?: ...;
                                                tripTypes?: ...;
                                                type: ...;
                                                useType?: ...;
                                                useTypes?: ...;
                                                virtualCard?: ...;
                                                voucher?: ...;
                                            }
                                        )[];
                                    };
                                    profiles?: {
                                        domainId: string;
                                        filterId?: string;
                                        profileName?: string;
                                        profileTypeCode: string;
                                        uniqueId?: string;
                                    }[];
                                    receivedFrom: string;
                                    remarks?: (
                                        {
                                            alphaCode?: string;
                                            text?: string;
                                            type?: | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        } & {
                                            queuePlacement?: {
                                                futureQueuePlacementDate?: ...;
                                                pcc?: ...;
                                                prefatoryInstructionCode: ...;
                                                queueName?: ...;
                                                queueNumber?: ...;
                                            };
                                        }
                                    )[];
                                    retentionEndDate?: string;
                                    retentionLabel?: string;
                                    targetPcc?: string;
                                    travelers?: {
                                        age?: number;
                                        ancillaries?: {
                                            airlineCode: ...;
                                            basePrice: ...;
                                            commercialName?: ...;
                                            currencyCode: ...;
                                            electronicMiscellaneousDocumentType: ...;
                                            firstTravelDate?: ...;
                                            flightApplicabilityType?: ...;
                                            flightIndices: ...;
                                            groupCode: ...;
                                            lastTravelDate?: ...;
                                            numberOfItems: ...;
                                            purchaseDateTime?: ...;
                                            reasonForIssuance?: ...;
                                            source?: ...;
                                            specialServiceIndex?: ...;
                                            subcode: ...;
                                            totalPrice?: ...;
                                            vendorCode?: ...;
                                        }[];
                                        birthDate?: string;
                                        emails?: string[];
                                        formOfPaymentIndices?: number[];
                                        gender?: | "FEMALE"
                                        | "MALE"
                                        | "INFANT_FEMALE"
                                        | "INFANT_MALE"
                                        | "UNDISCLOSED"
                                        | "UNDEFINED";
                                        givenName?: string;
                                        id?: string;
                                        identityDocuments?: {
                                            birthDate?: ...;
                                            documentNumber?: ...;
                                            documentSubType?: ...;
                                            documentType: ...;
                                            expiryDate?: ...;
                                            flightIndices?: ...;
                                            gender?: ...;
                                            givenName?: ...;
                                            hostCountryCode?: ...;
                                            isLapChildDocument?: ...;
                                            isPrimaryDocumentHolder?: ...;
                                            issueDate?: ...;
                                            issuingCountryCode?: ...;
                                            middleName?: ...;
                                            placeOfBirth?: ...;
                                            placeOfIssue?: ...;
                                            residenceCountryCode?: ...;
                                            residenceOrDestinationAddress?: ...;
                                            surname?: ...;
                                        }[];
                                        loyaltyPrograms?: {
                                            programNumber: ...;
                                            programType?: ...;
                                            receiverCode?: ...;
                                            supplierCode?: ...;
                                            tierLevel?: ...;
                                        }[];
                                        nameReferenceCode?: string;
                                        passengerCode?: string;
                                        phones?: { label?: ...; number: ... }[];
                                        specialServices?: { code: ...; flightIndices?: ...; message?: ... }[];
                                        surname?: string;
                                    }[];
                                };
                                timestamp?: string;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            put?: never;
            trace?: never;
        };
        "/fulfillFlightTickets": {
            delete?: never;
            get?: never;
            head?: never;
            options?: never;
            parameters: {
                cookie?: never;
                header?: never;
                path?: never;
                query?: never;
            };
            patch?: never;
            post: {
                parameters: {
                    cookie?: never;
                    header: { Authorization: string };
                    path?: never;
                    query?: never;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            acceptNegotiatedFare: boolean;
                            acceptPriceChanges: boolean;
                            backDatePriceQuoteMethod?: "Reprice"
                            | "Override"
                            | "Quit";
                            bookingSource?: "SABRE" | "SABRE_ORDER";
                            commitTicketToBookingWaitTime: number;
                            confirmationId: string;
                            designatePrinters?: {
                                hardcopy?: { address?: string; spacing?: string };
                                invoiceItinerary?: string;
                                profileNumber?: number;
                                ticket?: { address?: string; countryCode?: string };
                            }[];
                            errorHandlingPolicy?: (
                                | "ALLOW_PARTIAL_FULFILLMENT"
                                | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                            )[];
                            formsOfPayment?: (
                                {
                                    airlinePlanCode?: string;
                                    cardNumber?: string;
                                    cardSecurityCode?: string;
                                    cardTypeCode?: string;
                                    expiryDate?: string;
                                    extendedPayment?: number;
                                    installmentAmount?: string;
                                    miscellaneousCreditCode?: string;
                                    numberOfInstallments?: number;
                                } & {
                                    authentications?: { channelCode?: string }[];
                                    manualApprovalCode?: string;
                                    type:
                                        | "PAYMENTCARD"
                                        | "CASH"
                                        | "CHECK"
                                        | "MISCELLANEOUS"
                                        | "INSTALLMENTS"
                                        | "VIRTUAL_CARD";
                                    virtualCardCode?: string;
                                }
                            )[];
                            fulfillments: {
                                ancillaryIds?: string[];
                                payment?: {
                                    amountOnSecondFormOfPayment?: string;
                                    primaryFormOfPayment: number;
                                    secondaryFormOfPayment?: number;
                                };
                                serviceFee?: {
                                    currencyCode?: string;
                                    customerReference?: string;
                                    description?: string;
                                    overrideAmount?: string;
                                };
                                ticketingQualifiers?: {
                                    commissionAmount?: string;
                                    commissionPercentage?: string;
                                    endorsements?: { description?: string; useOverride?: boolean };
                                    excludeFareFocusFares?: boolean;
                                    tourCode?: string;
                                    tourCodeOverrides?:
                                        | "REPLACE_WITH_BT"
                                        | "REPLACE_WITH_IT"
                                        | "SUPPRESS_IT"
                                        | "SUPPRESS_IT_AND_FARE";
                                    travelerIndices?: number[];
                                    validatingAirlineCode?: string;
                                } & {
                                    baggageAllowance?: {
                                        baggagePieces?: ...;
                                        flights?: ...;
                                        totalWeightInKilograms?: ...;
                                    }[];
                                    brandedFares?: { brandCode: ...; flights?: ... }[];
                                    discountApprovalCode?: string;
                                    exemptTaxes?: string[];
                                    futurePricingLines?: {
                                        firstLineNumber: ...;
                                        lastLineNumber?: ...;
                                        travelerIndex?: ...;
                                    }[];
                                    isNetFareCommission: boolean;
                                    netRemit?: {
                                        cashAmount?: string;
                                        commercialAgreementReferenceCode?: string;
                                        creditAmount?: string;
                                        discountAmount?: string;
                                        netRemitCode?: string;
                                        sellingFareAmount?: string;
                                        tourCode?: string;
                                    };
                                    penalties?: {
                                        applicability?: ...;
                                        isChangeable?: ...;
                                        maximumPenalty?: ...;
                                        type: ...;
                                    }[];
                                    priceQuoteRecordIds?: string[];
                                    priceWithTaxes: boolean;
                                    printDocuments?: "All"
                                    | "Invoice"
                                    | "Electronic Ticketing Receipt";
                                    returnFareFlexibilityDetails: boolean;
                                    sideTripFlights?: { itemId: ... }[];
                                    spanishLargeFamilyDiscountLevel?: number;
                                    specificFares?: { fareBasisCode: ...; flights?: ... }[];
                                    validityDates?: { endDate?: ...; flights?: ...; startDate?: ... }[];
                                };
                            }[];
                            generateSingleInvoice: boolean;
                            notificationEmail?: | "DEFAULT"
                            | "INVOICE"
                            | "ETICKET"
                            | "ETICKET_PDF"
                            | "ITINERARY"
                            | "ITINERARY_PDF";
                            priceQuoteExpirationMethod?: "Reprice"
                            | "Override"
                            | "Quit";
                            receivedFrom: string;
                            retainAccounting: boolean;
                            targetPcc?: string;
                            travelers?: {
                                givenName: string;
                                middleName?: string;
                                surname: string;
                            }[];
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                errors?: {
                                    category: string;
                                    description?: string;
                                    fieldName?: string;
                                    fieldPath?: string;
                                    fieldValue?: string;
                                    type: string;
                                }[];
                                request?: {
                                    acceptNegotiatedFare: boolean;
                                    acceptPriceChanges: boolean;
                                    backDatePriceQuoteMethod?: "Reprice"
                                    | "Override"
                                    | "Quit";
                                    bookingSource?: "SABRE" | "SABRE_ORDER";
                                    commitTicketToBookingWaitTime: number;
                                    confirmationId: string;
                                    designatePrinters?: {
                                        hardcopy?: { address?: string; spacing?: string };
                                        invoiceItinerary?: string;
                                        profileNumber?: number;
                                        ticket?: { address?: string; countryCode?: string };
                                    }[];
                                    errorHandlingPolicy?: (
                                        | "ALLOW_PARTIAL_FULFILLMENT"
                                        | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                                    )[];
                                    formsOfPayment?: (
                                        {
                                            airlinePlanCode?: string;
                                            cardNumber?: string;
                                            cardSecurityCode?: string;
                                            cardTypeCode?: string;
                                            expiryDate?: string;
                                            extendedPayment?: number;
                                            installmentAmount?: string;
                                            miscellaneousCreditCode?: string;
                                            numberOfInstallments?: number;
                                        } & {
                                            authentications?: (...)[];
                                            manualApprovalCode?: string;
                                            type: (...) | (...) | (...) | (...) | (...) | (...);
                                            virtualCardCode?: string;
                                        }
                                    )[];
                                    fulfillments: {
                                        ancillaryIds?: string[];
                                        payment?: {
                                            amountOnSecondFormOfPayment?: string;
                                            primaryFormOfPayment: number;
                                            secondaryFormOfPayment?: number;
                                        };
                                        serviceFee?: {
                                            currencyCode?: string;
                                            customerReference?: string;
                                            description?: string;
                                            overrideAmount?: string;
                                        };
                                        ticketingQualifiers?: {
                                            commissionAmount?: ...;
                                            commissionPercentage?: ...;
                                            endorsements?: ...;
                                            excludeFareFocusFares?: ...;
                                            tourCode?: ...;
                                            tourCodeOverrides?: ...;
                                            travelerIndices?: ...;
                                            validatingAirlineCode?: ...;
                                        } & {
                                            baggageAllowance?: ...;
                                            brandedFares?: ...;
                                            discountApprovalCode?: ...;
                                            exemptTaxes?: ...;
                                            futurePricingLines?: ...;
                                            isNetFareCommission: ...;
                                            netRemit?: ...;
                                            penalties?: ...;
                                            priceQuoteRecordIds?: ...;
                                            priceWithTaxes: ...;
                                            printDocuments?: ...;
                                            returnFareFlexibilityDetails: ...;
                                            sideTripFlights?: ...;
                                            spanishLargeFamilyDiscountLevel?: ...;
                                            specificFares?: ...;
                                            validityDates?: ...;
                                        };
                                    }[];
                                    generateSingleInvoice: boolean;
                                    notificationEmail?: | "DEFAULT"
                                    | "INVOICE"
                                    | "ETICKET"
                                    | "ETICKET_PDF"
                                    | "ITINERARY"
                                    | "ITINERARY_PDF";
                                    priceQuoteExpirationMethod?: "Reprice"
                                    | "Override"
                                    | "Quit";
                                    receivedFrom: string;
                                    retainAccounting: boolean;
                                    targetPcc?: string;
                                    travelers?: {
                                        givenName: string;
                                        middleName?: string;
                                        surname: string;
                                    }[];
                                };
                                tickets?: {
                                    date: string;
                                    isCommitted?: boolean;
                                    number: string;
                                    payment: {
                                        currencyCode: string;
                                        fees?: string;
                                        subtotal?: string;
                                        taxes?: string;
                                        total: string;
                                    };
                                    ticketingPcc?: string;
                                    ticketStatusCode?: string;
                                    ticketStatusName?: "Voided"
                                    | "Issued"
                                    | "Refunded/Exchanged";
                                    travelerGivenName?: string;
                                    travelerSurname?: string;
                                }[];
                                timestamp?: string;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            put?: never;
            trace?: never;
        };
        "/getBooking": {
            delete?: never;
            get?: never;
            head?: never;
            options?: never;
            parameters: {
                cookie?: never;
                header?: never;
                path?: never;
                query?: never;
            };
            patch?: never;
            post: {
                parameters: {
                    cookie?: never;
                    header: { Authorization: string };
                    path?: never;
                    query?: never;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            bookingSource?: "SABRE"
                            | "SABRE_ORDER";
                            confirmationId: string;
                            extraFeatures?: { returnEmptySeatObjects: boolean } & {
                                returnFiscalId: boolean;
                                returnFrequentRenter: boolean;
                                returnWalletFormsOfPayment: boolean;
                            } & Record<string, never>;
                            givenName?: string;
                            middleName?: string;
                            returnOnly?: (
                                | "FLIGHTS"
                                | "FLIGHT_PENALTY"
                                | "BAGGAGE_POLICY"
                                | "JOURNEYS"
                                | "HOTELS"
                                | "HOTEL_ADDRESS"
                                | "CARS"
                                | "CAR_RENTAL_ADDRESS"
                                | "CAR_RENTAL_PENALTY"
                                | "TRAINS"
                                | "CRUISES"
                                | "ALL_SEGMENTS"
                                | "TRAVELERS"
                                | "TICKETS"
                                | "PAYMENTS"
                                | "PENALTIES"
                                | "REMARKS"
                                | "IS_CANCELABLE"
                                | "IS_TICKETED"
                                | "CONTACT_INFO"
                                | "OTHER_SERVICES"
                                | "SPECIAL_SERVICES"
                                | "FARES"
                                | "CREATION_DETAILS"
                                | "ANCILLARIES"
                                | "FORMS_OF_PAYMENT"
                                | "RETENTION_DATE"
                                | "ACCOUNTING_ITEMS"
                                | "NON_ELECTRONIC_TICKETS"
                            )[];
                            surname?: string;
                            targetPcc?: string;
                            unmaskPaymentCardNumbers?: boolean;
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                accountingItems?: {
                                    airlineCode?: string;
                                    cardNumber?: string;
                                    cardTypeCode?: string;
                                    commission?: {
                                        commissionAmount?: string;
                                        commissionPercentage?: string;
                                        currencyCode?: string;
                                    };
                                    creationType?: "Refund"
                                    | "Exchange"
                                    | "First Issuance";
                                    currencyCode?: string;
                                    fareAmount?: string;
                                    fareApplicationType?:
                                        | "Single Traveler"
                                        | "All Travelers"
                                        | "Each Traveler";
                                    formOfPaymentType?: | "Unknown"
                                    | "Cash"
                                    | "Check"
                                    | "Check or Cash"
                                    | "Payment Card"
                                    | "Masked Payment Card";
                                    tariffBasisType?: "Domestic"
                                    | "Foreign"
                                    | "International";
                                    taxAmount?: string;
                                    ticketNumber?: string;
                                    travelerIndices?: number[];
                                }[];
                                agencyCustomerNumber?: string;
                                allSegments?: (
                                    { id: string } & {
                                        address?: (...) & (...);
                                        date?: string;
                                        endAddress?: (...) & (...);
                                        endDate?: string;
                                        endLocationCode?: string;
                                        endTime?: string;
                                        locationCode?: string;
                                        startAddress?: (...) & (...);
                                        startDate?: string;
                                        startLocationCode?: string;
                                        startTime?: string;
                                        text?: string;
                                        time?: string;
                                        type: string;
                                        vendorCode?: string;
                                    }
                                )[];
                                bookingId?: string;
                                cars?: (
                                    { itemId: string } & {
                                        carStatusCode?: string;
                                        carStatusName?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        collectionAddress?: {
                                            city?: ...;
                                            countryCode?: ...;
                                            postalCode?: ...;
                                            stateProvince?: ...;
                                            street?: ...;
                                        };
                                        collectionSite?: { id?: ...; name?: ...; phone?: ... };
                                        confirmationId?: string;
                                        deliveryAddress?: {
                                            city?: ...;
                                            countryCode?: ...;
                                            postalCode?: ...;
                                            stateProvince?: ...;
                                            street?: ...;
                                        };
                                        deliverySite?: { id?: ...; name?: ...; phone?: ... };
                                        distanceAllowance?: string;
                                        dropOffAddress?: (...) & (...);
                                        dropOffContactInfo?: (...) & (...);
                                        dropOffDate: string;
                                        dropOffLocationCode?: string;
                                        dropOffTime: string;
                                        guaranteePaymentNote?: string;
                                        isRefundable: boolean;
                                        numberOfVehicles?: number;
                                        payment?: {
                                            currencyCode: ...;
                                            fees?: ...;
                                            subtotal?: ...;
                                            taxes?: ...;
                                            total: ...;
                                        };
                                        pickUpAddress: (...) & (...);
                                        pickUpContactInfo?: (...) & (...);
                                        pickUpDate: string;
                                        pickUpLocationCode?: string;
                                        pickUpTime: string;
                                        rateCode?: string;
                                        refundPenalties?: (...)[];
                                        specialInstructions?: string;
                                        travelerIndex?: number;
                                        vehicleTypeCode?: string;
                                        vehicleTypeName?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        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?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        departureDate: string;
                                        departureTime?: string;
                                        fromPortCode: string;
                                        numberOfGuests?: number;
                                        shipCode?: string;
                                        shipName?: string;
                                        toPortCode?: string;
                                        vendorCode: string;
                                    }
                                )[];
                                endDate?: string;
                                fareOffers?: {
                                    cabinBaggageAllowance?: {
                                        baggagePieces?: (...)[];
                                        maximumPieces?: number;
                                        totalWeightInKilograms?: number;
                                        totalWeightInPounds?: number;
                                    };
                                    cabinBaggageCharges?: {
                                        fee?: ...;
                                        isCheckInOnly?: ...;
                                        maximumSizeInCentimeters?: ...;
                                        maximumSizeInInches?: ...;
                                        maximumWeightInKilograms?: ...;
                                        maximumWeightInPounds?: ...;
                                        numberOfPieces: ...;
                                        specialItemDescription?: ...;
                                    }[];
                                    checkedBaggageAllowance?: {
                                        baggagePieces?: (...)[];
                                        maximumPieces?: number;
                                        totalWeightInKilograms?: number;
                                        totalWeightInPounds?: number;
                                    };
                                    checkedBaggageCharges?: {
                                        fee?: ...;
                                        isCheckInOnly?: ...;
                                        maximumSizeInCentimeters?: ...;
                                        maximumSizeInInches?: ...;
                                        maximumWeightInKilograms?: ...;
                                        maximumWeightInPounds?: ...;
                                        numberOfPieces: ...;
                                        specialItemDescription?: ...;
                                    }[];
                                    flights?: { itemId: ... }[];
                                    travelerIndices?: number[];
                                }[];
                                fareRules?: {
                                    destinationAirportCode?: string;
                                    exchangePenalties?: {
                                        applicability: ...;
                                        conditionsApply: ...;
                                        penalty: ...;
                                    }[];
                                    isChangeable?: boolean;
                                    isRefundable?: boolean;
                                    originAirportCode?: string;
                                    owningAirlineCode: string;
                                    passengerCode?: string;
                                    refundPenalties?: {
                                        applicability: ...;
                                        conditionsApply: ...;
                                        penalty: ...;
                                    }[];
                                }[];
                                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?: ...;
                                        brandAttributes?: ...;
                                        brandFareCode?: ...;
                                        brandFareName?: ...;
                                        brandProgramCode?: ...;
                                        brandProgramName?: ...;
                                        checkedBaggageAllowance?: ...;
                                        fareBasisCode?: ...;
                                        flightIndices?: ...;
                                        flights?: ...;
                                        isCurrentItinerary?: ...;
                                    }[];
                                    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?: ...; taxCode?: ... }[];
                                    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?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        fromAirportCode: string;
                                        hiddenStopAircraftTypeCode?: string;
                                        hiddenStopAircraftTypeName?: string;
                                        hiddenStopAirportCode?: string;
                                        hiddenStopArrivalDate?: string;
                                        hiddenStopArrivalTime?: string;
                                        hiddenStopDepartureDate?: string;
                                        hiddenStopDepartureTime?: string;
                                        hiddenStops?: (...)[];
                                        identityDocuments?: (...)[];
                                        isPast?: boolean;
                                        meals?: (...)[];
                                        numberOfSeats?: number;
                                        operatingAirlineCode?: string;
                                        operatingAirlineName?: string;
                                        operatingFlightNumber?: number;
                                        seats?: (...)[];
                                        sourceType?: (...) | (...) | (...);
                                        toAirportCode: string;
                                        travelerIndices?: (...)[];
                                        updatedArrivalDate?: string;
                                        updatedArrivalTime?: string;
                                        updatedDepartureDate?: string;
                                        updatedDepartureTime?: string;
                                    }
                                )[];
                                flightTickets?: {
                                    agencyIataNumber?: string;
                                    airlineCode: string;
                                    allCoupons?: ((...) & (...))[];
                                    commission?: {
                                        commissionAmount?: string;
                                        commissionPercentage?: string;
                                        currencyCode?: string;
                                    };
                                    date: string;
                                    flightCoupons: ((...) & (...))[];
                                    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: (...) & (...) & (...);
                                        associatedFlightDetails?: {
                                            arrivalAirlineCode?: ...;
                                            arrivalFlightNumber?: ...;
                                            arrivalTime?: ...;
                                            departureAirlineCode?: ...;
                                            departureFlightNumber?: ...;
                                            departureTime?: ...;
                                        };
                                        chainCode?: string;
                                        chainName?: string;
                                        checkInDate: string;
                                        checkInTime: string;
                                        checkOutDate: string;
                                        checkOutTime: string;
                                        confirmationId?: string;
                                        contactInfo?: (...) & (...);
                                        corporateDiscountCode?: number;
                                        guaranteePaymentNote?: string;
                                        guaranteeTypeCode?: number;
                                        guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                                        hotelName: string;
                                        hotelStatusCode?: string;
                                        hotelStatusName?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        isRefundable: boolean;
                                        leadTravelerIndex?: number;
                                        numberOfGuests?: number;
                                        payment?: {
                                            currencyCode: ...;
                                            fees?: ...;
                                            subtotal?: ...;
                                            taxes?: ...;
                                            total: ...;
                                        };
                                        paymentPolicy?: (...)
                                        | (...)
                                        | (...);
                                        propertyId?: string;
                                        refundPenalties?: (...)[];
                                        refundPenaltyPolicyCode?: string;
                                        room?: {
                                            agencyCommission?: ...;
                                            description?: ...;
                                            productCode?: ...;
                                            quantity: ...;
                                            roomRate?: ...;
                                            roomType: ...;
                                            roomTypeCode?: ...;
                                            travelerIndices?: ...;
                                        };
                                        sabrePropertyId?: string;
                                        sourceTypeCode?: number;
                                        sourceTypeName?: | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                        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?: ...;
                                            cardNumber?: ...;
                                            cardSecurityCode?: ...;
                                            cardTypeCode?: ...;
                                            expiryDate?: ...;
                                            extendedPayment?: ...;
                                            installmentAmount?: ...;
                                            miscellaneousCreditCode?: ...;
                                            numberOfInstallments?: ...;
                                        } & {
                                            agencyAddress?: ...;
                                            agencyIataNumber?: ...;
                                            authentications?: ...;
                                            cardHolder?: ...;
                                            companyAddress?: ...;
                                            corporateId?: ...;
                                            docketDescription?: ...;
                                            docketIssuingAgentInitials?: ...;
                                            docketNumber?: ...;
                                            docketPrefix?: ...;
                                            governmentTravelRequestDescription?: ...;
                                            invoiceDescription?: ...;
                                            isAgencyPaymentCard?: ...;
                                            manualApproval?: ...;
                                            netBalance?: ...;
                                            tripType?: ...;
                                            tripTypes?: ...;
                                            type: ...;
                                            useType?: ...;
                                            useTypes?: ...;
                                            virtualCard?: ...;
                                            voucher?: ...;
                                        }
                                    )[];
                                    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: ... }[];
                                    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: ...;
                                            fees?: ...;
                                            subtotal?: ...;
                                            taxes?: ...;
                                            total: ...;
                                        };
                                        toStationCode: string;
                                        toStationName?: string;
                                        trainName?: string;
                                        trainNumber: string;
                                        trainStatusCode?: string;
                                        trainStatusName?: | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                        vendorCode: string;
                                        vendorName?: string;
                                    }
                                )[];
                                travelers?: {
                                    address?: {
                                        city?: ...;
                                        countryCode?: ...;
                                        postalCode?: ...;
                                        stateProvince?: ...;
                                        street?: ...;
                                    } & { freeText?: ...; name?: ... };
                                    ancillaries?: {
                                        airlineCode?: ...;
                                        commercialName?: ...;
                                        electronicMiscellaneousDocumentNumber?: ...;
                                        flightApplicabilityType?: ...;
                                        flights?: ...;
                                        isCommissionable?: ...;
                                        isRefundable?: ...;
                                        itemId?: ...;
                                        numberOfItems?: ...;
                                        reasonForIssuanceCode?: ...;
                                        reasonForIssuanceName?: ...;
                                        source?: ...;
                                        statusCode?: ...;
                                        statusName?: ...;
                                        subcode?: ...;
                                        totals?: ...;
                                        vendorCode?: ...;
                                    }[];
                                    birthDate?: string;
                                    emails?: string[];
                                    formOfPaymentIndices?: number[];
                                    gender?: | "FEMALE"
                                    | "MALE"
                                    | "INFANT_FEMALE"
                                    | "INFANT_MALE"
                                    | "UNDISCLOSED"
                                    | "UNDEFINED";
                                    givenName: string;
                                    identityDocuments?: {
                                        birthDate?: ...;
                                        documentNumber?: ...;
                                        documentSubType?: ...;
                                        documentType: ...;
                                        expiryDate?: ...;
                                        flightIndices?: ...;
                                        gender?: ...;
                                        givenName?: ...;
                                        hostCountryCode?: ...;
                                        isLapChildDocument?: ...;
                                        isPrimaryDocumentHolder?: ...;
                                        issueDate?: ...;
                                        issuingCountryCode?: ...;
                                        itemId?: ...;
                                        middleName?: ...;
                                        placeOfBirth?: ...;
                                        placeOfIssue?: ...;
                                        residenceCountryCode?: ...;
                                        residenceDestinationAddress?: ...;
                                        surname?: ...;
                                    }[];
                                    isGrouped?: boolean;
                                    loyaltyPrograms?: {
                                        programNumber: ...;
                                        programType?: ...;
                                        receiverCode?: ...;
                                        supplierCode?: ...;
                                        tierLevel?: ...;
                                    }[];
                                    middleName?: string;
                                    nameAssociationId?: string;
                                    nameReferenceCode?: string;
                                    passengerCode?: string;
                                    phones?: { label?: ...; number: ... }[];
                                    remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                                    surname: string;
                                    type?:
                                        | "ADULT"
                                        | "AGENT"
                                        | "AIRLINE"
                                        | "CHILD"
                                        | "EDUCATION"
                                        | "GOVERNMENT"
                                        | "GROUP"
                                        | "INFANT"
                                        | "MILITARY"
                                        | "SENIOR"
                                        | "SPECIAL"
                                        | "YOUTH";
                                }[];
                                travelersGroup?: {
                                    itemId?: string;
                                    name?: string;
                                    numberOfTravelers?: number;
                                    numberOfTravelersRemaining?: number;
                                };
                            } & {
                                bookingSignature?: string;
                                errors?: {
                                    category: string;
                                    description?: string;
                                    fieldName?: string;
                                    fieldPath?: string;
                                    fieldValue?: string;
                                    type: string;
                                }[];
                                request?: {
                                    bookingSource?: "SABRE"
                                    | "SABRE_ORDER";
                                    confirmationId: string;
                                    extraFeatures?: { returnEmptySeatObjects: boolean } & {
                                        returnFiscalId: boolean;
                                        returnFrequentRenter: boolean;
                                        returnWalletFormsOfPayment: boolean;
                                    } & Record<string, never>;
                                    givenName?: string;
                                    middleName?: string;
                                    returnOnly?: (
                                        | "FLIGHTS"
                                        | "FLIGHT_PENALTY"
                                        | "BAGGAGE_POLICY"
                                        | "JOURNEYS"
                                        | "HOTELS"
                                        | "HOTEL_ADDRESS"
                                        | "CARS"
                                        | "CAR_RENTAL_ADDRESS"
                                        | "CAR_RENTAL_PENALTY"
                                        | "TRAINS"
                                        | "CRUISES"
                                        | "ALL_SEGMENTS"
                                        | "TRAVELERS"
                                        | "TICKETS"
                                        | "PAYMENTS"
                                        | "PENALTIES"
                                        | "REMARKS"
                                        | "IS_CANCELABLE"
                                        | "IS_TICKETED"
                                        | "CONTACT_INFO"
                                        | "OTHER_SERVICES"
                                        | "SPECIAL_SERVICES"
                                        | "FARES"
                                        | "CREATION_DETAILS"
                                        | "ANCILLARIES"
                                        | "FORMS_OF_PAYMENT"
                                        | "RETENTION_DATE"
                                        | "ACCOUNTING_ITEMS"
                                        | "NON_ELECTRONIC_TICKETS"
                                    )[];
                                    surname?: string;
                                    targetPcc?: string;
                                    unmaskPaymentCardNumbers?: boolean;
                                };
                                timestamp?: string;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            put?: never;
            trace?: never;
        };
        "/modifyBooking": {
            delete?: never;
            get?: never;
            head?: never;
            options?: never;
            parameters: {
                cookie?: never;
                header?: never;
                path?: never;
                query?: never;
            };
            patch?: never;
            post: {
                parameters: {
                    cookie?: never;
                    header: { Authorization: string };
                    path?: never;
                    query?: never;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            after: {
                                agencyCustomerNumber?: string;
                                creationDetails?: { agencyIataNumber?: string };
                                flights?: { seats?: { number: string; offerItemId?: string }[] }[];
                                hotels?: (
                                    { itemId: string } & {
                                        associatedFlightDetails?: {
                                            arrivalAirlineCode?: string;
                                            arrivalFlightNumber?: number;
                                            arrivalTime?: string;
                                            departureAirlineCode?: string;
                                            departureFlightNumber?: number;
                                            departureTime?: string;
                                        };
                                        bookingKey?: string;
                                        checkInDate?: string;
                                        checkOutDate?: string;
                                        corporateDiscountCode?: number;
                                        formOfPaymentIndex?: number;
                                        leadTravelerIndex: number;
                                        numberOfGuests: number;
                                        paymentPolicy: "DEPOSIT"
                                        | "GUARANTEE"
                                        | "LATE";
                                        room: { productCode?: string; travelerIndices: (...)[] };
                                        specialInstructions?: string;
                                    }
                                )[];
                                payments?: {
                                    formsOfPayment?: (
                                        {
                                            airlinePlanCode?: string;
                                            cardNumber?: string;
                                            cardSecurityCode?: string;
                                            cardTypeCode?: string;
                                            expiryDate?: string;
                                            extendedPayment?: number;
                                            installmentAmount?: string;
                                            miscellaneousCreditCode?: string;
                                            numberOfInstallments?: number;
                                        } & {
                                            agencyAddress?: (...) & (...);
                                            agencyIataNumber?: string;
                                            authentications?: (...)[];
                                            cardHolder?: {
                                                address?: ...;
                                                email?: ...;
                                                givenName: ...;
                                                phone?: ...;
                                                surname: ...;
                                            };
                                            companyAddress?: (...) & (...);
                                            corporateId?: string;
                                            docketDescription?: string;
                                            docketIssuingAgentInitials?: string;
                                            docketNumber?: string;
                                            docketPrefix?: string;
                                            governmentTravelRequestDescription?: string;
                                            invoiceDescription?: string;
                                            isAgencyPaymentCard?: boolean;
                                            manualApproval?: {
                                                airlineCode: ...;
                                                amount: ...;
                                                code: ...;
                                                currencyCode: ...;
                                                expiryDateTime: ...;
                                                requestDateTime: ...;
                                            };
                                            netBalance?: string;
                                            tripType?: (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                            tripTypes?: (...)[];
                                            type:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            useType?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            useTypes?: (...)[];
                                            virtualCard?: {
                                                agencyEmail?: ...;
                                                customerAccountCode?: ...;
                                                hotelFax?: ...;
                                                hotelName?: ...;
                                                rateAmount?: ...;
                                                roomDescription?: ...;
                                                roomType?: ...;
                                                virtualCardCharges?: ...;
                                            };
                                            voucher?: { billingNumber?: ...; type?: ... };
                                        }
                                    )[];
                                };
                                retentionEndDate?: string;
                                retentionLabel?: string;
                                specialServices?: {
                                    code: string;
                                    flights?: { itemId: string }[];
                                    message?: string;
                                    travelerIndices?: number[];
                                }[];
                                travelers?: {
                                    birthDate?: string;
                                    emails?: string[];
                                    givenName?: string;
                                    identityDocuments?: (
                                        {
                                            birthDate?: ...;
                                            documentNumber?: ...;
                                            documentType: ...;
                                            expiryDate?: ...;
                                            gender?: ...;
                                            givenName?: ...;
                                            hostCountryCode?: ...;
                                            isLapChildDocument?: ...;
                                            isPrimaryDocumentHolder?: ...;
                                            issueDate?: ...;
                                            issuingCountryCode?: ...;
                                            middleName?: ...;
                                            placeOfBirth?: ...;
                                            placeOfIssue?: ...;
                                            residenceCountryCode?: ...;
                                            residenceDestinationAddress?: ...;
                                            surname?: ...;
                                        } & { flights?: ... }
                                    )[];
                                    isGrouped?: boolean;
                                    loyaltyPrograms?: {
                                        programNumber: string;
                                        programType?: (...) | (...) | (...) | (...);
                                        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: (...)[] };
                                        specialInstructions?: string;
                                    }
                                )[];
                                payments?: {
                                    formsOfPayment?: (
                                        {
                                            airlinePlanCode?: string;
                                            cardNumber?: string;
                                            cardSecurityCode?: string;
                                            cardTypeCode?: string;
                                            expiryDate?: string;
                                            extendedPayment?: number;
                                            installmentAmount?: string;
                                            miscellaneousCreditCode?: string;
                                            numberOfInstallments?: number;
                                        } & {
                                            agencyAddress?: (...) & (...);
                                            agencyIataNumber?: string;
                                            authentications?: (...)[];
                                            cardHolder?: {
                                                address?: ...;
                                                email?: ...;
                                                givenName: ...;
                                                phone?: ...;
                                                surname: ...;
                                            };
                                            companyAddress?: (...) & (...);
                                            corporateId?: string;
                                            docketDescription?: string;
                                            docketIssuingAgentInitials?: string;
                                            docketNumber?: string;
                                            docketPrefix?: string;
                                            governmentTravelRequestDescription?: string;
                                            invoiceDescription?: string;
                                            isAgencyPaymentCard?: boolean;
                                            manualApproval?: {
                                                airlineCode: ...;
                                                amount: ...;
                                                code: ...;
                                                currencyCode: ...;
                                                expiryDateTime: ...;
                                                requestDateTime: ...;
                                            };
                                            netBalance?: string;
                                            tripType?: (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                            tripTypes?: (...)[];
                                            type:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            useType?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            useTypes?: (...)[];
                                            virtualCard?: {
                                                agencyEmail?: ...;
                                                customerAccountCode?: ...;
                                                hotelFax?: ...;
                                                hotelName?: ...;
                                                rateAmount?: ...;
                                                roomDescription?: ...;
                                                roomType?: ...;
                                                virtualCardCharges?: ...;
                                            };
                                            voucher?: { billingNumber?: ...; type?: ... };
                                        }
                                    )[];
                                };
                                retentionEndDate?: string;
                                retentionLabel?: string;
                                specialServices?: {
                                    code: string;
                                    flights?: { itemId: string }[];
                                    message?: string;
                                    travelerIndices?: number[];
                                }[];
                                travelers?: {
                                    birthDate?: string;
                                    emails?: string[];
                                    givenName?: string;
                                    identityDocuments?: (
                                        {
                                            birthDate?: ...;
                                            documentNumber?: ...;
                                            documentType: ...;
                                            expiryDate?: ...;
                                            gender?: ...;
                                            givenName?: ...;
                                            hostCountryCode?: ...;
                                            isLapChildDocument?: ...;
                                            isPrimaryDocumentHolder?: ...;
                                            issueDate?: ...;
                                            issuingCountryCode?: ...;
                                            middleName?: ...;
                                            placeOfBirth?: ...;
                                            placeOfIssue?: ...;
                                            residenceCountryCode?: ...;
                                            residenceDestinationAddress?: ...;
                                            surname?: ...;
                                        } & { flights?: ... }
                                    )[];
                                    isGrouped?: boolean;
                                    loyaltyPrograms?: {
                                        programNumber: string;
                                        programType?: (...) | (...) | (...) | (...);
                                        receiverCode?: string;
                                        supplierCode?: string;
                                        tierLevel?: number;
                                    }[];
                                    middleName?: string;
                                    passengerCode?: string;
                                    phones?: { label?: string; number: string }[];
                                    surname?: string;
                                }[];
                            };
                            bookingSignature: string;
                            bookingSource?: "SABRE"
                            | "SABRE_ORDER";
                            confirmationId: string;
                            extraFeatures?: {
                                returnFiscalId: boolean;
                                returnFrequentRenter: boolean;
                                returnWalletFormsOfPayment: boolean;
                            };
                            receivedFrom: string;
                            retrieveBooking: boolean;
                            targetPcc?: string;
                            unmaskPaymentCardNumbers?: boolean;
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                booking?: {
                                    accountingItems?: {
                                        airlineCode?: string;
                                        cardNumber?: string;
                                        cardTypeCode?: string;
                                        commission?: {
                                            commissionAmount?: string;
                                            commissionPercentage?: string;
                                            currencyCode?: string;
                                        };
                                        creationType?: "Refund"
                                        | "Exchange"
                                        | "First Issuance";
                                        currencyCode?: string;
                                        fareAmount?: string;
                                        fareApplicationType?:
                                            | "Single Traveler"
                                            | "All Travelers"
                                            | "Each Traveler";
                                        formOfPaymentType?: | "Unknown"
                                        | "Cash"
                                        | "Check"
                                        | "Check or Cash"
                                        | "Payment Card"
                                        | "Masked Payment Card";
                                        tariffBasisType?: "Domestic"
                                        | "Foreign"
                                        | "International";
                                        taxAmount?: string;
                                        ticketNumber?: string;
                                        travelerIndices?: number[];
                                    }[];
                                    agencyCustomerNumber?: string;
                                    allSegments?: (
                                        { id: string } & {
                                            address?: (...) & (...);
                                            date?: string;
                                            endAddress?: (...) & (...);
                                            endDate?: string;
                                            endLocationCode?: string;
                                            endTime?: string;
                                            locationCode?: string;
                                            startAddress?: (...) & (...);
                                            startDate?: string;
                                            startLocationCode?: string;
                                            startTime?: string;
                                            text?: string;
                                            time?: string;
                                            type: string;
                                            vendorCode?: string;
                                        }
                                    )[];
                                    bookingId?: string;
                                    cars?: (
                                        { itemId: string } & {
                                            carStatusCode?: string;
                                            carStatusName?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            collectionAddress?: {
                                                city?: ...;
                                                countryCode?: ...;
                                                postalCode?: ...;
                                                stateProvince?: ...;
                                                street?: ...;
                                            };
                                            collectionSite?: { id?: ...; name?: ...; phone?: ... };
                                            confirmationId?: string;
                                            deliveryAddress?: {
                                                city?: ...;
                                                countryCode?: ...;
                                                postalCode?: ...;
                                                stateProvince?: ...;
                                                street?: ...;
                                            };
                                            deliverySite?: { id?: ...; name?: ...; phone?: ... };
                                            distanceAllowance?: string;
                                            dropOffAddress?: (...) & (...);
                                            dropOffContactInfo?: (...) & (...);
                                            dropOffDate: string;
                                            dropOffLocationCode?: string;
                                            dropOffTime: string;
                                            guaranteePaymentNote?: string;
                                            isRefundable: boolean;
                                            numberOfVehicles?: number;
                                            payment?: {
                                                currencyCode: ...;
                                                fees?: ...;
                                                subtotal?: ...;
                                                taxes?: ...;
                                                total: ...;
                                            };
                                            pickUpAddress: (...) & (...);
                                            pickUpContactInfo?: (...) & (...);
                                            pickUpDate: string;
                                            pickUpLocationCode?: string;
                                            pickUpTime: string;
                                            rateCode?: string;
                                            refundPenalties?: (...)[];
                                            specialInstructions?: string;
                                            travelerIndex?: number;
                                            vehicleTypeCode?: string;
                                            vehicleTypeName?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            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?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            departureDate: string;
                                            departureTime?: string;
                                            fromPortCode: string;
                                            numberOfGuests?: number;
                                            shipCode?: string;
                                            shipName?: string;
                                            toPortCode?: string;
                                            vendorCode: string;
                                        }
                                    )[];
                                    endDate?: string;
                                    fareOffers?: {
                                        cabinBaggageAllowance?: {
                                            baggagePieces?: (...)[];
                                            maximumPieces?: number;
                                            totalWeightInKilograms?: number;
                                            totalWeightInPounds?: number;
                                        };
                                        cabinBaggageCharges?: {
                                            fee?: ...;
                                            isCheckInOnly?: ...;
                                            maximumSizeInCentimeters?: ...;
                                            maximumSizeInInches?: ...;
                                            maximumWeightInKilograms?: ...;
                                            maximumWeightInPounds?: ...;
                                            numberOfPieces: ...;
                                            specialItemDescription?: ...;
                                        }[];
                                        checkedBaggageAllowance?: {
                                            baggagePieces?: (...)[];
                                            maximumPieces?: number;
                                            totalWeightInKilograms?: number;
                                            totalWeightInPounds?: number;
                                        };
                                        checkedBaggageCharges?: {
                                            fee?: ...;
                                            isCheckInOnly?: ...;
                                            maximumSizeInCentimeters?: ...;
                                            maximumSizeInInches?: ...;
                                            maximumWeightInKilograms?: ...;
                                            maximumWeightInPounds?: ...;
                                            numberOfPieces: ...;
                                            specialItemDescription?: ...;
                                        }[];
                                        flights?: { itemId: ... }[];
                                        travelerIndices?: number[];
                                    }[];
                                    fareRules?: {
                                        destinationAirportCode?: string;
                                        exchangePenalties?: {
                                            applicability: ...;
                                            conditionsApply: ...;
                                            penalty: ...;
                                        }[];
                                        isChangeable?: boolean;
                                        isRefundable?: boolean;
                                        originAirportCode?: string;
                                        owningAirlineCode: string;
                                        passengerCode?: string;
                                        refundPenalties?: {
                                            applicability: ...;
                                            conditionsApply: ...;
                                            penalty: ...;
                                        }[];
                                    }[];
                                    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?: ...;
                                            brandAttributes?: ...;
                                            brandFareCode?: ...;
                                            brandFareName?: ...;
                                            brandProgramCode?: ...;
                                            brandProgramName?: ...;
                                            checkedBaggageAllowance?: ...;
                                            fareBasisCode?: ...;
                                            flightIndices?: ...;
                                            flights?: ...;
                                            isCurrentItinerary?: ...;
                                        }[];
                                        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?: ...; taxCode?: ... }[];
                                        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?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            fromAirportCode: string;
                                            hiddenStopAircraftTypeCode?: string;
                                            hiddenStopAircraftTypeName?: string;
                                            hiddenStopAirportCode?: string;
                                            hiddenStopArrivalDate?: string;
                                            hiddenStopArrivalTime?: string;
                                            hiddenStopDepartureDate?: string;
                                            hiddenStopDepartureTime?: string;
                                            hiddenStops?: (...)[];
                                            identityDocuments?: (...)[];
                                            isPast?: boolean;
                                            meals?: (...)[];
                                            numberOfSeats?: number;
                                            operatingAirlineCode?: string;
                                            operatingAirlineName?: string;
                                            operatingFlightNumber?: number;
                                            seats?: (...)[];
                                            sourceType?: (...) | (...) | (...);
                                            toAirportCode: string;
                                            travelerIndices?: (...)[];
                                            updatedArrivalDate?: string;
                                            updatedArrivalTime?: string;
                                            updatedDepartureDate?: string;
                                            updatedDepartureTime?: string;
                                        }
                                    )[];
                                    flightTickets?: {
                                        agencyIataNumber?: string;
                                        airlineCode: string;
                                        allCoupons?: ((...) & (...))[];
                                        commission?: {
                                            commissionAmount?: string;
                                            commissionPercentage?: string;
                                            currencyCode?: string;
                                        };
                                        date: string;
                                        flightCoupons: ((...) & (...))[];
                                        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: (...) & (...) & (...);
                                            associatedFlightDetails?: {
                                                arrivalAirlineCode?: ...;
                                                arrivalFlightNumber?: ...;
                                                arrivalTime?: ...;
                                                departureAirlineCode?: ...;
                                                departureFlightNumber?: ...;
                                                departureTime?: ...;
                                            };
                                            chainCode?: string;
                                            chainName?: string;
                                            checkInDate: string;
                                            checkInTime: string;
                                            checkOutDate: string;
                                            checkOutTime: string;
                                            confirmationId?: string;
                                            contactInfo?: (...) & (...);
                                            corporateDiscountCode?: number;
                                            guaranteePaymentNote?: string;
                                            guaranteeTypeCode?: number;
                                            guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                                            hotelName: string;
                                            hotelStatusCode?: string;
                                            hotelStatusName?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            isRefundable: boolean;
                                            leadTravelerIndex?: number;
                                            numberOfGuests?: number;
                                            payment?: {
                                                currencyCode: ...;
                                                fees?: ...;
                                                subtotal?: ...;
                                                taxes?: ...;
                                                total: ...;
                                            };
                                            paymentPolicy?: (...)
                                            | (...)
                                            | (...);
                                            propertyId?: string;
                                            refundPenalties?: (...)[];
                                            refundPenaltyPolicyCode?: string;
                                            room?: {
                                                agencyCommission?: ...;
                                                description?: ...;
                                                productCode?: ...;
                                                quantity: ...;
                                                roomRate?: ...;
                                                roomType: ...;
                                                roomTypeCode?: ...;
                                                travelerIndices?: ...;
                                            };
                                            sabrePropertyId?: string;
                                            sourceTypeCode?: number;
                                            sourceTypeName?: | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                            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?: ...;
                                                cardNumber?: ...;
                                                cardSecurityCode?: ...;
                                                cardTypeCode?: ...;
                                                expiryDate?: ...;
                                                extendedPayment?: ...;
                                                installmentAmount?: ...;
                                                miscellaneousCreditCode?: ...;
                                                numberOfInstallments?: ...;
                                            } & {
                                                agencyAddress?: ...;
                                                agencyIataNumber?: ...;
                                                authentications?: ...;
                                                cardHolder?: ...;
                                                companyAddress?: ...;
                                                corporateId?: ...;
                                                docketDescription?: ...;
                                                docketIssuingAgentInitials?: ...;
                                                docketNumber?: ...;
                                                docketPrefix?: ...;
                                                governmentTravelRequestDescription?: ...;
                                                invoiceDescription?: ...;
                                                isAgencyPaymentCard?: ...;
                                                manualApproval?: ...;
                                                netBalance?: ...;
                                                tripType?: ...;
                                                tripTypes?: ...;
                                                type: ...;
                                                useType?: ...;
                                                useTypes?: ...;
                                                virtualCard?: ...;
                                                voucher?: ...;
                                            }
                                        )[];
                                        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: ... }[];
                                        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: ...;
                                                fees?: ...;
                                                subtotal?: ...;
                                                taxes?: ...;
                                                total: ...;
                                            };
                                            toStationCode: string;
                                            toStationName?: string;
                                            trainName?: string;
                                            trainNumber: string;
                                            trainStatusCode?: string;
                                            trainStatusName?: | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                            vendorCode: string;
                                            vendorName?: string;
                                        }
                                    )[];
                                    travelers?: {
                                        address?: {
                                            city?: ...;
                                            countryCode?: ...;
                                            postalCode?: ...;
                                            stateProvince?: ...;
                                            street?: ...;
                                        } & { freeText?: ...; name?: ... };
                                        ancillaries?: {
                                            airlineCode?: ...;
                                            commercialName?: ...;
                                            electronicMiscellaneousDocumentNumber?: ...;
                                            flightApplicabilityType?: ...;
                                            flights?: ...;
                                            isCommissionable?: ...;
                                            isRefundable?: ...;
                                            itemId?: ...;
                                            numberOfItems?: ...;
                                            reasonForIssuanceCode?: ...;
                                            reasonForIssuanceName?: ...;
                                            source?: ...;
                                            statusCode?: ...;
                                            statusName?: ...;
                                            subcode?: ...;
                                            totals?: ...;
                                            vendorCode?: ...;
                                        }[];
                                        birthDate?: string;
                                        emails?: string[];
                                        formOfPaymentIndices?: number[];
                                        gender?: | "FEMALE"
                                        | "MALE"
                                        | "INFANT_FEMALE"
                                        | "INFANT_MALE"
                                        | "UNDISCLOSED"
                                        | "UNDEFINED";
                                        givenName: string;
                                        identityDocuments?: {
                                            birthDate?: ...;
                                            documentNumber?: ...;
                                            documentSubType?: ...;
                                            documentType: ...;
                                            expiryDate?: ...;
                                            flightIndices?: ...;
                                            gender?: ...;
                                            givenName?: ...;
                                            hostCountryCode?: ...;
                                            isLapChildDocument?: ...;
                                            isPrimaryDocumentHolder?: ...;
                                            issueDate?: ...;
                                            issuingCountryCode?: ...;
                                            itemId?: ...;
                                            middleName?: ...;
                                            placeOfBirth?: ...;
                                            placeOfIssue?: ...;
                                            residenceCountryCode?: ...;
                                            residenceDestinationAddress?: ...;
                                            surname?: ...;
                                        }[];
                                        isGrouped?: boolean;
                                        loyaltyPrograms?: {
                                            programNumber: ...;
                                            programType?: ...;
                                            receiverCode?: ...;
                                            supplierCode?: ...;
                                            tierLevel?: ...;
                                        }[];
                                        middleName?: string;
                                        nameAssociationId?: string;
                                        nameReferenceCode?: string;
                                        passengerCode?: string;
                                        phones?: { label?: ...; number: ... }[];
                                        remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                                        surname: string;
                                        type?:
                                            | "ADULT"
                                            | "AGENT"
                                            | "AIRLINE"
                                            | "CHILD"
                                            | "EDUCATION"
                                            | "GOVERNMENT"
                                            | "GROUP"
                                            | "INFANT"
                                            | "MILITARY"
                                            | "SENIOR"
                                            | "SPECIAL"
                                            | "YOUTH";
                                    }[];
                                    travelersGroup?: {
                                        itemId?: string;
                                        name?: string;
                                        numberOfTravelers?: number;
                                        numberOfTravelersRemaining?: number;
                                    };
                                };
                                errors?: {
                                    category: string;
                                    description?: string;
                                    fieldName?: string;
                                    fieldPath?: string;
                                    fieldValue?: string;
                                    type: string;
                                }[];
                                request?: {
                                    after: {
                                        agencyCustomerNumber?: string;
                                        creationDetails?: { agencyIataNumber?: string };
                                        flights?: { seats?: (...)[] }[];
                                        hotels?: (
                                            { itemId: ... } & {
                                                associatedFlightDetails?: ...;
                                                bookingKey?: ...;
                                                checkInDate?: ...;
                                                checkOutDate?: ...;
                                                corporateDiscountCode?: ...;
                                                formOfPaymentIndex?: ...;
                                                leadTravelerIndex: ...;
                                                numberOfGuests: ...;
                                                paymentPolicy: ...;
                                                room: ...;
                                                specialInstructions?: ...;
                                            }
                                        )[];
                                        payments?: { formsOfPayment?: ((...) & (...))[] };
                                        retentionEndDate?: string;
                                        retentionLabel?: string;
                                        specialServices?: {
                                            code: string;
                                            flights?: (...)[];
                                            message?: string;
                                            travelerIndices?: (...)[];
                                        }[];
                                        travelers?: {
                                            birthDate?: string;
                                            emails?: (...)[];
                                            givenName?: string;
                                            identityDocuments?: (...)[];
                                            isGrouped?: boolean;
                                            loyaltyPrograms?: (...)[];
                                            middleName?: string;
                                            passengerCode?: string;
                                            phones?: (...)[];
                                            surname?: string;
                                        }[];
                                    };
                                    before: {
                                        agencyCustomerNumber?: string;
                                        creationDetails?: { agencyIataNumber?: string };
                                        flights?: { seats?: (...)[] }[];
                                        hotels?: (
                                            { itemId: ... } & {
                                                associatedFlightDetails?: ...;
                                                bookingKey?: ...;
                                                checkInDate?: ...;
                                                checkOutDate?: ...;
                                                corporateDiscountCode?: ...;
                                                formOfPaymentIndex?: ...;
                                                leadTravelerIndex: ...;
                                                numberOfGuests: ...;
                                                paymentPolicy: ...;
                                                room: ...;
                                                specialInstructions?: ...;
                                            }
                                        )[];
                                        payments?: { formsOfPayment?: ((...) & (...))[] };
                                        retentionEndDate?: string;
                                        retentionLabel?: string;
                                        specialServices?: {
                                            code: string;
                                            flights?: (...)[];
                                            message?: string;
                                            travelerIndices?: (...)[];
                                        }[];
                                        travelers?: {
                                            birthDate?: string;
                                            emails?: (...)[];
                                            givenName?: string;
                                            identityDocuments?: (...)[];
                                            isGrouped?: boolean;
                                            loyaltyPrograms?: (...)[];
                                            middleName?: string;
                                            passengerCode?: string;
                                            phones?: (...)[];
                                            surname?: string;
                                        }[];
                                    };
                                    bookingSignature: string;
                                    bookingSource?: "SABRE"
                                    | "SABRE_ORDER";
                                    confirmationId: string;
                                    extraFeatures?: {
                                        returnFiscalId: boolean;
                                        returnFrequentRenter: boolean;
                                        returnWalletFormsOfPayment: boolean;
                                    };
                                    receivedFrom: string;
                                    retrieveBooking: boolean;
                                    targetPcc?: string;
                                    unmaskPaymentCardNumbers?: boolean;
                                };
                                timestamp?: string;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            put?: never;
            trace?: never;
        };
        "/refundFlightTickets": {
            delete?: never;
            get?: never;
            head?: never;
            options?: never;
            parameters: {
                cookie?: never;
                header?: never;
                path?: never;
                query?: never;
            };
            patch?: never;
            post: {
                parameters: {
                    cookie?: never;
                    header: { Authorization: string };
                    path?: never;
                    query?: never;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            confirmationId?: string;
                            designatePrinters?: {
                                hardcopy?: { address?: string; spacing?: string };
                                invoiceItinerary?: string;
                                profileNumber?: number;
                                ticket?: { address?: string; countryCode?: string };
                            }[];
                            errorHandlingPolicy?: "HALT_ON_ERROR"
                            | "ALLOW_PARTIAL_CANCEL";
                            notification?: {
                                email?:
                                    | "DEFAULT"
                                    | "INVOICE"
                                    | "ETICKET"
                                    | "ETICKET_PDF"
                                    | "ITINERARY"
                                    | "ITINERARY_PDF";
                                queuePlacement?: {
                                    futureQueuePlacementDate?: string;
                                    pcc?: string;
                                    prefatoryInstructionCode: number;
                                    queueName?: string;
                                    queueNumber?: number;
                                }[];
                            };
                            receivedFrom?: string;
                            targetPcc?: string;
                            tickets?: {
                                number?: string;
                                refundQualifiers?: {
                                    commissionAmount?: string;
                                    commissionOnPenalty?: string;
                                    commissionPercentage?: string;
                                    journeyTypeCode?: "F"
                                    | "M"
                                    | "B";
                                    overrideCancelFee?: string;
                                    overrideTaxes?: {
                                        airportTaxBreakdowns?: (...)[];
                                        taxAmount?: string;
                                        taxCode?: string;
                                    }[];
                                    splitRefundAmounts?: { amount?: string }[];
                                    tourCode?: string;
                                    waiverCode?: string;
                                };
                            }[];
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                errors?: {
                                    category: string;
                                    description?: string;
                                    fieldName?: string;
                                    fieldPath?: string;
                                    fieldValue?: string;
                                    type: string;
                                }[];
                                refundedTickets?: string[];
                                request?: {
                                    confirmationId?: string;
                                    designatePrinters?: {
                                        hardcopy?: { address?: string; spacing?: string };
                                        invoiceItinerary?: string;
                                        profileNumber?: number;
                                        ticket?: { address?: string; countryCode?: string };
                                    }[];
                                    errorHandlingPolicy?: "HALT_ON_ERROR"
                                    | "ALLOW_PARTIAL_CANCEL";
                                    notification?: {
                                        email?:
                                            | "DEFAULT"
                                            | "INVOICE"
                                            | "ETICKET"
                                            | "ETICKET_PDF"
                                            | "ITINERARY"
                                            | "ITINERARY_PDF";
                                        queuePlacement?: {
                                            futureQueuePlacementDate?: string;
                                            pcc?: string;
                                            prefatoryInstructionCode: number;
                                            queueName?: string;
                                            queueNumber?: number;
                                        }[];
                                    };
                                    receivedFrom?: string;
                                    targetPcc?: string;
                                    tickets?: {
                                        number?: string;
                                        refundQualifiers?: {
                                            commissionAmount?: string;
                                            commissionOnPenalty?: string;
                                            commissionPercentage?: string;
                                            journeyTypeCode?: (...)
                                            | (...)
                                            | (...);
                                            overrideCancelFee?: string;
                                            overrideTaxes?: (...)[];
                                            splitRefundAmounts?: (...)[];
                                            tourCode?: string;
                                            waiverCode?: string;
                                        };
                                    }[];
                                };
                                tickets?: {
                                    exchangePenalties?: (
                                        { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                            hasNoShowCost?: ...;
                                            noShowPenalty?: ...;
                                            source?: ...;
                                        }
                                    )[];
                                    isAutomatedRefundsEligible?: boolean;
                                    isChangeable?: boolean;
                                    isRefundable?: boolean;
                                    isVoidable?: boolean;
                                    number?: string;
                                    refundPenalties?: (
                                        { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                            hasNoShowCost?: ...;
                                            noShowPenalty?: ...;
                                            source?: ...;
                                        }
                                    )[];
                                    refundTaxes?: { amount: string; taxCode: string }[];
                                    refundTotals?: {
                                        currencyCode: string;
                                        fees?: string;
                                        subtotal?: string;
                                        taxes?: string;
                                        total: string;
                                    };
                                }[];
                                timestamp?: string;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            put?: never;
            trace?: never;
        };
        "/voidFlightTickets": {
            delete?: never;
            get?: never;
            head?: never;
            options?: never;
            parameters: {
                cookie?: never;
                header?: never;
                path?: never;
                query?: never;
            };
            patch?: never;
            post: {
                parameters: {
                    cookie?: never;
                    header: { Authorization: string };
                    path?: never;
                    query?: never;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            confirmationId?: string;
                            designatePrinters?: {
                                hardcopy?: { address?: string; spacing?: string };
                                invoiceItinerary?: string;
                                profileNumber?: number;
                                ticket?: { address?: string; countryCode?: string };
                            }[];
                            errorHandlingPolicy?: "HALT_ON_ERROR"
                            | "ALLOW_PARTIAL_CANCEL";
                            notification?: {
                                email?:
                                    | "DEFAULT"
                                    | "INVOICE"
                                    | "ETICKET"
                                    | "ETICKET_PDF"
                                    | "ITINERARY"
                                    | "ITINERARY_PDF";
                                queuePlacement?: {
                                    futureQueuePlacementDate?: string;
                                    pcc?: string;
                                    prefatoryInstructionCode: number;
                                    queueName?: string;
                                    queueNumber?: number;
                                }[];
                            };
                            receivedFrom?: string;
                            targetPcc?: string;
                            tickets?: string[];
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                errors?: {
                                    category: string;
                                    description?: string;
                                    fieldName?: string;
                                    fieldPath?: string;
                                    fieldValue?: string;
                                    type: string;
                                }[];
                                request?: {
                                    confirmationId?: string;
                                    designatePrinters?: {
                                        hardcopy?: { address?: string; spacing?: string };
                                        invoiceItinerary?: string;
                                        profileNumber?: number;
                                        ticket?: { address?: string; countryCode?: string };
                                    }[];
                                    errorHandlingPolicy?: "HALT_ON_ERROR"
                                    | "ALLOW_PARTIAL_CANCEL";
                                    notification?: {
                                        email?:
                                            | "DEFAULT"
                                            | "INVOICE"
                                            | "ETICKET"
                                            | "ETICKET_PDF"
                                            | "ITINERARY"
                                            | "ITINERARY_PDF";
                                        queuePlacement?: {
                                            futureQueuePlacementDate?: string;
                                            pcc?: string;
                                            prefatoryInstructionCode: number;
                                            queueName?: string;
                                            queueNumber?: number;
                                        }[];
                                    };
                                    receivedFrom?: string;
                                    targetPcc?: string;
                                    tickets?: string[];
                                };
                                timestamp?: string;
                                voidedTickets?: string[];
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            put?: never;
            trace?: never;
        };
    }
    Index

    Properties

    "/cancelBooking": {
        delete?: never;
        get?: never;
        head?: never;
        options?: never;
        parameters: { cookie?: never; header?: never; path?: never; query?: never };
        patch?: never;
        post: {
            parameters: {
                cookie?: never;
                header: { Authorization: string };
                path?: never;
                query?: never;
            };
            requestBody: {
                content: {
                    "application/json": {
                        bookingSource?: "SABRE"
                        | "SABRE_ORDER";
                        cancelAll: boolean;
                        cars?: { itemId: string }[];
                        confirmationId: string;
                        cruises?: { itemId: string }[];
                        designatePrinters?: {
                            hardcopy?: { address?: string; spacing?: string };
                            invoiceItinerary?: string;
                            profileNumber?: number;
                            ticket?: { address?: string; countryCode?: string };
                        }[];
                        errorHandlingPolicy?: "HALT_ON_ERROR"
                        | "ALLOW_PARTIAL_CANCEL";
                        flights?: { itemId: string }[];
                        flightTicketOperation?: "VOID" | "REFUND";
                        hotels?: { itemId: string }[];
                        notification?: {
                            email?:
                                | "DEFAULT"
                                | "INVOICE"
                                | "ETICKET"
                                | "ETICKET_PDF"
                                | "ITINERARY"
                                | "ITINERARY_PDF";
                            queuePlacement?: {
                                futureQueuePlacementDate?: string;
                                pcc?: string;
                                prefatoryInstructionCode: number;
                                queueName?: string;
                                queueNumber?: number;
                            }[];
                        };
                        offerItemId?: string;
                        receivedFrom?: string;
                        retentionEndDate?: string;
                        retentionLabel?: string;
                        retrieveBooking: boolean;
                        segments?: { id?: string; sequence?: number }[];
                        targetPcc?: string;
                        trains?: { itemId: string }[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            booking?: {
                                accountingItems?: {
                                    airlineCode?: string;
                                    cardNumber?: string;
                                    cardTypeCode?: string;
                                    commission?: {
                                        commissionAmount?: string;
                                        commissionPercentage?: string;
                                        currencyCode?: string;
                                    };
                                    creationType?: "Refund"
                                    | "Exchange"
                                    | "First Issuance";
                                    currencyCode?: string;
                                    fareAmount?: string;
                                    fareApplicationType?:
                                        | "Single Traveler"
                                        | "All Travelers"
                                        | "Each Traveler";
                                    formOfPaymentType?: | "Unknown"
                                    | "Cash"
                                    | "Check"
                                    | "Check or Cash"
                                    | "Payment Card"
                                    | "Masked Payment Card";
                                    tariffBasisType?: "Domestic"
                                    | "Foreign"
                                    | "International";
                                    taxAmount?: string;
                                    ticketNumber?: string;
                                    travelerIndices?: number[];
                                }[];
                                agencyCustomerNumber?: string;
                                allSegments?: (
                                    { id: string } & {
                                        address?: (...) & (...);
                                        date?: string;
                                        endAddress?: (...) & (...);
                                        endDate?: string;
                                        endLocationCode?: string;
                                        endTime?: string;
                                        locationCode?: string;
                                        startAddress?: (...) & (...);
                                        startDate?: string;
                                        startLocationCode?: string;
                                        startTime?: string;
                                        text?: string;
                                        time?: string;
                                        type: string;
                                        vendorCode?: string;
                                    }
                                )[];
                                bookingId?: string;
                                cars?: (
                                    { itemId: string } & {
                                        carStatusCode?: string;
                                        carStatusName?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        collectionAddress?: {
                                            city?: ...;
                                            countryCode?: ...;
                                            postalCode?: ...;
                                            stateProvince?: ...;
                                            street?: ...;
                                        };
                                        collectionSite?: { id?: ...; name?: ...; phone?: ... };
                                        confirmationId?: string;
                                        deliveryAddress?: {
                                            city?: ...;
                                            countryCode?: ...;
                                            postalCode?: ...;
                                            stateProvince?: ...;
                                            street?: ...;
                                        };
                                        deliverySite?: { id?: ...; name?: ...; phone?: ... };
                                        distanceAllowance?: string;
                                        dropOffAddress?: (...) & (...);
                                        dropOffContactInfo?: (...) & (...);
                                        dropOffDate: string;
                                        dropOffLocationCode?: string;
                                        dropOffTime: string;
                                        guaranteePaymentNote?: string;
                                        isRefundable: boolean;
                                        numberOfVehicles?: number;
                                        payment?: {
                                            currencyCode: ...;
                                            fees?: ...;
                                            subtotal?: ...;
                                            taxes?: ...;
                                            total: ...;
                                        };
                                        pickUpAddress: (...) & (...);
                                        pickUpContactInfo?: (...) & (...);
                                        pickUpDate: string;
                                        pickUpLocationCode?: string;
                                        pickUpTime: string;
                                        rateCode?: string;
                                        refundPenalties?: (...)[];
                                        specialInstructions?: string;
                                        travelerIndex?: number;
                                        vehicleTypeCode?: string;
                                        vehicleTypeName?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        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?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        departureDate: string;
                                        departureTime?: string;
                                        fromPortCode: string;
                                        numberOfGuests?: number;
                                        shipCode?: string;
                                        shipName?: string;
                                        toPortCode?: string;
                                        vendorCode: string;
                                    }
                                )[];
                                endDate?: string;
                                fareOffers?: {
                                    cabinBaggageAllowance?: {
                                        baggagePieces?: (...)[];
                                        maximumPieces?: number;
                                        totalWeightInKilograms?: number;
                                        totalWeightInPounds?: number;
                                    };
                                    cabinBaggageCharges?: {
                                        fee?: ...;
                                        isCheckInOnly?: ...;
                                        maximumSizeInCentimeters?: ...;
                                        maximumSizeInInches?: ...;
                                        maximumWeightInKilograms?: ...;
                                        maximumWeightInPounds?: ...;
                                        numberOfPieces: ...;
                                        specialItemDescription?: ...;
                                    }[];
                                    checkedBaggageAllowance?: {
                                        baggagePieces?: (...)[];
                                        maximumPieces?: number;
                                        totalWeightInKilograms?: number;
                                        totalWeightInPounds?: number;
                                    };
                                    checkedBaggageCharges?: {
                                        fee?: ...;
                                        isCheckInOnly?: ...;
                                        maximumSizeInCentimeters?: ...;
                                        maximumSizeInInches?: ...;
                                        maximumWeightInKilograms?: ...;
                                        maximumWeightInPounds?: ...;
                                        numberOfPieces: ...;
                                        specialItemDescription?: ...;
                                    }[];
                                    flights?: { itemId: ... }[];
                                    travelerIndices?: number[];
                                }[];
                                fareRules?: {
                                    destinationAirportCode?: string;
                                    exchangePenalties?: {
                                        applicability: ...;
                                        conditionsApply: ...;
                                        penalty: ...;
                                    }[];
                                    isChangeable?: boolean;
                                    isRefundable?: boolean;
                                    originAirportCode?: string;
                                    owningAirlineCode: string;
                                    passengerCode?: string;
                                    refundPenalties?: {
                                        applicability: ...;
                                        conditionsApply: ...;
                                        penalty: ...;
                                    }[];
                                }[];
                                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?: ...;
                                        brandAttributes?: ...;
                                        brandFareCode?: ...;
                                        brandFareName?: ...;
                                        brandProgramCode?: ...;
                                        brandProgramName?: ...;
                                        checkedBaggageAllowance?: ...;
                                        fareBasisCode?: ...;
                                        flightIndices?: ...;
                                        flights?: ...;
                                        isCurrentItinerary?: ...;
                                    }[];
                                    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?: ...; taxCode?: ... }[];
                                    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?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        fromAirportCode: string;
                                        hiddenStopAircraftTypeCode?: string;
                                        hiddenStopAircraftTypeName?: string;
                                        hiddenStopAirportCode?: string;
                                        hiddenStopArrivalDate?: string;
                                        hiddenStopArrivalTime?: string;
                                        hiddenStopDepartureDate?: string;
                                        hiddenStopDepartureTime?: string;
                                        hiddenStops?: (...)[];
                                        identityDocuments?: (...)[];
                                        isPast?: boolean;
                                        meals?: (...)[];
                                        numberOfSeats?: number;
                                        operatingAirlineCode?: string;
                                        operatingAirlineName?: string;
                                        operatingFlightNumber?: number;
                                        seats?: (...)[];
                                        sourceType?: (...) | (...) | (...);
                                        toAirportCode: string;
                                        travelerIndices?: (...)[];
                                        updatedArrivalDate?: string;
                                        updatedArrivalTime?: string;
                                        updatedDepartureDate?: string;
                                        updatedDepartureTime?: string;
                                    }
                                )[];
                                flightTickets?: {
                                    agencyIataNumber?: string;
                                    airlineCode: string;
                                    allCoupons?: ((...) & (...))[];
                                    commission?: {
                                        commissionAmount?: string;
                                        commissionPercentage?: string;
                                        currencyCode?: string;
                                    };
                                    date: string;
                                    flightCoupons: ((...) & (...))[];
                                    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: (...) & (...) & (...);
                                        associatedFlightDetails?: {
                                            arrivalAirlineCode?: ...;
                                            arrivalFlightNumber?: ...;
                                            arrivalTime?: ...;
                                            departureAirlineCode?: ...;
                                            departureFlightNumber?: ...;
                                            departureTime?: ...;
                                        };
                                        chainCode?: string;
                                        chainName?: string;
                                        checkInDate: string;
                                        checkInTime: string;
                                        checkOutDate: string;
                                        checkOutTime: string;
                                        confirmationId?: string;
                                        contactInfo?: (...) & (...);
                                        corporateDiscountCode?: number;
                                        guaranteePaymentNote?: string;
                                        guaranteeTypeCode?: number;
                                        guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                                        hotelName: string;
                                        hotelStatusCode?: string;
                                        hotelStatusName?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        isRefundable: boolean;
                                        leadTravelerIndex?: number;
                                        numberOfGuests?: number;
                                        payment?: {
                                            currencyCode: ...;
                                            fees?: ...;
                                            subtotal?: ...;
                                            taxes?: ...;
                                            total: ...;
                                        };
                                        paymentPolicy?: (...)
                                        | (...)
                                        | (...);
                                        propertyId?: string;
                                        refundPenalties?: (...)[];
                                        refundPenaltyPolicyCode?: string;
                                        room?: {
                                            agencyCommission?: ...;
                                            description?: ...;
                                            productCode?: ...;
                                            quantity: ...;
                                            roomRate?: ...;
                                            roomType: ...;
                                            roomTypeCode?: ...;
                                            travelerIndices?: ...;
                                        };
                                        sabrePropertyId?: string;
                                        sourceTypeCode?: number;
                                        sourceTypeName?: | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                        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?: ...;
                                            cardNumber?: ...;
                                            cardSecurityCode?: ...;
                                            cardTypeCode?: ...;
                                            expiryDate?: ...;
                                            extendedPayment?: ...;
                                            installmentAmount?: ...;
                                            miscellaneousCreditCode?: ...;
                                            numberOfInstallments?: ...;
                                        } & {
                                            agencyAddress?: ...;
                                            agencyIataNumber?: ...;
                                            authentications?: ...;
                                            cardHolder?: ...;
                                            companyAddress?: ...;
                                            corporateId?: ...;
                                            docketDescription?: ...;
                                            docketIssuingAgentInitials?: ...;
                                            docketNumber?: ...;
                                            docketPrefix?: ...;
                                            governmentTravelRequestDescription?: ...;
                                            invoiceDescription?: ...;
                                            isAgencyPaymentCard?: ...;
                                            manualApproval?: ...;
                                            netBalance?: ...;
                                            tripType?: ...;
                                            tripTypes?: ...;
                                            type: ...;
                                            useType?: ...;
                                            useTypes?: ...;
                                            virtualCard?: ...;
                                            voucher?: ...;
                                        }
                                    )[];
                                    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: ... }[];
                                    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: ...;
                                            fees?: ...;
                                            subtotal?: ...;
                                            taxes?: ...;
                                            total: ...;
                                        };
                                        toStationCode: string;
                                        toStationName?: string;
                                        trainName?: string;
                                        trainNumber: string;
                                        trainStatusCode?: string;
                                        trainStatusName?: | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                        vendorCode: string;
                                        vendorName?: string;
                                    }
                                )[];
                                travelers?: {
                                    address?: {
                                        city?: ...;
                                        countryCode?: ...;
                                        postalCode?: ...;
                                        stateProvince?: ...;
                                        street?: ...;
                                    } & { freeText?: ...; name?: ... };
                                    ancillaries?: {
                                        airlineCode?: ...;
                                        commercialName?: ...;
                                        electronicMiscellaneousDocumentNumber?: ...;
                                        flightApplicabilityType?: ...;
                                        flights?: ...;
                                        isCommissionable?: ...;
                                        isRefundable?: ...;
                                        itemId?: ...;
                                        numberOfItems?: ...;
                                        reasonForIssuanceCode?: ...;
                                        reasonForIssuanceName?: ...;
                                        source?: ...;
                                        statusCode?: ...;
                                        statusName?: ...;
                                        subcode?: ...;
                                        totals?: ...;
                                        vendorCode?: ...;
                                    }[];
                                    birthDate?: string;
                                    emails?: string[];
                                    formOfPaymentIndices?: number[];
                                    gender?: | "FEMALE"
                                    | "MALE"
                                    | "INFANT_FEMALE"
                                    | "INFANT_MALE"
                                    | "UNDISCLOSED"
                                    | "UNDEFINED";
                                    givenName: string;
                                    identityDocuments?: {
                                        birthDate?: ...;
                                        documentNumber?: ...;
                                        documentSubType?: ...;
                                        documentType: ...;
                                        expiryDate?: ...;
                                        flightIndices?: ...;
                                        gender?: ...;
                                        givenName?: ...;
                                        hostCountryCode?: ...;
                                        isLapChildDocument?: ...;
                                        isPrimaryDocumentHolder?: ...;
                                        issueDate?: ...;
                                        issuingCountryCode?: ...;
                                        itemId?: ...;
                                        middleName?: ...;
                                        placeOfBirth?: ...;
                                        placeOfIssue?: ...;
                                        residenceCountryCode?: ...;
                                        residenceDestinationAddress?: ...;
                                        surname?: ...;
                                    }[];
                                    isGrouped?: boolean;
                                    loyaltyPrograms?: {
                                        programNumber: ...;
                                        programType?: ...;
                                        receiverCode?: ...;
                                        supplierCode?: ...;
                                        tierLevel?: ...;
                                    }[];
                                    middleName?: string;
                                    nameAssociationId?: string;
                                    nameReferenceCode?: string;
                                    passengerCode?: string;
                                    phones?: { label?: ...; number: ... }[];
                                    remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                                    surname: string;
                                    type?:
                                        | "ADULT"
                                        | "AGENT"
                                        | "AIRLINE"
                                        | "CHILD"
                                        | "EDUCATION"
                                        | "GOVERNMENT"
                                        | "GROUP"
                                        | "INFANT"
                                        | "MILITARY"
                                        | "SENIOR"
                                        | "SPECIAL"
                                        | "YOUTH";
                                }[];
                                travelersGroup?: {
                                    itemId?: string;
                                    name?: string;
                                    numberOfTravelers?: number;
                                    numberOfTravelersRemaining?: number;
                                };
                            };
                            errors?: {
                                category: string;
                                description?: string;
                                fieldName?: string;
                                fieldPath?: string;
                                fieldValue?: string;
                                type: string;
                            }[];
                            refundedTickets?: string[];
                            request?: {
                                bookingSource?: "SABRE"
                                | "SABRE_ORDER";
                                cancelAll: boolean;
                                cars?: { itemId: string }[];
                                confirmationId: string;
                                cruises?: { itemId: string }[];
                                designatePrinters?: {
                                    hardcopy?: { address?: string; spacing?: string };
                                    invoiceItinerary?: string;
                                    profileNumber?: number;
                                    ticket?: { address?: string; countryCode?: string };
                                }[];
                                errorHandlingPolicy?: "HALT_ON_ERROR"
                                | "ALLOW_PARTIAL_CANCEL";
                                flights?: { itemId: string }[];
                                flightTicketOperation?: "VOID" | "REFUND";
                                hotels?: { itemId: string }[];
                                notification?: {
                                    email?:
                                        | "DEFAULT"
                                        | "INVOICE"
                                        | "ETICKET"
                                        | "ETICKET_PDF"
                                        | "ITINERARY"
                                        | "ITINERARY_PDF";
                                    queuePlacement?: {
                                        futureQueuePlacementDate?: string;
                                        pcc?: string;
                                        prefatoryInstructionCode: number;
                                        queueName?: string;
                                        queueNumber?: number;
                                    }[];
                                };
                                offerItemId?: string;
                                receivedFrom?: string;
                                retentionEndDate?: string;
                                retentionLabel?: string;
                                retrieveBooking: boolean;
                                segments?: { id?: string; sequence?: number }[];
                                targetPcc?: string;
                                trains?: { itemId: string }[];
                            };
                            tickets?: {
                                exchangePenalties?: (
                                    { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                        hasNoShowCost?: ...;
                                        noShowPenalty?: ...;
                                        source?: ...;
                                    }
                                )[];
                                isAutomatedRefundsEligible?: boolean;
                                isChangeable?: boolean;
                                isRefundable?: boolean;
                                isVoidable?: boolean;
                                number?: string;
                                refundPenalties?: (
                                    { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                        hasNoShowCost?: ...;
                                        noShowPenalty?: ...;
                                        source?: ...;
                                    }
                                )[];
                                refundTaxes?: { amount: string; taxCode: string }[];
                                refundTotals?: {
                                    currencyCode: string;
                                    fees?: string;
                                    subtotal?: string;
                                    taxes?: string;
                                    total: string;
                                };
                            }[];
                            timestamp?: string;
                            voidedTickets?: string[];
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        put?: never;
        trace?: never;
    }

    Type Declaration

    • Optionaldelete?: never
    • Optionalget?: never
    • Optionalhead?: never
    • Optionaloptions?: never
    • parameters: { cookie?: never; header?: never; path?: never; query?: never }
    • Optionalpatch?: never
    • post: {
          parameters: {
              cookie?: never;
              header: { Authorization: string };
              path?: never;
              query?: never;
          };
          requestBody: {
              content: {
                  "application/json": {
                      bookingSource?: "SABRE"
                      | "SABRE_ORDER";
                      cancelAll: boolean;
                      cars?: { itemId: string }[];
                      confirmationId: string;
                      cruises?: { itemId: string }[];
                      designatePrinters?: {
                          hardcopy?: { address?: string; spacing?: string };
                          invoiceItinerary?: string;
                          profileNumber?: number;
                          ticket?: { address?: string; countryCode?: string };
                      }[];
                      errorHandlingPolicy?: "HALT_ON_ERROR"
                      | "ALLOW_PARTIAL_CANCEL";
                      flights?: { itemId: string }[];
                      flightTicketOperation?: "VOID" | "REFUND";
                      hotels?: { itemId: string }[];
                      notification?: {
                          email?:
                              | "DEFAULT"
                              | "INVOICE"
                              | "ETICKET"
                              | "ETICKET_PDF"
                              | "ITINERARY"
                              | "ITINERARY_PDF";
                          queuePlacement?: {
                              futureQueuePlacementDate?: string;
                              pcc?: string;
                              prefatoryInstructionCode: number;
                              queueName?: string;
                              queueNumber?: number;
                          }[];
                      };
                      offerItemId?: string;
                      receivedFrom?: string;
                      retentionEndDate?: string;
                      retentionLabel?: string;
                      retrieveBooking: boolean;
                      segments?: { id?: string; sequence?: number }[];
                      targetPcc?: string;
                      trains?: { itemId: string }[];
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          booking?: {
                              accountingItems?: {
                                  airlineCode?: string;
                                  cardNumber?: string;
                                  cardTypeCode?: string;
                                  commission?: {
                                      commissionAmount?: string;
                                      commissionPercentage?: string;
                                      currencyCode?: string;
                                  };
                                  creationType?: "Refund"
                                  | "Exchange"
                                  | "First Issuance";
                                  currencyCode?: string;
                                  fareAmount?: string;
                                  fareApplicationType?:
                                      | "Single Traveler"
                                      | "All Travelers"
                                      | "Each Traveler";
                                  formOfPaymentType?: | "Unknown"
                                  | "Cash"
                                  | "Check"
                                  | "Check or Cash"
                                  | "Payment Card"
                                  | "Masked Payment Card";
                                  tariffBasisType?: "Domestic"
                                  | "Foreign"
                                  | "International";
                                  taxAmount?: string;
                                  ticketNumber?: string;
                                  travelerIndices?: number[];
                              }[];
                              agencyCustomerNumber?: string;
                              allSegments?: (
                                  { id: string } & {
                                      address?: (...) & (...);
                                      date?: string;
                                      endAddress?: (...) & (...);
                                      endDate?: string;
                                      endLocationCode?: string;
                                      endTime?: string;
                                      locationCode?: string;
                                      startAddress?: (...) & (...);
                                      startDate?: string;
                                      startLocationCode?: string;
                                      startTime?: string;
                                      text?: string;
                                      time?: string;
                                      type: string;
                                      vendorCode?: string;
                                  }
                              )[];
                              bookingId?: string;
                              cars?: (
                                  { itemId: string } & {
                                      carStatusCode?: string;
                                      carStatusName?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      collectionAddress?: {
                                          city?: ...;
                                          countryCode?: ...;
                                          postalCode?: ...;
                                          stateProvince?: ...;
                                          street?: ...;
                                      };
                                      collectionSite?: { id?: ...; name?: ...; phone?: ... };
                                      confirmationId?: string;
                                      deliveryAddress?: {
                                          city?: ...;
                                          countryCode?: ...;
                                          postalCode?: ...;
                                          stateProvince?: ...;
                                          street?: ...;
                                      };
                                      deliverySite?: { id?: ...; name?: ...; phone?: ... };
                                      distanceAllowance?: string;
                                      dropOffAddress?: (...) & (...);
                                      dropOffContactInfo?: (...) & (...);
                                      dropOffDate: string;
                                      dropOffLocationCode?: string;
                                      dropOffTime: string;
                                      guaranteePaymentNote?: string;
                                      isRefundable: boolean;
                                      numberOfVehicles?: number;
                                      payment?: {
                                          currencyCode: ...;
                                          fees?: ...;
                                          subtotal?: ...;
                                          taxes?: ...;
                                          total: ...;
                                      };
                                      pickUpAddress: (...) & (...);
                                      pickUpContactInfo?: (...) & (...);
                                      pickUpDate: string;
                                      pickUpLocationCode?: string;
                                      pickUpTime: string;
                                      rateCode?: string;
                                      refundPenalties?: (...)[];
                                      specialInstructions?: string;
                                      travelerIndex?: number;
                                      vehicleTypeCode?: string;
                                      vehicleTypeName?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      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?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      departureDate: string;
                                      departureTime?: string;
                                      fromPortCode: string;
                                      numberOfGuests?: number;
                                      shipCode?: string;
                                      shipName?: string;
                                      toPortCode?: string;
                                      vendorCode: string;
                                  }
                              )[];
                              endDate?: string;
                              fareOffers?: {
                                  cabinBaggageAllowance?: {
                                      baggagePieces?: (...)[];
                                      maximumPieces?: number;
                                      totalWeightInKilograms?: number;
                                      totalWeightInPounds?: number;
                                  };
                                  cabinBaggageCharges?: {
                                      fee?: ...;
                                      isCheckInOnly?: ...;
                                      maximumSizeInCentimeters?: ...;
                                      maximumSizeInInches?: ...;
                                      maximumWeightInKilograms?: ...;
                                      maximumWeightInPounds?: ...;
                                      numberOfPieces: ...;
                                      specialItemDescription?: ...;
                                  }[];
                                  checkedBaggageAllowance?: {
                                      baggagePieces?: (...)[];
                                      maximumPieces?: number;
                                      totalWeightInKilograms?: number;
                                      totalWeightInPounds?: number;
                                  };
                                  checkedBaggageCharges?: {
                                      fee?: ...;
                                      isCheckInOnly?: ...;
                                      maximumSizeInCentimeters?: ...;
                                      maximumSizeInInches?: ...;
                                      maximumWeightInKilograms?: ...;
                                      maximumWeightInPounds?: ...;
                                      numberOfPieces: ...;
                                      specialItemDescription?: ...;
                                  }[];
                                  flights?: { itemId: ... }[];
                                  travelerIndices?: number[];
                              }[];
                              fareRules?: {
                                  destinationAirportCode?: string;
                                  exchangePenalties?: {
                                      applicability: ...;
                                      conditionsApply: ...;
                                      penalty: ...;
                                  }[];
                                  isChangeable?: boolean;
                                  isRefundable?: boolean;
                                  originAirportCode?: string;
                                  owningAirlineCode: string;
                                  passengerCode?: string;
                                  refundPenalties?: {
                                      applicability: ...;
                                      conditionsApply: ...;
                                      penalty: ...;
                                  }[];
                              }[];
                              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?: ...;
                                      brandAttributes?: ...;
                                      brandFareCode?: ...;
                                      brandFareName?: ...;
                                      brandProgramCode?: ...;
                                      brandProgramName?: ...;
                                      checkedBaggageAllowance?: ...;
                                      fareBasisCode?: ...;
                                      flightIndices?: ...;
                                      flights?: ...;
                                      isCurrentItinerary?: ...;
                                  }[];
                                  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?: ...; taxCode?: ... }[];
                                  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?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      fromAirportCode: string;
                                      hiddenStopAircraftTypeCode?: string;
                                      hiddenStopAircraftTypeName?: string;
                                      hiddenStopAirportCode?: string;
                                      hiddenStopArrivalDate?: string;
                                      hiddenStopArrivalTime?: string;
                                      hiddenStopDepartureDate?: string;
                                      hiddenStopDepartureTime?: string;
                                      hiddenStops?: (...)[];
                                      identityDocuments?: (...)[];
                                      isPast?: boolean;
                                      meals?: (...)[];
                                      numberOfSeats?: number;
                                      operatingAirlineCode?: string;
                                      operatingAirlineName?: string;
                                      operatingFlightNumber?: number;
                                      seats?: (...)[];
                                      sourceType?: (...) | (...) | (...);
                                      toAirportCode: string;
                                      travelerIndices?: (...)[];
                                      updatedArrivalDate?: string;
                                      updatedArrivalTime?: string;
                                      updatedDepartureDate?: string;
                                      updatedDepartureTime?: string;
                                  }
                              )[];
                              flightTickets?: {
                                  agencyIataNumber?: string;
                                  airlineCode: string;
                                  allCoupons?: ((...) & (...))[];
                                  commission?: {
                                      commissionAmount?: string;
                                      commissionPercentage?: string;
                                      currencyCode?: string;
                                  };
                                  date: string;
                                  flightCoupons: ((...) & (...))[];
                                  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: (...) & (...) & (...);
                                      associatedFlightDetails?: {
                                          arrivalAirlineCode?: ...;
                                          arrivalFlightNumber?: ...;
                                          arrivalTime?: ...;
                                          departureAirlineCode?: ...;
                                          departureFlightNumber?: ...;
                                          departureTime?: ...;
                                      };
                                      chainCode?: string;
                                      chainName?: string;
                                      checkInDate: string;
                                      checkInTime: string;
                                      checkOutDate: string;
                                      checkOutTime: string;
                                      confirmationId?: string;
                                      contactInfo?: (...) & (...);
                                      corporateDiscountCode?: number;
                                      guaranteePaymentNote?: string;
                                      guaranteeTypeCode?: number;
                                      guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                                      hotelName: string;
                                      hotelStatusCode?: string;
                                      hotelStatusName?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      isRefundable: boolean;
                                      leadTravelerIndex?: number;
                                      numberOfGuests?: number;
                                      payment?: {
                                          currencyCode: ...;
                                          fees?: ...;
                                          subtotal?: ...;
                                          taxes?: ...;
                                          total: ...;
                                      };
                                      paymentPolicy?: (...)
                                      | (...)
                                      | (...);
                                      propertyId?: string;
                                      refundPenalties?: (...)[];
                                      refundPenaltyPolicyCode?: string;
                                      room?: {
                                          agencyCommission?: ...;
                                          description?: ...;
                                          productCode?: ...;
                                          quantity: ...;
                                          roomRate?: ...;
                                          roomType: ...;
                                          roomTypeCode?: ...;
                                          travelerIndices?: ...;
                                      };
                                      sabrePropertyId?: string;
                                      sourceTypeCode?: number;
                                      sourceTypeName?: | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                      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?: ...;
                                          cardNumber?: ...;
                                          cardSecurityCode?: ...;
                                          cardTypeCode?: ...;
                                          expiryDate?: ...;
                                          extendedPayment?: ...;
                                          installmentAmount?: ...;
                                          miscellaneousCreditCode?: ...;
                                          numberOfInstallments?: ...;
                                      } & {
                                          agencyAddress?: ...;
                                          agencyIataNumber?: ...;
                                          authentications?: ...;
                                          cardHolder?: ...;
                                          companyAddress?: ...;
                                          corporateId?: ...;
                                          docketDescription?: ...;
                                          docketIssuingAgentInitials?: ...;
                                          docketNumber?: ...;
                                          docketPrefix?: ...;
                                          governmentTravelRequestDescription?: ...;
                                          invoiceDescription?: ...;
                                          isAgencyPaymentCard?: ...;
                                          manualApproval?: ...;
                                          netBalance?: ...;
                                          tripType?: ...;
                                          tripTypes?: ...;
                                          type: ...;
                                          useType?: ...;
                                          useTypes?: ...;
                                          virtualCard?: ...;
                                          voucher?: ...;
                                      }
                                  )[];
                                  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: ... }[];
                                  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: ...;
                                          fees?: ...;
                                          subtotal?: ...;
                                          taxes?: ...;
                                          total: ...;
                                      };
                                      toStationCode: string;
                                      toStationName?: string;
                                      trainName?: string;
                                      trainNumber: string;
                                      trainStatusCode?: string;
                                      trainStatusName?: | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                      vendorCode: string;
                                      vendorName?: string;
                                  }
                              )[];
                              travelers?: {
                                  address?: {
                                      city?: ...;
                                      countryCode?: ...;
                                      postalCode?: ...;
                                      stateProvince?: ...;
                                      street?: ...;
                                  } & { freeText?: ...; name?: ... };
                                  ancillaries?: {
                                      airlineCode?: ...;
                                      commercialName?: ...;
                                      electronicMiscellaneousDocumentNumber?: ...;
                                      flightApplicabilityType?: ...;
                                      flights?: ...;
                                      isCommissionable?: ...;
                                      isRefundable?: ...;
                                      itemId?: ...;
                                      numberOfItems?: ...;
                                      reasonForIssuanceCode?: ...;
                                      reasonForIssuanceName?: ...;
                                      source?: ...;
                                      statusCode?: ...;
                                      statusName?: ...;
                                      subcode?: ...;
                                      totals?: ...;
                                      vendorCode?: ...;
                                  }[];
                                  birthDate?: string;
                                  emails?: string[];
                                  formOfPaymentIndices?: number[];
                                  gender?: | "FEMALE"
                                  | "MALE"
                                  | "INFANT_FEMALE"
                                  | "INFANT_MALE"
                                  | "UNDISCLOSED"
                                  | "UNDEFINED";
                                  givenName: string;
                                  identityDocuments?: {
                                      birthDate?: ...;
                                      documentNumber?: ...;
                                      documentSubType?: ...;
                                      documentType: ...;
                                      expiryDate?: ...;
                                      flightIndices?: ...;
                                      gender?: ...;
                                      givenName?: ...;
                                      hostCountryCode?: ...;
                                      isLapChildDocument?: ...;
                                      isPrimaryDocumentHolder?: ...;
                                      issueDate?: ...;
                                      issuingCountryCode?: ...;
                                      itemId?: ...;
                                      middleName?: ...;
                                      placeOfBirth?: ...;
                                      placeOfIssue?: ...;
                                      residenceCountryCode?: ...;
                                      residenceDestinationAddress?: ...;
                                      surname?: ...;
                                  }[];
                                  isGrouped?: boolean;
                                  loyaltyPrograms?: {
                                      programNumber: ...;
                                      programType?: ...;
                                      receiverCode?: ...;
                                      supplierCode?: ...;
                                      tierLevel?: ...;
                                  }[];
                                  middleName?: string;
                                  nameAssociationId?: string;
                                  nameReferenceCode?: string;
                                  passengerCode?: string;
                                  phones?: { label?: ...; number: ... }[];
                                  remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                                  surname: string;
                                  type?:
                                      | "ADULT"
                                      | "AGENT"
                                      | "AIRLINE"
                                      | "CHILD"
                                      | "EDUCATION"
                                      | "GOVERNMENT"
                                      | "GROUP"
                                      | "INFANT"
                                      | "MILITARY"
                                      | "SENIOR"
                                      | "SPECIAL"
                                      | "YOUTH";
                              }[];
                              travelersGroup?: {
                                  itemId?: string;
                                  name?: string;
                                  numberOfTravelers?: number;
                                  numberOfTravelersRemaining?: number;
                              };
                          };
                          errors?: {
                              category: string;
                              description?: string;
                              fieldName?: string;
                              fieldPath?: string;
                              fieldValue?: string;
                              type: string;
                          }[];
                          refundedTickets?: string[];
                          request?: {
                              bookingSource?: "SABRE"
                              | "SABRE_ORDER";
                              cancelAll: boolean;
                              cars?: { itemId: string }[];
                              confirmationId: string;
                              cruises?: { itemId: string }[];
                              designatePrinters?: {
                                  hardcopy?: { address?: string; spacing?: string };
                                  invoiceItinerary?: string;
                                  profileNumber?: number;
                                  ticket?: { address?: string; countryCode?: string };
                              }[];
                              errorHandlingPolicy?: "HALT_ON_ERROR"
                              | "ALLOW_PARTIAL_CANCEL";
                              flights?: { itemId: string }[];
                              flightTicketOperation?: "VOID" | "REFUND";
                              hotels?: { itemId: string }[];
                              notification?: {
                                  email?:
                                      | "DEFAULT"
                                      | "INVOICE"
                                      | "ETICKET"
                                      | "ETICKET_PDF"
                                      | "ITINERARY"
                                      | "ITINERARY_PDF";
                                  queuePlacement?: {
                                      futureQueuePlacementDate?: string;
                                      pcc?: string;
                                      prefatoryInstructionCode: number;
                                      queueName?: string;
                                      queueNumber?: number;
                                  }[];
                              };
                              offerItemId?: string;
                              receivedFrom?: string;
                              retentionEndDate?: string;
                              retentionLabel?: string;
                              retrieveBooking: boolean;
                              segments?: { id?: string; sequence?: number }[];
                              targetPcc?: string;
                              trains?: { itemId: string }[];
                          };
                          tickets?: {
                              exchangePenalties?: (
                                  { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                      hasNoShowCost?: ...;
                                      noShowPenalty?: ...;
                                      source?: ...;
                                  }
                              )[];
                              isAutomatedRefundsEligible?: boolean;
                              isChangeable?: boolean;
                              isRefundable?: boolean;
                              isVoidable?: boolean;
                              number?: string;
                              refundPenalties?: (
                                  { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                      hasNoShowCost?: ...;
                                      noShowPenalty?: ...;
                                      source?: ...;
                                  }
                              )[];
                              refundTaxes?: { amount: string; taxCode: string }[];
                              refundTotals?: {
                                  currencyCode: string;
                                  fees?: string;
                                  subtotal?: string;
                                  taxes?: string;
                                  total: string;
                              };
                          }[];
                          timestamp?: string;
                          voidedTickets?: string[];
                      };
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Creates a list of booking items that need to be cancelled.

      • parameters: {
            cookie?: never;
            header: { Authorization: string };
            path?: never;
            query?: never;
        }
        • Optionalcookie?: never
        • header: { Authorization: string }
          • Authorization: string

            The bearer authentication token.

            Bearer TOKEN
            
        • Optionalpath?: never
        • Optionalquery?: never
      • requestBody: {
            content: {
                "application/json": {
                    bookingSource?: "SABRE" | "SABRE_ORDER";
                    cancelAll: boolean;
                    cars?: { itemId: string }[];
                    confirmationId: string;
                    cruises?: { itemId: string }[];
                    designatePrinters?: {
                        hardcopy?: { address?: string; spacing?: string };
                        invoiceItinerary?: string;
                        profileNumber?: number;
                        ticket?: { address?: string; countryCode?: string };
                    }[];
                    errorHandlingPolicy?: "HALT_ON_ERROR"
                    | "ALLOW_PARTIAL_CANCEL";
                    flights?: { itemId: string }[];
                    flightTicketOperation?: "VOID" | "REFUND";
                    hotels?: { itemId: string }[];
                    notification?: {
                        email?:
                            | "DEFAULT"
                            | "INVOICE"
                            | "ETICKET"
                            | "ETICKET_PDF"
                            | "ITINERARY"
                            | "ITINERARY_PDF";
                        queuePlacement?: {
                            futureQueuePlacementDate?: string;
                            pcc?: string;
                            prefatoryInstructionCode: number;
                            queueName?: string;
                            queueNumber?: number;
                        }[];
                    };
                    offerItemId?: string;
                    receivedFrom?: string;
                    retentionEndDate?: string;
                    retentionLabel?: string;
                    retrieveBooking: boolean;
                    segments?: { id?: string; sequence?: number }[];
                    targetPcc?: string;
                    trains?: { itemId: string }[];
                };
            };
        }

        Contains both required and optional elements to cancel the whole or parts of a booking.

      • responses: {
            "200": {
                content: {
                    "application/json": {
                        booking?: {
                            accountingItems?: {
                                airlineCode?: string;
                                cardNumber?: string;
                                cardTypeCode?: string;
                                commission?: {
                                    commissionAmount?: string;
                                    commissionPercentage?: string;
                                    currencyCode?: string;
                                };
                                creationType?: "Refund"
                                | "Exchange"
                                | "First Issuance";
                                currencyCode?: string;
                                fareAmount?: string;
                                fareApplicationType?:
                                    | "Single Traveler"
                                    | "All Travelers"
                                    | "Each Traveler";
                                formOfPaymentType?: | "Unknown"
                                | "Cash"
                                | "Check"
                                | "Check or Cash"
                                | "Payment Card"
                                | "Masked Payment Card";
                                tariffBasisType?: "Domestic"
                                | "Foreign"
                                | "International";
                                taxAmount?: string;
                                ticketNumber?: string;
                                travelerIndices?: number[];
                            }[];
                            agencyCustomerNumber?: string;
                            allSegments?: (
                                { id: string } & {
                                    address?: (...) & (...);
                                    date?: string;
                                    endAddress?: (...) & (...);
                                    endDate?: string;
                                    endLocationCode?: string;
                                    endTime?: string;
                                    locationCode?: string;
                                    startAddress?: (...) & (...);
                                    startDate?: string;
                                    startLocationCode?: string;
                                    startTime?: string;
                                    text?: string;
                                    time?: string;
                                    type: string;
                                    vendorCode?: string;
                                }
                            )[];
                            bookingId?: string;
                            cars?: (
                                { itemId: string } & {
                                    carStatusCode?: string;
                                    carStatusName?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    collectionAddress?: {
                                        city?: ...;
                                        countryCode?: ...;
                                        postalCode?: ...;
                                        stateProvince?: ...;
                                        street?: ...;
                                    };
                                    collectionSite?: { id?: ...; name?: ...; phone?: ... };
                                    confirmationId?: string;
                                    deliveryAddress?: {
                                        city?: ...;
                                        countryCode?: ...;
                                        postalCode?: ...;
                                        stateProvince?: ...;
                                        street?: ...;
                                    };
                                    deliverySite?: { id?: ...; name?: ...; phone?: ... };
                                    distanceAllowance?: string;
                                    dropOffAddress?: (...) & (...);
                                    dropOffContactInfo?: (...) & (...);
                                    dropOffDate: string;
                                    dropOffLocationCode?: string;
                                    dropOffTime: string;
                                    guaranteePaymentNote?: string;
                                    isRefundable: boolean;
                                    numberOfVehicles?: number;
                                    payment?: {
                                        currencyCode: ...;
                                        fees?: ...;
                                        subtotal?: ...;
                                        taxes?: ...;
                                        total: ...;
                                    };
                                    pickUpAddress: (...) & (...);
                                    pickUpContactInfo?: (...) & (...);
                                    pickUpDate: string;
                                    pickUpLocationCode?: string;
                                    pickUpTime: string;
                                    rateCode?: string;
                                    refundPenalties?: (...)[];
                                    specialInstructions?: string;
                                    travelerIndex?: number;
                                    vehicleTypeCode?: string;
                                    vehicleTypeName?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    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?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    departureDate: string;
                                    departureTime?: string;
                                    fromPortCode: string;
                                    numberOfGuests?: number;
                                    shipCode?: string;
                                    shipName?: string;
                                    toPortCode?: string;
                                    vendorCode: string;
                                }
                            )[];
                            endDate?: string;
                            fareOffers?: {
                                cabinBaggageAllowance?: {
                                    baggagePieces?: (...)[];
                                    maximumPieces?: number;
                                    totalWeightInKilograms?: number;
                                    totalWeightInPounds?: number;
                                };
                                cabinBaggageCharges?: {
                                    fee?: ...;
                                    isCheckInOnly?: ...;
                                    maximumSizeInCentimeters?: ...;
                                    maximumSizeInInches?: ...;
                                    maximumWeightInKilograms?: ...;
                                    maximumWeightInPounds?: ...;
                                    numberOfPieces: ...;
                                    specialItemDescription?: ...;
                                }[];
                                checkedBaggageAllowance?: {
                                    baggagePieces?: (...)[];
                                    maximumPieces?: number;
                                    totalWeightInKilograms?: number;
                                    totalWeightInPounds?: number;
                                };
                                checkedBaggageCharges?: {
                                    fee?: ...;
                                    isCheckInOnly?: ...;
                                    maximumSizeInCentimeters?: ...;
                                    maximumSizeInInches?: ...;
                                    maximumWeightInKilograms?: ...;
                                    maximumWeightInPounds?: ...;
                                    numberOfPieces: ...;
                                    specialItemDescription?: ...;
                                }[];
                                flights?: { itemId: ... }[];
                                travelerIndices?: number[];
                            }[];
                            fareRules?: {
                                destinationAirportCode?: string;
                                exchangePenalties?: {
                                    applicability: ...;
                                    conditionsApply: ...;
                                    penalty: ...;
                                }[];
                                isChangeable?: boolean;
                                isRefundable?: boolean;
                                originAirportCode?: string;
                                owningAirlineCode: string;
                                passengerCode?: string;
                                refundPenalties?: {
                                    applicability: ...;
                                    conditionsApply: ...;
                                    penalty: ...;
                                }[];
                            }[];
                            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?: ...;
                                    brandAttributes?: ...;
                                    brandFareCode?: ...;
                                    brandFareName?: ...;
                                    brandProgramCode?: ...;
                                    brandProgramName?: ...;
                                    checkedBaggageAllowance?: ...;
                                    fareBasisCode?: ...;
                                    flightIndices?: ...;
                                    flights?: ...;
                                    isCurrentItinerary?: ...;
                                }[];
                                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?: ...; taxCode?: ... }[];
                                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?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    fromAirportCode: string;
                                    hiddenStopAircraftTypeCode?: string;
                                    hiddenStopAircraftTypeName?: string;
                                    hiddenStopAirportCode?: string;
                                    hiddenStopArrivalDate?: string;
                                    hiddenStopArrivalTime?: string;
                                    hiddenStopDepartureDate?: string;
                                    hiddenStopDepartureTime?: string;
                                    hiddenStops?: (...)[];
                                    identityDocuments?: (...)[];
                                    isPast?: boolean;
                                    meals?: (...)[];
                                    numberOfSeats?: number;
                                    operatingAirlineCode?: string;
                                    operatingAirlineName?: string;
                                    operatingFlightNumber?: number;
                                    seats?: (...)[];
                                    sourceType?: (...) | (...) | (...);
                                    toAirportCode: string;
                                    travelerIndices?: (...)[];
                                    updatedArrivalDate?: string;
                                    updatedArrivalTime?: string;
                                    updatedDepartureDate?: string;
                                    updatedDepartureTime?: string;
                                }
                            )[];
                            flightTickets?: {
                                agencyIataNumber?: string;
                                airlineCode: string;
                                allCoupons?: ((...) & (...))[];
                                commission?: {
                                    commissionAmount?: string;
                                    commissionPercentage?: string;
                                    currencyCode?: string;
                                };
                                date: string;
                                flightCoupons: ((...) & (...))[];
                                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: (...) & (...) & (...);
                                    associatedFlightDetails?: {
                                        arrivalAirlineCode?: ...;
                                        arrivalFlightNumber?: ...;
                                        arrivalTime?: ...;
                                        departureAirlineCode?: ...;
                                        departureFlightNumber?: ...;
                                        departureTime?: ...;
                                    };
                                    chainCode?: string;
                                    chainName?: string;
                                    checkInDate: string;
                                    checkInTime: string;
                                    checkOutDate: string;
                                    checkOutTime: string;
                                    confirmationId?: string;
                                    contactInfo?: (...) & (...);
                                    corporateDiscountCode?: number;
                                    guaranteePaymentNote?: string;
                                    guaranteeTypeCode?: number;
                                    guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                                    hotelName: string;
                                    hotelStatusCode?: string;
                                    hotelStatusName?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    isRefundable: boolean;
                                    leadTravelerIndex?: number;
                                    numberOfGuests?: number;
                                    payment?: {
                                        currencyCode: ...;
                                        fees?: ...;
                                        subtotal?: ...;
                                        taxes?: ...;
                                        total: ...;
                                    };
                                    paymentPolicy?: (...)
                                    | (...)
                                    | (...);
                                    propertyId?: string;
                                    refundPenalties?: (...)[];
                                    refundPenaltyPolicyCode?: string;
                                    room?: {
                                        agencyCommission?: ...;
                                        description?: ...;
                                        productCode?: ...;
                                        quantity: ...;
                                        roomRate?: ...;
                                        roomType: ...;
                                        roomTypeCode?: ...;
                                        travelerIndices?: ...;
                                    };
                                    sabrePropertyId?: string;
                                    sourceTypeCode?: number;
                                    sourceTypeName?: | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    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?: ...;
                                        cardNumber?: ...;
                                        cardSecurityCode?: ...;
                                        cardTypeCode?: ...;
                                        expiryDate?: ...;
                                        extendedPayment?: ...;
                                        installmentAmount?: ...;
                                        miscellaneousCreditCode?: ...;
                                        numberOfInstallments?: ...;
                                    } & {
                                        agencyAddress?: ...;
                                        agencyIataNumber?: ...;
                                        authentications?: ...;
                                        cardHolder?: ...;
                                        companyAddress?: ...;
                                        corporateId?: ...;
                                        docketDescription?: ...;
                                        docketIssuingAgentInitials?: ...;
                                        docketNumber?: ...;
                                        docketPrefix?: ...;
                                        governmentTravelRequestDescription?: ...;
                                        invoiceDescription?: ...;
                                        isAgencyPaymentCard?: ...;
                                        manualApproval?: ...;
                                        netBalance?: ...;
                                        tripType?: ...;
                                        tripTypes?: ...;
                                        type: ...;
                                        useType?: ...;
                                        useTypes?: ...;
                                        virtualCard?: ...;
                                        voucher?: ...;
                                    }
                                )[];
                                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: ... }[];
                                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: ...;
                                        fees?: ...;
                                        subtotal?: ...;
                                        taxes?: ...;
                                        total: ...;
                                    };
                                    toStationCode: string;
                                    toStationName?: string;
                                    trainName?: string;
                                    trainNumber: string;
                                    trainStatusCode?: string;
                                    trainStatusName?: | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    vendorCode: string;
                                    vendorName?: string;
                                }
                            )[];
                            travelers?: {
                                address?: {
                                    city?: ...;
                                    countryCode?: ...;
                                    postalCode?: ...;
                                    stateProvince?: ...;
                                    street?: ...;
                                } & { freeText?: ...; name?: ... };
                                ancillaries?: {
                                    airlineCode?: ...;
                                    commercialName?: ...;
                                    electronicMiscellaneousDocumentNumber?: ...;
                                    flightApplicabilityType?: ...;
                                    flights?: ...;
                                    isCommissionable?: ...;
                                    isRefundable?: ...;
                                    itemId?: ...;
                                    numberOfItems?: ...;
                                    reasonForIssuanceCode?: ...;
                                    reasonForIssuanceName?: ...;
                                    source?: ...;
                                    statusCode?: ...;
                                    statusName?: ...;
                                    subcode?: ...;
                                    totals?: ...;
                                    vendorCode?: ...;
                                }[];
                                birthDate?: string;
                                emails?: string[];
                                formOfPaymentIndices?: number[];
                                gender?: | "FEMALE"
                                | "MALE"
                                | "INFANT_FEMALE"
                                | "INFANT_MALE"
                                | "UNDISCLOSED"
                                | "UNDEFINED";
                                givenName: string;
                                identityDocuments?: {
                                    birthDate?: ...;
                                    documentNumber?: ...;
                                    documentSubType?: ...;
                                    documentType: ...;
                                    expiryDate?: ...;
                                    flightIndices?: ...;
                                    gender?: ...;
                                    givenName?: ...;
                                    hostCountryCode?: ...;
                                    isLapChildDocument?: ...;
                                    isPrimaryDocumentHolder?: ...;
                                    issueDate?: ...;
                                    issuingCountryCode?: ...;
                                    itemId?: ...;
                                    middleName?: ...;
                                    placeOfBirth?: ...;
                                    placeOfIssue?: ...;
                                    residenceCountryCode?: ...;
                                    residenceDestinationAddress?: ...;
                                    surname?: ...;
                                }[];
                                isGrouped?: boolean;
                                loyaltyPrograms?: {
                                    programNumber: ...;
                                    programType?: ...;
                                    receiverCode?: ...;
                                    supplierCode?: ...;
                                    tierLevel?: ...;
                                }[];
                                middleName?: string;
                                nameAssociationId?: string;
                                nameReferenceCode?: string;
                                passengerCode?: string;
                                phones?: { label?: ...; number: ... }[];
                                remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                                surname: string;
                                type?:
                                    | "ADULT"
                                    | "AGENT"
                                    | "AIRLINE"
                                    | "CHILD"
                                    | "EDUCATION"
                                    | "GOVERNMENT"
                                    | "GROUP"
                                    | "INFANT"
                                    | "MILITARY"
                                    | "SENIOR"
                                    | "SPECIAL"
                                    | "YOUTH";
                            }[];
                            travelersGroup?: {
                                itemId?: string;
                                name?: string;
                                numberOfTravelers?: number;
                                numberOfTravelersRemaining?: number;
                            };
                        };
                        errors?: {
                            category: string;
                            description?: string;
                            fieldName?: string;
                            fieldPath?: string;
                            fieldValue?: string;
                            type: string;
                        }[];
                        refundedTickets?: string[];
                        request?: {
                            bookingSource?: "SABRE"
                            | "SABRE_ORDER";
                            cancelAll: boolean;
                            cars?: { itemId: string }[];
                            confirmationId: string;
                            cruises?: { itemId: string }[];
                            designatePrinters?: {
                                hardcopy?: { address?: string; spacing?: string };
                                invoiceItinerary?: string;
                                profileNumber?: number;
                                ticket?: { address?: string; countryCode?: string };
                            }[];
                            errorHandlingPolicy?: "HALT_ON_ERROR"
                            | "ALLOW_PARTIAL_CANCEL";
                            flights?: { itemId: string }[];
                            flightTicketOperation?: "VOID" | "REFUND";
                            hotels?: { itemId: string }[];
                            notification?: {
                                email?:
                                    | "DEFAULT"
                                    | "INVOICE"
                                    | "ETICKET"
                                    | "ETICKET_PDF"
                                    | "ITINERARY"
                                    | "ITINERARY_PDF";
                                queuePlacement?: {
                                    futureQueuePlacementDate?: string;
                                    pcc?: string;
                                    prefatoryInstructionCode: number;
                                    queueName?: string;
                                    queueNumber?: number;
                                }[];
                            };
                            offerItemId?: string;
                            receivedFrom?: string;
                            retentionEndDate?: string;
                            retentionLabel?: string;
                            retrieveBooking: boolean;
                            segments?: { id?: string; sequence?: number }[];
                            targetPcc?: string;
                            trains?: { itemId: string }[];
                        };
                        tickets?: {
                            exchangePenalties?: (
                                { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                    hasNoShowCost?: ...;
                                    noShowPenalty?: ...;
                                    source?: ...;
                                }
                            )[];
                            isAutomatedRefundsEligible?: boolean;
                            isChangeable?: boolean;
                            isRefundable?: boolean;
                            isVoidable?: boolean;
                            number?: string;
                            refundPenalties?: (
                                { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                    hasNoShowCost?: ...;
                                    noShowPenalty?: ...;
                                    source?: ...;
                                }
                            )[];
                            refundTaxes?: { amount: string; taxCode: string }[];
                            refundTotals?: {
                                currencyCode: string;
                                fees?: string;
                                subtotal?: string;
                                taxes?: string;
                                total: string;
                            };
                        }[];
                        timestamp?: string;
                        voidedTickets?: string[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      booking?: {
                          accountingItems?: {
                              airlineCode?: string;
                              cardNumber?: string;
                              cardTypeCode?: string;
                              commission?: {
                                  commissionAmount?: string;
                                  commissionPercentage?: string;
                                  currencyCode?: string;
                              };
                              creationType?: "Refund"
                              | "Exchange"
                              | "First Issuance";
                              currencyCode?: string;
                              fareAmount?: string;
                              fareApplicationType?:
                                  | "Single Traveler"
                                  | "All Travelers"
                                  | "Each Traveler";
                              formOfPaymentType?: | "Unknown"
                              | "Cash"
                              | "Check"
                              | "Check or Cash"
                              | "Payment Card"
                              | "Masked Payment Card";
                              tariffBasisType?: "Domestic"
                              | "Foreign"
                              | "International";
                              taxAmount?: string;
                              ticketNumber?: string;
                              travelerIndices?: number[];
                          }[];
                          agencyCustomerNumber?: string;
                          allSegments?: (
                              { id: string } & {
                                  address?: (...) & (...);
                                  date?: string;
                                  endAddress?: (...) & (...);
                                  endDate?: string;
                                  endLocationCode?: string;
                                  endTime?: string;
                                  locationCode?: string;
                                  startAddress?: (...) & (...);
                                  startDate?: string;
                                  startLocationCode?: string;
                                  startTime?: string;
                                  text?: string;
                                  time?: string;
                                  type: string;
                                  vendorCode?: string;
                              }
                          )[];
                          bookingId?: string;
                          cars?: (
                              { itemId: string } & {
                                  carStatusCode?: string;
                                  carStatusName?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  collectionAddress?: {
                                      city?: ...;
                                      countryCode?: ...;
                                      postalCode?: ...;
                                      stateProvince?: ...;
                                      street?: ...;
                                  };
                                  collectionSite?: { id?: ...; name?: ...; phone?: ... };
                                  confirmationId?: string;
                                  deliveryAddress?: {
                                      city?: ...;
                                      countryCode?: ...;
                                      postalCode?: ...;
                                      stateProvince?: ...;
                                      street?: ...;
                                  };
                                  deliverySite?: { id?: ...; name?: ...; phone?: ... };
                                  distanceAllowance?: string;
                                  dropOffAddress?: (...) & (...);
                                  dropOffContactInfo?: (...) & (...);
                                  dropOffDate: string;
                                  dropOffLocationCode?: string;
                                  dropOffTime: string;
                                  guaranteePaymentNote?: string;
                                  isRefundable: boolean;
                                  numberOfVehicles?: number;
                                  payment?: {
                                      currencyCode: ...;
                                      fees?: ...;
                                      subtotal?: ...;
                                      taxes?: ...;
                                      total: ...;
                                  };
                                  pickUpAddress: (...) & (...);
                                  pickUpContactInfo?: (...) & (...);
                                  pickUpDate: string;
                                  pickUpLocationCode?: string;
                                  pickUpTime: string;
                                  rateCode?: string;
                                  refundPenalties?: (...)[];
                                  specialInstructions?: string;
                                  travelerIndex?: number;
                                  vehicleTypeCode?: string;
                                  vehicleTypeName?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  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?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  departureDate: string;
                                  departureTime?: string;
                                  fromPortCode: string;
                                  numberOfGuests?: number;
                                  shipCode?: string;
                                  shipName?: string;
                                  toPortCode?: string;
                                  vendorCode: string;
                              }
                          )[];
                          endDate?: string;
                          fareOffers?: {
                              cabinBaggageAllowance?: {
                                  baggagePieces?: (...)[];
                                  maximumPieces?: number;
                                  totalWeightInKilograms?: number;
                                  totalWeightInPounds?: number;
                              };
                              cabinBaggageCharges?: {
                                  fee?: ...;
                                  isCheckInOnly?: ...;
                                  maximumSizeInCentimeters?: ...;
                                  maximumSizeInInches?: ...;
                                  maximumWeightInKilograms?: ...;
                                  maximumWeightInPounds?: ...;
                                  numberOfPieces: ...;
                                  specialItemDescription?: ...;
                              }[];
                              checkedBaggageAllowance?: {
                                  baggagePieces?: (...)[];
                                  maximumPieces?: number;
                                  totalWeightInKilograms?: number;
                                  totalWeightInPounds?: number;
                              };
                              checkedBaggageCharges?: {
                                  fee?: ...;
                                  isCheckInOnly?: ...;
                                  maximumSizeInCentimeters?: ...;
                                  maximumSizeInInches?: ...;
                                  maximumWeightInKilograms?: ...;
                                  maximumWeightInPounds?: ...;
                                  numberOfPieces: ...;
                                  specialItemDescription?: ...;
                              }[];
                              flights?: { itemId: ... }[];
                              travelerIndices?: number[];
                          }[];
                          fareRules?: {
                              destinationAirportCode?: string;
                              exchangePenalties?: {
                                  applicability: ...;
                                  conditionsApply: ...;
                                  penalty: ...;
                              }[];
                              isChangeable?: boolean;
                              isRefundable?: boolean;
                              originAirportCode?: string;
                              owningAirlineCode: string;
                              passengerCode?: string;
                              refundPenalties?: {
                                  applicability: ...;
                                  conditionsApply: ...;
                                  penalty: ...;
                              }[];
                          }[];
                          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?: ...;
                                  brandAttributes?: ...;
                                  brandFareCode?: ...;
                                  brandFareName?: ...;
                                  brandProgramCode?: ...;
                                  brandProgramName?: ...;
                                  checkedBaggageAllowance?: ...;
                                  fareBasisCode?: ...;
                                  flightIndices?: ...;
                                  flights?: ...;
                                  isCurrentItinerary?: ...;
                              }[];
                              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?: ...; taxCode?: ... }[];
                              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?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  fromAirportCode: string;
                                  hiddenStopAircraftTypeCode?: string;
                                  hiddenStopAircraftTypeName?: string;
                                  hiddenStopAirportCode?: string;
                                  hiddenStopArrivalDate?: string;
                                  hiddenStopArrivalTime?: string;
                                  hiddenStopDepartureDate?: string;
                                  hiddenStopDepartureTime?: string;
                                  hiddenStops?: (...)[];
                                  identityDocuments?: (...)[];
                                  isPast?: boolean;
                                  meals?: (...)[];
                                  numberOfSeats?: number;
                                  operatingAirlineCode?: string;
                                  operatingAirlineName?: string;
                                  operatingFlightNumber?: number;
                                  seats?: (...)[];
                                  sourceType?: (...) | (...) | (...);
                                  toAirportCode: string;
                                  travelerIndices?: (...)[];
                                  updatedArrivalDate?: string;
                                  updatedArrivalTime?: string;
                                  updatedDepartureDate?: string;
                                  updatedDepartureTime?: string;
                              }
                          )[];
                          flightTickets?: {
                              agencyIataNumber?: string;
                              airlineCode: string;
                              allCoupons?: ((...) & (...))[];
                              commission?: {
                                  commissionAmount?: string;
                                  commissionPercentage?: string;
                                  currencyCode?: string;
                              };
                              date: string;
                              flightCoupons: ((...) & (...))[];
                              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: (...) & (...) & (...);
                                  associatedFlightDetails?: {
                                      arrivalAirlineCode?: ...;
                                      arrivalFlightNumber?: ...;
                                      arrivalTime?: ...;
                                      departureAirlineCode?: ...;
                                      departureFlightNumber?: ...;
                                      departureTime?: ...;
                                  };
                                  chainCode?: string;
                                  chainName?: string;
                                  checkInDate: string;
                                  checkInTime: string;
                                  checkOutDate: string;
                                  checkOutTime: string;
                                  confirmationId?: string;
                                  contactInfo?: (...) & (...);
                                  corporateDiscountCode?: number;
                                  guaranteePaymentNote?: string;
                                  guaranteeTypeCode?: number;
                                  guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                                  hotelName: string;
                                  hotelStatusCode?: string;
                                  hotelStatusName?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  isRefundable: boolean;
                                  leadTravelerIndex?: number;
                                  numberOfGuests?: number;
                                  payment?: {
                                      currencyCode: ...;
                                      fees?: ...;
                                      subtotal?: ...;
                                      taxes?: ...;
                                      total: ...;
                                  };
                                  paymentPolicy?: (...)
                                  | (...)
                                  | (...);
                                  propertyId?: string;
                                  refundPenalties?: (...)[];
                                  refundPenaltyPolicyCode?: string;
                                  room?: {
                                      agencyCommission?: ...;
                                      description?: ...;
                                      productCode?: ...;
                                      quantity: ...;
                                      roomRate?: ...;
                                      roomType: ...;
                                      roomTypeCode?: ...;
                                      travelerIndices?: ...;
                                  };
                                  sabrePropertyId?: string;
                                  sourceTypeCode?: number;
                                  sourceTypeName?: (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                                  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?: ...;
                                      cardNumber?: ...;
                                      cardSecurityCode?: ...;
                                      cardTypeCode?: ...;
                                      expiryDate?: ...;
                                      extendedPayment?: ...;
                                      installmentAmount?: ...;
                                      miscellaneousCreditCode?: ...;
                                      numberOfInstallments?: ...;
                                  } & {
                                      agencyAddress?: ...;
                                      agencyIataNumber?: ...;
                                      authentications?: ...;
                                      cardHolder?: ...;
                                      companyAddress?: ...;
                                      corporateId?: ...;
                                      docketDescription?: ...;
                                      docketIssuingAgentInitials?: ...;
                                      docketNumber?: ...;
                                      docketPrefix?: ...;
                                      governmentTravelRequestDescription?: ...;
                                      invoiceDescription?: ...;
                                      isAgencyPaymentCard?: ...;
                                      manualApproval?: ...;
                                      netBalance?: ...;
                                      tripType?: ...;
                                      tripTypes?: ...;
                                      type: ...;
                                      useType?: ...;
                                      useTypes?: ...;
                                      virtualCard?: ...;
                                      voucher?: ...;
                                  }
                              )[];
                              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: ... }[];
                              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: ...;
                                      fees?: ...;
                                      subtotal?: ...;
                                      taxes?: ...;
                                      total: ...;
                                  };
                                  toStationCode: string;
                                  toStationName?: string;
                                  trainName?: string;
                                  trainNumber: string;
                                  trainStatusCode?: string;
                                  trainStatusName?: | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                                  vendorCode: string;
                                  vendorName?: string;
                              }
                          )[];
                          travelers?: {
                              address?: {
                                  city?: ...;
                                  countryCode?: ...;
                                  postalCode?: ...;
                                  stateProvince?: ...;
                                  street?: ...;
                              } & { freeText?: ...; name?: ... };
                              ancillaries?: {
                                  airlineCode?: ...;
                                  commercialName?: ...;
                                  electronicMiscellaneousDocumentNumber?: ...;
                                  flightApplicabilityType?: ...;
                                  flights?: ...;
                                  isCommissionable?: ...;
                                  isRefundable?: ...;
                                  itemId?: ...;
                                  numberOfItems?: ...;
                                  reasonForIssuanceCode?: ...;
                                  reasonForIssuanceName?: ...;
                                  source?: ...;
                                  statusCode?: ...;
                                  statusName?: ...;
                                  subcode?: ...;
                                  totals?: ...;
                                  vendorCode?: ...;
                              }[];
                              birthDate?: string;
                              emails?: string[];
                              formOfPaymentIndices?: number[];
                              gender?: | "FEMALE"
                              | "MALE"
                              | "INFANT_FEMALE"
                              | "INFANT_MALE"
                              | "UNDISCLOSED"
                              | "UNDEFINED";
                              givenName: string;
                              identityDocuments?: {
                                  birthDate?: ...;
                                  documentNumber?: ...;
                                  documentSubType?: ...;
                                  documentType: ...;
                                  expiryDate?: ...;
                                  flightIndices?: ...;
                                  gender?: ...;
                                  givenName?: ...;
                                  hostCountryCode?: ...;
                                  isLapChildDocument?: ...;
                                  isPrimaryDocumentHolder?: ...;
                                  issueDate?: ...;
                                  issuingCountryCode?: ...;
                                  itemId?: ...;
                                  middleName?: ...;
                                  placeOfBirth?: ...;
                                  placeOfIssue?: ...;
                                  residenceCountryCode?: ...;
                                  residenceDestinationAddress?: ...;
                                  surname?: ...;
                              }[];
                              isGrouped?: boolean;
                              loyaltyPrograms?: {
                                  programNumber: ...;
                                  programType?: ...;
                                  receiverCode?: ...;
                                  supplierCode?: ...;
                                  tierLevel?: ...;
                              }[];
                              middleName?: string;
                              nameAssociationId?: string;
                              nameReferenceCode?: string;
                              passengerCode?: string;
                              phones?: { label?: ...; number: ... }[];
                              remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                              surname: string;
                              type?:
                                  | "ADULT"
                                  | "AGENT"
                                  | "AIRLINE"
                                  | "CHILD"
                                  | "EDUCATION"
                                  | "GOVERNMENT"
                                  | "GROUP"
                                  | "INFANT"
                                  | "MILITARY"
                                  | "SENIOR"
                                  | "SPECIAL"
                                  | "YOUTH";
                          }[];
                          travelersGroup?: {
                              itemId?: string;
                              name?: string;
                              numberOfTravelers?: number;
                              numberOfTravelersRemaining?: number;
                          };
                      };
                      errors?: {
                          category: string;
                          description?: string;
                          fieldName?: string;
                          fieldPath?: string;
                          fieldValue?: string;
                          type: string;
                      }[];
                      refundedTickets?: string[];
                      request?: {
                          bookingSource?: "SABRE"
                          | "SABRE_ORDER";
                          cancelAll: boolean;
                          cars?: { itemId: string }[];
                          confirmationId: string;
                          cruises?: { itemId: string }[];
                          designatePrinters?: {
                              hardcopy?: { address?: string; spacing?: string };
                              invoiceItinerary?: string;
                              profileNumber?: number;
                              ticket?: { address?: string; countryCode?: string };
                          }[];
                          errorHandlingPolicy?: "HALT_ON_ERROR"
                          | "ALLOW_PARTIAL_CANCEL";
                          flights?: { itemId: string }[];
                          flightTicketOperation?: "VOID" | "REFUND";
                          hotels?: { itemId: string }[];
                          notification?: {
                              email?:
                                  | "DEFAULT"
                                  | "INVOICE"
                                  | "ETICKET"
                                  | "ETICKET_PDF"
                                  | "ITINERARY"
                                  | "ITINERARY_PDF";
                              queuePlacement?: {
                                  futureQueuePlacementDate?: string;
                                  pcc?: string;
                                  prefatoryInstructionCode: number;
                                  queueName?: string;
                                  queueNumber?: number;
                              }[];
                          };
                          offerItemId?: string;
                          receivedFrom?: string;
                          retentionEndDate?: string;
                          retentionLabel?: string;
                          retrieveBooking: boolean;
                          segments?: { id?: string; sequence?: number }[];
                          targetPcc?: string;
                          trains?: { itemId: string }[];
                      };
                      tickets?: {
                          exchangePenalties?: (
                              { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                  hasNoShowCost?: ...;
                                  noShowPenalty?: ...;
                                  source?: ...;
                              }
                          )[];
                          isAutomatedRefundsEligible?: boolean;
                          isChangeable?: boolean;
                          isRefundable?: boolean;
                          isVoidable?: boolean;
                          number?: string;
                          refundPenalties?: (
                              { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                  hasNoShowCost?: ...;
                                  noShowPenalty?: ...;
                                  source?: ...;
                              }
                          )[];
                          refundTaxes?: { amount: string; taxCode: string }[];
                          refundTotals?: {
                              currencyCode: string;
                              fees?: string;
                              subtotal?: string;
                              taxes?: string;
                              total: string;
                          };
                      }[];
                      timestamp?: string;
                      voidedTickets?: string[];
                  };
              };
              headers: { [name: string]: unknown };
          }

          Successful response.

    • Optionalput?: never
    • Optionaltrace?: never
    "/checkFlightTickets": {
        delete?: never;
        get?: never;
        head?: never;
        options?: never;
        parameters: { cookie?: never; header?: never; path?: never; query?: never };
        patch?: never;
        post: {
            parameters: {
                cookie?: never;
                header: { Authorization: string };
                path?: never;
                query?: never;
            };
            requestBody: {
                content: {
                    "application/json": {
                        confirmationId?: string;
                        targetPcc?: string;
                        tickets?: {
                            number?: string;
                            refundQualifiers?: {
                                commissionAmount?: string;
                                commissionOnPenalty?: string;
                                commissionPercentage?: string;
                                journeyTypeCode?: "F"
                                | "M"
                                | "B";
                                overrideCancelFee?: string;
                                overrideTaxes?: {
                                    airportTaxBreakdowns?: (...)[];
                                    taxAmount?: string;
                                    taxCode?: string;
                                }[];
                                splitRefundAmounts?: { amount?: string }[];
                                tourCode?: string;
                                waiverCode?: string;
                            };
                        }[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            cancelOffers?: {
                                offerExpirationDate?: string;
                                offerExpirationTime?: string;
                                offerItemId?: string;
                                offerType?: "VOID"
                                | "REFUND";
                                refundTotals?: {
                                    currencyCode: string;
                                    fees?: string;
                                    subtotal?: string;
                                    taxes?: string;
                                    total: string;
                                };
                            }[];
                            errors?: {
                                category: string;
                                description?: string;
                                fieldName?: string;
                                fieldPath?: string;
                                fieldValue?: string;
                                type: string;
                            }[];
                            request?: {
                                confirmationId?: string;
                                targetPcc?: string;
                                tickets?: {
                                    number?: string;
                                    refundQualifiers?: {
                                        commissionAmount?: string;
                                        commissionOnPenalty?: string;
                                        commissionPercentage?: string;
                                        journeyTypeCode?: (...)
                                        | (...)
                                        | (...);
                                        overrideCancelFee?: string;
                                        overrideTaxes?: (...)[];
                                        splitRefundAmounts?: (...)[];
                                        tourCode?: string;
                                        waiverCode?: string;
                                    };
                                }[];
                            };
                            tickets?: {
                                exchangePenalties?: (
                                    { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                        hasNoShowCost?: ...;
                                        noShowPenalty?: ...;
                                        source?: ...;
                                    }
                                )[];
                                isAutomatedRefundsEligible?: boolean;
                                isChangeable?: boolean;
                                isRefundable?: boolean;
                                isVoidable?: boolean;
                                number?: string;
                                refundPenalties?: (
                                    { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                        hasNoShowCost?: ...;
                                        noShowPenalty?: ...;
                                        source?: ...;
                                    }
                                )[];
                                refundTaxes?: { amount: string; taxCode: string }[];
                                refundTotals?: {
                                    currencyCode: string;
                                    fees?: string;
                                    subtotal?: string;
                                    taxes?: string;
                                    total: string;
                                };
                            }[];
                            timestamp?: string;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        put?: never;
        trace?: never;
    }

    Type Declaration

    • Optionaldelete?: never
    • Optionalget?: never
    • Optionalhead?: never
    • Optionaloptions?: never
    • parameters: { cookie?: never; header?: never; path?: never; query?: never }
    • Optionalpatch?: never
    • post: {
          parameters: {
              cookie?: never;
              header: { Authorization: string };
              path?: never;
              query?: never;
          };
          requestBody: {
              content: {
                  "application/json": {
                      confirmationId?: string;
                      targetPcc?: string;
                      tickets?: {
                          number?: string;
                          refundQualifiers?: {
                              commissionAmount?: string;
                              commissionOnPenalty?: string;
                              commissionPercentage?: string;
                              journeyTypeCode?: "F"
                              | "M"
                              | "B";
                              overrideCancelFee?: string;
                              overrideTaxes?: {
                                  airportTaxBreakdowns?: (...)[];
                                  taxAmount?: string;
                                  taxCode?: string;
                              }[];
                              splitRefundAmounts?: { amount?: string }[];
                              tourCode?: string;
                              waiverCode?: string;
                          };
                      }[];
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          cancelOffers?: {
                              offerExpirationDate?: string;
                              offerExpirationTime?: string;
                              offerItemId?: string;
                              offerType?: "VOID"
                              | "REFUND";
                              refundTotals?: {
                                  currencyCode: string;
                                  fees?: string;
                                  subtotal?: string;
                                  taxes?: string;
                                  total: string;
                              };
                          }[];
                          errors?: {
                              category: string;
                              description?: string;
                              fieldName?: string;
                              fieldPath?: string;
                              fieldValue?: string;
                              type: string;
                          }[];
                          request?: {
                              confirmationId?: string;
                              targetPcc?: string;
                              tickets?: {
                                  number?: string;
                                  refundQualifiers?: {
                                      commissionAmount?: string;
                                      commissionOnPenalty?: string;
                                      commissionPercentage?: string;
                                      journeyTypeCode?: (...)
                                      | (...)
                                      | (...);
                                      overrideCancelFee?: string;
                                      overrideTaxes?: (...)[];
                                      splitRefundAmounts?: (...)[];
                                      tourCode?: string;
                                      waiverCode?: string;
                                  };
                              }[];
                          };
                          tickets?: {
                              exchangePenalties?: (
                                  { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                      hasNoShowCost?: ...;
                                      noShowPenalty?: ...;
                                      source?: ...;
                                  }
                              )[];
                              isAutomatedRefundsEligible?: boolean;
                              isChangeable?: boolean;
                              isRefundable?: boolean;
                              isVoidable?: boolean;
                              number?: string;
                              refundPenalties?: (
                                  { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                      hasNoShowCost?: ...;
                                      noShowPenalty?: ...;
                                      source?: ...;
                                  }
                              )[];
                              refundTaxes?: { amount: string; taxCode: string }[];
                              refundTotals?: {
                                  currencyCode: string;
                                  fees?: string;
                                  subtotal?: string;
                                  taxes?: string;
                                  total: string;
                              };
                          }[];
                          timestamp?: string;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Processes tickets by providing a request containing a list of ticket numbers to be checked. EMDs are currently not supported.

      • parameters: {
            cookie?: never;
            header: { Authorization: string };
            path?: never;
            query?: never;
        }
        • Optionalcookie?: never
        • header: { Authorization: string }
          • Authorization: string

            The bearer authentication token.

            Bearer TOKEN
            
        • Optionalpath?: never
        • Optionalquery?: never
      • requestBody: {
            content: {
                "application/json": {
                    confirmationId?: string;
                    targetPcc?: string;
                    tickets?: {
                        number?: string;
                        refundQualifiers?: {
                            commissionAmount?: string;
                            commissionOnPenalty?: string;
                            commissionPercentage?: string;
                            journeyTypeCode?: "F" | "M" | "B";
                            overrideCancelFee?: string;
                            overrideTaxes?: {
                                airportTaxBreakdowns?: (...)[];
                                taxAmount?: string;
                                taxCode?: string;
                            }[];
                            splitRefundAmounts?: { amount?: string }[];
                            tourCode?: string;
                            waiverCode?: string;
                        };
                    }[];
                };
            };
        }

        Contains required and optional elements to check the tickets.

      • responses: {
            "200": {
                content: {
                    "application/json": {
                        cancelOffers?: {
                            offerExpirationDate?: string;
                            offerExpirationTime?: string;
                            offerItemId?: string;
                            offerType?: "VOID" | "REFUND";
                            refundTotals?: {
                                currencyCode: string;
                                fees?: string;
                                subtotal?: string;
                                taxes?: string;
                                total: string;
                            };
                        }[];
                        errors?: {
                            category: string;
                            description?: string;
                            fieldName?: string;
                            fieldPath?: string;
                            fieldValue?: string;
                            type: string;
                        }[];
                        request?: {
                            confirmationId?: string;
                            targetPcc?: string;
                            tickets?: {
                                number?: string;
                                refundQualifiers?: {
                                    commissionAmount?: string;
                                    commissionOnPenalty?: string;
                                    commissionPercentage?: string;
                                    journeyTypeCode?: (...)
                                    | (...)
                                    | (...);
                                    overrideCancelFee?: string;
                                    overrideTaxes?: (...)[];
                                    splitRefundAmounts?: (...)[];
                                    tourCode?: string;
                                    waiverCode?: string;
                                };
                            }[];
                        };
                        tickets?: {
                            exchangePenalties?: (
                                { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                    hasNoShowCost?: ...;
                                    noShowPenalty?: ...;
                                    source?: ...;
                                }
                            )[];
                            isAutomatedRefundsEligible?: boolean;
                            isChangeable?: boolean;
                            isRefundable?: boolean;
                            isVoidable?: boolean;
                            number?: string;
                            refundPenalties?: (
                                { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                    hasNoShowCost?: ...;
                                    noShowPenalty?: ...;
                                    source?: ...;
                                }
                            )[];
                            refundTaxes?: { amount: string; taxCode: string }[];
                            refundTotals?: {
                                currencyCode: string;
                                fees?: string;
                                subtotal?: string;
                                taxes?: string;
                                total: string;
                            };
                        }[];
                        timestamp?: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      cancelOffers?: {
                          offerExpirationDate?: string;
                          offerExpirationTime?: string;
                          offerItemId?: string;
                          offerType?: "VOID" | "REFUND";
                          refundTotals?: {
                              currencyCode: string;
                              fees?: string;
                              subtotal?: string;
                              taxes?: string;
                              total: string;
                          };
                      }[];
                      errors?: {
                          category: string;
                          description?: string;
                          fieldName?: string;
                          fieldPath?: string;
                          fieldValue?: string;
                          type: string;
                      }[];
                      request?: {
                          confirmationId?: string;
                          targetPcc?: string;
                          tickets?: {
                              number?: string;
                              refundQualifiers?: {
                                  commissionAmount?: string;
                                  commissionOnPenalty?: string;
                                  commissionPercentage?: string;
                                  journeyTypeCode?: (...)
                                  | (...)
                                  | (...);
                                  overrideCancelFee?: string;
                                  overrideTaxes?: (...)[];
                                  splitRefundAmounts?: (...)[];
                                  tourCode?: string;
                                  waiverCode?: string;
                              };
                          }[];
                      };
                      tickets?: {
                          exchangePenalties?: (
                              { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                  hasNoShowCost?: ...;
                                  noShowPenalty?: ...;
                                  source?: ...;
                              }
                          )[];
                          isAutomatedRefundsEligible?: boolean;
                          isChangeable?: boolean;
                          isRefundable?: boolean;
                          isVoidable?: boolean;
                          number?: string;
                          refundPenalties?: (
                              { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                  hasNoShowCost?: ...;
                                  noShowPenalty?: ...;
                                  source?: ...;
                              }
                          )[];
                          refundTaxes?: { amount: string; taxCode: string }[];
                          refundTotals?: {
                              currencyCode: string;
                              fees?: string;
                              subtotal?: string;
                              taxes?: string;
                              total: string;
                          };
                      }[];
                      timestamp?: string;
                  };
              };
              headers: { [name: string]: unknown };
          }

          Successful response.

    • Optionalput?: never
    • Optionaltrace?: never
    "/createBooking": {
        delete?: never;
        get?: never;
        head?: never;
        options?: never;
        parameters: { cookie?: never; header?: never; path?: never; query?: never };
        patch?: never;
        post: {
            parameters: {
                cookie?: never;
                header: { Authorization: string };
                path?: never;
                query?: never;
            };
            requestBody: {
                content: {
                    "application/json": {
                        agency?: {
                            address?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            agencyCustomerNumber?: string;
                            contactInfo?: { emails?: string[] };
                            futureTicketingPolicy?: {
                                comment?: string;
                                queueNumber?: string;
                                ticketingDate?: string;
                                ticketingPcc?: string;
                                ticketingTime?: string;
                            };
                            ticketingPolicy?: | "TODAY"
                            | "ALREADY_TICKETED"
                            | "FUTURE_TICKETING"
                            | "TICKETING_TIME_LIMIT";
                            ticketingTimeLimitPolicy?: {
                                airlineCode?: string;
                                ticketingDate?: string;
                                ticketingTime?: string;
                            };
                        };
                        asynchronousUpdateWaitTime: number;
                        car?: {
                            bookingKey: string;
                            collectionAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            };
                            collectionSite?: { id?: string; name?: string; phone?: string };
                            deliveryAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            };
                            deliverySite?: { id?: string; name?: string; phone?: string };
                            emailIndex?: number;
                            flightIndex?: number;
                            formOfPayment?: number;
                            paymentPolicy?: "DEPOSIT" | "GUARANTEE";
                            quantity: number;
                            specialInstructions?: string;
                            travelerIndex?: number;
                        };
                        contactInfo?: { emails?: string[] } & {
                            emergencyPhones?: string[];
                            faxes?: string[];
                            phones?: string[];
                        };
                        errorHandlingPolicy?: (
                            | "HALT_ON_ERROR"
                            | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                            | "DO_NOT_HALT_ON_FLIGHT_PRICING_ERROR"
                            | "DO_NOT_HALT_ON_HOTEL_BOOKING_ERROR"
                            | "DO_NOT_HALT_ON_ANCILLARY_BOOKING_ERROR"
                            | "DO_NOT_HALT_ON_SEAT_BOOKING_ERROR"
                            | "DO_NOT_HALT_ON_CAR_BOOKING_ERROR"
                        )[];
                        flightDetails?: {
                            flightPricing?: {
                                priceComparisons?: {
                                    amount?: string;
                                    comparisonType: (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    desiredAmount: string;
                                    percent?: string;
                                }[];
                                qualifiers?: {
                                    commissionAmount?: string;
                                    commissionPercentage?: string;
                                    endorsements?: { description?: ...; useOverride?: ... };
                                    excludeFareFocusFares?: boolean;
                                    tourCode?: string;
                                    tourCodeOverrides?: (...) | (...) | (...) | (...);
                                    travelerIndices?: (...)[];
                                    validatingAirlineCode?: string;
                                } & {
                                    accountCode?: { accountCodes: ...; forceAccountCodes?: ... };
                                    adjustedSellingLevel?: {
                                        ignore?: ...;
                                        markDownAmount?: ...;
                                        markUpAmount?: ...;
                                        returnBreakdown?: ...;
                                    };
                                    baggageAllowance?: (...)[];
                                    brandedFares?: (...)[];
                                    breakFareFlightIndices?: (...)[];
                                    cabinCode?: string;
                                    commissionContractNames?: (...)[];
                                    considerMultiTicket?: boolean;
                                    corporateFare?: { corporateIds: ...; forceCorporateId?: ... };
                                    currencyPricing?: string;
                                    exchangePenalties?: {
                                        applicability?: ...;
                                        penaltyAmount?: ...;
                                        restrictionType: ...;
                                    };
                                    excludeBasicEconomyFares?: (...)[];
                                    exemptTaxes?: (...)[];
                                    flightIndices?: (...)[];
                                    forceConnectionFlightIndices?: (...)[];
                                    forceStopoverFlightIndices?: (...)[];
                                    hemisphereCode?: number;
                                    journeyCode?: number;
                                    netRemit?: {
                                        cashValue?: ...;
                                        commercialAgreementReferenceCode?: ...;
                                        creditValue?: ...;
                                        netRemitCode?: ...;
                                    };
                                    overrideTaxes?: (...)[];
                                    passengersPricing?: (...)[];
                                    passengerStatus?: (...) | (...) | (...);
                                    passengerStatusCountryCode?: string;
                                    payment?: {
                                        amountOnSecondFormOfPayment?: ...;
                                        primaryFormOfPayment: ...;
                                        secondaryFormOfPayment?: ...;
                                    };
                                    priceWithTaxes: boolean;
                                    rebookLowestFares?: boolean;
                                    retailerRule?: { forceQualifiers?: ...; qualifiers: ... };
                                    settlementMethod?: string;
                                    sideTripFlightIndices?: (...)[];
                                    spanishIslandResidentDiscountCode?: string;
                                    spanishLargeFamilyDiscountLevel?: number;
                                    specificFares?: (...)[];
                                    useExcursionFare?: boolean;
                                    useNetFare?: boolean;
                                    usePrivateFare?: boolean;
                                    usePublicFare?: boolean;
                                    useRoundTheWorldFare?: boolean;
                                };
                            }[];
                            flights?: {
                                airlineCode: string;
                                arrivalDate?: string;
                                arrivalTime?: string;
                                bookingClass: string;
                                confirmationId?: string;
                                departureDate: string;
                                departureTime: string;
                                flightNumber: number;
                                flightStatusCode: string;
                                fromAirportCode: string;
                                isMarriageGroup?: boolean;
                                seats?: {
                                    areaPreferences?: (...)[];
                                    number?: string;
                                    travelerIndex: number;
                                }[];
                                source?: "LCC"
                                | "ATPCO";
                                toAirportCode: string;
                            }[];
                            haltOnFlightStatusCodes?: (
                                "US"
                                | "NO"
                                | "NN"
                                | "UC"
                                | "UN"
                                | "UU"
                                | "LL"
                                | "HL"
                            )[];
                            retryBookingUnconfirmedFlights?: boolean;
                        };
                        flightOffer?: { offerId: string; selectedOfferItems: string[] };
                        hotel?: {
                            associatedFlightDetails?: {
                                arrivalAirlineCode?: string;
                                arrivalFlightNumber?: number;
                                arrivalTime?: string;
                                departureAirlineCode?: string;
                                departureFlightNumber?: number;
                                departureTime?: string;
                            };
                            bookingKey: string;
                            corporateDiscountCode?: number;
                            formOfPayment?: number;
                            paymentPolicy?: "DEPOSIT"
                            | "GUARANTEE"
                            | "LATE";
                            rooms?: {
                                bedTypeCode?: number;
                                isSmoking: boolean;
                                physicalDisabilityCode?: number;
                                roomExtras?: {
                                    amount?: string;
                                    quantity: number;
                                    roomExtraType: number;
                                }[];
                                travelerIndices?: number[];
                            }[];
                            specialInstruction?: string;
                            useCsl: boolean;
                        };
                        notification?: {
                            email?: | "DEFAULT"
                            | "INVOICE"
                            | "ETICKET"
                            | "ETICKET_PDF"
                            | "ITINERARY"
                            | "ITINERARY_PDF";
                            queuePlacement?: {
                                futureQueuePlacementDate?: string;
                                pcc?: string;
                                prefatoryInstructionCode: number;
                                queueName?: string;
                                queueNumber?: number;
                            }[];
                        };
                        otherServices?: {
                            airlineCode?: string;
                            chainCode?: string;
                            serviceMessage?: string;
                            travelerIndex?: number;
                            vendorCode?: string;
                        }[];
                        payment?: {
                            billingAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            formsOfPayment?: (
                                {
                                    airlinePlanCode?: string;
                                    cardNumber?: string;
                                    cardSecurityCode?: string;
                                    cardTypeCode?: string;
                                    expiryDate?: string;
                                    extendedPayment?: number;
                                    installmentAmount?: string;
                                    miscellaneousCreditCode?: string;
                                    numberOfInstallments?: number;
                                } & {
                                    agencyAddress?: {
                                        city?: ...;
                                        countryCode?: ...;
                                        postalCode?: ...;
                                        stateProvince?: ...;
                                        street?: ...;
                                    } & { freeText?: ...; name?: ... };
                                    agencyIataNumber?: string;
                                    authentications?: {
                                        amount?: ...;
                                        cardNumberCollectionCode?: ...;
                                        channelCode?: ...;
                                        currencyCode?: ...;
                                        electronicCommerceIndicator?: ...;
                                        exemptionTypeCode?: ...;
                                        issueCode?: ...;
                                        mandateTypeCode?: ...;
                                        merchantName?: ...;
                                        originalPaymentReference?: ...;
                                        resultCode?: ...;
                                        secureAuthenticationValue?: ...;
                                        secureTransactionId?: ...;
                                        tokenAuthenticationValue?: ...;
                                        updatedDateTime?: ...;
                                        verificationResultCode?: ...;
                                        version?: ...;
                                    }[];
                                    cardHolder?: {
                                        address?: {
                                            city?: ...;
                                            countryCode?: ...;
                                            postalCode?: ...;
                                            stateProvince?: ...;
                                            street?: ...;
                                        };
                                        email?: string;
                                        givenName: string;
                                        phone?: string;
                                        surname: string;
                                    };
                                    companyAddress?: {
                                        city?: ...;
                                        countryCode?: ...;
                                        postalCode?: ...;
                                        stateProvince?: ...;
                                        street?: ...;
                                    } & { freeText?: ...; name?: ... };
                                    corporateId?: string;
                                    docketDescription?: string;
                                    docketIssuingAgentInitials?: string;
                                    docketNumber?: string;
                                    docketPrefix?: string;
                                    governmentTravelRequestDescription?: string;
                                    invoiceDescription?: string;
                                    isAgencyPaymentCard?: boolean;
                                    manualApproval?: {
                                        airlineCode: string;
                                        amount: string;
                                        code: string;
                                        currencyCode: string;
                                        expiryDateTime: string;
                                        requestDateTime: string;
                                    };
                                    netBalance?: string;
                                    tripType?: | "All"
                                    | "Unknown"
                                    | "Corporate/Business"
                                    | "Leisure"
                                    | "Emergency"
                                    | "Family"
                                    | "Group";
                                    tripTypes?: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                    type:
                                        | "INVOICE"
                                        | "CORPORATE"
                                        | "PAYMENTCARD"
                                        | "CASH"
                                        | "CHECK"
                                        | "MISCELLANEOUS"
                                        | "INSTALLMENTS"
                                        | "VIRTUAL_CARD"
                                        | "AGENCY_NAME"
                                        | "AGENCY_IATA"
                                        | "COMPANY_NAME"
                                        | "VOUCHER"
                                        | "DOCKET"
                                        | "GOVERNMENT_TRAVEL_REQUEST";
                                    useType?: | "All"
                                    | "Other"
                                    | "Tour"
                                    | "Unknown"
                                    | "Ancillary"
                                    | "Hotel"
                                    | "Car"
                                    | "Cruise"
                                    | "Airline"
                                    | "Bus/Ground Transportation"
                                    | "Insurance"
                                    | "Low-Cost Carrier"
                                    | "Rail"
                                    | "Specialty Service"
                                    | "Interface Record";
                                    useTypes?: (
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                    )[];
                                    virtualCard?: {
                                        agencyEmail?: string;
                                        customerAccountCode?: string;
                                        hotelFax?: string;
                                        hotelName?: string;
                                        rateAmount?: { amount: ...; currencyCode: ... };
                                        roomDescription?: string;
                                        roomType?: string;
                                        virtualCardCharges?: (...)[];
                                    };
                                    voucher?: { billingNumber?: string; type?: string };
                                }
                            )[];
                        };
                        profiles?: {
                            domainId: string;
                            filterId?: string;
                            profileName?: string;
                            profileTypeCode: string;
                            uniqueId?: string;
                        }[];
                        receivedFrom: string;
                        remarks?: (
                            {
                                alphaCode?: string;
                                text?: string;
                                type?: | "INVOICE"
                                | "ITINERARY"
                                | "GENERAL"
                                | "HISTORICAL"
                                | "CLIENT_ADDRESS"
                                | "ALPHA_CODED"
                                | "DELIVERY_ADDRESS"
                                | "HIDDEN"
                                | "CORPORATE"
                                | "FORM_OF_PAYMENT"
                                | "PRINT_ON_TICKET"
                                | "FILLER_STRIP"
                                | "INTERFACE"
                                | "QUEUE_PLACE";
                            } & {
                                queuePlacement?: {
                                    futureQueuePlacementDate?: string;
                                    pcc?: string;
                                    prefatoryInstructionCode: number;
                                    queueName?: string;
                                    queueNumber?: number;
                                };
                            }
                        )[];
                        retentionEndDate?: string;
                        retentionLabel?: string;
                        targetPcc?: string;
                        travelers?: {
                            age?: number;
                            ancillaries?: {
                                airlineCode: string;
                                basePrice: string;
                                commercialName?: string;
                                currencyCode: string;
                                electronicMiscellaneousDocumentType: | "ETICKET"
                                | "STANDALONE"
                                | "FLIGHT_COUPON_ASSOCIATED"
                                | "STANDALONE_TICKET_ASSOCIATED"
                                | "OTHER_THAN_EMD";
                                firstTravelDate?: string;
                                flightApplicabilityType?: "Unknown"
                                | "Single"
                                | "Multiple";
                                flightIndices: number[];
                                groupCode: string;
                                lastTravelDate?: string;
                                numberOfItems: number;
                                purchaseDateTime?: string;
                                reasonForIssuance?:
                                    | "UNKNOWN"
                                    | "AIR_TRANSPORTATION"
                                    | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                                    | "BAGGAGE"
                                    | "FINANCIAL_IMPACT"
                                    | "AIRPORT_SERVICES"
                                    | "MERCHANDISE"
                                    | "INFLIGHT_SERVICES"
                                    | "INDIVIDUAL_AIRLINE_USE";
                                source?: "ATPCO"
                                | "MERCHANDISING_MANAGER";
                                specialServiceIndex?: number;
                                subcode: string;
                                totalPrice?: string;
                                vendorCode?: string;
                            }[];
                            birthDate?: string;
                            emails?: string[];
                            formOfPaymentIndices?: number[];
                            gender?: | "FEMALE"
                            | "MALE"
                            | "INFANT_FEMALE"
                            | "INFANT_MALE"
                            | "UNDISCLOSED"
                            | "UNDEFINED";
                            givenName?: string;
                            id?: string;
                            identityDocuments?: {
                                birthDate?: string;
                                documentNumber?: string;
                                documentSubType?: "RUC"
                                | "CUIT/CUIL"
                                | "NIT";
                                documentType:
                                    | "MILITARY"
                                    | "PASSPORT"
                                    | "VISA"
                                    | "SECURE_FLIGHT_PASSENGER_DATA"
                                    | "RESIDENCE_ADDRESS"
                                    | "DESTINATION_ADDRESS"
                                    | "KNOWN_TRAVELER_NUMBER"
                                    | "REDRESS_NUMBER"
                                    | "ALIEN_RESIDENT"
                                    | "PERMANENT_RESIDENT"
                                    | "FACILITATION_DOCUMENT"
                                    | "NATIONAL_ID_CARD"
                                    | "NEXUS_CARD"
                                    | "NATURALIZATION_CERTIFICATE"
                                    | "REFUGEE_REENTRY_PERMIT"
                                    | "BORDER_CROSSING_CARD"
                                    | "FISCAL_ID";
                                expiryDate?: string;
                                flightIndices?: number[];
                                gender?: | "FEMALE"
                                | "MALE"
                                | "INFANT_FEMALE"
                                | "INFANT_MALE"
                                | "UNDISCLOSED"
                                | "UNDEFINED";
                                givenName?: string;
                                hostCountryCode?: string;
                                isLapChildDocument?: boolean;
                                isPrimaryDocumentHolder?: boolean;
                                issueDate?: string;
                                issuingCountryCode?: string;
                                middleName?: string;
                                placeOfBirth?: string;
                                placeOfIssue?: string;
                                residenceCountryCode?: string;
                                residenceOrDestinationAddress?: {
                                    city?: string;
                                    countryCode?: string;
                                    postalCode?: string;
                                    stateProvince?: string;
                                    street?: string;
                                };
                                surname?: string;
                            }[];
                            loyaltyPrograms?: {
                                programNumber: string;
                                programType?: | "FREQUENT_FLYER"
                                | "FREQUENT_RENTER"
                                | "LOYALTY_ID"
                                | "CORPORATE_LOYALTY_ID";
                                receiverCode?: string;
                                supplierCode?: string;
                                tierLevel?: number;
                            }[];
                            nameReferenceCode?: string;
                            passengerCode?: string;
                            phones?: { label?: string; number: string }[];
                            specialServices?: {
                                code: string;
                                flightIndices?: number[];
                                message?: string;
                            }[];
                            surname?: string;
                        }[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            booking?: {
                                accountingItems?: {
                                    airlineCode?: string;
                                    cardNumber?: string;
                                    cardTypeCode?: string;
                                    commission?: {
                                        commissionAmount?: string;
                                        commissionPercentage?: string;
                                        currencyCode?: string;
                                    };
                                    creationType?: "Refund"
                                    | "Exchange"
                                    | "First Issuance";
                                    currencyCode?: string;
                                    fareAmount?: string;
                                    fareApplicationType?:
                                        | "Single Traveler"
                                        | "All Travelers"
                                        | "Each Traveler";
                                    formOfPaymentType?: | "Unknown"
                                    | "Cash"
                                    | "Check"
                                    | "Check or Cash"
                                    | "Payment Card"
                                    | "Masked Payment Card";
                                    tariffBasisType?: "Domestic"
                                    | "Foreign"
                                    | "International";
                                    taxAmount?: string;
                                    ticketNumber?: string;
                                    travelerIndices?: number[];
                                }[];
                                agencyCustomerNumber?: string;
                                allSegments?: (
                                    { id: string } & {
                                        address?: (...) & (...);
                                        date?: string;
                                        endAddress?: (...) & (...);
                                        endDate?: string;
                                        endLocationCode?: string;
                                        endTime?: string;
                                        locationCode?: string;
                                        startAddress?: (...) & (...);
                                        startDate?: string;
                                        startLocationCode?: string;
                                        startTime?: string;
                                        text?: string;
                                        time?: string;
                                        type: string;
                                        vendorCode?: string;
                                    }
                                )[];
                                bookingId?: string;
                                cars?: (
                                    { itemId: string } & {
                                        carStatusCode?: string;
                                        carStatusName?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        collectionAddress?: {
                                            city?: ...;
                                            countryCode?: ...;
                                            postalCode?: ...;
                                            stateProvince?: ...;
                                            street?: ...;
                                        };
                                        collectionSite?: { id?: ...; name?: ...; phone?: ... };
                                        confirmationId?: string;
                                        deliveryAddress?: {
                                            city?: ...;
                                            countryCode?: ...;
                                            postalCode?: ...;
                                            stateProvince?: ...;
                                            street?: ...;
                                        };
                                        deliverySite?: { id?: ...; name?: ...; phone?: ... };
                                        distanceAllowance?: string;
                                        dropOffAddress?: (...) & (...);
                                        dropOffContactInfo?: (...) & (...);
                                        dropOffDate: string;
                                        dropOffLocationCode?: string;
                                        dropOffTime: string;
                                        guaranteePaymentNote?: string;
                                        isRefundable: boolean;
                                        numberOfVehicles?: number;
                                        payment?: {
                                            currencyCode: ...;
                                            fees?: ...;
                                            subtotal?: ...;
                                            taxes?: ...;
                                            total: ...;
                                        };
                                        pickUpAddress: (...) & (...);
                                        pickUpContactInfo?: (...) & (...);
                                        pickUpDate: string;
                                        pickUpLocationCode?: string;
                                        pickUpTime: string;
                                        rateCode?: string;
                                        refundPenalties?: (...)[];
                                        specialInstructions?: string;
                                        travelerIndex?: number;
                                        vehicleTypeCode?: string;
                                        vehicleTypeName?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        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?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        departureDate: string;
                                        departureTime?: string;
                                        fromPortCode: string;
                                        numberOfGuests?: number;
                                        shipCode?: string;
                                        shipName?: string;
                                        toPortCode?: string;
                                        vendorCode: string;
                                    }
                                )[];
                                endDate?: string;
                                fareOffers?: {
                                    cabinBaggageAllowance?: {
                                        baggagePieces?: (...)[];
                                        maximumPieces?: number;
                                        totalWeightInKilograms?: number;
                                        totalWeightInPounds?: number;
                                    };
                                    cabinBaggageCharges?: {
                                        fee?: ...;
                                        isCheckInOnly?: ...;
                                        maximumSizeInCentimeters?: ...;
                                        maximumSizeInInches?: ...;
                                        maximumWeightInKilograms?: ...;
                                        maximumWeightInPounds?: ...;
                                        numberOfPieces: ...;
                                        specialItemDescription?: ...;
                                    }[];
                                    checkedBaggageAllowance?: {
                                        baggagePieces?: (...)[];
                                        maximumPieces?: number;
                                        totalWeightInKilograms?: number;
                                        totalWeightInPounds?: number;
                                    };
                                    checkedBaggageCharges?: {
                                        fee?: ...;
                                        isCheckInOnly?: ...;
                                        maximumSizeInCentimeters?: ...;
                                        maximumSizeInInches?: ...;
                                        maximumWeightInKilograms?: ...;
                                        maximumWeightInPounds?: ...;
                                        numberOfPieces: ...;
                                        specialItemDescription?: ...;
                                    }[];
                                    flights?: { itemId: ... }[];
                                    travelerIndices?: number[];
                                }[];
                                fareRules?: {
                                    destinationAirportCode?: string;
                                    exchangePenalties?: {
                                        applicability: ...;
                                        conditionsApply: ...;
                                        penalty: ...;
                                    }[];
                                    isChangeable?: boolean;
                                    isRefundable?: boolean;
                                    originAirportCode?: string;
                                    owningAirlineCode: string;
                                    passengerCode?: string;
                                    refundPenalties?: {
                                        applicability: ...;
                                        conditionsApply: ...;
                                        penalty: ...;
                                    }[];
                                }[];
                                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?: ...;
                                        brandAttributes?: ...;
                                        brandFareCode?: ...;
                                        brandFareName?: ...;
                                        brandProgramCode?: ...;
                                        brandProgramName?: ...;
                                        checkedBaggageAllowance?: ...;
                                        fareBasisCode?: ...;
                                        flightIndices?: ...;
                                        flights?: ...;
                                        isCurrentItinerary?: ...;
                                    }[];
                                    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?: ...; taxCode?: ... }[];
                                    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?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        fromAirportCode: string;
                                        hiddenStopAircraftTypeCode?: string;
                                        hiddenStopAircraftTypeName?: string;
                                        hiddenStopAirportCode?: string;
                                        hiddenStopArrivalDate?: string;
                                        hiddenStopArrivalTime?: string;
                                        hiddenStopDepartureDate?: string;
                                        hiddenStopDepartureTime?: string;
                                        hiddenStops?: (...)[];
                                        identityDocuments?: (...)[];
                                        isPast?: boolean;
                                        meals?: (...)[];
                                        numberOfSeats?: number;
                                        operatingAirlineCode?: string;
                                        operatingAirlineName?: string;
                                        operatingFlightNumber?: number;
                                        seats?: (...)[];
                                        sourceType?: (...) | (...) | (...);
                                        toAirportCode: string;
                                        travelerIndices?: (...)[];
                                        updatedArrivalDate?: string;
                                        updatedArrivalTime?: string;
                                        updatedDepartureDate?: string;
                                        updatedDepartureTime?: string;
                                    }
                                )[];
                                flightTickets?: {
                                    agencyIataNumber?: string;
                                    airlineCode: string;
                                    allCoupons?: ((...) & (...))[];
                                    commission?: {
                                        commissionAmount?: string;
                                        commissionPercentage?: string;
                                        currencyCode?: string;
                                    };
                                    date: string;
                                    flightCoupons: ((...) & (...))[];
                                    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: (...) & (...) & (...);
                                        associatedFlightDetails?: {
                                            arrivalAirlineCode?: ...;
                                            arrivalFlightNumber?: ...;
                                            arrivalTime?: ...;
                                            departureAirlineCode?: ...;
                                            departureFlightNumber?: ...;
                                            departureTime?: ...;
                                        };
                                        chainCode?: string;
                                        chainName?: string;
                                        checkInDate: string;
                                        checkInTime: string;
                                        checkOutDate: string;
                                        checkOutTime: string;
                                        confirmationId?: string;
                                        contactInfo?: (...) & (...);
                                        corporateDiscountCode?: number;
                                        guaranteePaymentNote?: string;
                                        guaranteeTypeCode?: number;
                                        guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                                        hotelName: string;
                                        hotelStatusCode?: string;
                                        hotelStatusName?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        isRefundable: boolean;
                                        leadTravelerIndex?: number;
                                        numberOfGuests?: number;
                                        payment?: {
                                            currencyCode: ...;
                                            fees?: ...;
                                            subtotal?: ...;
                                            taxes?: ...;
                                            total: ...;
                                        };
                                        paymentPolicy?: (...)
                                        | (...)
                                        | (...);
                                        propertyId?: string;
                                        refundPenalties?: (...)[];
                                        refundPenaltyPolicyCode?: string;
                                        room?: {
                                            agencyCommission?: ...;
                                            description?: ...;
                                            productCode?: ...;
                                            quantity: ...;
                                            roomRate?: ...;
                                            roomType: ...;
                                            roomTypeCode?: ...;
                                            travelerIndices?: ...;
                                        };
                                        sabrePropertyId?: string;
                                        sourceTypeCode?: number;
                                        sourceTypeName?: | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                        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?: ...;
                                            cardNumber?: ...;
                                            cardSecurityCode?: ...;
                                            cardTypeCode?: ...;
                                            expiryDate?: ...;
                                            extendedPayment?: ...;
                                            installmentAmount?: ...;
                                            miscellaneousCreditCode?: ...;
                                            numberOfInstallments?: ...;
                                        } & {
                                            agencyAddress?: ...;
                                            agencyIataNumber?: ...;
                                            authentications?: ...;
                                            cardHolder?: ...;
                                            companyAddress?: ...;
                                            corporateId?: ...;
                                            docketDescription?: ...;
                                            docketIssuingAgentInitials?: ...;
                                            docketNumber?: ...;
                                            docketPrefix?: ...;
                                            governmentTravelRequestDescription?: ...;
                                            invoiceDescription?: ...;
                                            isAgencyPaymentCard?: ...;
                                            manualApproval?: ...;
                                            netBalance?: ...;
                                            tripType?: ...;
                                            tripTypes?: ...;
                                            type: ...;
                                            useType?: ...;
                                            useTypes?: ...;
                                            virtualCard?: ...;
                                            voucher?: ...;
                                        }
                                    )[];
                                    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: ... }[];
                                    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: ...;
                                            fees?: ...;
                                            subtotal?: ...;
                                            taxes?: ...;
                                            total: ...;
                                        };
                                        toStationCode: string;
                                        toStationName?: string;
                                        trainName?: string;
                                        trainNumber: string;
                                        trainStatusCode?: string;
                                        trainStatusName?: | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                        vendorCode: string;
                                        vendorName?: string;
                                    }
                                )[];
                                travelers?: {
                                    address?: {
                                        city?: ...;
                                        countryCode?: ...;
                                        postalCode?: ...;
                                        stateProvince?: ...;
                                        street?: ...;
                                    } & { freeText?: ...; name?: ... };
                                    ancillaries?: {
                                        airlineCode?: ...;
                                        commercialName?: ...;
                                        electronicMiscellaneousDocumentNumber?: ...;
                                        flightApplicabilityType?: ...;
                                        flights?: ...;
                                        isCommissionable?: ...;
                                        isRefundable?: ...;
                                        itemId?: ...;
                                        numberOfItems?: ...;
                                        reasonForIssuanceCode?: ...;
                                        reasonForIssuanceName?: ...;
                                        source?: ...;
                                        statusCode?: ...;
                                        statusName?: ...;
                                        subcode?: ...;
                                        totals?: ...;
                                        vendorCode?: ...;
                                    }[];
                                    birthDate?: string;
                                    emails?: string[];
                                    formOfPaymentIndices?: number[];
                                    gender?: | "FEMALE"
                                    | "MALE"
                                    | "INFANT_FEMALE"
                                    | "INFANT_MALE"
                                    | "UNDISCLOSED"
                                    | "UNDEFINED";
                                    givenName: string;
                                    identityDocuments?: {
                                        birthDate?: ...;
                                        documentNumber?: ...;
                                        documentSubType?: ...;
                                        documentType: ...;
                                        expiryDate?: ...;
                                        flightIndices?: ...;
                                        gender?: ...;
                                        givenName?: ...;
                                        hostCountryCode?: ...;
                                        isLapChildDocument?: ...;
                                        isPrimaryDocumentHolder?: ...;
                                        issueDate?: ...;
                                        issuingCountryCode?: ...;
                                        itemId?: ...;
                                        middleName?: ...;
                                        placeOfBirth?: ...;
                                        placeOfIssue?: ...;
                                        residenceCountryCode?: ...;
                                        residenceDestinationAddress?: ...;
                                        surname?: ...;
                                    }[];
                                    isGrouped?: boolean;
                                    loyaltyPrograms?: {
                                        programNumber: ...;
                                        programType?: ...;
                                        receiverCode?: ...;
                                        supplierCode?: ...;
                                        tierLevel?: ...;
                                    }[];
                                    middleName?: string;
                                    nameAssociationId?: string;
                                    nameReferenceCode?: string;
                                    passengerCode?: string;
                                    phones?: { label?: ...; number: ... }[];
                                    remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                                    surname: string;
                                    type?:
                                        | "ADULT"
                                        | "AGENT"
                                        | "AIRLINE"
                                        | "CHILD"
                                        | "EDUCATION"
                                        | "GOVERNMENT"
                                        | "GROUP"
                                        | "INFANT"
                                        | "MILITARY"
                                        | "SENIOR"
                                        | "SPECIAL"
                                        | "YOUTH";
                                }[];
                                travelersGroup?: {
                                    itemId?: string;
                                    name?: string;
                                    numberOfTravelers?: number;
                                    numberOfTravelersRemaining?: number;
                                };
                            };
                            confirmationId?: string;
                            errors?: {
                                category: string;
                                description?: string;
                                fieldName?: string;
                                fieldPath?: string;
                                fieldValue?: string;
                                type: string;
                            }[];
                            request?: {
                                agency?: {
                                    address?: {
                                        city?: string;
                                        countryCode?: string;
                                        postalCode?: string;
                                        stateProvince?: string;
                                        street?: string;
                                    } & { freeText?: string; name?: string };
                                    agencyCustomerNumber?: string;
                                    contactInfo?: { emails?: string[] };
                                    futureTicketingPolicy?: {
                                        comment?: string;
                                        queueNumber?: string;
                                        ticketingDate?: string;
                                        ticketingPcc?: string;
                                        ticketingTime?: string;
                                    };
                                    ticketingPolicy?: | "TODAY"
                                    | "ALREADY_TICKETED"
                                    | "FUTURE_TICKETING"
                                    | "TICKETING_TIME_LIMIT";
                                    ticketingTimeLimitPolicy?: {
                                        airlineCode?: string;
                                        ticketingDate?: string;
                                        ticketingTime?: string;
                                    };
                                };
                                asynchronousUpdateWaitTime: number;
                                car?: {
                                    bookingKey: string;
                                    collectionAddress?: {
                                        city?: string;
                                        countryCode?: string;
                                        postalCode?: string;
                                        stateProvince?: string;
                                        street?: string;
                                    };
                                    collectionSite?: { id?: string; name?: string; phone?: string };
                                    deliveryAddress?: {
                                        city?: string;
                                        countryCode?: string;
                                        postalCode?: string;
                                        stateProvince?: string;
                                        street?: string;
                                    };
                                    deliverySite?: { id?: string; name?: string; phone?: string };
                                    emailIndex?: number;
                                    flightIndex?: number;
                                    formOfPayment?: number;
                                    paymentPolicy?: "DEPOSIT" | "GUARANTEE";
                                    quantity: number;
                                    specialInstructions?: string;
                                    travelerIndex?: number;
                                };
                                contactInfo?: { emails?: string[] } & {
                                    emergencyPhones?: string[];
                                    faxes?: string[];
                                    phones?: string[];
                                };
                                errorHandlingPolicy?: (
                                    | "HALT_ON_ERROR"
                                    | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                                    | "DO_NOT_HALT_ON_FLIGHT_PRICING_ERROR"
                                    | "DO_NOT_HALT_ON_HOTEL_BOOKING_ERROR"
                                    | "DO_NOT_HALT_ON_ANCILLARY_BOOKING_ERROR"
                                    | "DO_NOT_HALT_ON_SEAT_BOOKING_ERROR"
                                    | "DO_NOT_HALT_ON_CAR_BOOKING_ERROR"
                                )[];
                                flightDetails?: {
                                    flightPricing?: {
                                        priceComparisons?: (...)[];
                                        qualifiers?: (...) & (...);
                                    }[];
                                    flights?: {
                                        airlineCode: string;
                                        arrivalDate?: string;
                                        arrivalTime?: string;
                                        bookingClass: string;
                                        confirmationId?: string;
                                        departureDate: string;
                                        departureTime: string;
                                        flightNumber: number;
                                        flightStatusCode: string;
                                        fromAirportCode: string;
                                        isMarriageGroup?: boolean;
                                        seats?: (...)[];
                                        source?: (...) | (...);
                                        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?: (...)[];
                                        travelerIndices?: (...)[];
                                    }[];
                                    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?: ...;
                                            cardNumber?: ...;
                                            cardSecurityCode?: ...;
                                            cardTypeCode?: ...;
                                            expiryDate?: ...;
                                            extendedPayment?: ...;
                                            installmentAmount?: ...;
                                            miscellaneousCreditCode?: ...;
                                            numberOfInstallments?: ...;
                                        } & {
                                            agencyAddress?: ...;
                                            agencyIataNumber?: ...;
                                            authentications?: ...;
                                            cardHolder?: ...;
                                            companyAddress?: ...;
                                            corporateId?: ...;
                                            docketDescription?: ...;
                                            docketIssuingAgentInitials?: ...;
                                            docketNumber?: ...;
                                            docketPrefix?: ...;
                                            governmentTravelRequestDescription?: ...;
                                            invoiceDescription?: ...;
                                            isAgencyPaymentCard?: ...;
                                            manualApproval?: ...;
                                            netBalance?: ...;
                                            tripType?: ...;
                                            tripTypes?: ...;
                                            type: ...;
                                            useType?: ...;
                                            useTypes?: ...;
                                            virtualCard?: ...;
                                            voucher?: ...;
                                        }
                                    )[];
                                };
                                profiles?: {
                                    domainId: string;
                                    filterId?: string;
                                    profileName?: string;
                                    profileTypeCode: string;
                                    uniqueId?: string;
                                }[];
                                receivedFrom: string;
                                remarks?: (
                                    {
                                        alphaCode?: string;
                                        text?: string;
                                        type?: | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    } & {
                                        queuePlacement?: {
                                            futureQueuePlacementDate?: ...;
                                            pcc?: ...;
                                            prefatoryInstructionCode: ...;
                                            queueName?: ...;
                                            queueNumber?: ...;
                                        };
                                    }
                                )[];
                                retentionEndDate?: string;
                                retentionLabel?: string;
                                targetPcc?: string;
                                travelers?: {
                                    age?: number;
                                    ancillaries?: {
                                        airlineCode: ...;
                                        basePrice: ...;
                                        commercialName?: ...;
                                        currencyCode: ...;
                                        electronicMiscellaneousDocumentType: ...;
                                        firstTravelDate?: ...;
                                        flightApplicabilityType?: ...;
                                        flightIndices: ...;
                                        groupCode: ...;
                                        lastTravelDate?: ...;
                                        numberOfItems: ...;
                                        purchaseDateTime?: ...;
                                        reasonForIssuance?: ...;
                                        source?: ...;
                                        specialServiceIndex?: ...;
                                        subcode: ...;
                                        totalPrice?: ...;
                                        vendorCode?: ...;
                                    }[];
                                    birthDate?: string;
                                    emails?: string[];
                                    formOfPaymentIndices?: number[];
                                    gender?: | "FEMALE"
                                    | "MALE"
                                    | "INFANT_FEMALE"
                                    | "INFANT_MALE"
                                    | "UNDISCLOSED"
                                    | "UNDEFINED";
                                    givenName?: string;
                                    id?: string;
                                    identityDocuments?: {
                                        birthDate?: ...;
                                        documentNumber?: ...;
                                        documentSubType?: ...;
                                        documentType: ...;
                                        expiryDate?: ...;
                                        flightIndices?: ...;
                                        gender?: ...;
                                        givenName?: ...;
                                        hostCountryCode?: ...;
                                        isLapChildDocument?: ...;
                                        isPrimaryDocumentHolder?: ...;
                                        issueDate?: ...;
                                        issuingCountryCode?: ...;
                                        middleName?: ...;
                                        placeOfBirth?: ...;
                                        placeOfIssue?: ...;
                                        residenceCountryCode?: ...;
                                        residenceOrDestinationAddress?: ...;
                                        surname?: ...;
                                    }[];
                                    loyaltyPrograms?: {
                                        programNumber: ...;
                                        programType?: ...;
                                        receiverCode?: ...;
                                        supplierCode?: ...;
                                        tierLevel?: ...;
                                    }[];
                                    nameReferenceCode?: string;
                                    passengerCode?: string;
                                    phones?: { label?: ...; number: ... }[];
                                    specialServices?: { code: ...; flightIndices?: ...; message?: ... }[];
                                    surname?: string;
                                }[];
                            };
                            timestamp?: string;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        put?: never;
        trace?: never;
    }

    Type Declaration

    • Optionaldelete?: never
    • Optionalget?: never
    • Optionalhead?: never
    • Optionaloptions?: never
    • parameters: { cookie?: never; header?: never; path?: never; query?: never }
    • Optionalpatch?: never
    • post: {
          parameters: {
              cookie?: never;
              header: { Authorization: string };
              path?: never;
              query?: never;
          };
          requestBody: {
              content: {
                  "application/json": {
                      agency?: {
                          address?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          agencyCustomerNumber?: string;
                          contactInfo?: { emails?: string[] };
                          futureTicketingPolicy?: {
                              comment?: string;
                              queueNumber?: string;
                              ticketingDate?: string;
                              ticketingPcc?: string;
                              ticketingTime?: string;
                          };
                          ticketingPolicy?: | "TODAY"
                          | "ALREADY_TICKETED"
                          | "FUTURE_TICKETING"
                          | "TICKETING_TIME_LIMIT";
                          ticketingTimeLimitPolicy?: {
                              airlineCode?: string;
                              ticketingDate?: string;
                              ticketingTime?: string;
                          };
                      };
                      asynchronousUpdateWaitTime: number;
                      car?: {
                          bookingKey: string;
                          collectionAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          collectionSite?: { id?: string; name?: string; phone?: string };
                          deliveryAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          deliverySite?: { id?: string; name?: string; phone?: string };
                          emailIndex?: number;
                          flightIndex?: number;
                          formOfPayment?: number;
                          paymentPolicy?: "DEPOSIT" | "GUARANTEE";
                          quantity: number;
                          specialInstructions?: string;
                          travelerIndex?: number;
                      };
                      contactInfo?: { emails?: string[] } & {
                          emergencyPhones?: string[];
                          faxes?: string[];
                          phones?: string[];
                      };
                      errorHandlingPolicy?: (
                          | "HALT_ON_ERROR"
                          | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                          | "DO_NOT_HALT_ON_FLIGHT_PRICING_ERROR"
                          | "DO_NOT_HALT_ON_HOTEL_BOOKING_ERROR"
                          | "DO_NOT_HALT_ON_ANCILLARY_BOOKING_ERROR"
                          | "DO_NOT_HALT_ON_SEAT_BOOKING_ERROR"
                          | "DO_NOT_HALT_ON_CAR_BOOKING_ERROR"
                      )[];
                      flightDetails?: {
                          flightPricing?: {
                              priceComparisons?: {
                                  amount?: string;
                                  comparisonType: (...)
                                  | (...)
                                  | (...)
                                  | (...);
                                  desiredAmount: string;
                                  percent?: string;
                              }[];
                              qualifiers?: {
                                  commissionAmount?: string;
                                  commissionPercentage?: string;
                                  endorsements?: { description?: ...; useOverride?: ... };
                                  excludeFareFocusFares?: boolean;
                                  tourCode?: string;
                                  tourCodeOverrides?: (...) | (...) | (...) | (...);
                                  travelerIndices?: (...)[];
                                  validatingAirlineCode?: string;
                              } & {
                                  accountCode?: { accountCodes: ...; forceAccountCodes?: ... };
                                  adjustedSellingLevel?: {
                                      ignore?: ...;
                                      markDownAmount?: ...;
                                      markUpAmount?: ...;
                                      returnBreakdown?: ...;
                                  };
                                  baggageAllowance?: (...)[];
                                  brandedFares?: (...)[];
                                  breakFareFlightIndices?: (...)[];
                                  cabinCode?: string;
                                  commissionContractNames?: (...)[];
                                  considerMultiTicket?: boolean;
                                  corporateFare?: { corporateIds: ...; forceCorporateId?: ... };
                                  currencyPricing?: string;
                                  exchangePenalties?: {
                                      applicability?: ...;
                                      penaltyAmount?: ...;
                                      restrictionType: ...;
                                  };
                                  excludeBasicEconomyFares?: (...)[];
                                  exemptTaxes?: (...)[];
                                  flightIndices?: (...)[];
                                  forceConnectionFlightIndices?: (...)[];
                                  forceStopoverFlightIndices?: (...)[];
                                  hemisphereCode?: number;
                                  journeyCode?: number;
                                  netRemit?: {
                                      cashValue?: ...;
                                      commercialAgreementReferenceCode?: ...;
                                      creditValue?: ...;
                                      netRemitCode?: ...;
                                  };
                                  overrideTaxes?: (...)[];
                                  passengersPricing?: (...)[];
                                  passengerStatus?: (...) | (...) | (...);
                                  passengerStatusCountryCode?: string;
                                  payment?: {
                                      amountOnSecondFormOfPayment?: ...;
                                      primaryFormOfPayment: ...;
                                      secondaryFormOfPayment?: ...;
                                  };
                                  priceWithTaxes: boolean;
                                  rebookLowestFares?: boolean;
                                  retailerRule?: { forceQualifiers?: ...; qualifiers: ... };
                                  settlementMethod?: string;
                                  sideTripFlightIndices?: (...)[];
                                  spanishIslandResidentDiscountCode?: string;
                                  spanishLargeFamilyDiscountLevel?: number;
                                  specificFares?: (...)[];
                                  useExcursionFare?: boolean;
                                  useNetFare?: boolean;
                                  usePrivateFare?: boolean;
                                  usePublicFare?: boolean;
                                  useRoundTheWorldFare?: boolean;
                              };
                          }[];
                          flights?: {
                              airlineCode: string;
                              arrivalDate?: string;
                              arrivalTime?: string;
                              bookingClass: string;
                              confirmationId?: string;
                              departureDate: string;
                              departureTime: string;
                              flightNumber: number;
                              flightStatusCode: string;
                              fromAirportCode: string;
                              isMarriageGroup?: boolean;
                              seats?: {
                                  areaPreferences?: (...)[];
                                  number?: string;
                                  travelerIndex: number;
                              }[];
                              source?: "LCC"
                              | "ATPCO";
                              toAirportCode: string;
                          }[];
                          haltOnFlightStatusCodes?: (
                              "US"
                              | "NO"
                              | "NN"
                              | "UC"
                              | "UN"
                              | "UU"
                              | "LL"
                              | "HL"
                          )[];
                          retryBookingUnconfirmedFlights?: boolean;
                      };
                      flightOffer?: { offerId: string; selectedOfferItems: string[] };
                      hotel?: {
                          associatedFlightDetails?: {
                              arrivalAirlineCode?: string;
                              arrivalFlightNumber?: number;
                              arrivalTime?: string;
                              departureAirlineCode?: string;
                              departureFlightNumber?: number;
                              departureTime?: string;
                          };
                          bookingKey: string;
                          corporateDiscountCode?: number;
                          formOfPayment?: number;
                          paymentPolicy?: "DEPOSIT"
                          | "GUARANTEE"
                          | "LATE";
                          rooms?: {
                              bedTypeCode?: number;
                              isSmoking: boolean;
                              physicalDisabilityCode?: number;
                              roomExtras?: {
                                  amount?: string;
                                  quantity: number;
                                  roomExtraType: number;
                              }[];
                              travelerIndices?: number[];
                          }[];
                          specialInstruction?: string;
                          useCsl: boolean;
                      };
                      notification?: {
                          email?: | "DEFAULT"
                          | "INVOICE"
                          | "ETICKET"
                          | "ETICKET_PDF"
                          | "ITINERARY"
                          | "ITINERARY_PDF";
                          queuePlacement?: {
                              futureQueuePlacementDate?: string;
                              pcc?: string;
                              prefatoryInstructionCode: number;
                              queueName?: string;
                              queueNumber?: number;
                          }[];
                      };
                      otherServices?: {
                          airlineCode?: string;
                          chainCode?: string;
                          serviceMessage?: string;
                          travelerIndex?: number;
                          vendorCode?: string;
                      }[];
                      payment?: {
                          billingAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          formsOfPayment?: (
                              {
                                  airlinePlanCode?: string;
                                  cardNumber?: string;
                                  cardSecurityCode?: string;
                                  cardTypeCode?: string;
                                  expiryDate?: string;
                                  extendedPayment?: number;
                                  installmentAmount?: string;
                                  miscellaneousCreditCode?: string;
                                  numberOfInstallments?: number;
                              } & {
                                  agencyAddress?: {
                                      city?: ...;
                                      countryCode?: ...;
                                      postalCode?: ...;
                                      stateProvince?: ...;
                                      street?: ...;
                                  } & { freeText?: ...; name?: ... };
                                  agencyIataNumber?: string;
                                  authentications?: {
                                      amount?: ...;
                                      cardNumberCollectionCode?: ...;
                                      channelCode?: ...;
                                      currencyCode?: ...;
                                      electronicCommerceIndicator?: ...;
                                      exemptionTypeCode?: ...;
                                      issueCode?: ...;
                                      mandateTypeCode?: ...;
                                      merchantName?: ...;
                                      originalPaymentReference?: ...;
                                      resultCode?: ...;
                                      secureAuthenticationValue?: ...;
                                      secureTransactionId?: ...;
                                      tokenAuthenticationValue?: ...;
                                      updatedDateTime?: ...;
                                      verificationResultCode?: ...;
                                      version?: ...;
                                  }[];
                                  cardHolder?: {
                                      address?: {
                                          city?: ...;
                                          countryCode?: ...;
                                          postalCode?: ...;
                                          stateProvince?: ...;
                                          street?: ...;
                                      };
                                      email?: string;
                                      givenName: string;
                                      phone?: string;
                                      surname: string;
                                  };
                                  companyAddress?: {
                                      city?: ...;
                                      countryCode?: ...;
                                      postalCode?: ...;
                                      stateProvince?: ...;
                                      street?: ...;
                                  } & { freeText?: ...; name?: ... };
                                  corporateId?: string;
                                  docketDescription?: string;
                                  docketIssuingAgentInitials?: string;
                                  docketNumber?: string;
                                  docketPrefix?: string;
                                  governmentTravelRequestDescription?: string;
                                  invoiceDescription?: string;
                                  isAgencyPaymentCard?: boolean;
                                  manualApproval?: {
                                      airlineCode: string;
                                      amount: string;
                                      code: string;
                                      currencyCode: string;
                                      expiryDateTime: string;
                                      requestDateTime: string;
                                  };
                                  netBalance?: string;
                                  tripType?: | "All"
                                  | "Unknown"
                                  | "Corporate/Business"
                                  | "Leisure"
                                  | "Emergency"
                                  | "Family"
                                  | "Group";
                                  tripTypes?: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                  type:
                                      | "INVOICE"
                                      | "CORPORATE"
                                      | "PAYMENTCARD"
                                      | "CASH"
                                      | "CHECK"
                                      | "MISCELLANEOUS"
                                      | "INSTALLMENTS"
                                      | "VIRTUAL_CARD"
                                      | "AGENCY_NAME"
                                      | "AGENCY_IATA"
                                      | "COMPANY_NAME"
                                      | "VOUCHER"
                                      | "DOCKET"
                                      | "GOVERNMENT_TRAVEL_REQUEST";
                                  useType?: | "All"
                                  | "Other"
                                  | "Tour"
                                  | "Unknown"
                                  | "Ancillary"
                                  | "Hotel"
                                  | "Car"
                                  | "Cruise"
                                  | "Airline"
                                  | "Bus/Ground Transportation"
                                  | "Insurance"
                                  | "Low-Cost Carrier"
                                  | "Rail"
                                  | "Specialty Service"
                                  | "Interface Record";
                                  useTypes?: (
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                                  virtualCard?: {
                                      agencyEmail?: string;
                                      customerAccountCode?: string;
                                      hotelFax?: string;
                                      hotelName?: string;
                                      rateAmount?: { amount: ...; currencyCode: ... };
                                      roomDescription?: string;
                                      roomType?: string;
                                      virtualCardCharges?: (...)[];
                                  };
                                  voucher?: { billingNumber?: string; type?: string };
                              }
                          )[];
                      };
                      profiles?: {
                          domainId: string;
                          filterId?: string;
                          profileName?: string;
                          profileTypeCode: string;
                          uniqueId?: string;
                      }[];
                      receivedFrom: string;
                      remarks?: (
                          {
                              alphaCode?: string;
                              text?: string;
                              type?: | "INVOICE"
                              | "ITINERARY"
                              | "GENERAL"
                              | "HISTORICAL"
                              | "CLIENT_ADDRESS"
                              | "ALPHA_CODED"
                              | "DELIVERY_ADDRESS"
                              | "HIDDEN"
                              | "CORPORATE"
                              | "FORM_OF_PAYMENT"
                              | "PRINT_ON_TICKET"
                              | "FILLER_STRIP"
                              | "INTERFACE"
                              | "QUEUE_PLACE";
                          } & {
                              queuePlacement?: {
                                  futureQueuePlacementDate?: string;
                                  pcc?: string;
                                  prefatoryInstructionCode: number;
                                  queueName?: string;
                                  queueNumber?: number;
                              };
                          }
                      )[];
                      retentionEndDate?: string;
                      retentionLabel?: string;
                      targetPcc?: string;
                      travelers?: {
                          age?: number;
                          ancillaries?: {
                              airlineCode: string;
                              basePrice: string;
                              commercialName?: string;
                              currencyCode: string;
                              electronicMiscellaneousDocumentType: | "ETICKET"
                              | "STANDALONE"
                              | "FLIGHT_COUPON_ASSOCIATED"
                              | "STANDALONE_TICKET_ASSOCIATED"
                              | "OTHER_THAN_EMD";
                              firstTravelDate?: string;
                              flightApplicabilityType?: "Unknown"
                              | "Single"
                              | "Multiple";
                              flightIndices: number[];
                              groupCode: string;
                              lastTravelDate?: string;
                              numberOfItems: number;
                              purchaseDateTime?: string;
                              reasonForIssuance?:
                                  | "UNKNOWN"
                                  | "AIR_TRANSPORTATION"
                                  | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                                  | "BAGGAGE"
                                  | "FINANCIAL_IMPACT"
                                  | "AIRPORT_SERVICES"
                                  | "MERCHANDISE"
                                  | "INFLIGHT_SERVICES"
                                  | "INDIVIDUAL_AIRLINE_USE";
                              source?: "ATPCO"
                              | "MERCHANDISING_MANAGER";
                              specialServiceIndex?: number;
                              subcode: string;
                              totalPrice?: string;
                              vendorCode?: string;
                          }[];
                          birthDate?: string;
                          emails?: string[];
                          formOfPaymentIndices?: number[];
                          gender?: | "FEMALE"
                          | "MALE"
                          | "INFANT_FEMALE"
                          | "INFANT_MALE"
                          | "UNDISCLOSED"
                          | "UNDEFINED";
                          givenName?: string;
                          id?: string;
                          identityDocuments?: {
                              birthDate?: string;
                              documentNumber?: string;
                              documentSubType?: "RUC"
                              | "CUIT/CUIL"
                              | "NIT";
                              documentType:
                                  | "MILITARY"
                                  | "PASSPORT"
                                  | "VISA"
                                  | "SECURE_FLIGHT_PASSENGER_DATA"
                                  | "RESIDENCE_ADDRESS"
                                  | "DESTINATION_ADDRESS"
                                  | "KNOWN_TRAVELER_NUMBER"
                                  | "REDRESS_NUMBER"
                                  | "ALIEN_RESIDENT"
                                  | "PERMANENT_RESIDENT"
                                  | "FACILITATION_DOCUMENT"
                                  | "NATIONAL_ID_CARD"
                                  | "NEXUS_CARD"
                                  | "NATURALIZATION_CERTIFICATE"
                                  | "REFUGEE_REENTRY_PERMIT"
                                  | "BORDER_CROSSING_CARD"
                                  | "FISCAL_ID";
                              expiryDate?: string;
                              flightIndices?: number[];
                              gender?: | "FEMALE"
                              | "MALE"
                              | "INFANT_FEMALE"
                              | "INFANT_MALE"
                              | "UNDISCLOSED"
                              | "UNDEFINED";
                              givenName?: string;
                              hostCountryCode?: string;
                              isLapChildDocument?: boolean;
                              isPrimaryDocumentHolder?: boolean;
                              issueDate?: string;
                              issuingCountryCode?: string;
                              middleName?: string;
                              placeOfBirth?: string;
                              placeOfIssue?: string;
                              residenceCountryCode?: string;
                              residenceOrDestinationAddress?: {
                                  city?: string;
                                  countryCode?: string;
                                  postalCode?: string;
                                  stateProvince?: string;
                                  street?: string;
                              };
                              surname?: string;
                          }[];
                          loyaltyPrograms?: {
                              programNumber: string;
                              programType?: | "FREQUENT_FLYER"
                              | "FREQUENT_RENTER"
                              | "LOYALTY_ID"
                              | "CORPORATE_LOYALTY_ID";
                              receiverCode?: string;
                              supplierCode?: string;
                              tierLevel?: number;
                          }[];
                          nameReferenceCode?: string;
                          passengerCode?: string;
                          phones?: { label?: string; number: string }[];
                          specialServices?: {
                              code: string;
                              flightIndices?: number[];
                              message?: string;
                          }[];
                          surname?: string;
                      }[];
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          booking?: {
                              accountingItems?: {
                                  airlineCode?: string;
                                  cardNumber?: string;
                                  cardTypeCode?: string;
                                  commission?: {
                                      commissionAmount?: string;
                                      commissionPercentage?: string;
                                      currencyCode?: string;
                                  };
                                  creationType?: "Refund"
                                  | "Exchange"
                                  | "First Issuance";
                                  currencyCode?: string;
                                  fareAmount?: string;
                                  fareApplicationType?:
                                      | "Single Traveler"
                                      | "All Travelers"
                                      | "Each Traveler";
                                  formOfPaymentType?: | "Unknown"
                                  | "Cash"
                                  | "Check"
                                  | "Check or Cash"
                                  | "Payment Card"
                                  | "Masked Payment Card";
                                  tariffBasisType?: "Domestic"
                                  | "Foreign"
                                  | "International";
                                  taxAmount?: string;
                                  ticketNumber?: string;
                                  travelerIndices?: number[];
                              }[];
                              agencyCustomerNumber?: string;
                              allSegments?: (
                                  { id: string } & {
                                      address?: (...) & (...);
                                      date?: string;
                                      endAddress?: (...) & (...);
                                      endDate?: string;
                                      endLocationCode?: string;
                                      endTime?: string;
                                      locationCode?: string;
                                      startAddress?: (...) & (...);
                                      startDate?: string;
                                      startLocationCode?: string;
                                      startTime?: string;
                                      text?: string;
                                      time?: string;
                                      type: string;
                                      vendorCode?: string;
                                  }
                              )[];
                              bookingId?: string;
                              cars?: (
                                  { itemId: string } & {
                                      carStatusCode?: string;
                                      carStatusName?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      collectionAddress?: {
                                          city?: ...;
                                          countryCode?: ...;
                                          postalCode?: ...;
                                          stateProvince?: ...;
                                          street?: ...;
                                      };
                                      collectionSite?: { id?: ...; name?: ...; phone?: ... };
                                      confirmationId?: string;
                                      deliveryAddress?: {
                                          city?: ...;
                                          countryCode?: ...;
                                          postalCode?: ...;
                                          stateProvince?: ...;
                                          street?: ...;
                                      };
                                      deliverySite?: { id?: ...; name?: ...; phone?: ... };
                                      distanceAllowance?: string;
                                      dropOffAddress?: (...) & (...);
                                      dropOffContactInfo?: (...) & (...);
                                      dropOffDate: string;
                                      dropOffLocationCode?: string;
                                      dropOffTime: string;
                                      guaranteePaymentNote?: string;
                                      isRefundable: boolean;
                                      numberOfVehicles?: number;
                                      payment?: {
                                          currencyCode: ...;
                                          fees?: ...;
                                          subtotal?: ...;
                                          taxes?: ...;
                                          total: ...;
                                      };
                                      pickUpAddress: (...) & (...);
                                      pickUpContactInfo?: (...) & (...);
                                      pickUpDate: string;
                                      pickUpLocationCode?: string;
                                      pickUpTime: string;
                                      rateCode?: string;
                                      refundPenalties?: (...)[];
                                      specialInstructions?: string;
                                      travelerIndex?: number;
                                      vehicleTypeCode?: string;
                                      vehicleTypeName?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      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?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      departureDate: string;
                                      departureTime?: string;
                                      fromPortCode: string;
                                      numberOfGuests?: number;
                                      shipCode?: string;
                                      shipName?: string;
                                      toPortCode?: string;
                                      vendorCode: string;
                                  }
                              )[];
                              endDate?: string;
                              fareOffers?: {
                                  cabinBaggageAllowance?: {
                                      baggagePieces?: (...)[];
                                      maximumPieces?: number;
                                      totalWeightInKilograms?: number;
                                      totalWeightInPounds?: number;
                                  };
                                  cabinBaggageCharges?: {
                                      fee?: ...;
                                      isCheckInOnly?: ...;
                                      maximumSizeInCentimeters?: ...;
                                      maximumSizeInInches?: ...;
                                      maximumWeightInKilograms?: ...;
                                      maximumWeightInPounds?: ...;
                                      numberOfPieces: ...;
                                      specialItemDescription?: ...;
                                  }[];
                                  checkedBaggageAllowance?: {
                                      baggagePieces?: (...)[];
                                      maximumPieces?: number;
                                      totalWeightInKilograms?: number;
                                      totalWeightInPounds?: number;
                                  };
                                  checkedBaggageCharges?: {
                                      fee?: ...;
                                      isCheckInOnly?: ...;
                                      maximumSizeInCentimeters?: ...;
                                      maximumSizeInInches?: ...;
                                      maximumWeightInKilograms?: ...;
                                      maximumWeightInPounds?: ...;
                                      numberOfPieces: ...;
                                      specialItemDescription?: ...;
                                  }[];
                                  flights?: { itemId: ... }[];
                                  travelerIndices?: number[];
                              }[];
                              fareRules?: {
                                  destinationAirportCode?: string;
                                  exchangePenalties?: {
                                      applicability: ...;
                                      conditionsApply: ...;
                                      penalty: ...;
                                  }[];
                                  isChangeable?: boolean;
                                  isRefundable?: boolean;
                                  originAirportCode?: string;
                                  owningAirlineCode: string;
                                  passengerCode?: string;
                                  refundPenalties?: {
                                      applicability: ...;
                                      conditionsApply: ...;
                                      penalty: ...;
                                  }[];
                              }[];
                              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?: ...;
                                      brandAttributes?: ...;
                                      brandFareCode?: ...;
                                      brandFareName?: ...;
                                      brandProgramCode?: ...;
                                      brandProgramName?: ...;
                                      checkedBaggageAllowance?: ...;
                                      fareBasisCode?: ...;
                                      flightIndices?: ...;
                                      flights?: ...;
                                      isCurrentItinerary?: ...;
                                  }[];
                                  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?: ...; taxCode?: ... }[];
                                  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?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      fromAirportCode: string;
                                      hiddenStopAircraftTypeCode?: string;
                                      hiddenStopAircraftTypeName?: string;
                                      hiddenStopAirportCode?: string;
                                      hiddenStopArrivalDate?: string;
                                      hiddenStopArrivalTime?: string;
                                      hiddenStopDepartureDate?: string;
                                      hiddenStopDepartureTime?: string;
                                      hiddenStops?: (...)[];
                                      identityDocuments?: (...)[];
                                      isPast?: boolean;
                                      meals?: (...)[];
                                      numberOfSeats?: number;
                                      operatingAirlineCode?: string;
                                      operatingAirlineName?: string;
                                      operatingFlightNumber?: number;
                                      seats?: (...)[];
                                      sourceType?: (...) | (...) | (...);
                                      toAirportCode: string;
                                      travelerIndices?: (...)[];
                                      updatedArrivalDate?: string;
                                      updatedArrivalTime?: string;
                                      updatedDepartureDate?: string;
                                      updatedDepartureTime?: string;
                                  }
                              )[];
                              flightTickets?: {
                                  agencyIataNumber?: string;
                                  airlineCode: string;
                                  allCoupons?: ((...) & (...))[];
                                  commission?: {
                                      commissionAmount?: string;
                                      commissionPercentage?: string;
                                      currencyCode?: string;
                                  };
                                  date: string;
                                  flightCoupons: ((...) & (...))[];
                                  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: (...) & (...) & (...);
                                      associatedFlightDetails?: {
                                          arrivalAirlineCode?: ...;
                                          arrivalFlightNumber?: ...;
                                          arrivalTime?: ...;
                                          departureAirlineCode?: ...;
                                          departureFlightNumber?: ...;
                                          departureTime?: ...;
                                      };
                                      chainCode?: string;
                                      chainName?: string;
                                      checkInDate: string;
                                      checkInTime: string;
                                      checkOutDate: string;
                                      checkOutTime: string;
                                      confirmationId?: string;
                                      contactInfo?: (...) & (...);
                                      corporateDiscountCode?: number;
                                      guaranteePaymentNote?: string;
                                      guaranteeTypeCode?: number;
                                      guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                                      hotelName: string;
                                      hotelStatusCode?: string;
                                      hotelStatusName?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      isRefundable: boolean;
                                      leadTravelerIndex?: number;
                                      numberOfGuests?: number;
                                      payment?: {
                                          currencyCode: ...;
                                          fees?: ...;
                                          subtotal?: ...;
                                          taxes?: ...;
                                          total: ...;
                                      };
                                      paymentPolicy?: (...)
                                      | (...)
                                      | (...);
                                      propertyId?: string;
                                      refundPenalties?: (...)[];
                                      refundPenaltyPolicyCode?: string;
                                      room?: {
                                          agencyCommission?: ...;
                                          description?: ...;
                                          productCode?: ...;
                                          quantity: ...;
                                          roomRate?: ...;
                                          roomType: ...;
                                          roomTypeCode?: ...;
                                          travelerIndices?: ...;
                                      };
                                      sabrePropertyId?: string;
                                      sourceTypeCode?: number;
                                      sourceTypeName?: | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                      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?: ...;
                                          cardNumber?: ...;
                                          cardSecurityCode?: ...;
                                          cardTypeCode?: ...;
                                          expiryDate?: ...;
                                          extendedPayment?: ...;
                                          installmentAmount?: ...;
                                          miscellaneousCreditCode?: ...;
                                          numberOfInstallments?: ...;
                                      } & {
                                          agencyAddress?: ...;
                                          agencyIataNumber?: ...;
                                          authentications?: ...;
                                          cardHolder?: ...;
                                          companyAddress?: ...;
                                          corporateId?: ...;
                                          docketDescription?: ...;
                                          docketIssuingAgentInitials?: ...;
                                          docketNumber?: ...;
                                          docketPrefix?: ...;
                                          governmentTravelRequestDescription?: ...;
                                          invoiceDescription?: ...;
                                          isAgencyPaymentCard?: ...;
                                          manualApproval?: ...;
                                          netBalance?: ...;
                                          tripType?: ...;
                                          tripTypes?: ...;
                                          type: ...;
                                          useType?: ...;
                                          useTypes?: ...;
                                          virtualCard?: ...;
                                          voucher?: ...;
                                      }
                                  )[];
                                  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: ... }[];
                                  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: ...;
                                          fees?: ...;
                                          subtotal?: ...;
                                          taxes?: ...;
                                          total: ...;
                                      };
                                      toStationCode: string;
                                      toStationName?: string;
                                      trainName?: string;
                                      trainNumber: string;
                                      trainStatusCode?: string;
                                      trainStatusName?: | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                      vendorCode: string;
                                      vendorName?: string;
                                  }
                              )[];
                              travelers?: {
                                  address?: {
                                      city?: ...;
                                      countryCode?: ...;
                                      postalCode?: ...;
                                      stateProvince?: ...;
                                      street?: ...;
                                  } & { freeText?: ...; name?: ... };
                                  ancillaries?: {
                                      airlineCode?: ...;
                                      commercialName?: ...;
                                      electronicMiscellaneousDocumentNumber?: ...;
                                      flightApplicabilityType?: ...;
                                      flights?: ...;
                                      isCommissionable?: ...;
                                      isRefundable?: ...;
                                      itemId?: ...;
                                      numberOfItems?: ...;
                                      reasonForIssuanceCode?: ...;
                                      reasonForIssuanceName?: ...;
                                      source?: ...;
                                      statusCode?: ...;
                                      statusName?: ...;
                                      subcode?: ...;
                                      totals?: ...;
                                      vendorCode?: ...;
                                  }[];
                                  birthDate?: string;
                                  emails?: string[];
                                  formOfPaymentIndices?: number[];
                                  gender?: | "FEMALE"
                                  | "MALE"
                                  | "INFANT_FEMALE"
                                  | "INFANT_MALE"
                                  | "UNDISCLOSED"
                                  | "UNDEFINED";
                                  givenName: string;
                                  identityDocuments?: {
                                      birthDate?: ...;
                                      documentNumber?: ...;
                                      documentSubType?: ...;
                                      documentType: ...;
                                      expiryDate?: ...;
                                      flightIndices?: ...;
                                      gender?: ...;
                                      givenName?: ...;
                                      hostCountryCode?: ...;
                                      isLapChildDocument?: ...;
                                      isPrimaryDocumentHolder?: ...;
                                      issueDate?: ...;
                                      issuingCountryCode?: ...;
                                      itemId?: ...;
                                      middleName?: ...;
                                      placeOfBirth?: ...;
                                      placeOfIssue?: ...;
                                      residenceCountryCode?: ...;
                                      residenceDestinationAddress?: ...;
                                      surname?: ...;
                                  }[];
                                  isGrouped?: boolean;
                                  loyaltyPrograms?: {
                                      programNumber: ...;
                                      programType?: ...;
                                      receiverCode?: ...;
                                      supplierCode?: ...;
                                      tierLevel?: ...;
                                  }[];
                                  middleName?: string;
                                  nameAssociationId?: string;
                                  nameReferenceCode?: string;
                                  passengerCode?: string;
                                  phones?: { label?: ...; number: ... }[];
                                  remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                                  surname: string;
                                  type?:
                                      | "ADULT"
                                      | "AGENT"
                                      | "AIRLINE"
                                      | "CHILD"
                                      | "EDUCATION"
                                      | "GOVERNMENT"
                                      | "GROUP"
                                      | "INFANT"
                                      | "MILITARY"
                                      | "SENIOR"
                                      | "SPECIAL"
                                      | "YOUTH";
                              }[];
                              travelersGroup?: {
                                  itemId?: string;
                                  name?: string;
                                  numberOfTravelers?: number;
                                  numberOfTravelersRemaining?: number;
                              };
                          };
                          confirmationId?: string;
                          errors?: {
                              category: string;
                              description?: string;
                              fieldName?: string;
                              fieldPath?: string;
                              fieldValue?: string;
                              type: string;
                          }[];
                          request?: {
                              agency?: {
                                  address?: {
                                      city?: string;
                                      countryCode?: string;
                                      postalCode?: string;
                                      stateProvince?: string;
                                      street?: string;
                                  } & { freeText?: string; name?: string };
                                  agencyCustomerNumber?: string;
                                  contactInfo?: { emails?: string[] };
                                  futureTicketingPolicy?: {
                                      comment?: string;
                                      queueNumber?: string;
                                      ticketingDate?: string;
                                      ticketingPcc?: string;
                                      ticketingTime?: string;
                                  };
                                  ticketingPolicy?: | "TODAY"
                                  | "ALREADY_TICKETED"
                                  | "FUTURE_TICKETING"
                                  | "TICKETING_TIME_LIMIT";
                                  ticketingTimeLimitPolicy?: {
                                      airlineCode?: string;
                                      ticketingDate?: string;
                                      ticketingTime?: string;
                                  };
                              };
                              asynchronousUpdateWaitTime: number;
                              car?: {
                                  bookingKey: string;
                                  collectionAddress?: {
                                      city?: string;
                                      countryCode?: string;
                                      postalCode?: string;
                                      stateProvince?: string;
                                      street?: string;
                                  };
                                  collectionSite?: { id?: string; name?: string; phone?: string };
                                  deliveryAddress?: {
                                      city?: string;
                                      countryCode?: string;
                                      postalCode?: string;
                                      stateProvince?: string;
                                      street?: string;
                                  };
                                  deliverySite?: { id?: string; name?: string; phone?: string };
                                  emailIndex?: number;
                                  flightIndex?: number;
                                  formOfPayment?: number;
                                  paymentPolicy?: "DEPOSIT" | "GUARANTEE";
                                  quantity: number;
                                  specialInstructions?: string;
                                  travelerIndex?: number;
                              };
                              contactInfo?: { emails?: string[] } & {
                                  emergencyPhones?: string[];
                                  faxes?: string[];
                                  phones?: string[];
                              };
                              errorHandlingPolicy?: (
                                  | "HALT_ON_ERROR"
                                  | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                                  | "DO_NOT_HALT_ON_FLIGHT_PRICING_ERROR"
                                  | "DO_NOT_HALT_ON_HOTEL_BOOKING_ERROR"
                                  | "DO_NOT_HALT_ON_ANCILLARY_BOOKING_ERROR"
                                  | "DO_NOT_HALT_ON_SEAT_BOOKING_ERROR"
                                  | "DO_NOT_HALT_ON_CAR_BOOKING_ERROR"
                              )[];
                              flightDetails?: {
                                  flightPricing?: {
                                      priceComparisons?: (...)[];
                                      qualifiers?: (...) & (...);
                                  }[];
                                  flights?: {
                                      airlineCode: string;
                                      arrivalDate?: string;
                                      arrivalTime?: string;
                                      bookingClass: string;
                                      confirmationId?: string;
                                      departureDate: string;
                                      departureTime: string;
                                      flightNumber: number;
                                      flightStatusCode: string;
                                      fromAirportCode: string;
                                      isMarriageGroup?: boolean;
                                      seats?: (...)[];
                                      source?: (...) | (...);
                                      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?: (...)[];
                                      travelerIndices?: (...)[];
                                  }[];
                                  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?: ...;
                                          cardNumber?: ...;
                                          cardSecurityCode?: ...;
                                          cardTypeCode?: ...;
                                          expiryDate?: ...;
                                          extendedPayment?: ...;
                                          installmentAmount?: ...;
                                          miscellaneousCreditCode?: ...;
                                          numberOfInstallments?: ...;
                                      } & {
                                          agencyAddress?: ...;
                                          agencyIataNumber?: ...;
                                          authentications?: ...;
                                          cardHolder?: ...;
                                          companyAddress?: ...;
                                          corporateId?: ...;
                                          docketDescription?: ...;
                                          docketIssuingAgentInitials?: ...;
                                          docketNumber?: ...;
                                          docketPrefix?: ...;
                                          governmentTravelRequestDescription?: ...;
                                          invoiceDescription?: ...;
                                          isAgencyPaymentCard?: ...;
                                          manualApproval?: ...;
                                          netBalance?: ...;
                                          tripType?: ...;
                                          tripTypes?: ...;
                                          type: ...;
                                          useType?: ...;
                                          useTypes?: ...;
                                          virtualCard?: ...;
                                          voucher?: ...;
                                      }
                                  )[];
                              };
                              profiles?: {
                                  domainId: string;
                                  filterId?: string;
                                  profileName?: string;
                                  profileTypeCode: string;
                                  uniqueId?: string;
                              }[];
                              receivedFrom: string;
                              remarks?: (
                                  {
                                      alphaCode?: string;
                                      text?: string;
                                      type?: | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  } & {
                                      queuePlacement?: {
                                          futureQueuePlacementDate?: ...;
                                          pcc?: ...;
                                          prefatoryInstructionCode: ...;
                                          queueName?: ...;
                                          queueNumber?: ...;
                                      };
                                  }
                              )[];
                              retentionEndDate?: string;
                              retentionLabel?: string;
                              targetPcc?: string;
                              travelers?: {
                                  age?: number;
                                  ancillaries?: {
                                      airlineCode: ...;
                                      basePrice: ...;
                                      commercialName?: ...;
                                      currencyCode: ...;
                                      electronicMiscellaneousDocumentType: ...;
                                      firstTravelDate?: ...;
                                      flightApplicabilityType?: ...;
                                      flightIndices: ...;
                                      groupCode: ...;
                                      lastTravelDate?: ...;
                                      numberOfItems: ...;
                                      purchaseDateTime?: ...;
                                      reasonForIssuance?: ...;
                                      source?: ...;
                                      specialServiceIndex?: ...;
                                      subcode: ...;
                                      totalPrice?: ...;
                                      vendorCode?: ...;
                                  }[];
                                  birthDate?: string;
                                  emails?: string[];
                                  formOfPaymentIndices?: number[];
                                  gender?: | "FEMALE"
                                  | "MALE"
                                  | "INFANT_FEMALE"
                                  | "INFANT_MALE"
                                  | "UNDISCLOSED"
                                  | "UNDEFINED";
                                  givenName?: string;
                                  id?: string;
                                  identityDocuments?: {
                                      birthDate?: ...;
                                      documentNumber?: ...;
                                      documentSubType?: ...;
                                      documentType: ...;
                                      expiryDate?: ...;
                                      flightIndices?: ...;
                                      gender?: ...;
                                      givenName?: ...;
                                      hostCountryCode?: ...;
                                      isLapChildDocument?: ...;
                                      isPrimaryDocumentHolder?: ...;
                                      issueDate?: ...;
                                      issuingCountryCode?: ...;
                                      middleName?: ...;
                                      placeOfBirth?: ...;
                                      placeOfIssue?: ...;
                                      residenceCountryCode?: ...;
                                      residenceOrDestinationAddress?: ...;
                                      surname?: ...;
                                  }[];
                                  loyaltyPrograms?: {
                                      programNumber: ...;
                                      programType?: ...;
                                      receiverCode?: ...;
                                      supplierCode?: ...;
                                      tierLevel?: ...;
                                  }[];
                                  nameReferenceCode?: string;
                                  passengerCode?: string;
                                  phones?: { label?: ...; number: ... }[];
                                  specialServices?: { code: ...; flightIndices?: ...; message?: ... }[];
                                  surname?: string;
                              }[];
                          };
                          timestamp?: string;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Creates an air booking (NDC/ATPCO/LCC).

      • parameters: {
            cookie?: never;
            header: { Authorization: string };
            path?: never;
            query?: never;
        }
        • Optionalcookie?: never
        • header: { Authorization: string }
          • Authorization: string

            The bearer authentication token.

            Bearer TOKEN
            
        • Optionalpath?: never
        • Optionalquery?: never
      • requestBody: {
            content: {
                "application/json": {
                    agency?: {
                        address?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        agencyCustomerNumber?: string;
                        contactInfo?: { emails?: string[] };
                        futureTicketingPolicy?: {
                            comment?: string;
                            queueNumber?: string;
                            ticketingDate?: string;
                            ticketingPcc?: string;
                            ticketingTime?: string;
                        };
                        ticketingPolicy?: | "TODAY"
                        | "ALREADY_TICKETED"
                        | "FUTURE_TICKETING"
                        | "TICKETING_TIME_LIMIT";
                        ticketingTimeLimitPolicy?: {
                            airlineCode?: string;
                            ticketingDate?: string;
                            ticketingTime?: string;
                        };
                    };
                    asynchronousUpdateWaitTime: number;
                    car?: {
                        bookingKey: string;
                        collectionAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        };
                        collectionSite?: { id?: string; name?: string; phone?: string };
                        deliveryAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        };
                        deliverySite?: { id?: string; name?: string; phone?: string };
                        emailIndex?: number;
                        flightIndex?: number;
                        formOfPayment?: number;
                        paymentPolicy?: "DEPOSIT" | "GUARANTEE";
                        quantity: number;
                        specialInstructions?: string;
                        travelerIndex?: number;
                    };
                    contactInfo?: { emails?: string[] } & {
                        emergencyPhones?: string[];
                        faxes?: string[];
                        phones?: string[];
                    };
                    errorHandlingPolicy?: (
                        | "HALT_ON_ERROR"
                        | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                        | "DO_NOT_HALT_ON_FLIGHT_PRICING_ERROR"
                        | "DO_NOT_HALT_ON_HOTEL_BOOKING_ERROR"
                        | "DO_NOT_HALT_ON_ANCILLARY_BOOKING_ERROR"
                        | "DO_NOT_HALT_ON_SEAT_BOOKING_ERROR"
                        | "DO_NOT_HALT_ON_CAR_BOOKING_ERROR"
                    )[];
                    flightDetails?: {
                        flightPricing?: {
                            priceComparisons?: {
                                amount?: string;
                                comparisonType: (...)
                                | (...)
                                | (...)
                                | (...);
                                desiredAmount: string;
                                percent?: string;
                            }[];
                            qualifiers?: {
                                commissionAmount?: string;
                                commissionPercentage?: string;
                                endorsements?: { description?: ...; useOverride?: ... };
                                excludeFareFocusFares?: boolean;
                                tourCode?: string;
                                tourCodeOverrides?: (...) | (...) | (...) | (...);
                                travelerIndices?: (...)[];
                                validatingAirlineCode?: string;
                            } & {
                                accountCode?: { accountCodes: ...; forceAccountCodes?: ... };
                                adjustedSellingLevel?: {
                                    ignore?: ...;
                                    markDownAmount?: ...;
                                    markUpAmount?: ...;
                                    returnBreakdown?: ...;
                                };
                                baggageAllowance?: (...)[];
                                brandedFares?: (...)[];
                                breakFareFlightIndices?: (...)[];
                                cabinCode?: string;
                                commissionContractNames?: (...)[];
                                considerMultiTicket?: boolean;
                                corporateFare?: { corporateIds: ...; forceCorporateId?: ... };
                                currencyPricing?: string;
                                exchangePenalties?: {
                                    applicability?: ...;
                                    penaltyAmount?: ...;
                                    restrictionType: ...;
                                };
                                excludeBasicEconomyFares?: (...)[];
                                exemptTaxes?: (...)[];
                                flightIndices?: (...)[];
                                forceConnectionFlightIndices?: (...)[];
                                forceStopoverFlightIndices?: (...)[];
                                hemisphereCode?: number;
                                journeyCode?: number;
                                netRemit?: {
                                    cashValue?: ...;
                                    commercialAgreementReferenceCode?: ...;
                                    creditValue?: ...;
                                    netRemitCode?: ...;
                                };
                                overrideTaxes?: (...)[];
                                passengersPricing?: (...)[];
                                passengerStatus?: (...) | (...) | (...);
                                passengerStatusCountryCode?: string;
                                payment?: {
                                    amountOnSecondFormOfPayment?: ...;
                                    primaryFormOfPayment: ...;
                                    secondaryFormOfPayment?: ...;
                                };
                                priceWithTaxes: boolean;
                                rebookLowestFares?: boolean;
                                retailerRule?: { forceQualifiers?: ...; qualifiers: ... };
                                settlementMethod?: string;
                                sideTripFlightIndices?: (...)[];
                                spanishIslandResidentDiscountCode?: string;
                                spanishLargeFamilyDiscountLevel?: number;
                                specificFares?: (...)[];
                                useExcursionFare?: boolean;
                                useNetFare?: boolean;
                                usePrivateFare?: boolean;
                                usePublicFare?: boolean;
                                useRoundTheWorldFare?: boolean;
                            };
                        }[];
                        flights?: {
                            airlineCode: string;
                            arrivalDate?: string;
                            arrivalTime?: string;
                            bookingClass: string;
                            confirmationId?: string;
                            departureDate: string;
                            departureTime: string;
                            flightNumber: number;
                            flightStatusCode: string;
                            fromAirportCode: string;
                            isMarriageGroup?: boolean;
                            seats?: {
                                areaPreferences?: (...)[];
                                number?: string;
                                travelerIndex: number;
                            }[];
                            source?: "LCC"
                            | "ATPCO";
                            toAirportCode: string;
                        }[];
                        haltOnFlightStatusCodes?: (
                            "US"
                            | "NO"
                            | "NN"
                            | "UC"
                            | "UN"
                            | "UU"
                            | "LL"
                            | "HL"
                        )[];
                        retryBookingUnconfirmedFlights?: boolean;
                    };
                    flightOffer?: { offerId: string; selectedOfferItems: string[] };
                    hotel?: {
                        associatedFlightDetails?: {
                            arrivalAirlineCode?: string;
                            arrivalFlightNumber?: number;
                            arrivalTime?: string;
                            departureAirlineCode?: string;
                            departureFlightNumber?: number;
                            departureTime?: string;
                        };
                        bookingKey: string;
                        corporateDiscountCode?: number;
                        formOfPayment?: number;
                        paymentPolicy?: "DEPOSIT"
                        | "GUARANTEE"
                        | "LATE";
                        rooms?: {
                            bedTypeCode?: number;
                            isSmoking: boolean;
                            physicalDisabilityCode?: number;
                            roomExtras?: {
                                amount?: string;
                                quantity: number;
                                roomExtraType: number;
                            }[];
                            travelerIndices?: number[];
                        }[];
                        specialInstruction?: string;
                        useCsl: boolean;
                    };
                    notification?: {
                        email?: | "DEFAULT"
                        | "INVOICE"
                        | "ETICKET"
                        | "ETICKET_PDF"
                        | "ITINERARY"
                        | "ITINERARY_PDF";
                        queuePlacement?: {
                            futureQueuePlacementDate?: string;
                            pcc?: string;
                            prefatoryInstructionCode: number;
                            queueName?: string;
                            queueNumber?: number;
                        }[];
                    };
                    otherServices?: {
                        airlineCode?: string;
                        chainCode?: string;
                        serviceMessage?: string;
                        travelerIndex?: number;
                        vendorCode?: string;
                    }[];
                    payment?: {
                        billingAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        formsOfPayment?: (
                            {
                                airlinePlanCode?: string;
                                cardNumber?: string;
                                cardSecurityCode?: string;
                                cardTypeCode?: string;
                                expiryDate?: string;
                                extendedPayment?: number;
                                installmentAmount?: string;
                                miscellaneousCreditCode?: string;
                                numberOfInstallments?: number;
                            } & {
                                agencyAddress?: {
                                    city?: ...;
                                    countryCode?: ...;
                                    postalCode?: ...;
                                    stateProvince?: ...;
                                    street?: ...;
                                } & { freeText?: ...; name?: ... };
                                agencyIataNumber?: string;
                                authentications?: {
                                    amount?: ...;
                                    cardNumberCollectionCode?: ...;
                                    channelCode?: ...;
                                    currencyCode?: ...;
                                    electronicCommerceIndicator?: ...;
                                    exemptionTypeCode?: ...;
                                    issueCode?: ...;
                                    mandateTypeCode?: ...;
                                    merchantName?: ...;
                                    originalPaymentReference?: ...;
                                    resultCode?: ...;
                                    secureAuthenticationValue?: ...;
                                    secureTransactionId?: ...;
                                    tokenAuthenticationValue?: ...;
                                    updatedDateTime?: ...;
                                    verificationResultCode?: ...;
                                    version?: ...;
                                }[];
                                cardHolder?: {
                                    address?: {
                                        city?: ...;
                                        countryCode?: ...;
                                        postalCode?: ...;
                                        stateProvince?: ...;
                                        street?: ...;
                                    };
                                    email?: string;
                                    givenName: string;
                                    phone?: string;
                                    surname: string;
                                };
                                companyAddress?: {
                                    city?: ...;
                                    countryCode?: ...;
                                    postalCode?: ...;
                                    stateProvince?: ...;
                                    street?: ...;
                                } & { freeText?: ...; name?: ... };
                                corporateId?: string;
                                docketDescription?: string;
                                docketIssuingAgentInitials?: string;
                                docketNumber?: string;
                                docketPrefix?: string;
                                governmentTravelRequestDescription?: string;
                                invoiceDescription?: string;
                                isAgencyPaymentCard?: boolean;
                                manualApproval?: {
                                    airlineCode: string;
                                    amount: string;
                                    code: string;
                                    currencyCode: string;
                                    expiryDateTime: string;
                                    requestDateTime: string;
                                };
                                netBalance?: string;
                                tripType?: | "All"
                                | "Unknown"
                                | "Corporate/Business"
                                | "Leisure"
                                | "Emergency"
                                | "Family"
                                | "Group";
                                tripTypes?: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                type:
                                    | "INVOICE"
                                    | "CORPORATE"
                                    | "PAYMENTCARD"
                                    | "CASH"
                                    | "CHECK"
                                    | "MISCELLANEOUS"
                                    | "INSTALLMENTS"
                                    | "VIRTUAL_CARD"
                                    | "AGENCY_NAME"
                                    | "AGENCY_IATA"
                                    | "COMPANY_NAME"
                                    | "VOUCHER"
                                    | "DOCKET"
                                    | "GOVERNMENT_TRAVEL_REQUEST";
                                useType?: | "All"
                                | "Other"
                                | "Tour"
                                | "Unknown"
                                | "Ancillary"
                                | "Hotel"
                                | "Car"
                                | "Cruise"
                                | "Airline"
                                | "Bus/Ground Transportation"
                                | "Insurance"
                                | "Low-Cost Carrier"
                                | "Rail"
                                | "Specialty Service"
                                | "Interface Record";
                                useTypes?: (
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                                virtualCard?: {
                                    agencyEmail?: string;
                                    customerAccountCode?: string;
                                    hotelFax?: string;
                                    hotelName?: string;
                                    rateAmount?: { amount: ...; currencyCode: ... };
                                    roomDescription?: string;
                                    roomType?: string;
                                    virtualCardCharges?: (...)[];
                                };
                                voucher?: { billingNumber?: string; type?: string };
                            }
                        )[];
                    };
                    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.

      • responses: {
            "200": {
                content: {
                    "application/json": {
                        booking?: {
                            accountingItems?: {
                                airlineCode?: string;
                                cardNumber?: string;
                                cardTypeCode?: string;
                                commission?: {
                                    commissionAmount?: string;
                                    commissionPercentage?: string;
                                    currencyCode?: string;
                                };
                                creationType?: "Refund"
                                | "Exchange"
                                | "First Issuance";
                                currencyCode?: string;
                                fareAmount?: string;
                                fareApplicationType?:
                                    | "Single Traveler"
                                    | "All Travelers"
                                    | "Each Traveler";
                                formOfPaymentType?: | "Unknown"
                                | "Cash"
                                | "Check"
                                | "Check or Cash"
                                | "Payment Card"
                                | "Masked Payment Card";
                                tariffBasisType?: "Domestic"
                                | "Foreign"
                                | "International";
                                taxAmount?: string;
                                ticketNumber?: string;
                                travelerIndices?: number[];
                            }[];
                            agencyCustomerNumber?: string;
                            allSegments?: (
                                { id: string } & {
                                    address?: (...) & (...);
                                    date?: string;
                                    endAddress?: (...) & (...);
                                    endDate?: string;
                                    endLocationCode?: string;
                                    endTime?: string;
                                    locationCode?: string;
                                    startAddress?: (...) & (...);
                                    startDate?: string;
                                    startLocationCode?: string;
                                    startTime?: string;
                                    text?: string;
                                    time?: string;
                                    type: string;
                                    vendorCode?: string;
                                }
                            )[];
                            bookingId?: string;
                            cars?: (
                                { itemId: string } & {
                                    carStatusCode?: string;
                                    carStatusName?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    collectionAddress?: {
                                        city?: ...;
                                        countryCode?: ...;
                                        postalCode?: ...;
                                        stateProvince?: ...;
                                        street?: ...;
                                    };
                                    collectionSite?: { id?: ...; name?: ...; phone?: ... };
                                    confirmationId?: string;
                                    deliveryAddress?: {
                                        city?: ...;
                                        countryCode?: ...;
                                        postalCode?: ...;
                                        stateProvince?: ...;
                                        street?: ...;
                                    };
                                    deliverySite?: { id?: ...; name?: ...; phone?: ... };
                                    distanceAllowance?: string;
                                    dropOffAddress?: (...) & (...);
                                    dropOffContactInfo?: (...) & (...);
                                    dropOffDate: string;
                                    dropOffLocationCode?: string;
                                    dropOffTime: string;
                                    guaranteePaymentNote?: string;
                                    isRefundable: boolean;
                                    numberOfVehicles?: number;
                                    payment?: {
                                        currencyCode: ...;
                                        fees?: ...;
                                        subtotal?: ...;
                                        taxes?: ...;
                                        total: ...;
                                    };
                                    pickUpAddress: (...) & (...);
                                    pickUpContactInfo?: (...) & (...);
                                    pickUpDate: string;
                                    pickUpLocationCode?: string;
                                    pickUpTime: string;
                                    rateCode?: string;
                                    refundPenalties?: (...)[];
                                    specialInstructions?: string;
                                    travelerIndex?: number;
                                    vehicleTypeCode?: string;
                                    vehicleTypeName?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    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?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    departureDate: string;
                                    departureTime?: string;
                                    fromPortCode: string;
                                    numberOfGuests?: number;
                                    shipCode?: string;
                                    shipName?: string;
                                    toPortCode?: string;
                                    vendorCode: string;
                                }
                            )[];
                            endDate?: string;
                            fareOffers?: {
                                cabinBaggageAllowance?: {
                                    baggagePieces?: (...)[];
                                    maximumPieces?: number;
                                    totalWeightInKilograms?: number;
                                    totalWeightInPounds?: number;
                                };
                                cabinBaggageCharges?: {
                                    fee?: ...;
                                    isCheckInOnly?: ...;
                                    maximumSizeInCentimeters?: ...;
                                    maximumSizeInInches?: ...;
                                    maximumWeightInKilograms?: ...;
                                    maximumWeightInPounds?: ...;
                                    numberOfPieces: ...;
                                    specialItemDescription?: ...;
                                }[];
                                checkedBaggageAllowance?: {
                                    baggagePieces?: (...)[];
                                    maximumPieces?: number;
                                    totalWeightInKilograms?: number;
                                    totalWeightInPounds?: number;
                                };
                                checkedBaggageCharges?: {
                                    fee?: ...;
                                    isCheckInOnly?: ...;
                                    maximumSizeInCentimeters?: ...;
                                    maximumSizeInInches?: ...;
                                    maximumWeightInKilograms?: ...;
                                    maximumWeightInPounds?: ...;
                                    numberOfPieces: ...;
                                    specialItemDescription?: ...;
                                }[];
                                flights?: { itemId: ... }[];
                                travelerIndices?: number[];
                            }[];
                            fareRules?: {
                                destinationAirportCode?: string;
                                exchangePenalties?: {
                                    applicability: ...;
                                    conditionsApply: ...;
                                    penalty: ...;
                                }[];
                                isChangeable?: boolean;
                                isRefundable?: boolean;
                                originAirportCode?: string;
                                owningAirlineCode: string;
                                passengerCode?: string;
                                refundPenalties?: {
                                    applicability: ...;
                                    conditionsApply: ...;
                                    penalty: ...;
                                }[];
                            }[];
                            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?: ...;
                                    brandAttributes?: ...;
                                    brandFareCode?: ...;
                                    brandFareName?: ...;
                                    brandProgramCode?: ...;
                                    brandProgramName?: ...;
                                    checkedBaggageAllowance?: ...;
                                    fareBasisCode?: ...;
                                    flightIndices?: ...;
                                    flights?: ...;
                                    isCurrentItinerary?: ...;
                                }[];
                                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?: ...; taxCode?: ... }[];
                                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?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    fromAirportCode: string;
                                    hiddenStopAircraftTypeCode?: string;
                                    hiddenStopAircraftTypeName?: string;
                                    hiddenStopAirportCode?: string;
                                    hiddenStopArrivalDate?: string;
                                    hiddenStopArrivalTime?: string;
                                    hiddenStopDepartureDate?: string;
                                    hiddenStopDepartureTime?: string;
                                    hiddenStops?: (...)[];
                                    identityDocuments?: (...)[];
                                    isPast?: boolean;
                                    meals?: (...)[];
                                    numberOfSeats?: number;
                                    operatingAirlineCode?: string;
                                    operatingAirlineName?: string;
                                    operatingFlightNumber?: number;
                                    seats?: (...)[];
                                    sourceType?: (...) | (...) | (...);
                                    toAirportCode: string;
                                    travelerIndices?: (...)[];
                                    updatedArrivalDate?: string;
                                    updatedArrivalTime?: string;
                                    updatedDepartureDate?: string;
                                    updatedDepartureTime?: string;
                                }
                            )[];
                            flightTickets?: {
                                agencyIataNumber?: string;
                                airlineCode: string;
                                allCoupons?: ((...) & (...))[];
                                commission?: {
                                    commissionAmount?: string;
                                    commissionPercentage?: string;
                                    currencyCode?: string;
                                };
                                date: string;
                                flightCoupons: ((...) & (...))[];
                                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: (...) & (...) & (...);
                                    associatedFlightDetails?: {
                                        arrivalAirlineCode?: ...;
                                        arrivalFlightNumber?: ...;
                                        arrivalTime?: ...;
                                        departureAirlineCode?: ...;
                                        departureFlightNumber?: ...;
                                        departureTime?: ...;
                                    };
                                    chainCode?: string;
                                    chainName?: string;
                                    checkInDate: string;
                                    checkInTime: string;
                                    checkOutDate: string;
                                    checkOutTime: string;
                                    confirmationId?: string;
                                    contactInfo?: (...) & (...);
                                    corporateDiscountCode?: number;
                                    guaranteePaymentNote?: string;
                                    guaranteeTypeCode?: number;
                                    guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                                    hotelName: string;
                                    hotelStatusCode?: string;
                                    hotelStatusName?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    isRefundable: boolean;
                                    leadTravelerIndex?: number;
                                    numberOfGuests?: number;
                                    payment?: {
                                        currencyCode: ...;
                                        fees?: ...;
                                        subtotal?: ...;
                                        taxes?: ...;
                                        total: ...;
                                    };
                                    paymentPolicy?: (...)
                                    | (...)
                                    | (...);
                                    propertyId?: string;
                                    refundPenalties?: (...)[];
                                    refundPenaltyPolicyCode?: string;
                                    room?: {
                                        agencyCommission?: ...;
                                        description?: ...;
                                        productCode?: ...;
                                        quantity: ...;
                                        roomRate?: ...;
                                        roomType: ...;
                                        roomTypeCode?: ...;
                                        travelerIndices?: ...;
                                    };
                                    sabrePropertyId?: string;
                                    sourceTypeCode?: number;
                                    sourceTypeName?: | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    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?: ...;
                                        cardNumber?: ...;
                                        cardSecurityCode?: ...;
                                        cardTypeCode?: ...;
                                        expiryDate?: ...;
                                        extendedPayment?: ...;
                                        installmentAmount?: ...;
                                        miscellaneousCreditCode?: ...;
                                        numberOfInstallments?: ...;
                                    } & {
                                        agencyAddress?: ...;
                                        agencyIataNumber?: ...;
                                        authentications?: ...;
                                        cardHolder?: ...;
                                        companyAddress?: ...;
                                        corporateId?: ...;
                                        docketDescription?: ...;
                                        docketIssuingAgentInitials?: ...;
                                        docketNumber?: ...;
                                        docketPrefix?: ...;
                                        governmentTravelRequestDescription?: ...;
                                        invoiceDescription?: ...;
                                        isAgencyPaymentCard?: ...;
                                        manualApproval?: ...;
                                        netBalance?: ...;
                                        tripType?: ...;
                                        tripTypes?: ...;
                                        type: ...;
                                        useType?: ...;
                                        useTypes?: ...;
                                        virtualCard?: ...;
                                        voucher?: ...;
                                    }
                                )[];
                                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: ... }[];
                                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: ...;
                                        fees?: ...;
                                        subtotal?: ...;
                                        taxes?: ...;
                                        total: ...;
                                    };
                                    toStationCode: string;
                                    toStationName?: string;
                                    trainName?: string;
                                    trainNumber: string;
                                    trainStatusCode?: string;
                                    trainStatusName?: | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    vendorCode: string;
                                    vendorName?: string;
                                }
                            )[];
                            travelers?: {
                                address?: {
                                    city?: ...;
                                    countryCode?: ...;
                                    postalCode?: ...;
                                    stateProvince?: ...;
                                    street?: ...;
                                } & { freeText?: ...; name?: ... };
                                ancillaries?: {
                                    airlineCode?: ...;
                                    commercialName?: ...;
                                    electronicMiscellaneousDocumentNumber?: ...;
                                    flightApplicabilityType?: ...;
                                    flights?: ...;
                                    isCommissionable?: ...;
                                    isRefundable?: ...;
                                    itemId?: ...;
                                    numberOfItems?: ...;
                                    reasonForIssuanceCode?: ...;
                                    reasonForIssuanceName?: ...;
                                    source?: ...;
                                    statusCode?: ...;
                                    statusName?: ...;
                                    subcode?: ...;
                                    totals?: ...;
                                    vendorCode?: ...;
                                }[];
                                birthDate?: string;
                                emails?: string[];
                                formOfPaymentIndices?: number[];
                                gender?: | "FEMALE"
                                | "MALE"
                                | "INFANT_FEMALE"
                                | "INFANT_MALE"
                                | "UNDISCLOSED"
                                | "UNDEFINED";
                                givenName: string;
                                identityDocuments?: {
                                    birthDate?: ...;
                                    documentNumber?: ...;
                                    documentSubType?: ...;
                                    documentType: ...;
                                    expiryDate?: ...;
                                    flightIndices?: ...;
                                    gender?: ...;
                                    givenName?: ...;
                                    hostCountryCode?: ...;
                                    isLapChildDocument?: ...;
                                    isPrimaryDocumentHolder?: ...;
                                    issueDate?: ...;
                                    issuingCountryCode?: ...;
                                    itemId?: ...;
                                    middleName?: ...;
                                    placeOfBirth?: ...;
                                    placeOfIssue?: ...;
                                    residenceCountryCode?: ...;
                                    residenceDestinationAddress?: ...;
                                    surname?: ...;
                                }[];
                                isGrouped?: boolean;
                                loyaltyPrograms?: {
                                    programNumber: ...;
                                    programType?: ...;
                                    receiverCode?: ...;
                                    supplierCode?: ...;
                                    tierLevel?: ...;
                                }[];
                                middleName?: string;
                                nameAssociationId?: string;
                                nameReferenceCode?: string;
                                passengerCode?: string;
                                phones?: { label?: ...; number: ... }[];
                                remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                                surname: string;
                                type?:
                                    | "ADULT"
                                    | "AGENT"
                                    | "AIRLINE"
                                    | "CHILD"
                                    | "EDUCATION"
                                    | "GOVERNMENT"
                                    | "GROUP"
                                    | "INFANT"
                                    | "MILITARY"
                                    | "SENIOR"
                                    | "SPECIAL"
                                    | "YOUTH";
                            }[];
                            travelersGroup?: {
                                itemId?: string;
                                name?: string;
                                numberOfTravelers?: number;
                                numberOfTravelersRemaining?: number;
                            };
                        };
                        confirmationId?: string;
                        errors?: {
                            category: string;
                            description?: string;
                            fieldName?: string;
                            fieldPath?: string;
                            fieldValue?: string;
                            type: string;
                        }[];
                        request?: {
                            agency?: {
                                address?: {
                                    city?: string;
                                    countryCode?: string;
                                    postalCode?: string;
                                    stateProvince?: string;
                                    street?: string;
                                } & { freeText?: string; name?: string };
                                agencyCustomerNumber?: string;
                                contactInfo?: { emails?: string[] };
                                futureTicketingPolicy?: {
                                    comment?: string;
                                    queueNumber?: string;
                                    ticketingDate?: string;
                                    ticketingPcc?: string;
                                    ticketingTime?: string;
                                };
                                ticketingPolicy?: | "TODAY"
                                | "ALREADY_TICKETED"
                                | "FUTURE_TICKETING"
                                | "TICKETING_TIME_LIMIT";
                                ticketingTimeLimitPolicy?: {
                                    airlineCode?: string;
                                    ticketingDate?: string;
                                    ticketingTime?: string;
                                };
                            };
                            asynchronousUpdateWaitTime: number;
                            car?: {
                                bookingKey: string;
                                collectionAddress?: {
                                    city?: string;
                                    countryCode?: string;
                                    postalCode?: string;
                                    stateProvince?: string;
                                    street?: string;
                                };
                                collectionSite?: { id?: string; name?: string; phone?: string };
                                deliveryAddress?: {
                                    city?: string;
                                    countryCode?: string;
                                    postalCode?: string;
                                    stateProvince?: string;
                                    street?: string;
                                };
                                deliverySite?: { id?: string; name?: string; phone?: string };
                                emailIndex?: number;
                                flightIndex?: number;
                                formOfPayment?: number;
                                paymentPolicy?: "DEPOSIT" | "GUARANTEE";
                                quantity: number;
                                specialInstructions?: string;
                                travelerIndex?: number;
                            };
                            contactInfo?: { emails?: string[] } & {
                                emergencyPhones?: string[];
                                faxes?: string[];
                                phones?: string[];
                            };
                            errorHandlingPolicy?: (
                                | "HALT_ON_ERROR"
                                | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                                | "DO_NOT_HALT_ON_FLIGHT_PRICING_ERROR"
                                | "DO_NOT_HALT_ON_HOTEL_BOOKING_ERROR"
                                | "DO_NOT_HALT_ON_ANCILLARY_BOOKING_ERROR"
                                | "DO_NOT_HALT_ON_SEAT_BOOKING_ERROR"
                                | "DO_NOT_HALT_ON_CAR_BOOKING_ERROR"
                            )[];
                            flightDetails?: {
                                flightPricing?: {
                                    priceComparisons?: (...)[];
                                    qualifiers?: (...) & (...);
                                }[];
                                flights?: {
                                    airlineCode: string;
                                    arrivalDate?: string;
                                    arrivalTime?: string;
                                    bookingClass: string;
                                    confirmationId?: string;
                                    departureDate: string;
                                    departureTime: string;
                                    flightNumber: number;
                                    flightStatusCode: string;
                                    fromAirportCode: string;
                                    isMarriageGroup?: boolean;
                                    seats?: (...)[];
                                    source?: (...) | (...);
                                    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?: (...)[];
                                    travelerIndices?: (...)[];
                                }[];
                                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?: ...;
                                        cardNumber?: ...;
                                        cardSecurityCode?: ...;
                                        cardTypeCode?: ...;
                                        expiryDate?: ...;
                                        extendedPayment?: ...;
                                        installmentAmount?: ...;
                                        miscellaneousCreditCode?: ...;
                                        numberOfInstallments?: ...;
                                    } & {
                                        agencyAddress?: ...;
                                        agencyIataNumber?: ...;
                                        authentications?: ...;
                                        cardHolder?: ...;
                                        companyAddress?: ...;
                                        corporateId?: ...;
                                        docketDescription?: ...;
                                        docketIssuingAgentInitials?: ...;
                                        docketNumber?: ...;
                                        docketPrefix?: ...;
                                        governmentTravelRequestDescription?: ...;
                                        invoiceDescription?: ...;
                                        isAgencyPaymentCard?: ...;
                                        manualApproval?: ...;
                                        netBalance?: ...;
                                        tripType?: ...;
                                        tripTypes?: ...;
                                        type: ...;
                                        useType?: ...;
                                        useTypes?: ...;
                                        virtualCard?: ...;
                                        voucher?: ...;
                                    }
                                )[];
                            };
                            profiles?: {
                                domainId: string;
                                filterId?: string;
                                profileName?: string;
                                profileTypeCode: string;
                                uniqueId?: string;
                            }[];
                            receivedFrom: string;
                            remarks?: (
                                {
                                    alphaCode?: string;
                                    text?: string;
                                    type?: | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                } & {
                                    queuePlacement?: {
                                        futureQueuePlacementDate?: ...;
                                        pcc?: ...;
                                        prefatoryInstructionCode: ...;
                                        queueName?: ...;
                                        queueNumber?: ...;
                                    };
                                }
                            )[];
                            retentionEndDate?: string;
                            retentionLabel?: string;
                            targetPcc?: string;
                            travelers?: {
                                age?: number;
                                ancillaries?: {
                                    airlineCode: ...;
                                    basePrice: ...;
                                    commercialName?: ...;
                                    currencyCode: ...;
                                    electronicMiscellaneousDocumentType: ...;
                                    firstTravelDate?: ...;
                                    flightApplicabilityType?: ...;
                                    flightIndices: ...;
                                    groupCode: ...;
                                    lastTravelDate?: ...;
                                    numberOfItems: ...;
                                    purchaseDateTime?: ...;
                                    reasonForIssuance?: ...;
                                    source?: ...;
                                    specialServiceIndex?: ...;
                                    subcode: ...;
                                    totalPrice?: ...;
                                    vendorCode?: ...;
                                }[];
                                birthDate?: string;
                                emails?: string[];
                                formOfPaymentIndices?: number[];
                                gender?: | "FEMALE"
                                | "MALE"
                                | "INFANT_FEMALE"
                                | "INFANT_MALE"
                                | "UNDISCLOSED"
                                | "UNDEFINED";
                                givenName?: string;
                                id?: string;
                                identityDocuments?: {
                                    birthDate?: ...;
                                    documentNumber?: ...;
                                    documentSubType?: ...;
                                    documentType: ...;
                                    expiryDate?: ...;
                                    flightIndices?: ...;
                                    gender?: ...;
                                    givenName?: ...;
                                    hostCountryCode?: ...;
                                    isLapChildDocument?: ...;
                                    isPrimaryDocumentHolder?: ...;
                                    issueDate?: ...;
                                    issuingCountryCode?: ...;
                                    middleName?: ...;
                                    placeOfBirth?: ...;
                                    placeOfIssue?: ...;
                                    residenceCountryCode?: ...;
                                    residenceOrDestinationAddress?: ...;
                                    surname?: ...;
                                }[];
                                loyaltyPrograms?: {
                                    programNumber: ...;
                                    programType?: ...;
                                    receiverCode?: ...;
                                    supplierCode?: ...;
                                    tierLevel?: ...;
                                }[];
                                nameReferenceCode?: string;
                                passengerCode?: string;
                                phones?: { label?: ...; number: ... }[];
                                specialServices?: { code: ...; flightIndices?: ...; message?: ... }[];
                                surname?: string;
                            }[];
                        };
                        timestamp?: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      booking?: {
                          accountingItems?: {
                              airlineCode?: string;
                              cardNumber?: string;
                              cardTypeCode?: string;
                              commission?: {
                                  commissionAmount?: string;
                                  commissionPercentage?: string;
                                  currencyCode?: string;
                              };
                              creationType?: "Refund"
                              | "Exchange"
                              | "First Issuance";
                              currencyCode?: string;
                              fareAmount?: string;
                              fareApplicationType?:
                                  | "Single Traveler"
                                  | "All Travelers"
                                  | "Each Traveler";
                              formOfPaymentType?: | "Unknown"
                              | "Cash"
                              | "Check"
                              | "Check or Cash"
                              | "Payment Card"
                              | "Masked Payment Card";
                              tariffBasisType?: "Domestic"
                              | "Foreign"
                              | "International";
                              taxAmount?: string;
                              ticketNumber?: string;
                              travelerIndices?: number[];
                          }[];
                          agencyCustomerNumber?: string;
                          allSegments?: (
                              { id: string } & {
                                  address?: (...) & (...);
                                  date?: string;
                                  endAddress?: (...) & (...);
                                  endDate?: string;
                                  endLocationCode?: string;
                                  endTime?: string;
                                  locationCode?: string;
                                  startAddress?: (...) & (...);
                                  startDate?: string;
                                  startLocationCode?: string;
                                  startTime?: string;
                                  text?: string;
                                  time?: string;
                                  type: string;
                                  vendorCode?: string;
                              }
                          )[];
                          bookingId?: string;
                          cars?: (
                              { itemId: string } & {
                                  carStatusCode?: string;
                                  carStatusName?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  collectionAddress?: {
                                      city?: ...;
                                      countryCode?: ...;
                                      postalCode?: ...;
                                      stateProvince?: ...;
                                      street?: ...;
                                  };
                                  collectionSite?: { id?: ...; name?: ...; phone?: ... };
                                  confirmationId?: string;
                                  deliveryAddress?: {
                                      city?: ...;
                                      countryCode?: ...;
                                      postalCode?: ...;
                                      stateProvince?: ...;
                                      street?: ...;
                                  };
                                  deliverySite?: { id?: ...; name?: ...; phone?: ... };
                                  distanceAllowance?: string;
                                  dropOffAddress?: (...) & (...);
                                  dropOffContactInfo?: (...) & (...);
                                  dropOffDate: string;
                                  dropOffLocationCode?: string;
                                  dropOffTime: string;
                                  guaranteePaymentNote?: string;
                                  isRefundable: boolean;
                                  numberOfVehicles?: number;
                                  payment?: {
                                      currencyCode: ...;
                                      fees?: ...;
                                      subtotal?: ...;
                                      taxes?: ...;
                                      total: ...;
                                  };
                                  pickUpAddress: (...) & (...);
                                  pickUpContactInfo?: (...) & (...);
                                  pickUpDate: string;
                                  pickUpLocationCode?: string;
                                  pickUpTime: string;
                                  rateCode?: string;
                                  refundPenalties?: (...)[];
                                  specialInstructions?: string;
                                  travelerIndex?: number;
                                  vehicleTypeCode?: string;
                                  vehicleTypeName?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  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?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  departureDate: string;
                                  departureTime?: string;
                                  fromPortCode: string;
                                  numberOfGuests?: number;
                                  shipCode?: string;
                                  shipName?: string;
                                  toPortCode?: string;
                                  vendorCode: string;
                              }
                          )[];
                          endDate?: string;
                          fareOffers?: {
                              cabinBaggageAllowance?: {
                                  baggagePieces?: (...)[];
                                  maximumPieces?: number;
                                  totalWeightInKilograms?: number;
                                  totalWeightInPounds?: number;
                              };
                              cabinBaggageCharges?: {
                                  fee?: ...;
                                  isCheckInOnly?: ...;
                                  maximumSizeInCentimeters?: ...;
                                  maximumSizeInInches?: ...;
                                  maximumWeightInKilograms?: ...;
                                  maximumWeightInPounds?: ...;
                                  numberOfPieces: ...;
                                  specialItemDescription?: ...;
                              }[];
                              checkedBaggageAllowance?: {
                                  baggagePieces?: (...)[];
                                  maximumPieces?: number;
                                  totalWeightInKilograms?: number;
                                  totalWeightInPounds?: number;
                              };
                              checkedBaggageCharges?: {
                                  fee?: ...;
                                  isCheckInOnly?: ...;
                                  maximumSizeInCentimeters?: ...;
                                  maximumSizeInInches?: ...;
                                  maximumWeightInKilograms?: ...;
                                  maximumWeightInPounds?: ...;
                                  numberOfPieces: ...;
                                  specialItemDescription?: ...;
                              }[];
                              flights?: { itemId: ... }[];
                              travelerIndices?: number[];
                          }[];
                          fareRules?: {
                              destinationAirportCode?: string;
                              exchangePenalties?: {
                                  applicability: ...;
                                  conditionsApply: ...;
                                  penalty: ...;
                              }[];
                              isChangeable?: boolean;
                              isRefundable?: boolean;
                              originAirportCode?: string;
                              owningAirlineCode: string;
                              passengerCode?: string;
                              refundPenalties?: {
                                  applicability: ...;
                                  conditionsApply: ...;
                                  penalty: ...;
                              }[];
                          }[];
                          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?: ...;
                                  brandAttributes?: ...;
                                  brandFareCode?: ...;
                                  brandFareName?: ...;
                                  brandProgramCode?: ...;
                                  brandProgramName?: ...;
                                  checkedBaggageAllowance?: ...;
                                  fareBasisCode?: ...;
                                  flightIndices?: ...;
                                  flights?: ...;
                                  isCurrentItinerary?: ...;
                              }[];
                              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?: ...; taxCode?: ... }[];
                              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?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  fromAirportCode: string;
                                  hiddenStopAircraftTypeCode?: string;
                                  hiddenStopAircraftTypeName?: string;
                                  hiddenStopAirportCode?: string;
                                  hiddenStopArrivalDate?: string;
                                  hiddenStopArrivalTime?: string;
                                  hiddenStopDepartureDate?: string;
                                  hiddenStopDepartureTime?: string;
                                  hiddenStops?: (...)[];
                                  identityDocuments?: (...)[];
                                  isPast?: boolean;
                                  meals?: (...)[];
                                  numberOfSeats?: number;
                                  operatingAirlineCode?: string;
                                  operatingAirlineName?: string;
                                  operatingFlightNumber?: number;
                                  seats?: (...)[];
                                  sourceType?: (...) | (...) | (...);
                                  toAirportCode: string;
                                  travelerIndices?: (...)[];
                                  updatedArrivalDate?: string;
                                  updatedArrivalTime?: string;
                                  updatedDepartureDate?: string;
                                  updatedDepartureTime?: string;
                              }
                          )[];
                          flightTickets?: {
                              agencyIataNumber?: string;
                              airlineCode: string;
                              allCoupons?: ((...) & (...))[];
                              commission?: {
                                  commissionAmount?: string;
                                  commissionPercentage?: string;
                                  currencyCode?: string;
                              };
                              date: string;
                              flightCoupons: ((...) & (...))[];
                              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: (...) & (...) & (...);
                                  associatedFlightDetails?: {
                                      arrivalAirlineCode?: ...;
                                      arrivalFlightNumber?: ...;
                                      arrivalTime?: ...;
                                      departureAirlineCode?: ...;
                                      departureFlightNumber?: ...;
                                      departureTime?: ...;
                                  };
                                  chainCode?: string;
                                  chainName?: string;
                                  checkInDate: string;
                                  checkInTime: string;
                                  checkOutDate: string;
                                  checkOutTime: string;
                                  confirmationId?: string;
                                  contactInfo?: (...) & (...);
                                  corporateDiscountCode?: number;
                                  guaranteePaymentNote?: string;
                                  guaranteeTypeCode?: number;
                                  guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                                  hotelName: string;
                                  hotelStatusCode?: string;
                                  hotelStatusName?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  isRefundable: boolean;
                                  leadTravelerIndex?: number;
                                  numberOfGuests?: number;
                                  payment?: {
                                      currencyCode: ...;
                                      fees?: ...;
                                      subtotal?: ...;
                                      taxes?: ...;
                                      total: ...;
                                  };
                                  paymentPolicy?: (...)
                                  | (...)
                                  | (...);
                                  propertyId?: string;
                                  refundPenalties?: (...)[];
                                  refundPenaltyPolicyCode?: string;
                                  room?: {
                                      agencyCommission?: ...;
                                      description?: ...;
                                      productCode?: ...;
                                      quantity: ...;
                                      roomRate?: ...;
                                      roomType: ...;
                                      roomTypeCode?: ...;
                                      travelerIndices?: ...;
                                  };
                                  sabrePropertyId?: string;
                                  sourceTypeCode?: number;
                                  sourceTypeName?: (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                                  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?: ...;
                                      cardNumber?: ...;
                                      cardSecurityCode?: ...;
                                      cardTypeCode?: ...;
                                      expiryDate?: ...;
                                      extendedPayment?: ...;
                                      installmentAmount?: ...;
                                      miscellaneousCreditCode?: ...;
                                      numberOfInstallments?: ...;
                                  } & {
                                      agencyAddress?: ...;
                                      agencyIataNumber?: ...;
                                      authentications?: ...;
                                      cardHolder?: ...;
                                      companyAddress?: ...;
                                      corporateId?: ...;
                                      docketDescription?: ...;
                                      docketIssuingAgentInitials?: ...;
                                      docketNumber?: ...;
                                      docketPrefix?: ...;
                                      governmentTravelRequestDescription?: ...;
                                      invoiceDescription?: ...;
                                      isAgencyPaymentCard?: ...;
                                      manualApproval?: ...;
                                      netBalance?: ...;
                                      tripType?: ...;
                                      tripTypes?: ...;
                                      type: ...;
                                      useType?: ...;
                                      useTypes?: ...;
                                      virtualCard?: ...;
                                      voucher?: ...;
                                  }
                              )[];
                              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: ... }[];
                              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: ...;
                                      fees?: ...;
                                      subtotal?: ...;
                                      taxes?: ...;
                                      total: ...;
                                  };
                                  toStationCode: string;
                                  toStationName?: string;
                                  trainName?: string;
                                  trainNumber: string;
                                  trainStatusCode?: string;
                                  trainStatusName?: | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                                  vendorCode: string;
                                  vendorName?: string;
                              }
                          )[];
                          travelers?: {
                              address?: {
                                  city?: ...;
                                  countryCode?: ...;
                                  postalCode?: ...;
                                  stateProvince?: ...;
                                  street?: ...;
                              } & { freeText?: ...; name?: ... };
                              ancillaries?: {
                                  airlineCode?: ...;
                                  commercialName?: ...;
                                  electronicMiscellaneousDocumentNumber?: ...;
                                  flightApplicabilityType?: ...;
                                  flights?: ...;
                                  isCommissionable?: ...;
                                  isRefundable?: ...;
                                  itemId?: ...;
                                  numberOfItems?: ...;
                                  reasonForIssuanceCode?: ...;
                                  reasonForIssuanceName?: ...;
                                  source?: ...;
                                  statusCode?: ...;
                                  statusName?: ...;
                                  subcode?: ...;
                                  totals?: ...;
                                  vendorCode?: ...;
                              }[];
                              birthDate?: string;
                              emails?: string[];
                              formOfPaymentIndices?: number[];
                              gender?: | "FEMALE"
                              | "MALE"
                              | "INFANT_FEMALE"
                              | "INFANT_MALE"
                              | "UNDISCLOSED"
                              | "UNDEFINED";
                              givenName: string;
                              identityDocuments?: {
                                  birthDate?: ...;
                                  documentNumber?: ...;
                                  documentSubType?: ...;
                                  documentType: ...;
                                  expiryDate?: ...;
                                  flightIndices?: ...;
                                  gender?: ...;
                                  givenName?: ...;
                                  hostCountryCode?: ...;
                                  isLapChildDocument?: ...;
                                  isPrimaryDocumentHolder?: ...;
                                  issueDate?: ...;
                                  issuingCountryCode?: ...;
                                  itemId?: ...;
                                  middleName?: ...;
                                  placeOfBirth?: ...;
                                  placeOfIssue?: ...;
                                  residenceCountryCode?: ...;
                                  residenceDestinationAddress?: ...;
                                  surname?: ...;
                              }[];
                              isGrouped?: boolean;
                              loyaltyPrograms?: {
                                  programNumber: ...;
                                  programType?: ...;
                                  receiverCode?: ...;
                                  supplierCode?: ...;
                                  tierLevel?: ...;
                              }[];
                              middleName?: string;
                              nameAssociationId?: string;
                              nameReferenceCode?: string;
                              passengerCode?: string;
                              phones?: { label?: ...; number: ... }[];
                              remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                              surname: string;
                              type?:
                                  | "ADULT"
                                  | "AGENT"
                                  | "AIRLINE"
                                  | "CHILD"
                                  | "EDUCATION"
                                  | "GOVERNMENT"
                                  | "GROUP"
                                  | "INFANT"
                                  | "MILITARY"
                                  | "SENIOR"
                                  | "SPECIAL"
                                  | "YOUTH";
                          }[];
                          travelersGroup?: {
                              itemId?: string;
                              name?: string;
                              numberOfTravelers?: number;
                              numberOfTravelersRemaining?: number;
                          };
                      };
                      confirmationId?: string;
                      errors?: {
                          category: string;
                          description?: string;
                          fieldName?: string;
                          fieldPath?: string;
                          fieldValue?: string;
                          type: string;
                      }[];
                      request?: {
                          agency?: {
                              address?: {
                                  city?: string;
                                  countryCode?: string;
                                  postalCode?: string;
                                  stateProvince?: string;
                                  street?: string;
                              } & { freeText?: string; name?: string };
                              agencyCustomerNumber?: string;
                              contactInfo?: { emails?: string[] };
                              futureTicketingPolicy?: {
                                  comment?: string;
                                  queueNumber?: string;
                                  ticketingDate?: string;
                                  ticketingPcc?: string;
                                  ticketingTime?: string;
                              };
                              ticketingPolicy?: | "TODAY"
                              | "ALREADY_TICKETED"
                              | "FUTURE_TICKETING"
                              | "TICKETING_TIME_LIMIT";
                              ticketingTimeLimitPolicy?: {
                                  airlineCode?: string;
                                  ticketingDate?: string;
                                  ticketingTime?: string;
                              };
                          };
                          asynchronousUpdateWaitTime: number;
                          car?: {
                              bookingKey: string;
                              collectionAddress?: {
                                  city?: string;
                                  countryCode?: string;
                                  postalCode?: string;
                                  stateProvince?: string;
                                  street?: string;
                              };
                              collectionSite?: { id?: string; name?: string; phone?: string };
                              deliveryAddress?: {
                                  city?: string;
                                  countryCode?: string;
                                  postalCode?: string;
                                  stateProvince?: string;
                                  street?: string;
                              };
                              deliverySite?: { id?: string; name?: string; phone?: string };
                              emailIndex?: number;
                              flightIndex?: number;
                              formOfPayment?: number;
                              paymentPolicy?: "DEPOSIT" | "GUARANTEE";
                              quantity: number;
                              specialInstructions?: string;
                              travelerIndex?: number;
                          };
                          contactInfo?: { emails?: string[] } & {
                              emergencyPhones?: string[];
                              faxes?: string[];
                              phones?: string[];
                          };
                          errorHandlingPolicy?: (
                              | "HALT_ON_ERROR"
                              | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                              | "DO_NOT_HALT_ON_FLIGHT_PRICING_ERROR"
                              | "DO_NOT_HALT_ON_HOTEL_BOOKING_ERROR"
                              | "DO_NOT_HALT_ON_ANCILLARY_BOOKING_ERROR"
                              | "DO_NOT_HALT_ON_SEAT_BOOKING_ERROR"
                              | "DO_NOT_HALT_ON_CAR_BOOKING_ERROR"
                          )[];
                          flightDetails?: {
                              flightPricing?: {
                                  priceComparisons?: (...)[];
                                  qualifiers?: (...) & (...);
                              }[];
                              flights?: {
                                  airlineCode: string;
                                  arrivalDate?: string;
                                  arrivalTime?: string;
                                  bookingClass: string;
                                  confirmationId?: string;
                                  departureDate: string;
                                  departureTime: string;
                                  flightNumber: number;
                                  flightStatusCode: string;
                                  fromAirportCode: string;
                                  isMarriageGroup?: boolean;
                                  seats?: (...)[];
                                  source?: (...) | (...);
                                  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?: (...)[];
                                  travelerIndices?: (...)[];
                              }[];
                              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?: ...;
                                      cardNumber?: ...;
                                      cardSecurityCode?: ...;
                                      cardTypeCode?: ...;
                                      expiryDate?: ...;
                                      extendedPayment?: ...;
                                      installmentAmount?: ...;
                                      miscellaneousCreditCode?: ...;
                                      numberOfInstallments?: ...;
                                  } & {
                                      agencyAddress?: ...;
                                      agencyIataNumber?: ...;
                                      authentications?: ...;
                                      cardHolder?: ...;
                                      companyAddress?: ...;
                                      corporateId?: ...;
                                      docketDescription?: ...;
                                      docketIssuingAgentInitials?: ...;
                                      docketNumber?: ...;
                                      docketPrefix?: ...;
                                      governmentTravelRequestDescription?: ...;
                                      invoiceDescription?: ...;
                                      isAgencyPaymentCard?: ...;
                                      manualApproval?: ...;
                                      netBalance?: ...;
                                      tripType?: ...;
                                      tripTypes?: ...;
                                      type: ...;
                                      useType?: ...;
                                      useTypes?: ...;
                                      virtualCard?: ...;
                                      voucher?: ...;
                                  }
                              )[];
                          };
                          profiles?: {
                              domainId: string;
                              filterId?: string;
                              profileName?: string;
                              profileTypeCode: string;
                              uniqueId?: string;
                          }[];
                          receivedFrom: string;
                          remarks?: (
                              {
                                  alphaCode?: string;
                                  text?: string;
                                  type?: | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              } & {
                                  queuePlacement?: {
                                      futureQueuePlacementDate?: ...;
                                      pcc?: ...;
                                      prefatoryInstructionCode: ...;
                                      queueName?: ...;
                                      queueNumber?: ...;
                                  };
                              }
                          )[];
                          retentionEndDate?: string;
                          retentionLabel?: string;
                          targetPcc?: string;
                          travelers?: {
                              age?: number;
                              ancillaries?: {
                                  airlineCode: ...;
                                  basePrice: ...;
                                  commercialName?: ...;
                                  currencyCode: ...;
                                  electronicMiscellaneousDocumentType: ...;
                                  firstTravelDate?: ...;
                                  flightApplicabilityType?: ...;
                                  flightIndices: ...;
                                  groupCode: ...;
                                  lastTravelDate?: ...;
                                  numberOfItems: ...;
                                  purchaseDateTime?: ...;
                                  reasonForIssuance?: ...;
                                  source?: ...;
                                  specialServiceIndex?: ...;
                                  subcode: ...;
                                  totalPrice?: ...;
                                  vendorCode?: ...;
                              }[];
                              birthDate?: string;
                              emails?: string[];
                              formOfPaymentIndices?: number[];
                              gender?: | "FEMALE"
                              | "MALE"
                              | "INFANT_FEMALE"
                              | "INFANT_MALE"
                              | "UNDISCLOSED"
                              | "UNDEFINED";
                              givenName?: string;
                              id?: string;
                              identityDocuments?: {
                                  birthDate?: ...;
                                  documentNumber?: ...;
                                  documentSubType?: ...;
                                  documentType: ...;
                                  expiryDate?: ...;
                                  flightIndices?: ...;
                                  gender?: ...;
                                  givenName?: ...;
                                  hostCountryCode?: ...;
                                  isLapChildDocument?: ...;
                                  isPrimaryDocumentHolder?: ...;
                                  issueDate?: ...;
                                  issuingCountryCode?: ...;
                                  middleName?: ...;
                                  placeOfBirth?: ...;
                                  placeOfIssue?: ...;
                                  residenceCountryCode?: ...;
                                  residenceOrDestinationAddress?: ...;
                                  surname?: ...;
                              }[];
                              loyaltyPrograms?: {
                                  programNumber: ...;
                                  programType?: ...;
                                  receiverCode?: ...;
                                  supplierCode?: ...;
                                  tierLevel?: ...;
                              }[];
                              nameReferenceCode?: string;
                              passengerCode?: string;
                              phones?: { label?: ...; number: ... }[];
                              specialServices?: { code: ...; flightIndices?: ...; message?: ... }[];
                              surname?: string;
                          }[];
                      };
                      timestamp?: string;
                  };
              };
              headers: { [name: string]: unknown };
          }

          Successful response.

    • Optionalput?: never
    • Optionaltrace?: never
    "/fulfillFlightTickets": {
        delete?: never;
        get?: never;
        head?: never;
        options?: never;
        parameters: { cookie?: never; header?: never; path?: never; query?: never };
        patch?: never;
        post: {
            parameters: {
                cookie?: never;
                header: { Authorization: string };
                path?: never;
                query?: never;
            };
            requestBody: {
                content: {
                    "application/json": {
                        acceptNegotiatedFare: boolean;
                        acceptPriceChanges: boolean;
                        backDatePriceQuoteMethod?: "Reprice"
                        | "Override"
                        | "Quit";
                        bookingSource?: "SABRE" | "SABRE_ORDER";
                        commitTicketToBookingWaitTime: number;
                        confirmationId: string;
                        designatePrinters?: {
                            hardcopy?: { address?: string; spacing?: string };
                            invoiceItinerary?: string;
                            profileNumber?: number;
                            ticket?: { address?: string; countryCode?: string };
                        }[];
                        errorHandlingPolicy?: (
                            | "ALLOW_PARTIAL_FULFILLMENT"
                            | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                        )[];
                        formsOfPayment?: (
                            {
                                airlinePlanCode?: string;
                                cardNumber?: string;
                                cardSecurityCode?: string;
                                cardTypeCode?: string;
                                expiryDate?: string;
                                extendedPayment?: number;
                                installmentAmount?: string;
                                miscellaneousCreditCode?: string;
                                numberOfInstallments?: number;
                            } & {
                                authentications?: { channelCode?: string }[];
                                manualApprovalCode?: string;
                                type:
                                    | "PAYMENTCARD"
                                    | "CASH"
                                    | "CHECK"
                                    | "MISCELLANEOUS"
                                    | "INSTALLMENTS"
                                    | "VIRTUAL_CARD";
                                virtualCardCode?: string;
                            }
                        )[];
                        fulfillments: {
                            ancillaryIds?: string[];
                            payment?: {
                                amountOnSecondFormOfPayment?: string;
                                primaryFormOfPayment: number;
                                secondaryFormOfPayment?: number;
                            };
                            serviceFee?: {
                                currencyCode?: string;
                                customerReference?: string;
                                description?: string;
                                overrideAmount?: string;
                            };
                            ticketingQualifiers?: {
                                commissionAmount?: string;
                                commissionPercentage?: string;
                                endorsements?: { description?: string; useOverride?: boolean };
                                excludeFareFocusFares?: boolean;
                                tourCode?: string;
                                tourCodeOverrides?:
                                    | "REPLACE_WITH_BT"
                                    | "REPLACE_WITH_IT"
                                    | "SUPPRESS_IT"
                                    | "SUPPRESS_IT_AND_FARE";
                                travelerIndices?: number[];
                                validatingAirlineCode?: string;
                            } & {
                                baggageAllowance?: {
                                    baggagePieces?: ...;
                                    flights?: ...;
                                    totalWeightInKilograms?: ...;
                                }[];
                                brandedFares?: { brandCode: ...; flights?: ... }[];
                                discountApprovalCode?: string;
                                exemptTaxes?: string[];
                                futurePricingLines?: {
                                    firstLineNumber: ...;
                                    lastLineNumber?: ...;
                                    travelerIndex?: ...;
                                }[];
                                isNetFareCommission: boolean;
                                netRemit?: {
                                    cashAmount?: string;
                                    commercialAgreementReferenceCode?: string;
                                    creditAmount?: string;
                                    discountAmount?: string;
                                    netRemitCode?: string;
                                    sellingFareAmount?: string;
                                    tourCode?: string;
                                };
                                penalties?: {
                                    applicability?: ...;
                                    isChangeable?: ...;
                                    maximumPenalty?: ...;
                                    type: ...;
                                }[];
                                priceQuoteRecordIds?: string[];
                                priceWithTaxes: boolean;
                                printDocuments?: "All"
                                | "Invoice"
                                | "Electronic Ticketing Receipt";
                                returnFareFlexibilityDetails: boolean;
                                sideTripFlights?: { itemId: ... }[];
                                spanishLargeFamilyDiscountLevel?: number;
                                specificFares?: { fareBasisCode: ...; flights?: ... }[];
                                validityDates?: { endDate?: ...; flights?: ...; startDate?: ... }[];
                            };
                        }[];
                        generateSingleInvoice: boolean;
                        notificationEmail?: | "DEFAULT"
                        | "INVOICE"
                        | "ETICKET"
                        | "ETICKET_PDF"
                        | "ITINERARY"
                        | "ITINERARY_PDF";
                        priceQuoteExpirationMethod?: "Reprice"
                        | "Override"
                        | "Quit";
                        receivedFrom: string;
                        retainAccounting: boolean;
                        targetPcc?: string;
                        travelers?: { givenName: string; middleName?: string; surname: string }[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            errors?: {
                                category: string;
                                description?: string;
                                fieldName?: string;
                                fieldPath?: string;
                                fieldValue?: string;
                                type: string;
                            }[];
                            request?: {
                                acceptNegotiatedFare: boolean;
                                acceptPriceChanges: boolean;
                                backDatePriceQuoteMethod?: "Reprice"
                                | "Override"
                                | "Quit";
                                bookingSource?: "SABRE" | "SABRE_ORDER";
                                commitTicketToBookingWaitTime: number;
                                confirmationId: string;
                                designatePrinters?: {
                                    hardcopy?: { address?: string; spacing?: string };
                                    invoiceItinerary?: string;
                                    profileNumber?: number;
                                    ticket?: { address?: string; countryCode?: string };
                                }[];
                                errorHandlingPolicy?: (
                                    | "ALLOW_PARTIAL_FULFILLMENT"
                                    | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                                )[];
                                formsOfPayment?: (
                                    {
                                        airlinePlanCode?: string;
                                        cardNumber?: string;
                                        cardSecurityCode?: string;
                                        cardTypeCode?: string;
                                        expiryDate?: string;
                                        extendedPayment?: number;
                                        installmentAmount?: string;
                                        miscellaneousCreditCode?: string;
                                        numberOfInstallments?: number;
                                    } & {
                                        authentications?: (...)[];
                                        manualApprovalCode?: string;
                                        type: (...) | (...) | (...) | (...) | (...) | (...);
                                        virtualCardCode?: string;
                                    }
                                )[];
                                fulfillments: {
                                    ancillaryIds?: string[];
                                    payment?: {
                                        amountOnSecondFormOfPayment?: string;
                                        primaryFormOfPayment: number;
                                        secondaryFormOfPayment?: number;
                                    };
                                    serviceFee?: {
                                        currencyCode?: string;
                                        customerReference?: string;
                                        description?: string;
                                        overrideAmount?: string;
                                    };
                                    ticketingQualifiers?: {
                                        commissionAmount?: ...;
                                        commissionPercentage?: ...;
                                        endorsements?: ...;
                                        excludeFareFocusFares?: ...;
                                        tourCode?: ...;
                                        tourCodeOverrides?: ...;
                                        travelerIndices?: ...;
                                        validatingAirlineCode?: ...;
                                    } & {
                                        baggageAllowance?: ...;
                                        brandedFares?: ...;
                                        discountApprovalCode?: ...;
                                        exemptTaxes?: ...;
                                        futurePricingLines?: ...;
                                        isNetFareCommission: ...;
                                        netRemit?: ...;
                                        penalties?: ...;
                                        priceQuoteRecordIds?: ...;
                                        priceWithTaxes: ...;
                                        printDocuments?: ...;
                                        returnFareFlexibilityDetails: ...;
                                        sideTripFlights?: ...;
                                        spanishLargeFamilyDiscountLevel?: ...;
                                        specificFares?: ...;
                                        validityDates?: ...;
                                    };
                                }[];
                                generateSingleInvoice: boolean;
                                notificationEmail?: | "DEFAULT"
                                | "INVOICE"
                                | "ETICKET"
                                | "ETICKET_PDF"
                                | "ITINERARY"
                                | "ITINERARY_PDF";
                                priceQuoteExpirationMethod?: "Reprice"
                                | "Override"
                                | "Quit";
                                receivedFrom: string;
                                retainAccounting: boolean;
                                targetPcc?: string;
                                travelers?: {
                                    givenName: string;
                                    middleName?: string;
                                    surname: string;
                                }[];
                            };
                            tickets?: {
                                date: string;
                                isCommitted?: boolean;
                                number: string;
                                payment: {
                                    currencyCode: string;
                                    fees?: string;
                                    subtotal?: string;
                                    taxes?: string;
                                    total: string;
                                };
                                ticketingPcc?: string;
                                ticketStatusCode?: string;
                                ticketStatusName?: "Voided"
                                | "Issued"
                                | "Refunded/Exchanged";
                                travelerGivenName?: string;
                                travelerSurname?: string;
                            }[];
                            timestamp?: string;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        put?: never;
        trace?: never;
    }

    Type Declaration

    • Optionaldelete?: never
    • Optionalget?: never
    • Optionalhead?: never
    • Optionaloptions?: never
    • parameters: { cookie?: never; header?: never; path?: never; query?: never }
    • Optionalpatch?: never
    • post: {
          parameters: {
              cookie?: never;
              header: { Authorization: string };
              path?: never;
              query?: never;
          };
          requestBody: {
              content: {
                  "application/json": {
                      acceptNegotiatedFare: boolean;
                      acceptPriceChanges: boolean;
                      backDatePriceQuoteMethod?: "Reprice"
                      | "Override"
                      | "Quit";
                      bookingSource?: "SABRE" | "SABRE_ORDER";
                      commitTicketToBookingWaitTime: number;
                      confirmationId: string;
                      designatePrinters?: {
                          hardcopy?: { address?: string; spacing?: string };
                          invoiceItinerary?: string;
                          profileNumber?: number;
                          ticket?: { address?: string; countryCode?: string };
                      }[];
                      errorHandlingPolicy?: (
                          | "ALLOW_PARTIAL_FULFILLMENT"
                          | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                      )[];
                      formsOfPayment?: (
                          {
                              airlinePlanCode?: string;
                              cardNumber?: string;
                              cardSecurityCode?: string;
                              cardTypeCode?: string;
                              expiryDate?: string;
                              extendedPayment?: number;
                              installmentAmount?: string;
                              miscellaneousCreditCode?: string;
                              numberOfInstallments?: number;
                          } & {
                              authentications?: { channelCode?: string }[];
                              manualApprovalCode?: string;
                              type:
                                  | "PAYMENTCARD"
                                  | "CASH"
                                  | "CHECK"
                                  | "MISCELLANEOUS"
                                  | "INSTALLMENTS"
                                  | "VIRTUAL_CARD";
                              virtualCardCode?: string;
                          }
                      )[];
                      fulfillments: {
                          ancillaryIds?: string[];
                          payment?: {
                              amountOnSecondFormOfPayment?: string;
                              primaryFormOfPayment: number;
                              secondaryFormOfPayment?: number;
                          };
                          serviceFee?: {
                              currencyCode?: string;
                              customerReference?: string;
                              description?: string;
                              overrideAmount?: string;
                          };
                          ticketingQualifiers?: {
                              commissionAmount?: string;
                              commissionPercentage?: string;
                              endorsements?: { description?: string; useOverride?: boolean };
                              excludeFareFocusFares?: boolean;
                              tourCode?: string;
                              tourCodeOverrides?:
                                  | "REPLACE_WITH_BT"
                                  | "REPLACE_WITH_IT"
                                  | "SUPPRESS_IT"
                                  | "SUPPRESS_IT_AND_FARE";
                              travelerIndices?: number[];
                              validatingAirlineCode?: string;
                          } & {
                              baggageAllowance?: {
                                  baggagePieces?: ...;
                                  flights?: ...;
                                  totalWeightInKilograms?: ...;
                              }[];
                              brandedFares?: { brandCode: ...; flights?: ... }[];
                              discountApprovalCode?: string;
                              exemptTaxes?: string[];
                              futurePricingLines?: {
                                  firstLineNumber: ...;
                                  lastLineNumber?: ...;
                                  travelerIndex?: ...;
                              }[];
                              isNetFareCommission: boolean;
                              netRemit?: {
                                  cashAmount?: string;
                                  commercialAgreementReferenceCode?: string;
                                  creditAmount?: string;
                                  discountAmount?: string;
                                  netRemitCode?: string;
                                  sellingFareAmount?: string;
                                  tourCode?: string;
                              };
                              penalties?: {
                                  applicability?: ...;
                                  isChangeable?: ...;
                                  maximumPenalty?: ...;
                                  type: ...;
                              }[];
                              priceQuoteRecordIds?: string[];
                              priceWithTaxes: boolean;
                              printDocuments?: "All"
                              | "Invoice"
                              | "Electronic Ticketing Receipt";
                              returnFareFlexibilityDetails: boolean;
                              sideTripFlights?: { itemId: ... }[];
                              spanishLargeFamilyDiscountLevel?: number;
                              specificFares?: { fareBasisCode: ...; flights?: ... }[];
                              validityDates?: { endDate?: ...; flights?: ...; startDate?: ... }[];
                          };
                      }[];
                      generateSingleInvoice: boolean;
                      notificationEmail?: | "DEFAULT"
                      | "INVOICE"
                      | "ETICKET"
                      | "ETICKET_PDF"
                      | "ITINERARY"
                      | "ITINERARY_PDF";
                      priceQuoteExpirationMethod?: "Reprice"
                      | "Override"
                      | "Quit";
                      receivedFrom: string;
                      retainAccounting: boolean;
                      targetPcc?: string;
                      travelers?: { givenName: string; middleName?: string; surname: string }[];
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          errors?: {
                              category: string;
                              description?: string;
                              fieldName?: string;
                              fieldPath?: string;
                              fieldValue?: string;
                              type: string;
                          }[];
                          request?: {
                              acceptNegotiatedFare: boolean;
                              acceptPriceChanges: boolean;
                              backDatePriceQuoteMethod?: "Reprice"
                              | "Override"
                              | "Quit";
                              bookingSource?: "SABRE" | "SABRE_ORDER";
                              commitTicketToBookingWaitTime: number;
                              confirmationId: string;
                              designatePrinters?: {
                                  hardcopy?: { address?: string; spacing?: string };
                                  invoiceItinerary?: string;
                                  profileNumber?: number;
                                  ticket?: { address?: string; countryCode?: string };
                              }[];
                              errorHandlingPolicy?: (
                                  | "ALLOW_PARTIAL_FULFILLMENT"
                                  | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                              )[];
                              formsOfPayment?: (
                                  {
                                      airlinePlanCode?: string;
                                      cardNumber?: string;
                                      cardSecurityCode?: string;
                                      cardTypeCode?: string;
                                      expiryDate?: string;
                                      extendedPayment?: number;
                                      installmentAmount?: string;
                                      miscellaneousCreditCode?: string;
                                      numberOfInstallments?: number;
                                  } & {
                                      authentications?: (...)[];
                                      manualApprovalCode?: string;
                                      type: (...) | (...) | (...) | (...) | (...) | (...);
                                      virtualCardCode?: string;
                                  }
                              )[];
                              fulfillments: {
                                  ancillaryIds?: string[];
                                  payment?: {
                                      amountOnSecondFormOfPayment?: string;
                                      primaryFormOfPayment: number;
                                      secondaryFormOfPayment?: number;
                                  };
                                  serviceFee?: {
                                      currencyCode?: string;
                                      customerReference?: string;
                                      description?: string;
                                      overrideAmount?: string;
                                  };
                                  ticketingQualifiers?: {
                                      commissionAmount?: ...;
                                      commissionPercentage?: ...;
                                      endorsements?: ...;
                                      excludeFareFocusFares?: ...;
                                      tourCode?: ...;
                                      tourCodeOverrides?: ...;
                                      travelerIndices?: ...;
                                      validatingAirlineCode?: ...;
                                  } & {
                                      baggageAllowance?: ...;
                                      brandedFares?: ...;
                                      discountApprovalCode?: ...;
                                      exemptTaxes?: ...;
                                      futurePricingLines?: ...;
                                      isNetFareCommission: ...;
                                      netRemit?: ...;
                                      penalties?: ...;
                                      priceQuoteRecordIds?: ...;
                                      priceWithTaxes: ...;
                                      printDocuments?: ...;
                                      returnFareFlexibilityDetails: ...;
                                      sideTripFlights?: ...;
                                      spanishLargeFamilyDiscountLevel?: ...;
                                      specificFares?: ...;
                                      validityDates?: ...;
                                  };
                              }[];
                              generateSingleInvoice: boolean;
                              notificationEmail?: | "DEFAULT"
                              | "INVOICE"
                              | "ETICKET"
                              | "ETICKET_PDF"
                              | "ITINERARY"
                              | "ITINERARY_PDF";
                              priceQuoteExpirationMethod?: "Reprice"
                              | "Override"
                              | "Quit";
                              receivedFrom: string;
                              retainAccounting: boolean;
                              targetPcc?: string;
                              travelers?: {
                                  givenName: string;
                                  middleName?: string;
                                  surname: string;
                              }[];
                          };
                          tickets?: {
                              date: string;
                              isCommitted?: boolean;
                              number: string;
                              payment: {
                                  currencyCode: string;
                                  fees?: string;
                                  subtotal?: string;
                                  taxes?: string;
                                  total: string;
                              };
                              ticketingPcc?: string;
                              ticketStatusCode?: string;
                              ticketStatusName?: "Voided"
                              | "Issued"
                              | "Refunded/Exchanged";
                              travelerGivenName?: string;
                              travelerSurname?: string;
                          }[];
                          timestamp?: string;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Processes the fulfillment of flight tickets (for ATPCO and NDC content) and Electronic Miscellaneous Documents (EMDs).

      • parameters: {
            cookie?: never;
            header: { Authorization: string };
            path?: never;
            query?: never;
        }
        • Optionalcookie?: never
        • header: { Authorization: string }
          • Authorization: string

            The bearer authentication token.

            Bearer TOKEN
            
        • Optionalpath?: never
        • Optionalquery?: never
      • requestBody: {
            content: {
                "application/json": {
                    acceptNegotiatedFare: boolean;
                    acceptPriceChanges: boolean;
                    backDatePriceQuoteMethod?: "Reprice" | "Override" | "Quit";
                    bookingSource?: "SABRE" | "SABRE_ORDER";
                    commitTicketToBookingWaitTime: number;
                    confirmationId: string;
                    designatePrinters?: {
                        hardcopy?: { address?: string; spacing?: string };
                        invoiceItinerary?: string;
                        profileNumber?: number;
                        ticket?: { address?: string; countryCode?: string };
                    }[];
                    errorHandlingPolicy?: (
                        | "ALLOW_PARTIAL_FULFILLMENT"
                        | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                    )[];
                    formsOfPayment?: (
                        {
                            airlinePlanCode?: string;
                            cardNumber?: string;
                            cardSecurityCode?: string;
                            cardTypeCode?: string;
                            expiryDate?: string;
                            extendedPayment?: number;
                            installmentAmount?: string;
                            miscellaneousCreditCode?: string;
                            numberOfInstallments?: number;
                        } & {
                            authentications?: { channelCode?: string }[];
                            manualApprovalCode?: string;
                            type:
                                | "PAYMENTCARD"
                                | "CASH"
                                | "CHECK"
                                | "MISCELLANEOUS"
                                | "INSTALLMENTS"
                                | "VIRTUAL_CARD";
                            virtualCardCode?: string;
                        }
                    )[];
                    fulfillments: {
                        ancillaryIds?: string[];
                        payment?: {
                            amountOnSecondFormOfPayment?: string;
                            primaryFormOfPayment: number;
                            secondaryFormOfPayment?: number;
                        };
                        serviceFee?: {
                            currencyCode?: string;
                            customerReference?: string;
                            description?: string;
                            overrideAmount?: string;
                        };
                        ticketingQualifiers?: {
                            commissionAmount?: string;
                            commissionPercentage?: string;
                            endorsements?: { description?: string; useOverride?: boolean };
                            excludeFareFocusFares?: boolean;
                            tourCode?: string;
                            tourCodeOverrides?:
                                | "REPLACE_WITH_BT"
                                | "REPLACE_WITH_IT"
                                | "SUPPRESS_IT"
                                | "SUPPRESS_IT_AND_FARE";
                            travelerIndices?: number[];
                            validatingAirlineCode?: string;
                        } & {
                            baggageAllowance?: {
                                baggagePieces?: ...;
                                flights?: ...;
                                totalWeightInKilograms?: ...;
                            }[];
                            brandedFares?: { brandCode: ...; flights?: ... }[];
                            discountApprovalCode?: string;
                            exemptTaxes?: string[];
                            futurePricingLines?: {
                                firstLineNumber: ...;
                                lastLineNumber?: ...;
                                travelerIndex?: ...;
                            }[];
                            isNetFareCommission: boolean;
                            netRemit?: {
                                cashAmount?: string;
                                commercialAgreementReferenceCode?: string;
                                creditAmount?: string;
                                discountAmount?: string;
                                netRemitCode?: string;
                                sellingFareAmount?: string;
                                tourCode?: string;
                            };
                            penalties?: {
                                applicability?: ...;
                                isChangeable?: ...;
                                maximumPenalty?: ...;
                                type: ...;
                            }[];
                            priceQuoteRecordIds?: string[];
                            priceWithTaxes: boolean;
                            printDocuments?: "All"
                            | "Invoice"
                            | "Electronic Ticketing Receipt";
                            returnFareFlexibilityDetails: boolean;
                            sideTripFlights?: { itemId: ... }[];
                            spanishLargeFamilyDiscountLevel?: number;
                            specificFares?: { fareBasisCode: ...; flights?: ... }[];
                            validityDates?: { endDate?: ...; flights?: ...; startDate?: ... }[];
                        };
                    }[];
                    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 selected tickets and EMDs.

      • responses: {
            "200": {
                content: {
                    "application/json": {
                        errors?: {
                            category: string;
                            description?: string;
                            fieldName?: string;
                            fieldPath?: string;
                            fieldValue?: string;
                            type: string;
                        }[];
                        request?: {
                            acceptNegotiatedFare: boolean;
                            acceptPriceChanges: boolean;
                            backDatePriceQuoteMethod?: "Reprice"
                            | "Override"
                            | "Quit";
                            bookingSource?: "SABRE" | "SABRE_ORDER";
                            commitTicketToBookingWaitTime: number;
                            confirmationId: string;
                            designatePrinters?: {
                                hardcopy?: { address?: string; spacing?: string };
                                invoiceItinerary?: string;
                                profileNumber?: number;
                                ticket?: { address?: string; countryCode?: string };
                            }[];
                            errorHandlingPolicy?: (
                                | "ALLOW_PARTIAL_FULFILLMENT"
                                | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                            )[];
                            formsOfPayment?: (
                                {
                                    airlinePlanCode?: string;
                                    cardNumber?: string;
                                    cardSecurityCode?: string;
                                    cardTypeCode?: string;
                                    expiryDate?: string;
                                    extendedPayment?: number;
                                    installmentAmount?: string;
                                    miscellaneousCreditCode?: string;
                                    numberOfInstallments?: number;
                                } & {
                                    authentications?: (...)[];
                                    manualApprovalCode?: string;
                                    type: (...) | (...) | (...) | (...) | (...) | (...);
                                    virtualCardCode?: string;
                                }
                            )[];
                            fulfillments: {
                                ancillaryIds?: string[];
                                payment?: {
                                    amountOnSecondFormOfPayment?: string;
                                    primaryFormOfPayment: number;
                                    secondaryFormOfPayment?: number;
                                };
                                serviceFee?: {
                                    currencyCode?: string;
                                    customerReference?: string;
                                    description?: string;
                                    overrideAmount?: string;
                                };
                                ticketingQualifiers?: {
                                    commissionAmount?: ...;
                                    commissionPercentage?: ...;
                                    endorsements?: ...;
                                    excludeFareFocusFares?: ...;
                                    tourCode?: ...;
                                    tourCodeOverrides?: ...;
                                    travelerIndices?: ...;
                                    validatingAirlineCode?: ...;
                                } & {
                                    baggageAllowance?: ...;
                                    brandedFares?: ...;
                                    discountApprovalCode?: ...;
                                    exemptTaxes?: ...;
                                    futurePricingLines?: ...;
                                    isNetFareCommission: ...;
                                    netRemit?: ...;
                                    penalties?: ...;
                                    priceQuoteRecordIds?: ...;
                                    priceWithTaxes: ...;
                                    printDocuments?: ...;
                                    returnFareFlexibilityDetails: ...;
                                    sideTripFlights?: ...;
                                    spanishLargeFamilyDiscountLevel?: ...;
                                    specificFares?: ...;
                                    validityDates?: ...;
                                };
                            }[];
                            generateSingleInvoice: boolean;
                            notificationEmail?: | "DEFAULT"
                            | "INVOICE"
                            | "ETICKET"
                            | "ETICKET_PDF"
                            | "ITINERARY"
                            | "ITINERARY_PDF";
                            priceQuoteExpirationMethod?: "Reprice"
                            | "Override"
                            | "Quit";
                            receivedFrom: string;
                            retainAccounting: boolean;
                            targetPcc?: string;
                            travelers?: { givenName: string; middleName?: string; surname: string }[];
                        };
                        tickets?: {
                            date: string;
                            isCommitted?: boolean;
                            number: string;
                            payment: {
                                currencyCode: string;
                                fees?: string;
                                subtotal?: string;
                                taxes?: string;
                                total: string;
                            };
                            ticketingPcc?: string;
                            ticketStatusCode?: string;
                            ticketStatusName?: "Voided"
                            | "Issued"
                            | "Refunded/Exchanged";
                            travelerGivenName?: string;
                            travelerSurname?: string;
                        }[];
                        timestamp?: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      errors?: {
                          category: string;
                          description?: string;
                          fieldName?: string;
                          fieldPath?: string;
                          fieldValue?: string;
                          type: string;
                      }[];
                      request?: {
                          acceptNegotiatedFare: boolean;
                          acceptPriceChanges: boolean;
                          backDatePriceQuoteMethod?: "Reprice"
                          | "Override"
                          | "Quit";
                          bookingSource?: "SABRE" | "SABRE_ORDER";
                          commitTicketToBookingWaitTime: number;
                          confirmationId: string;
                          designatePrinters?: {
                              hardcopy?: { address?: string; spacing?: string };
                              invoiceItinerary?: string;
                              profileNumber?: number;
                              ticket?: { address?: string; countryCode?: string };
                          }[];
                          errorHandlingPolicy?: (
                              | "ALLOW_PARTIAL_FULFILLMENT"
                              | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                          )[];
                          formsOfPayment?: (
                              {
                                  airlinePlanCode?: string;
                                  cardNumber?: string;
                                  cardSecurityCode?: string;
                                  cardTypeCode?: string;
                                  expiryDate?: string;
                                  extendedPayment?: number;
                                  installmentAmount?: string;
                                  miscellaneousCreditCode?: string;
                                  numberOfInstallments?: number;
                              } & {
                                  authentications?: (...)[];
                                  manualApprovalCode?: string;
                                  type: (...) | (...) | (...) | (...) | (...) | (...);
                                  virtualCardCode?: string;
                              }
                          )[];
                          fulfillments: {
                              ancillaryIds?: string[];
                              payment?: {
                                  amountOnSecondFormOfPayment?: string;
                                  primaryFormOfPayment: number;
                                  secondaryFormOfPayment?: number;
                              };
                              serviceFee?: {
                                  currencyCode?: string;
                                  customerReference?: string;
                                  description?: string;
                                  overrideAmount?: string;
                              };
                              ticketingQualifiers?: {
                                  commissionAmount?: ...;
                                  commissionPercentage?: ...;
                                  endorsements?: ...;
                                  excludeFareFocusFares?: ...;
                                  tourCode?: ...;
                                  tourCodeOverrides?: ...;
                                  travelerIndices?: ...;
                                  validatingAirlineCode?: ...;
                              } & {
                                  baggageAllowance?: ...;
                                  brandedFares?: ...;
                                  discountApprovalCode?: ...;
                                  exemptTaxes?: ...;
                                  futurePricingLines?: ...;
                                  isNetFareCommission: ...;
                                  netRemit?: ...;
                                  penalties?: ...;
                                  priceQuoteRecordIds?: ...;
                                  priceWithTaxes: ...;
                                  printDocuments?: ...;
                                  returnFareFlexibilityDetails: ...;
                                  sideTripFlights?: ...;
                                  spanishLargeFamilyDiscountLevel?: ...;
                                  specificFares?: ...;
                                  validityDates?: ...;
                              };
                          }[];
                          generateSingleInvoice: boolean;
                          notificationEmail?: | "DEFAULT"
                          | "INVOICE"
                          | "ETICKET"
                          | "ETICKET_PDF"
                          | "ITINERARY"
                          | "ITINERARY_PDF";
                          priceQuoteExpirationMethod?: "Reprice"
                          | "Override"
                          | "Quit";
                          receivedFrom: string;
                          retainAccounting: boolean;
                          targetPcc?: string;
                          travelers?: { givenName: string; middleName?: string; surname: string }[];
                      };
                      tickets?: {
                          date: string;
                          isCommitted?: boolean;
                          number: string;
                          payment: {
                              currencyCode: string;
                              fees?: string;
                              subtotal?: string;
                              taxes?: string;
                              total: string;
                          };
                          ticketingPcc?: string;
                          ticketStatusCode?: string;
                          ticketStatusName?: "Voided"
                          | "Issued"
                          | "Refunded/Exchanged";
                          travelerGivenName?: string;
                          travelerSurname?: string;
                      }[];
                      timestamp?: string;
                  };
              };
              headers: { [name: string]: unknown };
          }

          Successful response.

    • Optionalput?: never
    • Optionaltrace?: never
    "/getBooking": {
        delete?: never;
        get?: never;
        head?: never;
        options?: never;
        parameters: { cookie?: never; header?: never; path?: never; query?: never };
        patch?: never;
        post: {
            parameters: {
                cookie?: never;
                header: { Authorization: string };
                path?: never;
                query?: never;
            };
            requestBody: {
                content: {
                    "application/json": {
                        bookingSource?: "SABRE"
                        | "SABRE_ORDER";
                        confirmationId: string;
                        extraFeatures?: { returnEmptySeatObjects: boolean } & {
                            returnFiscalId: boolean;
                            returnFrequentRenter: boolean;
                            returnWalletFormsOfPayment: boolean;
                        } & Record<string, never>;
                        givenName?: string;
                        middleName?: string;
                        returnOnly?: (
                            | "FLIGHTS"
                            | "FLIGHT_PENALTY"
                            | "BAGGAGE_POLICY"
                            | "JOURNEYS"
                            | "HOTELS"
                            | "HOTEL_ADDRESS"
                            | "CARS"
                            | "CAR_RENTAL_ADDRESS"
                            | "CAR_RENTAL_PENALTY"
                            | "TRAINS"
                            | "CRUISES"
                            | "ALL_SEGMENTS"
                            | "TRAVELERS"
                            | "TICKETS"
                            | "PAYMENTS"
                            | "PENALTIES"
                            | "REMARKS"
                            | "IS_CANCELABLE"
                            | "IS_TICKETED"
                            | "CONTACT_INFO"
                            | "OTHER_SERVICES"
                            | "SPECIAL_SERVICES"
                            | "FARES"
                            | "CREATION_DETAILS"
                            | "ANCILLARIES"
                            | "FORMS_OF_PAYMENT"
                            | "RETENTION_DATE"
                            | "ACCOUNTING_ITEMS"
                            | "NON_ELECTRONIC_TICKETS"
                        )[];
                        surname?: string;
                        targetPcc?: string;
                        unmaskPaymentCardNumbers?: boolean;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            accountingItems?: {
                                airlineCode?: string;
                                cardNumber?: string;
                                cardTypeCode?: string;
                                commission?: {
                                    commissionAmount?: string;
                                    commissionPercentage?: string;
                                    currencyCode?: string;
                                };
                                creationType?: "Refund"
                                | "Exchange"
                                | "First Issuance";
                                currencyCode?: string;
                                fareAmount?: string;
                                fareApplicationType?:
                                    | "Single Traveler"
                                    | "All Travelers"
                                    | "Each Traveler";
                                formOfPaymentType?: | "Unknown"
                                | "Cash"
                                | "Check"
                                | "Check or Cash"
                                | "Payment Card"
                                | "Masked Payment Card";
                                tariffBasisType?: "Domestic"
                                | "Foreign"
                                | "International";
                                taxAmount?: string;
                                ticketNumber?: string;
                                travelerIndices?: number[];
                            }[];
                            agencyCustomerNumber?: string;
                            allSegments?: (
                                { id: string } & {
                                    address?: (...) & (...);
                                    date?: string;
                                    endAddress?: (...) & (...);
                                    endDate?: string;
                                    endLocationCode?: string;
                                    endTime?: string;
                                    locationCode?: string;
                                    startAddress?: (...) & (...);
                                    startDate?: string;
                                    startLocationCode?: string;
                                    startTime?: string;
                                    text?: string;
                                    time?: string;
                                    type: string;
                                    vendorCode?: string;
                                }
                            )[];
                            bookingId?: string;
                            cars?: (
                                { itemId: string } & {
                                    carStatusCode?: string;
                                    carStatusName?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    collectionAddress?: {
                                        city?: ...;
                                        countryCode?: ...;
                                        postalCode?: ...;
                                        stateProvince?: ...;
                                        street?: ...;
                                    };
                                    collectionSite?: { id?: ...; name?: ...; phone?: ... };
                                    confirmationId?: string;
                                    deliveryAddress?: {
                                        city?: ...;
                                        countryCode?: ...;
                                        postalCode?: ...;
                                        stateProvince?: ...;
                                        street?: ...;
                                    };
                                    deliverySite?: { id?: ...; name?: ...; phone?: ... };
                                    distanceAllowance?: string;
                                    dropOffAddress?: (...) & (...);
                                    dropOffContactInfo?: (...) & (...);
                                    dropOffDate: string;
                                    dropOffLocationCode?: string;
                                    dropOffTime: string;
                                    guaranteePaymentNote?: string;
                                    isRefundable: boolean;
                                    numberOfVehicles?: number;
                                    payment?: {
                                        currencyCode: ...;
                                        fees?: ...;
                                        subtotal?: ...;
                                        taxes?: ...;
                                        total: ...;
                                    };
                                    pickUpAddress: (...) & (...);
                                    pickUpContactInfo?: (...) & (...);
                                    pickUpDate: string;
                                    pickUpLocationCode?: string;
                                    pickUpTime: string;
                                    rateCode?: string;
                                    refundPenalties?: (...)[];
                                    specialInstructions?: string;
                                    travelerIndex?: number;
                                    vehicleTypeCode?: string;
                                    vehicleTypeName?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    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?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    departureDate: string;
                                    departureTime?: string;
                                    fromPortCode: string;
                                    numberOfGuests?: number;
                                    shipCode?: string;
                                    shipName?: string;
                                    toPortCode?: string;
                                    vendorCode: string;
                                }
                            )[];
                            endDate?: string;
                            fareOffers?: {
                                cabinBaggageAllowance?: {
                                    baggagePieces?: (...)[];
                                    maximumPieces?: number;
                                    totalWeightInKilograms?: number;
                                    totalWeightInPounds?: number;
                                };
                                cabinBaggageCharges?: {
                                    fee?: ...;
                                    isCheckInOnly?: ...;
                                    maximumSizeInCentimeters?: ...;
                                    maximumSizeInInches?: ...;
                                    maximumWeightInKilograms?: ...;
                                    maximumWeightInPounds?: ...;
                                    numberOfPieces: ...;
                                    specialItemDescription?: ...;
                                }[];
                                checkedBaggageAllowance?: {
                                    baggagePieces?: (...)[];
                                    maximumPieces?: number;
                                    totalWeightInKilograms?: number;
                                    totalWeightInPounds?: number;
                                };
                                checkedBaggageCharges?: {
                                    fee?: ...;
                                    isCheckInOnly?: ...;
                                    maximumSizeInCentimeters?: ...;
                                    maximumSizeInInches?: ...;
                                    maximumWeightInKilograms?: ...;
                                    maximumWeightInPounds?: ...;
                                    numberOfPieces: ...;
                                    specialItemDescription?: ...;
                                }[];
                                flights?: { itemId: ... }[];
                                travelerIndices?: number[];
                            }[];
                            fareRules?: {
                                destinationAirportCode?: string;
                                exchangePenalties?: {
                                    applicability: ...;
                                    conditionsApply: ...;
                                    penalty: ...;
                                }[];
                                isChangeable?: boolean;
                                isRefundable?: boolean;
                                originAirportCode?: string;
                                owningAirlineCode: string;
                                passengerCode?: string;
                                refundPenalties?: {
                                    applicability: ...;
                                    conditionsApply: ...;
                                    penalty: ...;
                                }[];
                            }[];
                            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?: ...;
                                    brandAttributes?: ...;
                                    brandFareCode?: ...;
                                    brandFareName?: ...;
                                    brandProgramCode?: ...;
                                    brandProgramName?: ...;
                                    checkedBaggageAllowance?: ...;
                                    fareBasisCode?: ...;
                                    flightIndices?: ...;
                                    flights?: ...;
                                    isCurrentItinerary?: ...;
                                }[];
                                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?: ...; taxCode?: ... }[];
                                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?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    fromAirportCode: string;
                                    hiddenStopAircraftTypeCode?: string;
                                    hiddenStopAircraftTypeName?: string;
                                    hiddenStopAirportCode?: string;
                                    hiddenStopArrivalDate?: string;
                                    hiddenStopArrivalTime?: string;
                                    hiddenStopDepartureDate?: string;
                                    hiddenStopDepartureTime?: string;
                                    hiddenStops?: (...)[];
                                    identityDocuments?: (...)[];
                                    isPast?: boolean;
                                    meals?: (...)[];
                                    numberOfSeats?: number;
                                    operatingAirlineCode?: string;
                                    operatingAirlineName?: string;
                                    operatingFlightNumber?: number;
                                    seats?: (...)[];
                                    sourceType?: (...) | (...) | (...);
                                    toAirportCode: string;
                                    travelerIndices?: (...)[];
                                    updatedArrivalDate?: string;
                                    updatedArrivalTime?: string;
                                    updatedDepartureDate?: string;
                                    updatedDepartureTime?: string;
                                }
                            )[];
                            flightTickets?: {
                                agencyIataNumber?: string;
                                airlineCode: string;
                                allCoupons?: ((...) & (...))[];
                                commission?: {
                                    commissionAmount?: string;
                                    commissionPercentage?: string;
                                    currencyCode?: string;
                                };
                                date: string;
                                flightCoupons: ((...) & (...))[];
                                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: (...) & (...) & (...);
                                    associatedFlightDetails?: {
                                        arrivalAirlineCode?: ...;
                                        arrivalFlightNumber?: ...;
                                        arrivalTime?: ...;
                                        departureAirlineCode?: ...;
                                        departureFlightNumber?: ...;
                                        departureTime?: ...;
                                    };
                                    chainCode?: string;
                                    chainName?: string;
                                    checkInDate: string;
                                    checkInTime: string;
                                    checkOutDate: string;
                                    checkOutTime: string;
                                    confirmationId?: string;
                                    contactInfo?: (...) & (...);
                                    corporateDiscountCode?: number;
                                    guaranteePaymentNote?: string;
                                    guaranteeTypeCode?: number;
                                    guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                                    hotelName: string;
                                    hotelStatusCode?: string;
                                    hotelStatusName?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    isRefundable: boolean;
                                    leadTravelerIndex?: number;
                                    numberOfGuests?: number;
                                    payment?: {
                                        currencyCode: ...;
                                        fees?: ...;
                                        subtotal?: ...;
                                        taxes?: ...;
                                        total: ...;
                                    };
                                    paymentPolicy?: (...)
                                    | (...)
                                    | (...);
                                    propertyId?: string;
                                    refundPenalties?: (...)[];
                                    refundPenaltyPolicyCode?: string;
                                    room?: {
                                        agencyCommission?: ...;
                                        description?: ...;
                                        productCode?: ...;
                                        quantity: ...;
                                        roomRate?: ...;
                                        roomType: ...;
                                        roomTypeCode?: ...;
                                        travelerIndices?: ...;
                                    };
                                    sabrePropertyId?: string;
                                    sourceTypeCode?: number;
                                    sourceTypeName?: | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    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?: ...;
                                        cardNumber?: ...;
                                        cardSecurityCode?: ...;
                                        cardTypeCode?: ...;
                                        expiryDate?: ...;
                                        extendedPayment?: ...;
                                        installmentAmount?: ...;
                                        miscellaneousCreditCode?: ...;
                                        numberOfInstallments?: ...;
                                    } & {
                                        agencyAddress?: ...;
                                        agencyIataNumber?: ...;
                                        authentications?: ...;
                                        cardHolder?: ...;
                                        companyAddress?: ...;
                                        corporateId?: ...;
                                        docketDescription?: ...;
                                        docketIssuingAgentInitials?: ...;
                                        docketNumber?: ...;
                                        docketPrefix?: ...;
                                        governmentTravelRequestDescription?: ...;
                                        invoiceDescription?: ...;
                                        isAgencyPaymentCard?: ...;
                                        manualApproval?: ...;
                                        netBalance?: ...;
                                        tripType?: ...;
                                        tripTypes?: ...;
                                        type: ...;
                                        useType?: ...;
                                        useTypes?: ...;
                                        virtualCard?: ...;
                                        voucher?: ...;
                                    }
                                )[];
                                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: ... }[];
                                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: ...;
                                        fees?: ...;
                                        subtotal?: ...;
                                        taxes?: ...;
                                        total: ...;
                                    };
                                    toStationCode: string;
                                    toStationName?: string;
                                    trainName?: string;
                                    trainNumber: string;
                                    trainStatusCode?: string;
                                    trainStatusName?: | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    vendorCode: string;
                                    vendorName?: string;
                                }
                            )[];
                            travelers?: {
                                address?: {
                                    city?: ...;
                                    countryCode?: ...;
                                    postalCode?: ...;
                                    stateProvince?: ...;
                                    street?: ...;
                                } & { freeText?: ...; name?: ... };
                                ancillaries?: {
                                    airlineCode?: ...;
                                    commercialName?: ...;
                                    electronicMiscellaneousDocumentNumber?: ...;
                                    flightApplicabilityType?: ...;
                                    flights?: ...;
                                    isCommissionable?: ...;
                                    isRefundable?: ...;
                                    itemId?: ...;
                                    numberOfItems?: ...;
                                    reasonForIssuanceCode?: ...;
                                    reasonForIssuanceName?: ...;
                                    source?: ...;
                                    statusCode?: ...;
                                    statusName?: ...;
                                    subcode?: ...;
                                    totals?: ...;
                                    vendorCode?: ...;
                                }[];
                                birthDate?: string;
                                emails?: string[];
                                formOfPaymentIndices?: number[];
                                gender?: | "FEMALE"
                                | "MALE"
                                | "INFANT_FEMALE"
                                | "INFANT_MALE"
                                | "UNDISCLOSED"
                                | "UNDEFINED";
                                givenName: string;
                                identityDocuments?: {
                                    birthDate?: ...;
                                    documentNumber?: ...;
                                    documentSubType?: ...;
                                    documentType: ...;
                                    expiryDate?: ...;
                                    flightIndices?: ...;
                                    gender?: ...;
                                    givenName?: ...;
                                    hostCountryCode?: ...;
                                    isLapChildDocument?: ...;
                                    isPrimaryDocumentHolder?: ...;
                                    issueDate?: ...;
                                    issuingCountryCode?: ...;
                                    itemId?: ...;
                                    middleName?: ...;
                                    placeOfBirth?: ...;
                                    placeOfIssue?: ...;
                                    residenceCountryCode?: ...;
                                    residenceDestinationAddress?: ...;
                                    surname?: ...;
                                }[];
                                isGrouped?: boolean;
                                loyaltyPrograms?: {
                                    programNumber: ...;
                                    programType?: ...;
                                    receiverCode?: ...;
                                    supplierCode?: ...;
                                    tierLevel?: ...;
                                }[];
                                middleName?: string;
                                nameAssociationId?: string;
                                nameReferenceCode?: string;
                                passengerCode?: string;
                                phones?: { label?: ...; number: ... }[];
                                remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                                surname: string;
                                type?:
                                    | "ADULT"
                                    | "AGENT"
                                    | "AIRLINE"
                                    | "CHILD"
                                    | "EDUCATION"
                                    | "GOVERNMENT"
                                    | "GROUP"
                                    | "INFANT"
                                    | "MILITARY"
                                    | "SENIOR"
                                    | "SPECIAL"
                                    | "YOUTH";
                            }[];
                            travelersGroup?: {
                                itemId?: string;
                                name?: string;
                                numberOfTravelers?: number;
                                numberOfTravelersRemaining?: number;
                            };
                        } & {
                            bookingSignature?: string;
                            errors?: {
                                category: string;
                                description?: string;
                                fieldName?: string;
                                fieldPath?: string;
                                fieldValue?: string;
                                type: string;
                            }[];
                            request?: {
                                bookingSource?: "SABRE"
                                | "SABRE_ORDER";
                                confirmationId: string;
                                extraFeatures?: { returnEmptySeatObjects: boolean } & {
                                    returnFiscalId: boolean;
                                    returnFrequentRenter: boolean;
                                    returnWalletFormsOfPayment: boolean;
                                } & Record<string, never>;
                                givenName?: string;
                                middleName?: string;
                                returnOnly?: (
                                    | "FLIGHTS"
                                    | "FLIGHT_PENALTY"
                                    | "BAGGAGE_POLICY"
                                    | "JOURNEYS"
                                    | "HOTELS"
                                    | "HOTEL_ADDRESS"
                                    | "CARS"
                                    | "CAR_RENTAL_ADDRESS"
                                    | "CAR_RENTAL_PENALTY"
                                    | "TRAINS"
                                    | "CRUISES"
                                    | "ALL_SEGMENTS"
                                    | "TRAVELERS"
                                    | "TICKETS"
                                    | "PAYMENTS"
                                    | "PENALTIES"
                                    | "REMARKS"
                                    | "IS_CANCELABLE"
                                    | "IS_TICKETED"
                                    | "CONTACT_INFO"
                                    | "OTHER_SERVICES"
                                    | "SPECIAL_SERVICES"
                                    | "FARES"
                                    | "CREATION_DETAILS"
                                    | "ANCILLARIES"
                                    | "FORMS_OF_PAYMENT"
                                    | "RETENTION_DATE"
                                    | "ACCOUNTING_ITEMS"
                                    | "NON_ELECTRONIC_TICKETS"
                                )[];
                                surname?: string;
                                targetPcc?: string;
                                unmaskPaymentCardNumbers?: boolean;
                            };
                            timestamp?: string;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        put?: never;
        trace?: never;
    }

    Type Declaration

    • Optionaldelete?: never
    • Optionalget?: never
    • Optionalhead?: never
    • Optionaloptions?: never
    • parameters: { cookie?: never; header?: never; path?: never; query?: never }
    • Optionalpatch?: never
    • post: {
          parameters: {
              cookie?: never;
              header: { Authorization: string };
              path?: never;
              query?: never;
          };
          requestBody: {
              content: {
                  "application/json": {
                      bookingSource?: "SABRE"
                      | "SABRE_ORDER";
                      confirmationId: string;
                      extraFeatures?: { returnEmptySeatObjects: boolean } & {
                          returnFiscalId: boolean;
                          returnFrequentRenter: boolean;
                          returnWalletFormsOfPayment: boolean;
                      } & Record<string, never>;
                      givenName?: string;
                      middleName?: string;
                      returnOnly?: (
                          | "FLIGHTS"
                          | "FLIGHT_PENALTY"
                          | "BAGGAGE_POLICY"
                          | "JOURNEYS"
                          | "HOTELS"
                          | "HOTEL_ADDRESS"
                          | "CARS"
                          | "CAR_RENTAL_ADDRESS"
                          | "CAR_RENTAL_PENALTY"
                          | "TRAINS"
                          | "CRUISES"
                          | "ALL_SEGMENTS"
                          | "TRAVELERS"
                          | "TICKETS"
                          | "PAYMENTS"
                          | "PENALTIES"
                          | "REMARKS"
                          | "IS_CANCELABLE"
                          | "IS_TICKETED"
                          | "CONTACT_INFO"
                          | "OTHER_SERVICES"
                          | "SPECIAL_SERVICES"
                          | "FARES"
                          | "CREATION_DETAILS"
                          | "ANCILLARIES"
                          | "FORMS_OF_PAYMENT"
                          | "RETENTION_DATE"
                          | "ACCOUNTING_ITEMS"
                          | "NON_ELECTRONIC_TICKETS"
                      )[];
                      surname?: string;
                      targetPcc?: string;
                      unmaskPaymentCardNumbers?: boolean;
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          accountingItems?: {
                              airlineCode?: string;
                              cardNumber?: string;
                              cardTypeCode?: string;
                              commission?: {
                                  commissionAmount?: string;
                                  commissionPercentage?: string;
                                  currencyCode?: string;
                              };
                              creationType?: "Refund"
                              | "Exchange"
                              | "First Issuance";
                              currencyCode?: string;
                              fareAmount?: string;
                              fareApplicationType?:
                                  | "Single Traveler"
                                  | "All Travelers"
                                  | "Each Traveler";
                              formOfPaymentType?: | "Unknown"
                              | "Cash"
                              | "Check"
                              | "Check or Cash"
                              | "Payment Card"
                              | "Masked Payment Card";
                              tariffBasisType?: "Domestic"
                              | "Foreign"
                              | "International";
                              taxAmount?: string;
                              ticketNumber?: string;
                              travelerIndices?: number[];
                          }[];
                          agencyCustomerNumber?: string;
                          allSegments?: (
                              { id: string } & {
                                  address?: (...) & (...);
                                  date?: string;
                                  endAddress?: (...) & (...);
                                  endDate?: string;
                                  endLocationCode?: string;
                                  endTime?: string;
                                  locationCode?: string;
                                  startAddress?: (...) & (...);
                                  startDate?: string;
                                  startLocationCode?: string;
                                  startTime?: string;
                                  text?: string;
                                  time?: string;
                                  type: string;
                                  vendorCode?: string;
                              }
                          )[];
                          bookingId?: string;
                          cars?: (
                              { itemId: string } & {
                                  carStatusCode?: string;
                                  carStatusName?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  collectionAddress?: {
                                      city?: ...;
                                      countryCode?: ...;
                                      postalCode?: ...;
                                      stateProvince?: ...;
                                      street?: ...;
                                  };
                                  collectionSite?: { id?: ...; name?: ...; phone?: ... };
                                  confirmationId?: string;
                                  deliveryAddress?: {
                                      city?: ...;
                                      countryCode?: ...;
                                      postalCode?: ...;
                                      stateProvince?: ...;
                                      street?: ...;
                                  };
                                  deliverySite?: { id?: ...; name?: ...; phone?: ... };
                                  distanceAllowance?: string;
                                  dropOffAddress?: (...) & (...);
                                  dropOffContactInfo?: (...) & (...);
                                  dropOffDate: string;
                                  dropOffLocationCode?: string;
                                  dropOffTime: string;
                                  guaranteePaymentNote?: string;
                                  isRefundable: boolean;
                                  numberOfVehicles?: number;
                                  payment?: {
                                      currencyCode: ...;
                                      fees?: ...;
                                      subtotal?: ...;
                                      taxes?: ...;
                                      total: ...;
                                  };
                                  pickUpAddress: (...) & (...);
                                  pickUpContactInfo?: (...) & (...);
                                  pickUpDate: string;
                                  pickUpLocationCode?: string;
                                  pickUpTime: string;
                                  rateCode?: string;
                                  refundPenalties?: (...)[];
                                  specialInstructions?: string;
                                  travelerIndex?: number;
                                  vehicleTypeCode?: string;
                                  vehicleTypeName?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  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?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  departureDate: string;
                                  departureTime?: string;
                                  fromPortCode: string;
                                  numberOfGuests?: number;
                                  shipCode?: string;
                                  shipName?: string;
                                  toPortCode?: string;
                                  vendorCode: string;
                              }
                          )[];
                          endDate?: string;
                          fareOffers?: {
                              cabinBaggageAllowance?: {
                                  baggagePieces?: (...)[];
                                  maximumPieces?: number;
                                  totalWeightInKilograms?: number;
                                  totalWeightInPounds?: number;
                              };
                              cabinBaggageCharges?: {
                                  fee?: ...;
                                  isCheckInOnly?: ...;
                                  maximumSizeInCentimeters?: ...;
                                  maximumSizeInInches?: ...;
                                  maximumWeightInKilograms?: ...;
                                  maximumWeightInPounds?: ...;
                                  numberOfPieces: ...;
                                  specialItemDescription?: ...;
                              }[];
                              checkedBaggageAllowance?: {
                                  baggagePieces?: (...)[];
                                  maximumPieces?: number;
                                  totalWeightInKilograms?: number;
                                  totalWeightInPounds?: number;
                              };
                              checkedBaggageCharges?: {
                                  fee?: ...;
                                  isCheckInOnly?: ...;
                                  maximumSizeInCentimeters?: ...;
                                  maximumSizeInInches?: ...;
                                  maximumWeightInKilograms?: ...;
                                  maximumWeightInPounds?: ...;
                                  numberOfPieces: ...;
                                  specialItemDescription?: ...;
                              }[];
                              flights?: { itemId: ... }[];
                              travelerIndices?: number[];
                          }[];
                          fareRules?: {
                              destinationAirportCode?: string;
                              exchangePenalties?: {
                                  applicability: ...;
                                  conditionsApply: ...;
                                  penalty: ...;
                              }[];
                              isChangeable?: boolean;
                              isRefundable?: boolean;
                              originAirportCode?: string;
                              owningAirlineCode: string;
                              passengerCode?: string;
                              refundPenalties?: {
                                  applicability: ...;
                                  conditionsApply: ...;
                                  penalty: ...;
                              }[];
                          }[];
                          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?: ...;
                                  brandAttributes?: ...;
                                  brandFareCode?: ...;
                                  brandFareName?: ...;
                                  brandProgramCode?: ...;
                                  brandProgramName?: ...;
                                  checkedBaggageAllowance?: ...;
                                  fareBasisCode?: ...;
                                  flightIndices?: ...;
                                  flights?: ...;
                                  isCurrentItinerary?: ...;
                              }[];
                              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?: ...; taxCode?: ... }[];
                              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?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  fromAirportCode: string;
                                  hiddenStopAircraftTypeCode?: string;
                                  hiddenStopAircraftTypeName?: string;
                                  hiddenStopAirportCode?: string;
                                  hiddenStopArrivalDate?: string;
                                  hiddenStopArrivalTime?: string;
                                  hiddenStopDepartureDate?: string;
                                  hiddenStopDepartureTime?: string;
                                  hiddenStops?: (...)[];
                                  identityDocuments?: (...)[];
                                  isPast?: boolean;
                                  meals?: (...)[];
                                  numberOfSeats?: number;
                                  operatingAirlineCode?: string;
                                  operatingAirlineName?: string;
                                  operatingFlightNumber?: number;
                                  seats?: (...)[];
                                  sourceType?: (...) | (...) | (...);
                                  toAirportCode: string;
                                  travelerIndices?: (...)[];
                                  updatedArrivalDate?: string;
                                  updatedArrivalTime?: string;
                                  updatedDepartureDate?: string;
                                  updatedDepartureTime?: string;
                              }
                          )[];
                          flightTickets?: {
                              agencyIataNumber?: string;
                              airlineCode: string;
                              allCoupons?: ((...) & (...))[];
                              commission?: {
                                  commissionAmount?: string;
                                  commissionPercentage?: string;
                                  currencyCode?: string;
                              };
                              date: string;
                              flightCoupons: ((...) & (...))[];
                              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: (...) & (...) & (...);
                                  associatedFlightDetails?: {
                                      arrivalAirlineCode?: ...;
                                      arrivalFlightNumber?: ...;
                                      arrivalTime?: ...;
                                      departureAirlineCode?: ...;
                                      departureFlightNumber?: ...;
                                      departureTime?: ...;
                                  };
                                  chainCode?: string;
                                  chainName?: string;
                                  checkInDate: string;
                                  checkInTime: string;
                                  checkOutDate: string;
                                  checkOutTime: string;
                                  confirmationId?: string;
                                  contactInfo?: (...) & (...);
                                  corporateDiscountCode?: number;
                                  guaranteePaymentNote?: string;
                                  guaranteeTypeCode?: number;
                                  guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                                  hotelName: string;
                                  hotelStatusCode?: string;
                                  hotelStatusName?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  isRefundable: boolean;
                                  leadTravelerIndex?: number;
                                  numberOfGuests?: number;
                                  payment?: {
                                      currencyCode: ...;
                                      fees?: ...;
                                      subtotal?: ...;
                                      taxes?: ...;
                                      total: ...;
                                  };
                                  paymentPolicy?: (...)
                                  | (...)
                                  | (...);
                                  propertyId?: string;
                                  refundPenalties?: (...)[];
                                  refundPenaltyPolicyCode?: string;
                                  room?: {
                                      agencyCommission?: ...;
                                      description?: ...;
                                      productCode?: ...;
                                      quantity: ...;
                                      roomRate?: ...;
                                      roomType: ...;
                                      roomTypeCode?: ...;
                                      travelerIndices?: ...;
                                  };
                                  sabrePropertyId?: string;
                                  sourceTypeCode?: number;
                                  sourceTypeName?: | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                                  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?: ...;
                                      cardNumber?: ...;
                                      cardSecurityCode?: ...;
                                      cardTypeCode?: ...;
                                      expiryDate?: ...;
                                      extendedPayment?: ...;
                                      installmentAmount?: ...;
                                      miscellaneousCreditCode?: ...;
                                      numberOfInstallments?: ...;
                                  } & {
                                      agencyAddress?: ...;
                                      agencyIataNumber?: ...;
                                      authentications?: ...;
                                      cardHolder?: ...;
                                      companyAddress?: ...;
                                      corporateId?: ...;
                                      docketDescription?: ...;
                                      docketIssuingAgentInitials?: ...;
                                      docketNumber?: ...;
                                      docketPrefix?: ...;
                                      governmentTravelRequestDescription?: ...;
                                      invoiceDescription?: ...;
                                      isAgencyPaymentCard?: ...;
                                      manualApproval?: ...;
                                      netBalance?: ...;
                                      tripType?: ...;
                                      tripTypes?: ...;
                                      type: ...;
                                      useType?: ...;
                                      useTypes?: ...;
                                      virtualCard?: ...;
                                      voucher?: ...;
                                  }
                              )[];
                              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: ... }[];
                              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: ...;
                                      fees?: ...;
                                      subtotal?: ...;
                                      taxes?: ...;
                                      total: ...;
                                  };
                                  toStationCode: string;
                                  toStationName?: string;
                                  trainName?: string;
                                  trainNumber: string;
                                  trainStatusCode?: string;
                                  trainStatusName?: | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                                  vendorCode: string;
                                  vendorName?: string;
                              }
                          )[];
                          travelers?: {
                              address?: {
                                  city?: ...;
                                  countryCode?: ...;
                                  postalCode?: ...;
                                  stateProvince?: ...;
                                  street?: ...;
                              } & { freeText?: ...; name?: ... };
                              ancillaries?: {
                                  airlineCode?: ...;
                                  commercialName?: ...;
                                  electronicMiscellaneousDocumentNumber?: ...;
                                  flightApplicabilityType?: ...;
                                  flights?: ...;
                                  isCommissionable?: ...;
                                  isRefundable?: ...;
                                  itemId?: ...;
                                  numberOfItems?: ...;
                                  reasonForIssuanceCode?: ...;
                                  reasonForIssuanceName?: ...;
                                  source?: ...;
                                  statusCode?: ...;
                                  statusName?: ...;
                                  subcode?: ...;
                                  totals?: ...;
                                  vendorCode?: ...;
                              }[];
                              birthDate?: string;
                              emails?: string[];
                              formOfPaymentIndices?: number[];
                              gender?: | "FEMALE"
                              | "MALE"
                              | "INFANT_FEMALE"
                              | "INFANT_MALE"
                              | "UNDISCLOSED"
                              | "UNDEFINED";
                              givenName: string;
                              identityDocuments?: {
                                  birthDate?: ...;
                                  documentNumber?: ...;
                                  documentSubType?: ...;
                                  documentType: ...;
                                  expiryDate?: ...;
                                  flightIndices?: ...;
                                  gender?: ...;
                                  givenName?: ...;
                                  hostCountryCode?: ...;
                                  isLapChildDocument?: ...;
                                  isPrimaryDocumentHolder?: ...;
                                  issueDate?: ...;
                                  issuingCountryCode?: ...;
                                  itemId?: ...;
                                  middleName?: ...;
                                  placeOfBirth?: ...;
                                  placeOfIssue?: ...;
                                  residenceCountryCode?: ...;
                                  residenceDestinationAddress?: ...;
                                  surname?: ...;
                              }[];
                              isGrouped?: boolean;
                              loyaltyPrograms?: {
                                  programNumber: ...;
                                  programType?: ...;
                                  receiverCode?: ...;
                                  supplierCode?: ...;
                                  tierLevel?: ...;
                              }[];
                              middleName?: string;
                              nameAssociationId?: string;
                              nameReferenceCode?: string;
                              passengerCode?: string;
                              phones?: { label?: ...; number: ... }[];
                              remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                              surname: string;
                              type?:
                                  | "ADULT"
                                  | "AGENT"
                                  | "AIRLINE"
                                  | "CHILD"
                                  | "EDUCATION"
                                  | "GOVERNMENT"
                                  | "GROUP"
                                  | "INFANT"
                                  | "MILITARY"
                                  | "SENIOR"
                                  | "SPECIAL"
                                  | "YOUTH";
                          }[];
                          travelersGroup?: {
                              itemId?: string;
                              name?: string;
                              numberOfTravelers?: number;
                              numberOfTravelersRemaining?: number;
                          };
                      } & {
                          bookingSignature?: string;
                          errors?: {
                              category: string;
                              description?: string;
                              fieldName?: string;
                              fieldPath?: string;
                              fieldValue?: string;
                              type: string;
                          }[];
                          request?: {
                              bookingSource?: "SABRE"
                              | "SABRE_ORDER";
                              confirmationId: string;
                              extraFeatures?: { returnEmptySeatObjects: boolean } & {
                                  returnFiscalId: boolean;
                                  returnFrequentRenter: boolean;
                                  returnWalletFormsOfPayment: boolean;
                              } & Record<string, never>;
                              givenName?: string;
                              middleName?: string;
                              returnOnly?: (
                                  | "FLIGHTS"
                                  | "FLIGHT_PENALTY"
                                  | "BAGGAGE_POLICY"
                                  | "JOURNEYS"
                                  | "HOTELS"
                                  | "HOTEL_ADDRESS"
                                  | "CARS"
                                  | "CAR_RENTAL_ADDRESS"
                                  | "CAR_RENTAL_PENALTY"
                                  | "TRAINS"
                                  | "CRUISES"
                                  | "ALL_SEGMENTS"
                                  | "TRAVELERS"
                                  | "TICKETS"
                                  | "PAYMENTS"
                                  | "PENALTIES"
                                  | "REMARKS"
                                  | "IS_CANCELABLE"
                                  | "IS_TICKETED"
                                  | "CONTACT_INFO"
                                  | "OTHER_SERVICES"
                                  | "SPECIAL_SERVICES"
                                  | "FARES"
                                  | "CREATION_DETAILS"
                                  | "ANCILLARIES"
                                  | "FORMS_OF_PAYMENT"
                                  | "RETENTION_DATE"
                                  | "ACCOUNTING_ITEMS"
                                  | "NON_ELECTRONIC_TICKETS"
                              )[];
                              surname?: string;
                              targetPcc?: string;
                              unmaskPaymentCardNumbers?: boolean;
                          };
                          timestamp?: string;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Creates a request containing a confirmationId and traveler surname for booking information.

      • parameters: {
            cookie?: never;
            header: { Authorization: string };
            path?: never;
            query?: never;
        }
        • Optionalcookie?: never
        • header: { Authorization: string }
          • Authorization: string

            The bearer authentication token.

            Bearer TOKEN
            
        • Optionalpath?: never
        • Optionalquery?: never
      • requestBody: {
            content: {
                "application/json": {
                    bookingSource?: "SABRE" | "SABRE_ORDER";
                    confirmationId: string;
                    extraFeatures?: { returnEmptySeatObjects: boolean } & {
                        returnFiscalId: boolean;
                        returnFrequentRenter: boolean;
                        returnWalletFormsOfPayment: boolean;
                    } & Record<string, never>;
                    givenName?: string;
                    middleName?: string;
                    returnOnly?: (
                        | "FLIGHTS"
                        | "FLIGHT_PENALTY"
                        | "BAGGAGE_POLICY"
                        | "JOURNEYS"
                        | "HOTELS"
                        | "HOTEL_ADDRESS"
                        | "CARS"
                        | "CAR_RENTAL_ADDRESS"
                        | "CAR_RENTAL_PENALTY"
                        | "TRAINS"
                        | "CRUISES"
                        | "ALL_SEGMENTS"
                        | "TRAVELERS"
                        | "TICKETS"
                        | "PAYMENTS"
                        | "PENALTIES"
                        | "REMARKS"
                        | "IS_CANCELABLE"
                        | "IS_TICKETED"
                        | "CONTACT_INFO"
                        | "OTHER_SERVICES"
                        | "SPECIAL_SERVICES"
                        | "FARES"
                        | "CREATION_DETAILS"
                        | "ANCILLARIES"
                        | "FORMS_OF_PAYMENT"
                        | "RETENTION_DATE"
                        | "ACCOUNTING_ITEMS"
                        | "NON_ELECTRONIC_TICKETS"
                    )[];
                    surname?: string;
                    targetPcc?: string;
                    unmaskPaymentCardNumbers?: boolean;
                };
            };
        }

        Contains both required and optional elements to make a booking request.

      • responses: {
            "200": {
                content: {
                    "application/json": {
                        accountingItems?: {
                            airlineCode?: string;
                            cardNumber?: string;
                            cardTypeCode?: string;
                            commission?: {
                                commissionAmount?: string;
                                commissionPercentage?: string;
                                currencyCode?: string;
                            };
                            creationType?: "Refund"
                            | "Exchange"
                            | "First Issuance";
                            currencyCode?: string;
                            fareAmount?: string;
                            fareApplicationType?:
                                | "Single Traveler"
                                | "All Travelers"
                                | "Each Traveler";
                            formOfPaymentType?: | "Unknown"
                            | "Cash"
                            | "Check"
                            | "Check or Cash"
                            | "Payment Card"
                            | "Masked Payment Card";
                            tariffBasisType?: "Domestic"
                            | "Foreign"
                            | "International";
                            taxAmount?: string;
                            ticketNumber?: string;
                            travelerIndices?: number[];
                        }[];
                        agencyCustomerNumber?: string;
                        allSegments?: (
                            { id: string } & {
                                address?: (...) & (...);
                                date?: string;
                                endAddress?: (...) & (...);
                                endDate?: string;
                                endLocationCode?: string;
                                endTime?: string;
                                locationCode?: string;
                                startAddress?: (...) & (...);
                                startDate?: string;
                                startLocationCode?: string;
                                startTime?: string;
                                text?: string;
                                time?: string;
                                type: string;
                                vendorCode?: string;
                            }
                        )[];
                        bookingId?: string;
                        cars?: (
                            { itemId: string } & {
                                carStatusCode?: string;
                                carStatusName?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                collectionAddress?: {
                                    city?: ...;
                                    countryCode?: ...;
                                    postalCode?: ...;
                                    stateProvince?: ...;
                                    street?: ...;
                                };
                                collectionSite?: { id?: ...; name?: ...; phone?: ... };
                                confirmationId?: string;
                                deliveryAddress?: {
                                    city?: ...;
                                    countryCode?: ...;
                                    postalCode?: ...;
                                    stateProvince?: ...;
                                    street?: ...;
                                };
                                deliverySite?: { id?: ...; name?: ...; phone?: ... };
                                distanceAllowance?: string;
                                dropOffAddress?: (...) & (...);
                                dropOffContactInfo?: (...) & (...);
                                dropOffDate: string;
                                dropOffLocationCode?: string;
                                dropOffTime: string;
                                guaranteePaymentNote?: string;
                                isRefundable: boolean;
                                numberOfVehicles?: number;
                                payment?: {
                                    currencyCode: ...;
                                    fees?: ...;
                                    subtotal?: ...;
                                    taxes?: ...;
                                    total: ...;
                                };
                                pickUpAddress: (...) & (...);
                                pickUpContactInfo?: (...) & (...);
                                pickUpDate: string;
                                pickUpLocationCode?: string;
                                pickUpTime: string;
                                rateCode?: string;
                                refundPenalties?: (...)[];
                                specialInstructions?: string;
                                travelerIndex?: number;
                                vehicleTypeCode?: string;
                                vehicleTypeName?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                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?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                departureDate: string;
                                departureTime?: string;
                                fromPortCode: string;
                                numberOfGuests?: number;
                                shipCode?: string;
                                shipName?: string;
                                toPortCode?: string;
                                vendorCode: string;
                            }
                        )[];
                        endDate?: string;
                        fareOffers?: {
                            cabinBaggageAllowance?: {
                                baggagePieces?: (...)[];
                                maximumPieces?: number;
                                totalWeightInKilograms?: number;
                                totalWeightInPounds?: number;
                            };
                            cabinBaggageCharges?: {
                                fee?: ...;
                                isCheckInOnly?: ...;
                                maximumSizeInCentimeters?: ...;
                                maximumSizeInInches?: ...;
                                maximumWeightInKilograms?: ...;
                                maximumWeightInPounds?: ...;
                                numberOfPieces: ...;
                                specialItemDescription?: ...;
                            }[];
                            checkedBaggageAllowance?: {
                                baggagePieces?: (...)[];
                                maximumPieces?: number;
                                totalWeightInKilograms?: number;
                                totalWeightInPounds?: number;
                            };
                            checkedBaggageCharges?: {
                                fee?: ...;
                                isCheckInOnly?: ...;
                                maximumSizeInCentimeters?: ...;
                                maximumSizeInInches?: ...;
                                maximumWeightInKilograms?: ...;
                                maximumWeightInPounds?: ...;
                                numberOfPieces: ...;
                                specialItemDescription?: ...;
                            }[];
                            flights?: { itemId: ... }[];
                            travelerIndices?: number[];
                        }[];
                        fareRules?: {
                            destinationAirportCode?: string;
                            exchangePenalties?: {
                                applicability: ...;
                                conditionsApply: ...;
                                penalty: ...;
                            }[];
                            isChangeable?: boolean;
                            isRefundable?: boolean;
                            originAirportCode?: string;
                            owningAirlineCode: string;
                            passengerCode?: string;
                            refundPenalties?: {
                                applicability: ...;
                                conditionsApply: ...;
                                penalty: ...;
                            }[];
                        }[];
                        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?: ...;
                                brandAttributes?: ...;
                                brandFareCode?: ...;
                                brandFareName?: ...;
                                brandProgramCode?: ...;
                                brandProgramName?: ...;
                                checkedBaggageAllowance?: ...;
                                fareBasisCode?: ...;
                                flightIndices?: ...;
                                flights?: ...;
                                isCurrentItinerary?: ...;
                            }[];
                            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?: ...; taxCode?: ... }[];
                            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?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                fromAirportCode: string;
                                hiddenStopAircraftTypeCode?: string;
                                hiddenStopAircraftTypeName?: string;
                                hiddenStopAirportCode?: string;
                                hiddenStopArrivalDate?: string;
                                hiddenStopArrivalTime?: string;
                                hiddenStopDepartureDate?: string;
                                hiddenStopDepartureTime?: string;
                                hiddenStops?: (...)[];
                                identityDocuments?: (...)[];
                                isPast?: boolean;
                                meals?: (...)[];
                                numberOfSeats?: number;
                                operatingAirlineCode?: string;
                                operatingAirlineName?: string;
                                operatingFlightNumber?: number;
                                seats?: (...)[];
                                sourceType?: (...) | (...) | (...);
                                toAirportCode: string;
                                travelerIndices?: (...)[];
                                updatedArrivalDate?: string;
                                updatedArrivalTime?: string;
                                updatedDepartureDate?: string;
                                updatedDepartureTime?: string;
                            }
                        )[];
                        flightTickets?: {
                            agencyIataNumber?: string;
                            airlineCode: string;
                            allCoupons?: ((...) & (...))[];
                            commission?: {
                                commissionAmount?: string;
                                commissionPercentage?: string;
                                currencyCode?: string;
                            };
                            date: string;
                            flightCoupons: ((...) & (...))[];
                            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: (...) & (...) & (...);
                                associatedFlightDetails?: {
                                    arrivalAirlineCode?: ...;
                                    arrivalFlightNumber?: ...;
                                    arrivalTime?: ...;
                                    departureAirlineCode?: ...;
                                    departureFlightNumber?: ...;
                                    departureTime?: ...;
                                };
                                chainCode?: string;
                                chainName?: string;
                                checkInDate: string;
                                checkInTime: string;
                                checkOutDate: string;
                                checkOutTime: string;
                                confirmationId?: string;
                                contactInfo?: (...) & (...);
                                corporateDiscountCode?: number;
                                guaranteePaymentNote?: string;
                                guaranteeTypeCode?: number;
                                guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                                hotelName: string;
                                hotelStatusCode?: string;
                                hotelStatusName?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                isRefundable: boolean;
                                leadTravelerIndex?: number;
                                numberOfGuests?: number;
                                payment?: {
                                    currencyCode: ...;
                                    fees?: ...;
                                    subtotal?: ...;
                                    taxes?: ...;
                                    total: ...;
                                };
                                paymentPolicy?: (...)
                                | (...)
                                | (...);
                                propertyId?: string;
                                refundPenalties?: (...)[];
                                refundPenaltyPolicyCode?: string;
                                room?: {
                                    agencyCommission?: ...;
                                    description?: ...;
                                    productCode?: ...;
                                    quantity: ...;
                                    roomRate?: ...;
                                    roomType: ...;
                                    roomTypeCode?: ...;
                                    travelerIndices?: ...;
                                };
                                sabrePropertyId?: string;
                                sourceTypeCode?: number;
                                sourceTypeName?: (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                                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?: ...;
                                    cardNumber?: ...;
                                    cardSecurityCode?: ...;
                                    cardTypeCode?: ...;
                                    expiryDate?: ...;
                                    extendedPayment?: ...;
                                    installmentAmount?: ...;
                                    miscellaneousCreditCode?: ...;
                                    numberOfInstallments?: ...;
                                } & {
                                    agencyAddress?: ...;
                                    agencyIataNumber?: ...;
                                    authentications?: ...;
                                    cardHolder?: ...;
                                    companyAddress?: ...;
                                    corporateId?: ...;
                                    docketDescription?: ...;
                                    docketIssuingAgentInitials?: ...;
                                    docketNumber?: ...;
                                    docketPrefix?: ...;
                                    governmentTravelRequestDescription?: ...;
                                    invoiceDescription?: ...;
                                    isAgencyPaymentCard?: ...;
                                    manualApproval?: ...;
                                    netBalance?: ...;
                                    tripType?: ...;
                                    tripTypes?: ...;
                                    type: ...;
                                    useType?: ...;
                                    useTypes?: ...;
                                    virtualCard?: ...;
                                    voucher?: ...;
                                }
                            )[];
                            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: ... }[];
                            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: ...;
                                    fees?: ...;
                                    subtotal?: ...;
                                    taxes?: ...;
                                    total: ...;
                                };
                                toStationCode: string;
                                toStationName?: string;
                                trainName?: string;
                                trainNumber: string;
                                trainStatusCode?: string;
                                trainStatusName?: | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                                vendorCode: string;
                                vendorName?: string;
                            }
                        )[];
                        travelers?: {
                            address?: {
                                city?: ...;
                                countryCode?: ...;
                                postalCode?: ...;
                                stateProvince?: ...;
                                street?: ...;
                            } & { freeText?: ...; name?: ... };
                            ancillaries?: {
                                airlineCode?: ...;
                                commercialName?: ...;
                                electronicMiscellaneousDocumentNumber?: ...;
                                flightApplicabilityType?: ...;
                                flights?: ...;
                                isCommissionable?: ...;
                                isRefundable?: ...;
                                itemId?: ...;
                                numberOfItems?: ...;
                                reasonForIssuanceCode?: ...;
                                reasonForIssuanceName?: ...;
                                source?: ...;
                                statusCode?: ...;
                                statusName?: ...;
                                subcode?: ...;
                                totals?: ...;
                                vendorCode?: ...;
                            }[];
                            birthDate?: string;
                            emails?: string[];
                            formOfPaymentIndices?: number[];
                            gender?: | "FEMALE"
                            | "MALE"
                            | "INFANT_FEMALE"
                            | "INFANT_MALE"
                            | "UNDISCLOSED"
                            | "UNDEFINED";
                            givenName: string;
                            identityDocuments?: {
                                birthDate?: ...;
                                documentNumber?: ...;
                                documentSubType?: ...;
                                documentType: ...;
                                expiryDate?: ...;
                                flightIndices?: ...;
                                gender?: ...;
                                givenName?: ...;
                                hostCountryCode?: ...;
                                isLapChildDocument?: ...;
                                isPrimaryDocumentHolder?: ...;
                                issueDate?: ...;
                                issuingCountryCode?: ...;
                                itemId?: ...;
                                middleName?: ...;
                                placeOfBirth?: ...;
                                placeOfIssue?: ...;
                                residenceCountryCode?: ...;
                                residenceDestinationAddress?: ...;
                                surname?: ...;
                            }[];
                            isGrouped?: boolean;
                            loyaltyPrograms?: {
                                programNumber: ...;
                                programType?: ...;
                                receiverCode?: ...;
                                supplierCode?: ...;
                                tierLevel?: ...;
                            }[];
                            middleName?: string;
                            nameAssociationId?: string;
                            nameReferenceCode?: string;
                            passengerCode?: string;
                            phones?: { label?: ...; number: ... }[];
                            remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                            surname: string;
                            type?:
                                | "ADULT"
                                | "AGENT"
                                | "AIRLINE"
                                | "CHILD"
                                | "EDUCATION"
                                | "GOVERNMENT"
                                | "GROUP"
                                | "INFANT"
                                | "MILITARY"
                                | "SENIOR"
                                | "SPECIAL"
                                | "YOUTH";
                        }[];
                        travelersGroup?: {
                            itemId?: string;
                            name?: string;
                            numberOfTravelers?: number;
                            numberOfTravelersRemaining?: number;
                        };
                    } & {
                        bookingSignature?: string;
                        errors?: {
                            category: string;
                            description?: string;
                            fieldName?: string;
                            fieldPath?: string;
                            fieldValue?: string;
                            type: string;
                        }[];
                        request?: {
                            bookingSource?: "SABRE"
                            | "SABRE_ORDER";
                            confirmationId: string;
                            extraFeatures?: { returnEmptySeatObjects: boolean } & {
                                returnFiscalId: boolean;
                                returnFrequentRenter: boolean;
                                returnWalletFormsOfPayment: boolean;
                            } & Record<string, never>;
                            givenName?: string;
                            middleName?: string;
                            returnOnly?: (
                                | "FLIGHTS"
                                | "FLIGHT_PENALTY"
                                | "BAGGAGE_POLICY"
                                | "JOURNEYS"
                                | "HOTELS"
                                | "HOTEL_ADDRESS"
                                | "CARS"
                                | "CAR_RENTAL_ADDRESS"
                                | "CAR_RENTAL_PENALTY"
                                | "TRAINS"
                                | "CRUISES"
                                | "ALL_SEGMENTS"
                                | "TRAVELERS"
                                | "TICKETS"
                                | "PAYMENTS"
                                | "PENALTIES"
                                | "REMARKS"
                                | "IS_CANCELABLE"
                                | "IS_TICKETED"
                                | "CONTACT_INFO"
                                | "OTHER_SERVICES"
                                | "SPECIAL_SERVICES"
                                | "FARES"
                                | "CREATION_DETAILS"
                                | "ANCILLARIES"
                                | "FORMS_OF_PAYMENT"
                                | "RETENTION_DATE"
                                | "ACCOUNTING_ITEMS"
                                | "NON_ELECTRONIC_TICKETS"
                            )[];
                            surname?: string;
                            targetPcc?: string;
                            unmaskPaymentCardNumbers?: boolean;
                        };
                        timestamp?: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      accountingItems?: {
                          airlineCode?: string;
                          cardNumber?: string;
                          cardTypeCode?: string;
                          commission?: {
                              commissionAmount?: string;
                              commissionPercentage?: string;
                              currencyCode?: string;
                          };
                          creationType?: "Refund"
                          | "Exchange"
                          | "First Issuance";
                          currencyCode?: string;
                          fareAmount?: string;
                          fareApplicationType?:
                              | "Single Traveler"
                              | "All Travelers"
                              | "Each Traveler";
                          formOfPaymentType?: | "Unknown"
                          | "Cash"
                          | "Check"
                          | "Check or Cash"
                          | "Payment Card"
                          | "Masked Payment Card";
                          tariffBasisType?: "Domestic"
                          | "Foreign"
                          | "International";
                          taxAmount?: string;
                          ticketNumber?: string;
                          travelerIndices?: number[];
                      }[];
                      agencyCustomerNumber?: string;
                      allSegments?: (
                          { id: string } & {
                              address?: (...) & (...);
                              date?: string;
                              endAddress?: (...) & (...);
                              endDate?: string;
                              endLocationCode?: string;
                              endTime?: string;
                              locationCode?: string;
                              startAddress?: (...) & (...);
                              startDate?: string;
                              startLocationCode?: string;
                              startTime?: string;
                              text?: string;
                              time?: string;
                              type: string;
                              vendorCode?: string;
                          }
                      )[];
                      bookingId?: string;
                      cars?: (
                          { itemId: string } & {
                              carStatusCode?: string;
                              carStatusName?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              collectionAddress?: {
                                  city?: ...;
                                  countryCode?: ...;
                                  postalCode?: ...;
                                  stateProvince?: ...;
                                  street?: ...;
                              };
                              collectionSite?: { id?: ...; name?: ...; phone?: ... };
                              confirmationId?: string;
                              deliveryAddress?: {
                                  city?: ...;
                                  countryCode?: ...;
                                  postalCode?: ...;
                                  stateProvince?: ...;
                                  street?: ...;
                              };
                              deliverySite?: { id?: ...; name?: ...; phone?: ... };
                              distanceAllowance?: string;
                              dropOffAddress?: (...) & (...);
                              dropOffContactInfo?: (...) & (...);
                              dropOffDate: string;
                              dropOffLocationCode?: string;
                              dropOffTime: string;
                              guaranteePaymentNote?: string;
                              isRefundable: boolean;
                              numberOfVehicles?: number;
                              payment?: {
                                  currencyCode: ...;
                                  fees?: ...;
                                  subtotal?: ...;
                                  taxes?: ...;
                                  total: ...;
                              };
                              pickUpAddress: (...) & (...);
                              pickUpContactInfo?: (...) & (...);
                              pickUpDate: string;
                              pickUpLocationCode?: string;
                              pickUpTime: string;
                              rateCode?: string;
                              refundPenalties?: (...)[];
                              specialInstructions?: string;
                              travelerIndex?: number;
                              vehicleTypeCode?: string;
                              vehicleTypeName?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              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?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              departureDate: string;
                              departureTime?: string;
                              fromPortCode: string;
                              numberOfGuests?: number;
                              shipCode?: string;
                              shipName?: string;
                              toPortCode?: string;
                              vendorCode: string;
                          }
                      )[];
                      endDate?: string;
                      fareOffers?: {
                          cabinBaggageAllowance?: {
                              baggagePieces?: (...)[];
                              maximumPieces?: number;
                              totalWeightInKilograms?: number;
                              totalWeightInPounds?: number;
                          };
                          cabinBaggageCharges?: {
                              fee?: ...;
                              isCheckInOnly?: ...;
                              maximumSizeInCentimeters?: ...;
                              maximumSizeInInches?: ...;
                              maximumWeightInKilograms?: ...;
                              maximumWeightInPounds?: ...;
                              numberOfPieces: ...;
                              specialItemDescription?: ...;
                          }[];
                          checkedBaggageAllowance?: {
                              baggagePieces?: (...)[];
                              maximumPieces?: number;
                              totalWeightInKilograms?: number;
                              totalWeightInPounds?: number;
                          };
                          checkedBaggageCharges?: {
                              fee?: ...;
                              isCheckInOnly?: ...;
                              maximumSizeInCentimeters?: ...;
                              maximumSizeInInches?: ...;
                              maximumWeightInKilograms?: ...;
                              maximumWeightInPounds?: ...;
                              numberOfPieces: ...;
                              specialItemDescription?: ...;
                          }[];
                          flights?: { itemId: ... }[];
                          travelerIndices?: number[];
                      }[];
                      fareRules?: {
                          destinationAirportCode?: string;
                          exchangePenalties?: {
                              applicability: ...;
                              conditionsApply: ...;
                              penalty: ...;
                          }[];
                          isChangeable?: boolean;
                          isRefundable?: boolean;
                          originAirportCode?: string;
                          owningAirlineCode: string;
                          passengerCode?: string;
                          refundPenalties?: {
                              applicability: ...;
                              conditionsApply: ...;
                              penalty: ...;
                          }[];
                      }[];
                      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?: ...;
                              brandAttributes?: ...;
                              brandFareCode?: ...;
                              brandFareName?: ...;
                              brandProgramCode?: ...;
                              brandProgramName?: ...;
                              checkedBaggageAllowance?: ...;
                              fareBasisCode?: ...;
                              flightIndices?: ...;
                              flights?: ...;
                              isCurrentItinerary?: ...;
                          }[];
                          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?: ...; taxCode?: ... }[];
                          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?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              fromAirportCode: string;
                              hiddenStopAircraftTypeCode?: string;
                              hiddenStopAircraftTypeName?: string;
                              hiddenStopAirportCode?: string;
                              hiddenStopArrivalDate?: string;
                              hiddenStopArrivalTime?: string;
                              hiddenStopDepartureDate?: string;
                              hiddenStopDepartureTime?: string;
                              hiddenStops?: (...)[];
                              identityDocuments?: (...)[];
                              isPast?: boolean;
                              meals?: (...)[];
                              numberOfSeats?: number;
                              operatingAirlineCode?: string;
                              operatingAirlineName?: string;
                              operatingFlightNumber?: number;
                              seats?: (...)[];
                              sourceType?: (...) | (...) | (...);
                              toAirportCode: string;
                              travelerIndices?: (...)[];
                              updatedArrivalDate?: string;
                              updatedArrivalTime?: string;
                              updatedDepartureDate?: string;
                              updatedDepartureTime?: string;
                          }
                      )[];
                      flightTickets?: {
                          agencyIataNumber?: string;
                          airlineCode: string;
                          allCoupons?: ((...) & (...))[];
                          commission?: {
                              commissionAmount?: string;
                              commissionPercentage?: string;
                              currencyCode?: string;
                          };
                          date: string;
                          flightCoupons: ((...) & (...))[];
                          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: (...) & (...) & (...);
                              associatedFlightDetails?: {
                                  arrivalAirlineCode?: ...;
                                  arrivalFlightNumber?: ...;
                                  arrivalTime?: ...;
                                  departureAirlineCode?: ...;
                                  departureFlightNumber?: ...;
                                  departureTime?: ...;
                              };
                              chainCode?: string;
                              chainName?: string;
                              checkInDate: string;
                              checkInTime: string;
                              checkOutDate: string;
                              checkOutTime: string;
                              confirmationId?: string;
                              contactInfo?: (...) & (...);
                              corporateDiscountCode?: number;
                              guaranteePaymentNote?: string;
                              guaranteeTypeCode?: number;
                              guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                              hotelName: string;
                              hotelStatusCode?: string;
                              hotelStatusName?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              isRefundable: boolean;
                              leadTravelerIndex?: number;
                              numberOfGuests?: number;
                              payment?: {
                                  currencyCode: ...;
                                  fees?: ...;
                                  subtotal?: ...;
                                  taxes?: ...;
                                  total: ...;
                              };
                              paymentPolicy?: (...)
                              | (...)
                              | (...);
                              propertyId?: string;
                              refundPenalties?: (...)[];
                              refundPenaltyPolicyCode?: string;
                              room?: {
                                  agencyCommission?: ...;
                                  description?: ...;
                                  productCode?: ...;
                                  quantity: ...;
                                  roomRate?: ...;
                                  roomType: ...;
                                  roomTypeCode?: ...;
                                  travelerIndices?: ...;
                              };
                              sabrePropertyId?: string;
                              sourceTypeCode?: number;
                              sourceTypeName?: (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                              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?: ...;
                                  cardNumber?: ...;
                                  cardSecurityCode?: ...;
                                  cardTypeCode?: ...;
                                  expiryDate?: ...;
                                  extendedPayment?: ...;
                                  installmentAmount?: ...;
                                  miscellaneousCreditCode?: ...;
                                  numberOfInstallments?: ...;
                              } & {
                                  agencyAddress?: ...;
                                  agencyIataNumber?: ...;
                                  authentications?: ...;
                                  cardHolder?: ...;
                                  companyAddress?: ...;
                                  corporateId?: ...;
                                  docketDescription?: ...;
                                  docketIssuingAgentInitials?: ...;
                                  docketNumber?: ...;
                                  docketPrefix?: ...;
                                  governmentTravelRequestDescription?: ...;
                                  invoiceDescription?: ...;
                                  isAgencyPaymentCard?: ...;
                                  manualApproval?: ...;
                                  netBalance?: ...;
                                  tripType?: ...;
                                  tripTypes?: ...;
                                  type: ...;
                                  useType?: ...;
                                  useTypes?: ...;
                                  virtualCard?: ...;
                                  voucher?: ...;
                              }
                          )[];
                          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: ... }[];
                          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: ...;
                                  fees?: ...;
                                  subtotal?: ...;
                                  taxes?: ...;
                                  total: ...;
                              };
                              toStationCode: string;
                              toStationName?: string;
                              trainName?: string;
                              trainNumber: string;
                              trainStatusCode?: string;
                              trainStatusName?: | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                              vendorCode: string;
                              vendorName?: string;
                          }
                      )[];
                      travelers?: {
                          address?: {
                              city?: ...;
                              countryCode?: ...;
                              postalCode?: ...;
                              stateProvince?: ...;
                              street?: ...;
                          } & { freeText?: ...; name?: ... };
                          ancillaries?: {
                              airlineCode?: ...;
                              commercialName?: ...;
                              electronicMiscellaneousDocumentNumber?: ...;
                              flightApplicabilityType?: ...;
                              flights?: ...;
                              isCommissionable?: ...;
                              isRefundable?: ...;
                              itemId?: ...;
                              numberOfItems?: ...;
                              reasonForIssuanceCode?: ...;
                              reasonForIssuanceName?: ...;
                              source?: ...;
                              statusCode?: ...;
                              statusName?: ...;
                              subcode?: ...;
                              totals?: ...;
                              vendorCode?: ...;
                          }[];
                          birthDate?: string;
                          emails?: string[];
                          formOfPaymentIndices?: number[];
                          gender?: | "FEMALE"
                          | "MALE"
                          | "INFANT_FEMALE"
                          | "INFANT_MALE"
                          | "UNDISCLOSED"
                          | "UNDEFINED";
                          givenName: string;
                          identityDocuments?: {
                              birthDate?: ...;
                              documentNumber?: ...;
                              documentSubType?: ...;
                              documentType: ...;
                              expiryDate?: ...;
                              flightIndices?: ...;
                              gender?: ...;
                              givenName?: ...;
                              hostCountryCode?: ...;
                              isLapChildDocument?: ...;
                              isPrimaryDocumentHolder?: ...;
                              issueDate?: ...;
                              issuingCountryCode?: ...;
                              itemId?: ...;
                              middleName?: ...;
                              placeOfBirth?: ...;
                              placeOfIssue?: ...;
                              residenceCountryCode?: ...;
                              residenceDestinationAddress?: ...;
                              surname?: ...;
                          }[];
                          isGrouped?: boolean;
                          loyaltyPrograms?: {
                              programNumber: ...;
                              programType?: ...;
                              receiverCode?: ...;
                              supplierCode?: ...;
                              tierLevel?: ...;
                          }[];
                          middleName?: string;
                          nameAssociationId?: string;
                          nameReferenceCode?: string;
                          passengerCode?: string;
                          phones?: { label?: ...; number: ... }[];
                          remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                          surname: string;
                          type?:
                              | "ADULT"
                              | "AGENT"
                              | "AIRLINE"
                              | "CHILD"
                              | "EDUCATION"
                              | "GOVERNMENT"
                              | "GROUP"
                              | "INFANT"
                              | "MILITARY"
                              | "SENIOR"
                              | "SPECIAL"
                              | "YOUTH";
                      }[];
                      travelersGroup?: {
                          itemId?: string;
                          name?: string;
                          numberOfTravelers?: number;
                          numberOfTravelersRemaining?: number;
                      };
                  } & {
                      bookingSignature?: string;
                      errors?: {
                          category: string;
                          description?: string;
                          fieldName?: string;
                          fieldPath?: string;
                          fieldValue?: string;
                          type: string;
                      }[];
                      request?: {
                          bookingSource?: "SABRE"
                          | "SABRE_ORDER";
                          confirmationId: string;
                          extraFeatures?: { returnEmptySeatObjects: boolean } & {
                              returnFiscalId: boolean;
                              returnFrequentRenter: boolean;
                              returnWalletFormsOfPayment: boolean;
                          } & Record<string, never>;
                          givenName?: string;
                          middleName?: string;
                          returnOnly?: (
                              | "FLIGHTS"
                              | "FLIGHT_PENALTY"
                              | "BAGGAGE_POLICY"
                              | "JOURNEYS"
                              | "HOTELS"
                              | "HOTEL_ADDRESS"
                              | "CARS"
                              | "CAR_RENTAL_ADDRESS"
                              | "CAR_RENTAL_PENALTY"
                              | "TRAINS"
                              | "CRUISES"
                              | "ALL_SEGMENTS"
                              | "TRAVELERS"
                              | "TICKETS"
                              | "PAYMENTS"
                              | "PENALTIES"
                              | "REMARKS"
                              | "IS_CANCELABLE"
                              | "IS_TICKETED"
                              | "CONTACT_INFO"
                              | "OTHER_SERVICES"
                              | "SPECIAL_SERVICES"
                              | "FARES"
                              | "CREATION_DETAILS"
                              | "ANCILLARIES"
                              | "FORMS_OF_PAYMENT"
                              | "RETENTION_DATE"
                              | "ACCOUNTING_ITEMS"
                              | "NON_ELECTRONIC_TICKETS"
                          )[];
                          surname?: string;
                          targetPcc?: string;
                          unmaskPaymentCardNumbers?: boolean;
                      };
                      timestamp?: string;
                  };
              };
              headers: { [name: string]: unknown };
          }

          Successful response.

    • Optionalput?: never
    • Optionaltrace?: never
    "/modifyBooking": {
        delete?: never;
        get?: never;
        head?: never;
        options?: never;
        parameters: { cookie?: never; header?: never; path?: never; query?: never };
        patch?: never;
        post: {
            parameters: {
                cookie?: never;
                header: { Authorization: string };
                path?: never;
                query?: never;
            };
            requestBody: {
                content: {
                    "application/json": {
                        after: {
                            agencyCustomerNumber?: string;
                            creationDetails?: { agencyIataNumber?: string };
                            flights?: { seats?: { number: string; offerItemId?: string }[] }[];
                            hotels?: (
                                { itemId: string } & {
                                    associatedFlightDetails?: {
                                        arrivalAirlineCode?: string;
                                        arrivalFlightNumber?: number;
                                        arrivalTime?: string;
                                        departureAirlineCode?: string;
                                        departureFlightNumber?: number;
                                        departureTime?: string;
                                    };
                                    bookingKey?: string;
                                    checkInDate?: string;
                                    checkOutDate?: string;
                                    corporateDiscountCode?: number;
                                    formOfPaymentIndex?: number;
                                    leadTravelerIndex: number;
                                    numberOfGuests: number;
                                    paymentPolicy: "DEPOSIT"
                                    | "GUARANTEE"
                                    | "LATE";
                                    room: { productCode?: string; travelerIndices: (...)[] };
                                    specialInstructions?: string;
                                }
                            )[];
                            payments?: {
                                formsOfPayment?: (
                                    {
                                        airlinePlanCode?: string;
                                        cardNumber?: string;
                                        cardSecurityCode?: string;
                                        cardTypeCode?: string;
                                        expiryDate?: string;
                                        extendedPayment?: number;
                                        installmentAmount?: string;
                                        miscellaneousCreditCode?: string;
                                        numberOfInstallments?: number;
                                    } & {
                                        agencyAddress?: (...) & (...);
                                        agencyIataNumber?: string;
                                        authentications?: (...)[];
                                        cardHolder?: {
                                            address?: ...;
                                            email?: ...;
                                            givenName: ...;
                                            phone?: ...;
                                            surname: ...;
                                        };
                                        companyAddress?: (...) & (...);
                                        corporateId?: string;
                                        docketDescription?: string;
                                        docketIssuingAgentInitials?: string;
                                        docketNumber?: string;
                                        docketPrefix?: string;
                                        governmentTravelRequestDescription?: string;
                                        invoiceDescription?: string;
                                        isAgencyPaymentCard?: boolean;
                                        manualApproval?: {
                                            airlineCode: ...;
                                            amount: ...;
                                            code: ...;
                                            currencyCode: ...;
                                            expiryDateTime: ...;
                                            requestDateTime: ...;
                                        };
                                        netBalance?: string;
                                        tripType?: (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                        tripTypes?: (...)[];
                                        type:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        useType?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        useTypes?: (...)[];
                                        virtualCard?: {
                                            agencyEmail?: ...;
                                            customerAccountCode?: ...;
                                            hotelFax?: ...;
                                            hotelName?: ...;
                                            rateAmount?: ...;
                                            roomDescription?: ...;
                                            roomType?: ...;
                                            virtualCardCharges?: ...;
                                        };
                                        voucher?: { billingNumber?: ...; type?: ... };
                                    }
                                )[];
                            };
                            retentionEndDate?: string;
                            retentionLabel?: string;
                            specialServices?: {
                                code: string;
                                flights?: { itemId: string }[];
                                message?: string;
                                travelerIndices?: number[];
                            }[];
                            travelers?: {
                                birthDate?: string;
                                emails?: string[];
                                givenName?: string;
                                identityDocuments?: (
                                    {
                                        birthDate?: ...;
                                        documentNumber?: ...;
                                        documentType: ...;
                                        expiryDate?: ...;
                                        gender?: ...;
                                        givenName?: ...;
                                        hostCountryCode?: ...;
                                        isLapChildDocument?: ...;
                                        isPrimaryDocumentHolder?: ...;
                                        issueDate?: ...;
                                        issuingCountryCode?: ...;
                                        middleName?: ...;
                                        placeOfBirth?: ...;
                                        placeOfIssue?: ...;
                                        residenceCountryCode?: ...;
                                        residenceDestinationAddress?: ...;
                                        surname?: ...;
                                    } & { flights?: ... }
                                )[];
                                isGrouped?: boolean;
                                loyaltyPrograms?: {
                                    programNumber: string;
                                    programType?: (...) | (...) | (...) | (...);
                                    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: (...)[] };
                                    specialInstructions?: string;
                                }
                            )[];
                            payments?: {
                                formsOfPayment?: (
                                    {
                                        airlinePlanCode?: string;
                                        cardNumber?: string;
                                        cardSecurityCode?: string;
                                        cardTypeCode?: string;
                                        expiryDate?: string;
                                        extendedPayment?: number;
                                        installmentAmount?: string;
                                        miscellaneousCreditCode?: string;
                                        numberOfInstallments?: number;
                                    } & {
                                        agencyAddress?: (...) & (...);
                                        agencyIataNumber?: string;
                                        authentications?: (...)[];
                                        cardHolder?: {
                                            address?: ...;
                                            email?: ...;
                                            givenName: ...;
                                            phone?: ...;
                                            surname: ...;
                                        };
                                        companyAddress?: (...) & (...);
                                        corporateId?: string;
                                        docketDescription?: string;
                                        docketIssuingAgentInitials?: string;
                                        docketNumber?: string;
                                        docketPrefix?: string;
                                        governmentTravelRequestDescription?: string;
                                        invoiceDescription?: string;
                                        isAgencyPaymentCard?: boolean;
                                        manualApproval?: {
                                            airlineCode: ...;
                                            amount: ...;
                                            code: ...;
                                            currencyCode: ...;
                                            expiryDateTime: ...;
                                            requestDateTime: ...;
                                        };
                                        netBalance?: string;
                                        tripType?: (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                        tripTypes?: (...)[];
                                        type:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        useType?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        useTypes?: (...)[];
                                        virtualCard?: {
                                            agencyEmail?: ...;
                                            customerAccountCode?: ...;
                                            hotelFax?: ...;
                                            hotelName?: ...;
                                            rateAmount?: ...;
                                            roomDescription?: ...;
                                            roomType?: ...;
                                            virtualCardCharges?: ...;
                                        };
                                        voucher?: { billingNumber?: ...; type?: ... };
                                    }
                                )[];
                            };
                            retentionEndDate?: string;
                            retentionLabel?: string;
                            specialServices?: {
                                code: string;
                                flights?: { itemId: string }[];
                                message?: string;
                                travelerIndices?: number[];
                            }[];
                            travelers?: {
                                birthDate?: string;
                                emails?: string[];
                                givenName?: string;
                                identityDocuments?: (
                                    {
                                        birthDate?: ...;
                                        documentNumber?: ...;
                                        documentType: ...;
                                        expiryDate?: ...;
                                        gender?: ...;
                                        givenName?: ...;
                                        hostCountryCode?: ...;
                                        isLapChildDocument?: ...;
                                        isPrimaryDocumentHolder?: ...;
                                        issueDate?: ...;
                                        issuingCountryCode?: ...;
                                        middleName?: ...;
                                        placeOfBirth?: ...;
                                        placeOfIssue?: ...;
                                        residenceCountryCode?: ...;
                                        residenceDestinationAddress?: ...;
                                        surname?: ...;
                                    } & { flights?: ... }
                                )[];
                                isGrouped?: boolean;
                                loyaltyPrograms?: {
                                    programNumber: string;
                                    programType?: (...) | (...) | (...) | (...);
                                    receiverCode?: string;
                                    supplierCode?: string;
                                    tierLevel?: number;
                                }[];
                                middleName?: string;
                                passengerCode?: string;
                                phones?: { label?: string; number: string }[];
                                surname?: string;
                            }[];
                        };
                        bookingSignature: string;
                        bookingSource?: "SABRE"
                        | "SABRE_ORDER";
                        confirmationId: string;
                        extraFeatures?: {
                            returnFiscalId: boolean;
                            returnFrequentRenter: boolean;
                            returnWalletFormsOfPayment: boolean;
                        };
                        receivedFrom: string;
                        retrieveBooking: boolean;
                        targetPcc?: string;
                        unmaskPaymentCardNumbers?: boolean;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            booking?: {
                                accountingItems?: {
                                    airlineCode?: string;
                                    cardNumber?: string;
                                    cardTypeCode?: string;
                                    commission?: {
                                        commissionAmount?: string;
                                        commissionPercentage?: string;
                                        currencyCode?: string;
                                    };
                                    creationType?: "Refund"
                                    | "Exchange"
                                    | "First Issuance";
                                    currencyCode?: string;
                                    fareAmount?: string;
                                    fareApplicationType?:
                                        | "Single Traveler"
                                        | "All Travelers"
                                        | "Each Traveler";
                                    formOfPaymentType?: | "Unknown"
                                    | "Cash"
                                    | "Check"
                                    | "Check or Cash"
                                    | "Payment Card"
                                    | "Masked Payment Card";
                                    tariffBasisType?: "Domestic"
                                    | "Foreign"
                                    | "International";
                                    taxAmount?: string;
                                    ticketNumber?: string;
                                    travelerIndices?: number[];
                                }[];
                                agencyCustomerNumber?: string;
                                allSegments?: (
                                    { id: string } & {
                                        address?: (...) & (...);
                                        date?: string;
                                        endAddress?: (...) & (...);
                                        endDate?: string;
                                        endLocationCode?: string;
                                        endTime?: string;
                                        locationCode?: string;
                                        startAddress?: (...) & (...);
                                        startDate?: string;
                                        startLocationCode?: string;
                                        startTime?: string;
                                        text?: string;
                                        time?: string;
                                        type: string;
                                        vendorCode?: string;
                                    }
                                )[];
                                bookingId?: string;
                                cars?: (
                                    { itemId: string } & {
                                        carStatusCode?: string;
                                        carStatusName?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        collectionAddress?: {
                                            city?: ...;
                                            countryCode?: ...;
                                            postalCode?: ...;
                                            stateProvince?: ...;
                                            street?: ...;
                                        };
                                        collectionSite?: { id?: ...; name?: ...; phone?: ... };
                                        confirmationId?: string;
                                        deliveryAddress?: {
                                            city?: ...;
                                            countryCode?: ...;
                                            postalCode?: ...;
                                            stateProvince?: ...;
                                            street?: ...;
                                        };
                                        deliverySite?: { id?: ...; name?: ...; phone?: ... };
                                        distanceAllowance?: string;
                                        dropOffAddress?: (...) & (...);
                                        dropOffContactInfo?: (...) & (...);
                                        dropOffDate: string;
                                        dropOffLocationCode?: string;
                                        dropOffTime: string;
                                        guaranteePaymentNote?: string;
                                        isRefundable: boolean;
                                        numberOfVehicles?: number;
                                        payment?: {
                                            currencyCode: ...;
                                            fees?: ...;
                                            subtotal?: ...;
                                            taxes?: ...;
                                            total: ...;
                                        };
                                        pickUpAddress: (...) & (...);
                                        pickUpContactInfo?: (...) & (...);
                                        pickUpDate: string;
                                        pickUpLocationCode?: string;
                                        pickUpTime: string;
                                        rateCode?: string;
                                        refundPenalties?: (...)[];
                                        specialInstructions?: string;
                                        travelerIndex?: number;
                                        vehicleTypeCode?: string;
                                        vehicleTypeName?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        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?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        departureDate: string;
                                        departureTime?: string;
                                        fromPortCode: string;
                                        numberOfGuests?: number;
                                        shipCode?: string;
                                        shipName?: string;
                                        toPortCode?: string;
                                        vendorCode: string;
                                    }
                                )[];
                                endDate?: string;
                                fareOffers?: {
                                    cabinBaggageAllowance?: {
                                        baggagePieces?: (...)[];
                                        maximumPieces?: number;
                                        totalWeightInKilograms?: number;
                                        totalWeightInPounds?: number;
                                    };
                                    cabinBaggageCharges?: {
                                        fee?: ...;
                                        isCheckInOnly?: ...;
                                        maximumSizeInCentimeters?: ...;
                                        maximumSizeInInches?: ...;
                                        maximumWeightInKilograms?: ...;
                                        maximumWeightInPounds?: ...;
                                        numberOfPieces: ...;
                                        specialItemDescription?: ...;
                                    }[];
                                    checkedBaggageAllowance?: {
                                        baggagePieces?: (...)[];
                                        maximumPieces?: number;
                                        totalWeightInKilograms?: number;
                                        totalWeightInPounds?: number;
                                    };
                                    checkedBaggageCharges?: {
                                        fee?: ...;
                                        isCheckInOnly?: ...;
                                        maximumSizeInCentimeters?: ...;
                                        maximumSizeInInches?: ...;
                                        maximumWeightInKilograms?: ...;
                                        maximumWeightInPounds?: ...;
                                        numberOfPieces: ...;
                                        specialItemDescription?: ...;
                                    }[];
                                    flights?: { itemId: ... }[];
                                    travelerIndices?: number[];
                                }[];
                                fareRules?: {
                                    destinationAirportCode?: string;
                                    exchangePenalties?: {
                                        applicability: ...;
                                        conditionsApply: ...;
                                        penalty: ...;
                                    }[];
                                    isChangeable?: boolean;
                                    isRefundable?: boolean;
                                    originAirportCode?: string;
                                    owningAirlineCode: string;
                                    passengerCode?: string;
                                    refundPenalties?: {
                                        applicability: ...;
                                        conditionsApply: ...;
                                        penalty: ...;
                                    }[];
                                }[];
                                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?: ...;
                                        brandAttributes?: ...;
                                        brandFareCode?: ...;
                                        brandFareName?: ...;
                                        brandProgramCode?: ...;
                                        brandProgramName?: ...;
                                        checkedBaggageAllowance?: ...;
                                        fareBasisCode?: ...;
                                        flightIndices?: ...;
                                        flights?: ...;
                                        isCurrentItinerary?: ...;
                                    }[];
                                    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?: ...; taxCode?: ... }[];
                                    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?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        fromAirportCode: string;
                                        hiddenStopAircraftTypeCode?: string;
                                        hiddenStopAircraftTypeName?: string;
                                        hiddenStopAirportCode?: string;
                                        hiddenStopArrivalDate?: string;
                                        hiddenStopArrivalTime?: string;
                                        hiddenStopDepartureDate?: string;
                                        hiddenStopDepartureTime?: string;
                                        hiddenStops?: (...)[];
                                        identityDocuments?: (...)[];
                                        isPast?: boolean;
                                        meals?: (...)[];
                                        numberOfSeats?: number;
                                        operatingAirlineCode?: string;
                                        operatingAirlineName?: string;
                                        operatingFlightNumber?: number;
                                        seats?: (...)[];
                                        sourceType?: (...) | (...) | (...);
                                        toAirportCode: string;
                                        travelerIndices?: (...)[];
                                        updatedArrivalDate?: string;
                                        updatedArrivalTime?: string;
                                        updatedDepartureDate?: string;
                                        updatedDepartureTime?: string;
                                    }
                                )[];
                                flightTickets?: {
                                    agencyIataNumber?: string;
                                    airlineCode: string;
                                    allCoupons?: ((...) & (...))[];
                                    commission?: {
                                        commissionAmount?: string;
                                        commissionPercentage?: string;
                                        currencyCode?: string;
                                    };
                                    date: string;
                                    flightCoupons: ((...) & (...))[];
                                    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: (...) & (...) & (...);
                                        associatedFlightDetails?: {
                                            arrivalAirlineCode?: ...;
                                            arrivalFlightNumber?: ...;
                                            arrivalTime?: ...;
                                            departureAirlineCode?: ...;
                                            departureFlightNumber?: ...;
                                            departureTime?: ...;
                                        };
                                        chainCode?: string;
                                        chainName?: string;
                                        checkInDate: string;
                                        checkInTime: string;
                                        checkOutDate: string;
                                        checkOutTime: string;
                                        confirmationId?: string;
                                        contactInfo?: (...) & (...);
                                        corporateDiscountCode?: number;
                                        guaranteePaymentNote?: string;
                                        guaranteeTypeCode?: number;
                                        guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                                        hotelName: string;
                                        hotelStatusCode?: string;
                                        hotelStatusName?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        isRefundable: boolean;
                                        leadTravelerIndex?: number;
                                        numberOfGuests?: number;
                                        payment?: {
                                            currencyCode: ...;
                                            fees?: ...;
                                            subtotal?: ...;
                                            taxes?: ...;
                                            total: ...;
                                        };
                                        paymentPolicy?: (...)
                                        | (...)
                                        | (...);
                                        propertyId?: string;
                                        refundPenalties?: (...)[];
                                        refundPenaltyPolicyCode?: string;
                                        room?: {
                                            agencyCommission?: ...;
                                            description?: ...;
                                            productCode?: ...;
                                            quantity: ...;
                                            roomRate?: ...;
                                            roomType: ...;
                                            roomTypeCode?: ...;
                                            travelerIndices?: ...;
                                        };
                                        sabrePropertyId?: string;
                                        sourceTypeCode?: number;
                                        sourceTypeName?: | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                        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?: ...;
                                            cardNumber?: ...;
                                            cardSecurityCode?: ...;
                                            cardTypeCode?: ...;
                                            expiryDate?: ...;
                                            extendedPayment?: ...;
                                            installmentAmount?: ...;
                                            miscellaneousCreditCode?: ...;
                                            numberOfInstallments?: ...;
                                        } & {
                                            agencyAddress?: ...;
                                            agencyIataNumber?: ...;
                                            authentications?: ...;
                                            cardHolder?: ...;
                                            companyAddress?: ...;
                                            corporateId?: ...;
                                            docketDescription?: ...;
                                            docketIssuingAgentInitials?: ...;
                                            docketNumber?: ...;
                                            docketPrefix?: ...;
                                            governmentTravelRequestDescription?: ...;
                                            invoiceDescription?: ...;
                                            isAgencyPaymentCard?: ...;
                                            manualApproval?: ...;
                                            netBalance?: ...;
                                            tripType?: ...;
                                            tripTypes?: ...;
                                            type: ...;
                                            useType?: ...;
                                            useTypes?: ...;
                                            virtualCard?: ...;
                                            voucher?: ...;
                                        }
                                    )[];
                                    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: ... }[];
                                    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: ...;
                                            fees?: ...;
                                            subtotal?: ...;
                                            taxes?: ...;
                                            total: ...;
                                        };
                                        toStationCode: string;
                                        toStationName?: string;
                                        trainName?: string;
                                        trainNumber: string;
                                        trainStatusCode?: string;
                                        trainStatusName?: | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                        vendorCode: string;
                                        vendorName?: string;
                                    }
                                )[];
                                travelers?: {
                                    address?: {
                                        city?: ...;
                                        countryCode?: ...;
                                        postalCode?: ...;
                                        stateProvince?: ...;
                                        street?: ...;
                                    } & { freeText?: ...; name?: ... };
                                    ancillaries?: {
                                        airlineCode?: ...;
                                        commercialName?: ...;
                                        electronicMiscellaneousDocumentNumber?: ...;
                                        flightApplicabilityType?: ...;
                                        flights?: ...;
                                        isCommissionable?: ...;
                                        isRefundable?: ...;
                                        itemId?: ...;
                                        numberOfItems?: ...;
                                        reasonForIssuanceCode?: ...;
                                        reasonForIssuanceName?: ...;
                                        source?: ...;
                                        statusCode?: ...;
                                        statusName?: ...;
                                        subcode?: ...;
                                        totals?: ...;
                                        vendorCode?: ...;
                                    }[];
                                    birthDate?: string;
                                    emails?: string[];
                                    formOfPaymentIndices?: number[];
                                    gender?: | "FEMALE"
                                    | "MALE"
                                    | "INFANT_FEMALE"
                                    | "INFANT_MALE"
                                    | "UNDISCLOSED"
                                    | "UNDEFINED";
                                    givenName: string;
                                    identityDocuments?: {
                                        birthDate?: ...;
                                        documentNumber?: ...;
                                        documentSubType?: ...;
                                        documentType: ...;
                                        expiryDate?: ...;
                                        flightIndices?: ...;
                                        gender?: ...;
                                        givenName?: ...;
                                        hostCountryCode?: ...;
                                        isLapChildDocument?: ...;
                                        isPrimaryDocumentHolder?: ...;
                                        issueDate?: ...;
                                        issuingCountryCode?: ...;
                                        itemId?: ...;
                                        middleName?: ...;
                                        placeOfBirth?: ...;
                                        placeOfIssue?: ...;
                                        residenceCountryCode?: ...;
                                        residenceDestinationAddress?: ...;
                                        surname?: ...;
                                    }[];
                                    isGrouped?: boolean;
                                    loyaltyPrograms?: {
                                        programNumber: ...;
                                        programType?: ...;
                                        receiverCode?: ...;
                                        supplierCode?: ...;
                                        tierLevel?: ...;
                                    }[];
                                    middleName?: string;
                                    nameAssociationId?: string;
                                    nameReferenceCode?: string;
                                    passengerCode?: string;
                                    phones?: { label?: ...; number: ... }[];
                                    remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                                    surname: string;
                                    type?:
                                        | "ADULT"
                                        | "AGENT"
                                        | "AIRLINE"
                                        | "CHILD"
                                        | "EDUCATION"
                                        | "GOVERNMENT"
                                        | "GROUP"
                                        | "INFANT"
                                        | "MILITARY"
                                        | "SENIOR"
                                        | "SPECIAL"
                                        | "YOUTH";
                                }[];
                                travelersGroup?: {
                                    itemId?: string;
                                    name?: string;
                                    numberOfTravelers?: number;
                                    numberOfTravelersRemaining?: number;
                                };
                            };
                            errors?: {
                                category: string;
                                description?: string;
                                fieldName?: string;
                                fieldPath?: string;
                                fieldValue?: string;
                                type: string;
                            }[];
                            request?: {
                                after: {
                                    agencyCustomerNumber?: string;
                                    creationDetails?: { agencyIataNumber?: string };
                                    flights?: { seats?: (...)[] }[];
                                    hotels?: (
                                        { itemId: ... } & {
                                            associatedFlightDetails?: ...;
                                            bookingKey?: ...;
                                            checkInDate?: ...;
                                            checkOutDate?: ...;
                                            corporateDiscountCode?: ...;
                                            formOfPaymentIndex?: ...;
                                            leadTravelerIndex: ...;
                                            numberOfGuests: ...;
                                            paymentPolicy: ...;
                                            room: ...;
                                            specialInstructions?: ...;
                                        }
                                    )[];
                                    payments?: { formsOfPayment?: ((...) & (...))[] };
                                    retentionEndDate?: string;
                                    retentionLabel?: string;
                                    specialServices?: {
                                        code: string;
                                        flights?: (...)[];
                                        message?: string;
                                        travelerIndices?: (...)[];
                                    }[];
                                    travelers?: {
                                        birthDate?: string;
                                        emails?: (...)[];
                                        givenName?: string;
                                        identityDocuments?: (...)[];
                                        isGrouped?: boolean;
                                        loyaltyPrograms?: (...)[];
                                        middleName?: string;
                                        passengerCode?: string;
                                        phones?: (...)[];
                                        surname?: string;
                                    }[];
                                };
                                before: {
                                    agencyCustomerNumber?: string;
                                    creationDetails?: { agencyIataNumber?: string };
                                    flights?: { seats?: (...)[] }[];
                                    hotels?: (
                                        { itemId: ... } & {
                                            associatedFlightDetails?: ...;
                                            bookingKey?: ...;
                                            checkInDate?: ...;
                                            checkOutDate?: ...;
                                            corporateDiscountCode?: ...;
                                            formOfPaymentIndex?: ...;
                                            leadTravelerIndex: ...;
                                            numberOfGuests: ...;
                                            paymentPolicy: ...;
                                            room: ...;
                                            specialInstructions?: ...;
                                        }
                                    )[];
                                    payments?: { formsOfPayment?: ((...) & (...))[] };
                                    retentionEndDate?: string;
                                    retentionLabel?: string;
                                    specialServices?: {
                                        code: string;
                                        flights?: (...)[];
                                        message?: string;
                                        travelerIndices?: (...)[];
                                    }[];
                                    travelers?: {
                                        birthDate?: string;
                                        emails?: (...)[];
                                        givenName?: string;
                                        identityDocuments?: (...)[];
                                        isGrouped?: boolean;
                                        loyaltyPrograms?: (...)[];
                                        middleName?: string;
                                        passengerCode?: string;
                                        phones?: (...)[];
                                        surname?: string;
                                    }[];
                                };
                                bookingSignature: string;
                                bookingSource?: "SABRE"
                                | "SABRE_ORDER";
                                confirmationId: string;
                                extraFeatures?: {
                                    returnFiscalId: boolean;
                                    returnFrequentRenter: boolean;
                                    returnWalletFormsOfPayment: boolean;
                                };
                                receivedFrom: string;
                                retrieveBooking: boolean;
                                targetPcc?: string;
                                unmaskPaymentCardNumbers?: boolean;
                            };
                            timestamp?: string;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        put?: never;
        trace?: never;
    }

    Type Declaration

    • Optionaldelete?: never
    • Optionalget?: never
    • Optionalhead?: never
    • Optionaloptions?: never
    • parameters: { cookie?: never; header?: never; path?: never; query?: never }
    • Optionalpatch?: never
    • post: {
          parameters: {
              cookie?: never;
              header: { Authorization: string };
              path?: never;
              query?: never;
          };
          requestBody: {
              content: {
                  "application/json": {
                      after: {
                          agencyCustomerNumber?: string;
                          creationDetails?: { agencyIataNumber?: string };
                          flights?: { seats?: { number: string; offerItemId?: string }[] }[];
                          hotels?: (
                              { itemId: string } & {
                                  associatedFlightDetails?: {
                                      arrivalAirlineCode?: string;
                                      arrivalFlightNumber?: number;
                                      arrivalTime?: string;
                                      departureAirlineCode?: string;
                                      departureFlightNumber?: number;
                                      departureTime?: string;
                                  };
                                  bookingKey?: string;
                                  checkInDate?: string;
                                  checkOutDate?: string;
                                  corporateDiscountCode?: number;
                                  formOfPaymentIndex?: number;
                                  leadTravelerIndex: number;
                                  numberOfGuests: number;
                                  paymentPolicy: "DEPOSIT"
                                  | "GUARANTEE"
                                  | "LATE";
                                  room: { productCode?: string; travelerIndices: (...)[] };
                                  specialInstructions?: string;
                              }
                          )[];
                          payments?: {
                              formsOfPayment?: (
                                  {
                                      airlinePlanCode?: string;
                                      cardNumber?: string;
                                      cardSecurityCode?: string;
                                      cardTypeCode?: string;
                                      expiryDate?: string;
                                      extendedPayment?: number;
                                      installmentAmount?: string;
                                      miscellaneousCreditCode?: string;
                                      numberOfInstallments?: number;
                                  } & {
                                      agencyAddress?: (...) & (...);
                                      agencyIataNumber?: string;
                                      authentications?: (...)[];
                                      cardHolder?: {
                                          address?: ...;
                                          email?: ...;
                                          givenName: ...;
                                          phone?: ...;
                                          surname: ...;
                                      };
                                      companyAddress?: (...) & (...);
                                      corporateId?: string;
                                      docketDescription?: string;
                                      docketIssuingAgentInitials?: string;
                                      docketNumber?: string;
                                      docketPrefix?: string;
                                      governmentTravelRequestDescription?: string;
                                      invoiceDescription?: string;
                                      isAgencyPaymentCard?: boolean;
                                      manualApproval?: {
                                          airlineCode: ...;
                                          amount: ...;
                                          code: ...;
                                          currencyCode: ...;
                                          expiryDateTime: ...;
                                          requestDateTime: ...;
                                      };
                                      netBalance?: string;
                                      tripType?: (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                      tripTypes?: (...)[];
                                      type:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      useType?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      useTypes?: (...)[];
                                      virtualCard?: {
                                          agencyEmail?: ...;
                                          customerAccountCode?: ...;
                                          hotelFax?: ...;
                                          hotelName?: ...;
                                          rateAmount?: ...;
                                          roomDescription?: ...;
                                          roomType?: ...;
                                          virtualCardCharges?: ...;
                                      };
                                      voucher?: { billingNumber?: ...; type?: ... };
                                  }
                              )[];
                          };
                          retentionEndDate?: string;
                          retentionLabel?: string;
                          specialServices?: {
                              code: string;
                              flights?: { itemId: string }[];
                              message?: string;
                              travelerIndices?: number[];
                          }[];
                          travelers?: {
                              birthDate?: string;
                              emails?: string[];
                              givenName?: string;
                              identityDocuments?: (
                                  {
                                      birthDate?: ...;
                                      documentNumber?: ...;
                                      documentType: ...;
                                      expiryDate?: ...;
                                      gender?: ...;
                                      givenName?: ...;
                                      hostCountryCode?: ...;
                                      isLapChildDocument?: ...;
                                      isPrimaryDocumentHolder?: ...;
                                      issueDate?: ...;
                                      issuingCountryCode?: ...;
                                      middleName?: ...;
                                      placeOfBirth?: ...;
                                      placeOfIssue?: ...;
                                      residenceCountryCode?: ...;
                                      residenceDestinationAddress?: ...;
                                      surname?: ...;
                                  } & { flights?: ... }
                              )[];
                              isGrouped?: boolean;
                              loyaltyPrograms?: {
                                  programNumber: string;
                                  programType?: (...) | (...) | (...) | (...);
                                  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: (...)[] };
                                  specialInstructions?: string;
                              }
                          )[];
                          payments?: {
                              formsOfPayment?: (
                                  {
                                      airlinePlanCode?: string;
                                      cardNumber?: string;
                                      cardSecurityCode?: string;
                                      cardTypeCode?: string;
                                      expiryDate?: string;
                                      extendedPayment?: number;
                                      installmentAmount?: string;
                                      miscellaneousCreditCode?: string;
                                      numberOfInstallments?: number;
                                  } & {
                                      agencyAddress?: (...) & (...);
                                      agencyIataNumber?: string;
                                      authentications?: (...)[];
                                      cardHolder?: {
                                          address?: ...;
                                          email?: ...;
                                          givenName: ...;
                                          phone?: ...;
                                          surname: ...;
                                      };
                                      companyAddress?: (...) & (...);
                                      corporateId?: string;
                                      docketDescription?: string;
                                      docketIssuingAgentInitials?: string;
                                      docketNumber?: string;
                                      docketPrefix?: string;
                                      governmentTravelRequestDescription?: string;
                                      invoiceDescription?: string;
                                      isAgencyPaymentCard?: boolean;
                                      manualApproval?: {
                                          airlineCode: ...;
                                          amount: ...;
                                          code: ...;
                                          currencyCode: ...;
                                          expiryDateTime: ...;
                                          requestDateTime: ...;
                                      };
                                      netBalance?: string;
                                      tripType?: (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                      tripTypes?: (...)[];
                                      type:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      useType?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      useTypes?: (...)[];
                                      virtualCard?: {
                                          agencyEmail?: ...;
                                          customerAccountCode?: ...;
                                          hotelFax?: ...;
                                          hotelName?: ...;
                                          rateAmount?: ...;
                                          roomDescription?: ...;
                                          roomType?: ...;
                                          virtualCardCharges?: ...;
                                      };
                                      voucher?: { billingNumber?: ...; type?: ... };
                                  }
                              )[];
                          };
                          retentionEndDate?: string;
                          retentionLabel?: string;
                          specialServices?: {
                              code: string;
                              flights?: { itemId: string }[];
                              message?: string;
                              travelerIndices?: number[];
                          }[];
                          travelers?: {
                              birthDate?: string;
                              emails?: string[];
                              givenName?: string;
                              identityDocuments?: (
                                  {
                                      birthDate?: ...;
                                      documentNumber?: ...;
                                      documentType: ...;
                                      expiryDate?: ...;
                                      gender?: ...;
                                      givenName?: ...;
                                      hostCountryCode?: ...;
                                      isLapChildDocument?: ...;
                                      isPrimaryDocumentHolder?: ...;
                                      issueDate?: ...;
                                      issuingCountryCode?: ...;
                                      middleName?: ...;
                                      placeOfBirth?: ...;
                                      placeOfIssue?: ...;
                                      residenceCountryCode?: ...;
                                      residenceDestinationAddress?: ...;
                                      surname?: ...;
                                  } & { flights?: ... }
                              )[];
                              isGrouped?: boolean;
                              loyaltyPrograms?: {
                                  programNumber: string;
                                  programType?: (...) | (...) | (...) | (...);
                                  receiverCode?: string;
                                  supplierCode?: string;
                                  tierLevel?: number;
                              }[];
                              middleName?: string;
                              passengerCode?: string;
                              phones?: { label?: string; number: string }[];
                              surname?: string;
                          }[];
                      };
                      bookingSignature: string;
                      bookingSource?: "SABRE"
                      | "SABRE_ORDER";
                      confirmationId: string;
                      extraFeatures?: {
                          returnFiscalId: boolean;
                          returnFrequentRenter: boolean;
                          returnWalletFormsOfPayment: boolean;
                      };
                      receivedFrom: string;
                      retrieveBooking: boolean;
                      targetPcc?: string;
                      unmaskPaymentCardNumbers?: boolean;
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          booking?: {
                              accountingItems?: {
                                  airlineCode?: string;
                                  cardNumber?: string;
                                  cardTypeCode?: string;
                                  commission?: {
                                      commissionAmount?: string;
                                      commissionPercentage?: string;
                                      currencyCode?: string;
                                  };
                                  creationType?: "Refund"
                                  | "Exchange"
                                  | "First Issuance";
                                  currencyCode?: string;
                                  fareAmount?: string;
                                  fareApplicationType?:
                                      | "Single Traveler"
                                      | "All Travelers"
                                      | "Each Traveler";
                                  formOfPaymentType?: | "Unknown"
                                  | "Cash"
                                  | "Check"
                                  | "Check or Cash"
                                  | "Payment Card"
                                  | "Masked Payment Card";
                                  tariffBasisType?: "Domestic"
                                  | "Foreign"
                                  | "International";
                                  taxAmount?: string;
                                  ticketNumber?: string;
                                  travelerIndices?: number[];
                              }[];
                              agencyCustomerNumber?: string;
                              allSegments?: (
                                  { id: string } & {
                                      address?: (...) & (...);
                                      date?: string;
                                      endAddress?: (...) & (...);
                                      endDate?: string;
                                      endLocationCode?: string;
                                      endTime?: string;
                                      locationCode?: string;
                                      startAddress?: (...) & (...);
                                      startDate?: string;
                                      startLocationCode?: string;
                                      startTime?: string;
                                      text?: string;
                                      time?: string;
                                      type: string;
                                      vendorCode?: string;
                                  }
                              )[];
                              bookingId?: string;
                              cars?: (
                                  { itemId: string } & {
                                      carStatusCode?: string;
                                      carStatusName?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      collectionAddress?: {
                                          city?: ...;
                                          countryCode?: ...;
                                          postalCode?: ...;
                                          stateProvince?: ...;
                                          street?: ...;
                                      };
                                      collectionSite?: { id?: ...; name?: ...; phone?: ... };
                                      confirmationId?: string;
                                      deliveryAddress?: {
                                          city?: ...;
                                          countryCode?: ...;
                                          postalCode?: ...;
                                          stateProvince?: ...;
                                          street?: ...;
                                      };
                                      deliverySite?: { id?: ...; name?: ...; phone?: ... };
                                      distanceAllowance?: string;
                                      dropOffAddress?: (...) & (...);
                                      dropOffContactInfo?: (...) & (...);
                                      dropOffDate: string;
                                      dropOffLocationCode?: string;
                                      dropOffTime: string;
                                      guaranteePaymentNote?: string;
                                      isRefundable: boolean;
                                      numberOfVehicles?: number;
                                      payment?: {
                                          currencyCode: ...;
                                          fees?: ...;
                                          subtotal?: ...;
                                          taxes?: ...;
                                          total: ...;
                                      };
                                      pickUpAddress: (...) & (...);
                                      pickUpContactInfo?: (...) & (...);
                                      pickUpDate: string;
                                      pickUpLocationCode?: string;
                                      pickUpTime: string;
                                      rateCode?: string;
                                      refundPenalties?: (...)[];
                                      specialInstructions?: string;
                                      travelerIndex?: number;
                                      vehicleTypeCode?: string;
                                      vehicleTypeName?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      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?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      departureDate: string;
                                      departureTime?: string;
                                      fromPortCode: string;
                                      numberOfGuests?: number;
                                      shipCode?: string;
                                      shipName?: string;
                                      toPortCode?: string;
                                      vendorCode: string;
                                  }
                              )[];
                              endDate?: string;
                              fareOffers?: {
                                  cabinBaggageAllowance?: {
                                      baggagePieces?: (...)[];
                                      maximumPieces?: number;
                                      totalWeightInKilograms?: number;
                                      totalWeightInPounds?: number;
                                  };
                                  cabinBaggageCharges?: {
                                      fee?: ...;
                                      isCheckInOnly?: ...;
                                      maximumSizeInCentimeters?: ...;
                                      maximumSizeInInches?: ...;
                                      maximumWeightInKilograms?: ...;
                                      maximumWeightInPounds?: ...;
                                      numberOfPieces: ...;
                                      specialItemDescription?: ...;
                                  }[];
                                  checkedBaggageAllowance?: {
                                      baggagePieces?: (...)[];
                                      maximumPieces?: number;
                                      totalWeightInKilograms?: number;
                                      totalWeightInPounds?: number;
                                  };
                                  checkedBaggageCharges?: {
                                      fee?: ...;
                                      isCheckInOnly?: ...;
                                      maximumSizeInCentimeters?: ...;
                                      maximumSizeInInches?: ...;
                                      maximumWeightInKilograms?: ...;
                                      maximumWeightInPounds?: ...;
                                      numberOfPieces: ...;
                                      specialItemDescription?: ...;
                                  }[];
                                  flights?: { itemId: ... }[];
                                  travelerIndices?: number[];
                              }[];
                              fareRules?: {
                                  destinationAirportCode?: string;
                                  exchangePenalties?: {
                                      applicability: ...;
                                      conditionsApply: ...;
                                      penalty: ...;
                                  }[];
                                  isChangeable?: boolean;
                                  isRefundable?: boolean;
                                  originAirportCode?: string;
                                  owningAirlineCode: string;
                                  passengerCode?: string;
                                  refundPenalties?: {
                                      applicability: ...;
                                      conditionsApply: ...;
                                      penalty: ...;
                                  }[];
                              }[];
                              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?: ...;
                                      brandAttributes?: ...;
                                      brandFareCode?: ...;
                                      brandFareName?: ...;
                                      brandProgramCode?: ...;
                                      brandProgramName?: ...;
                                      checkedBaggageAllowance?: ...;
                                      fareBasisCode?: ...;
                                      flightIndices?: ...;
                                      flights?: ...;
                                      isCurrentItinerary?: ...;
                                  }[];
                                  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?: ...; taxCode?: ... }[];
                                  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?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      fromAirportCode: string;
                                      hiddenStopAircraftTypeCode?: string;
                                      hiddenStopAircraftTypeName?: string;
                                      hiddenStopAirportCode?: string;
                                      hiddenStopArrivalDate?: string;
                                      hiddenStopArrivalTime?: string;
                                      hiddenStopDepartureDate?: string;
                                      hiddenStopDepartureTime?: string;
                                      hiddenStops?: (...)[];
                                      identityDocuments?: (...)[];
                                      isPast?: boolean;
                                      meals?: (...)[];
                                      numberOfSeats?: number;
                                      operatingAirlineCode?: string;
                                      operatingAirlineName?: string;
                                      operatingFlightNumber?: number;
                                      seats?: (...)[];
                                      sourceType?: (...) | (...) | (...);
                                      toAirportCode: string;
                                      travelerIndices?: (...)[];
                                      updatedArrivalDate?: string;
                                      updatedArrivalTime?: string;
                                      updatedDepartureDate?: string;
                                      updatedDepartureTime?: string;
                                  }
                              )[];
                              flightTickets?: {
                                  agencyIataNumber?: string;
                                  airlineCode: string;
                                  allCoupons?: ((...) & (...))[];
                                  commission?: {
                                      commissionAmount?: string;
                                      commissionPercentage?: string;
                                      currencyCode?: string;
                                  };
                                  date: string;
                                  flightCoupons: ((...) & (...))[];
                                  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: (...) & (...) & (...);
                                      associatedFlightDetails?: {
                                          arrivalAirlineCode?: ...;
                                          arrivalFlightNumber?: ...;
                                          arrivalTime?: ...;
                                          departureAirlineCode?: ...;
                                          departureFlightNumber?: ...;
                                          departureTime?: ...;
                                      };
                                      chainCode?: string;
                                      chainName?: string;
                                      checkInDate: string;
                                      checkInTime: string;
                                      checkOutDate: string;
                                      checkOutTime: string;
                                      confirmationId?: string;
                                      contactInfo?: (...) & (...);
                                      corporateDiscountCode?: number;
                                      guaranteePaymentNote?: string;
                                      guaranteeTypeCode?: number;
                                      guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                                      hotelName: string;
                                      hotelStatusCode?: string;
                                      hotelStatusName?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      isRefundable: boolean;
                                      leadTravelerIndex?: number;
                                      numberOfGuests?: number;
                                      payment?: {
                                          currencyCode: ...;
                                          fees?: ...;
                                          subtotal?: ...;
                                          taxes?: ...;
                                          total: ...;
                                      };
                                      paymentPolicy?: (...)
                                      | (...)
                                      | (...);
                                      propertyId?: string;
                                      refundPenalties?: (...)[];
                                      refundPenaltyPolicyCode?: string;
                                      room?: {
                                          agencyCommission?: ...;
                                          description?: ...;
                                          productCode?: ...;
                                          quantity: ...;
                                          roomRate?: ...;
                                          roomType: ...;
                                          roomTypeCode?: ...;
                                          travelerIndices?: ...;
                                      };
                                      sabrePropertyId?: string;
                                      sourceTypeCode?: number;
                                      sourceTypeName?: | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                      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?: ...;
                                          cardNumber?: ...;
                                          cardSecurityCode?: ...;
                                          cardTypeCode?: ...;
                                          expiryDate?: ...;
                                          extendedPayment?: ...;
                                          installmentAmount?: ...;
                                          miscellaneousCreditCode?: ...;
                                          numberOfInstallments?: ...;
                                      } & {
                                          agencyAddress?: ...;
                                          agencyIataNumber?: ...;
                                          authentications?: ...;
                                          cardHolder?: ...;
                                          companyAddress?: ...;
                                          corporateId?: ...;
                                          docketDescription?: ...;
                                          docketIssuingAgentInitials?: ...;
                                          docketNumber?: ...;
                                          docketPrefix?: ...;
                                          governmentTravelRequestDescription?: ...;
                                          invoiceDescription?: ...;
                                          isAgencyPaymentCard?: ...;
                                          manualApproval?: ...;
                                          netBalance?: ...;
                                          tripType?: ...;
                                          tripTypes?: ...;
                                          type: ...;
                                          useType?: ...;
                                          useTypes?: ...;
                                          virtualCard?: ...;
                                          voucher?: ...;
                                      }
                                  )[];
                                  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: ... }[];
                                  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: ...;
                                          fees?: ...;
                                          subtotal?: ...;
                                          taxes?: ...;
                                          total: ...;
                                      };
                                      toStationCode: string;
                                      toStationName?: string;
                                      trainName?: string;
                                      trainNumber: string;
                                      trainStatusCode?: string;
                                      trainStatusName?: | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                      vendorCode: string;
                                      vendorName?: string;
                                  }
                              )[];
                              travelers?: {
                                  address?: {
                                      city?: ...;
                                      countryCode?: ...;
                                      postalCode?: ...;
                                      stateProvince?: ...;
                                      street?: ...;
                                  } & { freeText?: ...; name?: ... };
                                  ancillaries?: {
                                      airlineCode?: ...;
                                      commercialName?: ...;
                                      electronicMiscellaneousDocumentNumber?: ...;
                                      flightApplicabilityType?: ...;
                                      flights?: ...;
                                      isCommissionable?: ...;
                                      isRefundable?: ...;
                                      itemId?: ...;
                                      numberOfItems?: ...;
                                      reasonForIssuanceCode?: ...;
                                      reasonForIssuanceName?: ...;
                                      source?: ...;
                                      statusCode?: ...;
                                      statusName?: ...;
                                      subcode?: ...;
                                      totals?: ...;
                                      vendorCode?: ...;
                                  }[];
                                  birthDate?: string;
                                  emails?: string[];
                                  formOfPaymentIndices?: number[];
                                  gender?: | "FEMALE"
                                  | "MALE"
                                  | "INFANT_FEMALE"
                                  | "INFANT_MALE"
                                  | "UNDISCLOSED"
                                  | "UNDEFINED";
                                  givenName: string;
                                  identityDocuments?: {
                                      birthDate?: ...;
                                      documentNumber?: ...;
                                      documentSubType?: ...;
                                      documentType: ...;
                                      expiryDate?: ...;
                                      flightIndices?: ...;
                                      gender?: ...;
                                      givenName?: ...;
                                      hostCountryCode?: ...;
                                      isLapChildDocument?: ...;
                                      isPrimaryDocumentHolder?: ...;
                                      issueDate?: ...;
                                      issuingCountryCode?: ...;
                                      itemId?: ...;
                                      middleName?: ...;
                                      placeOfBirth?: ...;
                                      placeOfIssue?: ...;
                                      residenceCountryCode?: ...;
                                      residenceDestinationAddress?: ...;
                                      surname?: ...;
                                  }[];
                                  isGrouped?: boolean;
                                  loyaltyPrograms?: {
                                      programNumber: ...;
                                      programType?: ...;
                                      receiverCode?: ...;
                                      supplierCode?: ...;
                                      tierLevel?: ...;
                                  }[];
                                  middleName?: string;
                                  nameAssociationId?: string;
                                  nameReferenceCode?: string;
                                  passengerCode?: string;
                                  phones?: { label?: ...; number: ... }[];
                                  remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                                  surname: string;
                                  type?:
                                      | "ADULT"
                                      | "AGENT"
                                      | "AIRLINE"
                                      | "CHILD"
                                      | "EDUCATION"
                                      | "GOVERNMENT"
                                      | "GROUP"
                                      | "INFANT"
                                      | "MILITARY"
                                      | "SENIOR"
                                      | "SPECIAL"
                                      | "YOUTH";
                              }[];
                              travelersGroup?: {
                                  itemId?: string;
                                  name?: string;
                                  numberOfTravelers?: number;
                                  numberOfTravelersRemaining?: number;
                              };
                          };
                          errors?: {
                              category: string;
                              description?: string;
                              fieldName?: string;
                              fieldPath?: string;
                              fieldValue?: string;
                              type: string;
                          }[];
                          request?: {
                              after: {
                                  agencyCustomerNumber?: string;
                                  creationDetails?: { agencyIataNumber?: string };
                                  flights?: { seats?: (...)[] }[];
                                  hotels?: (
                                      { itemId: ... } & {
                                          associatedFlightDetails?: ...;
                                          bookingKey?: ...;
                                          checkInDate?: ...;
                                          checkOutDate?: ...;
                                          corporateDiscountCode?: ...;
                                          formOfPaymentIndex?: ...;
                                          leadTravelerIndex: ...;
                                          numberOfGuests: ...;
                                          paymentPolicy: ...;
                                          room: ...;
                                          specialInstructions?: ...;
                                      }
                                  )[];
                                  payments?: { formsOfPayment?: ((...) & (...))[] };
                                  retentionEndDate?: string;
                                  retentionLabel?: string;
                                  specialServices?: {
                                      code: string;
                                      flights?: (...)[];
                                      message?: string;
                                      travelerIndices?: (...)[];
                                  }[];
                                  travelers?: {
                                      birthDate?: string;
                                      emails?: (...)[];
                                      givenName?: string;
                                      identityDocuments?: (...)[];
                                      isGrouped?: boolean;
                                      loyaltyPrograms?: (...)[];
                                      middleName?: string;
                                      passengerCode?: string;
                                      phones?: (...)[];
                                      surname?: string;
                                  }[];
                              };
                              before: {
                                  agencyCustomerNumber?: string;
                                  creationDetails?: { agencyIataNumber?: string };
                                  flights?: { seats?: (...)[] }[];
                                  hotels?: (
                                      { itemId: ... } & {
                                          associatedFlightDetails?: ...;
                                          bookingKey?: ...;
                                          checkInDate?: ...;
                                          checkOutDate?: ...;
                                          corporateDiscountCode?: ...;
                                          formOfPaymentIndex?: ...;
                                          leadTravelerIndex: ...;
                                          numberOfGuests: ...;
                                          paymentPolicy: ...;
                                          room: ...;
                                          specialInstructions?: ...;
                                      }
                                  )[];
                                  payments?: { formsOfPayment?: ((...) & (...))[] };
                                  retentionEndDate?: string;
                                  retentionLabel?: string;
                                  specialServices?: {
                                      code: string;
                                      flights?: (...)[];
                                      message?: string;
                                      travelerIndices?: (...)[];
                                  }[];
                                  travelers?: {
                                      birthDate?: string;
                                      emails?: (...)[];
                                      givenName?: string;
                                      identityDocuments?: (...)[];
                                      isGrouped?: boolean;
                                      loyaltyPrograms?: (...)[];
                                      middleName?: string;
                                      passengerCode?: string;
                                      phones?: (...)[];
                                      surname?: string;
                                  }[];
                              };
                              bookingSignature: string;
                              bookingSource?: "SABRE"
                              | "SABRE_ORDER";
                              confirmationId: string;
                              extraFeatures?: {
                                  returnFiscalId: boolean;
                                  returnFrequentRenter: boolean;
                                  returnWalletFormsOfPayment: boolean;
                              };
                              receivedFrom: string;
                              retrieveBooking: boolean;
                              targetPcc?: string;
                              unmaskPaymentCardNumbers?: boolean;
                          };
                          timestamp?: string;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Creates a list of booking items that need to be modified.

      • parameters: {
            cookie?: never;
            header: { Authorization: string };
            path?: never;
            query?: never;
        }
        • Optionalcookie?: never
        • header: { Authorization: string }
          • Authorization: string

            The bearer authentication token.

            Bearer TOKEN
            
        • Optionalpath?: never
        • Optionalquery?: never
      • requestBody: {
            content: {
                "application/json": {
                    after: {
                        agencyCustomerNumber?: string;
                        creationDetails?: { agencyIataNumber?: string };
                        flights?: { seats?: { number: string; offerItemId?: string }[] }[];
                        hotels?: (
                            { itemId: string } & {
                                associatedFlightDetails?: {
                                    arrivalAirlineCode?: string;
                                    arrivalFlightNumber?: number;
                                    arrivalTime?: string;
                                    departureAirlineCode?: string;
                                    departureFlightNumber?: number;
                                    departureTime?: string;
                                };
                                bookingKey?: string;
                                checkInDate?: string;
                                checkOutDate?: string;
                                corporateDiscountCode?: number;
                                formOfPaymentIndex?: number;
                                leadTravelerIndex: number;
                                numberOfGuests: number;
                                paymentPolicy: "DEPOSIT"
                                | "GUARANTEE"
                                | "LATE";
                                room: { productCode?: string; travelerIndices: (...)[] };
                                specialInstructions?: string;
                            }
                        )[];
                        payments?: {
                            formsOfPayment?: (
                                {
                                    airlinePlanCode?: string;
                                    cardNumber?: string;
                                    cardSecurityCode?: string;
                                    cardTypeCode?: string;
                                    expiryDate?: string;
                                    extendedPayment?: number;
                                    installmentAmount?: string;
                                    miscellaneousCreditCode?: string;
                                    numberOfInstallments?: number;
                                } & {
                                    agencyAddress?: (...) & (...);
                                    agencyIataNumber?: string;
                                    authentications?: (...)[];
                                    cardHolder?: {
                                        address?: ...;
                                        email?: ...;
                                        givenName: ...;
                                        phone?: ...;
                                        surname: ...;
                                    };
                                    companyAddress?: (...) & (...);
                                    corporateId?: string;
                                    docketDescription?: string;
                                    docketIssuingAgentInitials?: string;
                                    docketNumber?: string;
                                    docketPrefix?: string;
                                    governmentTravelRequestDescription?: string;
                                    invoiceDescription?: string;
                                    isAgencyPaymentCard?: boolean;
                                    manualApproval?: {
                                        airlineCode: ...;
                                        amount: ...;
                                        code: ...;
                                        currencyCode: ...;
                                        expiryDateTime: ...;
                                        requestDateTime: ...;
                                    };
                                    netBalance?: string;
                                    tripType?: (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    tripTypes?: (...)[];
                                    type:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    useType?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    useTypes?: (...)[];
                                    virtualCard?: {
                                        agencyEmail?: ...;
                                        customerAccountCode?: ...;
                                        hotelFax?: ...;
                                        hotelName?: ...;
                                        rateAmount?: ...;
                                        roomDescription?: ...;
                                        roomType?: ...;
                                        virtualCardCharges?: ...;
                                    };
                                    voucher?: { billingNumber?: ...; type?: ... };
                                }
                            )[];
                        };
                        retentionEndDate?: string;
                        retentionLabel?: string;
                        specialServices?: {
                            code: string;
                            flights?: { itemId: string }[];
                            message?: string;
                            travelerIndices?: number[];
                        }[];
                        travelers?: {
                            birthDate?: string;
                            emails?: string[];
                            givenName?: string;
                            identityDocuments?: (
                                {
                                    birthDate?: ...;
                                    documentNumber?: ...;
                                    documentType: ...;
                                    expiryDate?: ...;
                                    gender?: ...;
                                    givenName?: ...;
                                    hostCountryCode?: ...;
                                    isLapChildDocument?: ...;
                                    isPrimaryDocumentHolder?: ...;
                                    issueDate?: ...;
                                    issuingCountryCode?: ...;
                                    middleName?: ...;
                                    placeOfBirth?: ...;
                                    placeOfIssue?: ...;
                                    residenceCountryCode?: ...;
                                    residenceDestinationAddress?: ...;
                                    surname?: ...;
                                } & { flights?: ... }
                            )[];
                            isGrouped?: boolean;
                            loyaltyPrograms?: {
                                programNumber: string;
                                programType?: (...) | (...) | (...) | (...);
                                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: (...)[] };
                                specialInstructions?: string;
                            }
                        )[];
                        payments?: {
                            formsOfPayment?: (
                                {
                                    airlinePlanCode?: string;
                                    cardNumber?: string;
                                    cardSecurityCode?: string;
                                    cardTypeCode?: string;
                                    expiryDate?: string;
                                    extendedPayment?: number;
                                    installmentAmount?: string;
                                    miscellaneousCreditCode?: string;
                                    numberOfInstallments?: number;
                                } & {
                                    agencyAddress?: (...) & (...);
                                    agencyIataNumber?: string;
                                    authentications?: (...)[];
                                    cardHolder?: {
                                        address?: ...;
                                        email?: ...;
                                        givenName: ...;
                                        phone?: ...;
                                        surname: ...;
                                    };
                                    companyAddress?: (...) & (...);
                                    corporateId?: string;
                                    docketDescription?: string;
                                    docketIssuingAgentInitials?: string;
                                    docketNumber?: string;
                                    docketPrefix?: string;
                                    governmentTravelRequestDescription?: string;
                                    invoiceDescription?: string;
                                    isAgencyPaymentCard?: boolean;
                                    manualApproval?: {
                                        airlineCode: ...;
                                        amount: ...;
                                        code: ...;
                                        currencyCode: ...;
                                        expiryDateTime: ...;
                                        requestDateTime: ...;
                                    };
                                    netBalance?: string;
                                    tripType?: (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    tripTypes?: (...)[];
                                    type:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    useType?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    useTypes?: (...)[];
                                    virtualCard?: {
                                        agencyEmail?: ...;
                                        customerAccountCode?: ...;
                                        hotelFax?: ...;
                                        hotelName?: ...;
                                        rateAmount?: ...;
                                        roomDescription?: ...;
                                        roomType?: ...;
                                        virtualCardCharges?: ...;
                                    };
                                    voucher?: { billingNumber?: ...; type?: ... };
                                }
                            )[];
                        };
                        retentionEndDate?: string;
                        retentionLabel?: string;
                        specialServices?: {
                            code: string;
                            flights?: { itemId: string }[];
                            message?: string;
                            travelerIndices?: number[];
                        }[];
                        travelers?: {
                            birthDate?: string;
                            emails?: string[];
                            givenName?: string;
                            identityDocuments?: (
                                {
                                    birthDate?: ...;
                                    documentNumber?: ...;
                                    documentType: ...;
                                    expiryDate?: ...;
                                    gender?: ...;
                                    givenName?: ...;
                                    hostCountryCode?: ...;
                                    isLapChildDocument?: ...;
                                    isPrimaryDocumentHolder?: ...;
                                    issueDate?: ...;
                                    issuingCountryCode?: ...;
                                    middleName?: ...;
                                    placeOfBirth?: ...;
                                    placeOfIssue?: ...;
                                    residenceCountryCode?: ...;
                                    residenceDestinationAddress?: ...;
                                    surname?: ...;
                                } & { flights?: ... }
                            )[];
                            isGrouped?: boolean;
                            loyaltyPrograms?: {
                                programNumber: string;
                                programType?: (...) | (...) | (...) | (...);
                                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 both required and optional elements to modify non-itinerary data in the existing booking.

      • responses: {
            "200": {
                content: {
                    "application/json": {
                        booking?: {
                            accountingItems?: {
                                airlineCode?: string;
                                cardNumber?: string;
                                cardTypeCode?: string;
                                commission?: {
                                    commissionAmount?: string;
                                    commissionPercentage?: string;
                                    currencyCode?: string;
                                };
                                creationType?: "Refund"
                                | "Exchange"
                                | "First Issuance";
                                currencyCode?: string;
                                fareAmount?: string;
                                fareApplicationType?:
                                    | "Single Traveler"
                                    | "All Travelers"
                                    | "Each Traveler";
                                formOfPaymentType?: | "Unknown"
                                | "Cash"
                                | "Check"
                                | "Check or Cash"
                                | "Payment Card"
                                | "Masked Payment Card";
                                tariffBasisType?: "Domestic"
                                | "Foreign"
                                | "International";
                                taxAmount?: string;
                                ticketNumber?: string;
                                travelerIndices?: number[];
                            }[];
                            agencyCustomerNumber?: string;
                            allSegments?: (
                                { id: string } & {
                                    address?: (...) & (...);
                                    date?: string;
                                    endAddress?: (...) & (...);
                                    endDate?: string;
                                    endLocationCode?: string;
                                    endTime?: string;
                                    locationCode?: string;
                                    startAddress?: (...) & (...);
                                    startDate?: string;
                                    startLocationCode?: string;
                                    startTime?: string;
                                    text?: string;
                                    time?: string;
                                    type: string;
                                    vendorCode?: string;
                                }
                            )[];
                            bookingId?: string;
                            cars?: (
                                { itemId: string } & {
                                    carStatusCode?: string;
                                    carStatusName?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    collectionAddress?: {
                                        city?: ...;
                                        countryCode?: ...;
                                        postalCode?: ...;
                                        stateProvince?: ...;
                                        street?: ...;
                                    };
                                    collectionSite?: { id?: ...; name?: ...; phone?: ... };
                                    confirmationId?: string;
                                    deliveryAddress?: {
                                        city?: ...;
                                        countryCode?: ...;
                                        postalCode?: ...;
                                        stateProvince?: ...;
                                        street?: ...;
                                    };
                                    deliverySite?: { id?: ...; name?: ...; phone?: ... };
                                    distanceAllowance?: string;
                                    dropOffAddress?: (...) & (...);
                                    dropOffContactInfo?: (...) & (...);
                                    dropOffDate: string;
                                    dropOffLocationCode?: string;
                                    dropOffTime: string;
                                    guaranteePaymentNote?: string;
                                    isRefundable: boolean;
                                    numberOfVehicles?: number;
                                    payment?: {
                                        currencyCode: ...;
                                        fees?: ...;
                                        subtotal?: ...;
                                        taxes?: ...;
                                        total: ...;
                                    };
                                    pickUpAddress: (...) & (...);
                                    pickUpContactInfo?: (...) & (...);
                                    pickUpDate: string;
                                    pickUpLocationCode?: string;
                                    pickUpTime: string;
                                    rateCode?: string;
                                    refundPenalties?: (...)[];
                                    specialInstructions?: string;
                                    travelerIndex?: number;
                                    vehicleTypeCode?: string;
                                    vehicleTypeName?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    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?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    departureDate: string;
                                    departureTime?: string;
                                    fromPortCode: string;
                                    numberOfGuests?: number;
                                    shipCode?: string;
                                    shipName?: string;
                                    toPortCode?: string;
                                    vendorCode: string;
                                }
                            )[];
                            endDate?: string;
                            fareOffers?: {
                                cabinBaggageAllowance?: {
                                    baggagePieces?: (...)[];
                                    maximumPieces?: number;
                                    totalWeightInKilograms?: number;
                                    totalWeightInPounds?: number;
                                };
                                cabinBaggageCharges?: {
                                    fee?: ...;
                                    isCheckInOnly?: ...;
                                    maximumSizeInCentimeters?: ...;
                                    maximumSizeInInches?: ...;
                                    maximumWeightInKilograms?: ...;
                                    maximumWeightInPounds?: ...;
                                    numberOfPieces: ...;
                                    specialItemDescription?: ...;
                                }[];
                                checkedBaggageAllowance?: {
                                    baggagePieces?: (...)[];
                                    maximumPieces?: number;
                                    totalWeightInKilograms?: number;
                                    totalWeightInPounds?: number;
                                };
                                checkedBaggageCharges?: {
                                    fee?: ...;
                                    isCheckInOnly?: ...;
                                    maximumSizeInCentimeters?: ...;
                                    maximumSizeInInches?: ...;
                                    maximumWeightInKilograms?: ...;
                                    maximumWeightInPounds?: ...;
                                    numberOfPieces: ...;
                                    specialItemDescription?: ...;
                                }[];
                                flights?: { itemId: ... }[];
                                travelerIndices?: number[];
                            }[];
                            fareRules?: {
                                destinationAirportCode?: string;
                                exchangePenalties?: {
                                    applicability: ...;
                                    conditionsApply: ...;
                                    penalty: ...;
                                }[];
                                isChangeable?: boolean;
                                isRefundable?: boolean;
                                originAirportCode?: string;
                                owningAirlineCode: string;
                                passengerCode?: string;
                                refundPenalties?: {
                                    applicability: ...;
                                    conditionsApply: ...;
                                    penalty: ...;
                                }[];
                            }[];
                            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?: ...;
                                    brandAttributes?: ...;
                                    brandFareCode?: ...;
                                    brandFareName?: ...;
                                    brandProgramCode?: ...;
                                    brandProgramName?: ...;
                                    checkedBaggageAllowance?: ...;
                                    fareBasisCode?: ...;
                                    flightIndices?: ...;
                                    flights?: ...;
                                    isCurrentItinerary?: ...;
                                }[];
                                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?: ...; taxCode?: ... }[];
                                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?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    fromAirportCode: string;
                                    hiddenStopAircraftTypeCode?: string;
                                    hiddenStopAircraftTypeName?: string;
                                    hiddenStopAirportCode?: string;
                                    hiddenStopArrivalDate?: string;
                                    hiddenStopArrivalTime?: string;
                                    hiddenStopDepartureDate?: string;
                                    hiddenStopDepartureTime?: string;
                                    hiddenStops?: (...)[];
                                    identityDocuments?: (...)[];
                                    isPast?: boolean;
                                    meals?: (...)[];
                                    numberOfSeats?: number;
                                    operatingAirlineCode?: string;
                                    operatingAirlineName?: string;
                                    operatingFlightNumber?: number;
                                    seats?: (...)[];
                                    sourceType?: (...) | (...) | (...);
                                    toAirportCode: string;
                                    travelerIndices?: (...)[];
                                    updatedArrivalDate?: string;
                                    updatedArrivalTime?: string;
                                    updatedDepartureDate?: string;
                                    updatedDepartureTime?: string;
                                }
                            )[];
                            flightTickets?: {
                                agencyIataNumber?: string;
                                airlineCode: string;
                                allCoupons?: ((...) & (...))[];
                                commission?: {
                                    commissionAmount?: string;
                                    commissionPercentage?: string;
                                    currencyCode?: string;
                                };
                                date: string;
                                flightCoupons: ((...) & (...))[];
                                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: (...) & (...) & (...);
                                    associatedFlightDetails?: {
                                        arrivalAirlineCode?: ...;
                                        arrivalFlightNumber?: ...;
                                        arrivalTime?: ...;
                                        departureAirlineCode?: ...;
                                        departureFlightNumber?: ...;
                                        departureTime?: ...;
                                    };
                                    chainCode?: string;
                                    chainName?: string;
                                    checkInDate: string;
                                    checkInTime: string;
                                    checkOutDate: string;
                                    checkOutTime: string;
                                    confirmationId?: string;
                                    contactInfo?: (...) & (...);
                                    corporateDiscountCode?: number;
                                    guaranteePaymentNote?: string;
                                    guaranteeTypeCode?: number;
                                    guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                                    hotelName: string;
                                    hotelStatusCode?: string;
                                    hotelStatusName?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    isRefundable: boolean;
                                    leadTravelerIndex?: number;
                                    numberOfGuests?: number;
                                    payment?: {
                                        currencyCode: ...;
                                        fees?: ...;
                                        subtotal?: ...;
                                        taxes?: ...;
                                        total: ...;
                                    };
                                    paymentPolicy?: (...)
                                    | (...)
                                    | (...);
                                    propertyId?: string;
                                    refundPenalties?: (...)[];
                                    refundPenaltyPolicyCode?: string;
                                    room?: {
                                        agencyCommission?: ...;
                                        description?: ...;
                                        productCode?: ...;
                                        quantity: ...;
                                        roomRate?: ...;
                                        roomType: ...;
                                        roomTypeCode?: ...;
                                        travelerIndices?: ...;
                                    };
                                    sabrePropertyId?: string;
                                    sourceTypeCode?: number;
                                    sourceTypeName?: | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    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?: ...;
                                        cardNumber?: ...;
                                        cardSecurityCode?: ...;
                                        cardTypeCode?: ...;
                                        expiryDate?: ...;
                                        extendedPayment?: ...;
                                        installmentAmount?: ...;
                                        miscellaneousCreditCode?: ...;
                                        numberOfInstallments?: ...;
                                    } & {
                                        agencyAddress?: ...;
                                        agencyIataNumber?: ...;
                                        authentications?: ...;
                                        cardHolder?: ...;
                                        companyAddress?: ...;
                                        corporateId?: ...;
                                        docketDescription?: ...;
                                        docketIssuingAgentInitials?: ...;
                                        docketNumber?: ...;
                                        docketPrefix?: ...;
                                        governmentTravelRequestDescription?: ...;
                                        invoiceDescription?: ...;
                                        isAgencyPaymentCard?: ...;
                                        manualApproval?: ...;
                                        netBalance?: ...;
                                        tripType?: ...;
                                        tripTypes?: ...;
                                        type: ...;
                                        useType?: ...;
                                        useTypes?: ...;
                                        virtualCard?: ...;
                                        voucher?: ...;
                                    }
                                )[];
                                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: ... }[];
                                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: ...;
                                        fees?: ...;
                                        subtotal?: ...;
                                        taxes?: ...;
                                        total: ...;
                                    };
                                    toStationCode: string;
                                    toStationName?: string;
                                    trainName?: string;
                                    trainNumber: string;
                                    trainStatusCode?: string;
                                    trainStatusName?: | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    vendorCode: string;
                                    vendorName?: string;
                                }
                            )[];
                            travelers?: {
                                address?: {
                                    city?: ...;
                                    countryCode?: ...;
                                    postalCode?: ...;
                                    stateProvince?: ...;
                                    street?: ...;
                                } & { freeText?: ...; name?: ... };
                                ancillaries?: {
                                    airlineCode?: ...;
                                    commercialName?: ...;
                                    electronicMiscellaneousDocumentNumber?: ...;
                                    flightApplicabilityType?: ...;
                                    flights?: ...;
                                    isCommissionable?: ...;
                                    isRefundable?: ...;
                                    itemId?: ...;
                                    numberOfItems?: ...;
                                    reasonForIssuanceCode?: ...;
                                    reasonForIssuanceName?: ...;
                                    source?: ...;
                                    statusCode?: ...;
                                    statusName?: ...;
                                    subcode?: ...;
                                    totals?: ...;
                                    vendorCode?: ...;
                                }[];
                                birthDate?: string;
                                emails?: string[];
                                formOfPaymentIndices?: number[];
                                gender?: | "FEMALE"
                                | "MALE"
                                | "INFANT_FEMALE"
                                | "INFANT_MALE"
                                | "UNDISCLOSED"
                                | "UNDEFINED";
                                givenName: string;
                                identityDocuments?: {
                                    birthDate?: ...;
                                    documentNumber?: ...;
                                    documentSubType?: ...;
                                    documentType: ...;
                                    expiryDate?: ...;
                                    flightIndices?: ...;
                                    gender?: ...;
                                    givenName?: ...;
                                    hostCountryCode?: ...;
                                    isLapChildDocument?: ...;
                                    isPrimaryDocumentHolder?: ...;
                                    issueDate?: ...;
                                    issuingCountryCode?: ...;
                                    itemId?: ...;
                                    middleName?: ...;
                                    placeOfBirth?: ...;
                                    placeOfIssue?: ...;
                                    residenceCountryCode?: ...;
                                    residenceDestinationAddress?: ...;
                                    surname?: ...;
                                }[];
                                isGrouped?: boolean;
                                loyaltyPrograms?: {
                                    programNumber: ...;
                                    programType?: ...;
                                    receiverCode?: ...;
                                    supplierCode?: ...;
                                    tierLevel?: ...;
                                }[];
                                middleName?: string;
                                nameAssociationId?: string;
                                nameReferenceCode?: string;
                                passengerCode?: string;
                                phones?: { label?: ...; number: ... }[];
                                remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                                surname: string;
                                type?:
                                    | "ADULT"
                                    | "AGENT"
                                    | "AIRLINE"
                                    | "CHILD"
                                    | "EDUCATION"
                                    | "GOVERNMENT"
                                    | "GROUP"
                                    | "INFANT"
                                    | "MILITARY"
                                    | "SENIOR"
                                    | "SPECIAL"
                                    | "YOUTH";
                            }[];
                            travelersGroup?: {
                                itemId?: string;
                                name?: string;
                                numberOfTravelers?: number;
                                numberOfTravelersRemaining?: number;
                            };
                        };
                        errors?: {
                            category: string;
                            description?: string;
                            fieldName?: string;
                            fieldPath?: string;
                            fieldValue?: string;
                            type: string;
                        }[];
                        request?: {
                            after: {
                                agencyCustomerNumber?: string;
                                creationDetails?: { agencyIataNumber?: string };
                                flights?: { seats?: (...)[] }[];
                                hotels?: (
                                    { itemId: ... } & {
                                        associatedFlightDetails?: ...;
                                        bookingKey?: ...;
                                        checkInDate?: ...;
                                        checkOutDate?: ...;
                                        corporateDiscountCode?: ...;
                                        formOfPaymentIndex?: ...;
                                        leadTravelerIndex: ...;
                                        numberOfGuests: ...;
                                        paymentPolicy: ...;
                                        room: ...;
                                        specialInstructions?: ...;
                                    }
                                )[];
                                payments?: { formsOfPayment?: ((...) & (...))[] };
                                retentionEndDate?: string;
                                retentionLabel?: string;
                                specialServices?: {
                                    code: string;
                                    flights?: (...)[];
                                    message?: string;
                                    travelerIndices?: (...)[];
                                }[];
                                travelers?: {
                                    birthDate?: string;
                                    emails?: (...)[];
                                    givenName?: string;
                                    identityDocuments?: (...)[];
                                    isGrouped?: boolean;
                                    loyaltyPrograms?: (...)[];
                                    middleName?: string;
                                    passengerCode?: string;
                                    phones?: (...)[];
                                    surname?: string;
                                }[];
                            };
                            before: {
                                agencyCustomerNumber?: string;
                                creationDetails?: { agencyIataNumber?: string };
                                flights?: { seats?: (...)[] }[];
                                hotels?: (
                                    { itemId: ... } & {
                                        associatedFlightDetails?: ...;
                                        bookingKey?: ...;
                                        checkInDate?: ...;
                                        checkOutDate?: ...;
                                        corporateDiscountCode?: ...;
                                        formOfPaymentIndex?: ...;
                                        leadTravelerIndex: ...;
                                        numberOfGuests: ...;
                                        paymentPolicy: ...;
                                        room: ...;
                                        specialInstructions?: ...;
                                    }
                                )[];
                                payments?: { formsOfPayment?: ((...) & (...))[] };
                                retentionEndDate?: string;
                                retentionLabel?: string;
                                specialServices?: {
                                    code: string;
                                    flights?: (...)[];
                                    message?: string;
                                    travelerIndices?: (...)[];
                                }[];
                                travelers?: {
                                    birthDate?: string;
                                    emails?: (...)[];
                                    givenName?: string;
                                    identityDocuments?: (...)[];
                                    isGrouped?: boolean;
                                    loyaltyPrograms?: (...)[];
                                    middleName?: string;
                                    passengerCode?: string;
                                    phones?: (...)[];
                                    surname?: string;
                                }[];
                            };
                            bookingSignature: string;
                            bookingSource?: "SABRE"
                            | "SABRE_ORDER";
                            confirmationId: string;
                            extraFeatures?: {
                                returnFiscalId: boolean;
                                returnFrequentRenter: boolean;
                                returnWalletFormsOfPayment: boolean;
                            };
                            receivedFrom: string;
                            retrieveBooking: boolean;
                            targetPcc?: string;
                            unmaskPaymentCardNumbers?: boolean;
                        };
                        timestamp?: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      booking?: {
                          accountingItems?: {
                              airlineCode?: string;
                              cardNumber?: string;
                              cardTypeCode?: string;
                              commission?: {
                                  commissionAmount?: string;
                                  commissionPercentage?: string;
                                  currencyCode?: string;
                              };
                              creationType?: "Refund"
                              | "Exchange"
                              | "First Issuance";
                              currencyCode?: string;
                              fareAmount?: string;
                              fareApplicationType?:
                                  | "Single Traveler"
                                  | "All Travelers"
                                  | "Each Traveler";
                              formOfPaymentType?: | "Unknown"
                              | "Cash"
                              | "Check"
                              | "Check or Cash"
                              | "Payment Card"
                              | "Masked Payment Card";
                              tariffBasisType?: "Domestic"
                              | "Foreign"
                              | "International";
                              taxAmount?: string;
                              ticketNumber?: string;
                              travelerIndices?: number[];
                          }[];
                          agencyCustomerNumber?: string;
                          allSegments?: (
                              { id: string } & {
                                  address?: (...) & (...);
                                  date?: string;
                                  endAddress?: (...) & (...);
                                  endDate?: string;
                                  endLocationCode?: string;
                                  endTime?: string;
                                  locationCode?: string;
                                  startAddress?: (...) & (...);
                                  startDate?: string;
                                  startLocationCode?: string;
                                  startTime?: string;
                                  text?: string;
                                  time?: string;
                                  type: string;
                                  vendorCode?: string;
                              }
                          )[];
                          bookingId?: string;
                          cars?: (
                              { itemId: string } & {
                                  carStatusCode?: string;
                                  carStatusName?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  collectionAddress?: {
                                      city?: ...;
                                      countryCode?: ...;
                                      postalCode?: ...;
                                      stateProvince?: ...;
                                      street?: ...;
                                  };
                                  collectionSite?: { id?: ...; name?: ...; phone?: ... };
                                  confirmationId?: string;
                                  deliveryAddress?: {
                                      city?: ...;
                                      countryCode?: ...;
                                      postalCode?: ...;
                                      stateProvince?: ...;
                                      street?: ...;
                                  };
                                  deliverySite?: { id?: ...; name?: ...; phone?: ... };
                                  distanceAllowance?: string;
                                  dropOffAddress?: (...) & (...);
                                  dropOffContactInfo?: (...) & (...);
                                  dropOffDate: string;
                                  dropOffLocationCode?: string;
                                  dropOffTime: string;
                                  guaranteePaymentNote?: string;
                                  isRefundable: boolean;
                                  numberOfVehicles?: number;
                                  payment?: {
                                      currencyCode: ...;
                                      fees?: ...;
                                      subtotal?: ...;
                                      taxes?: ...;
                                      total: ...;
                                  };
                                  pickUpAddress: (...) & (...);
                                  pickUpContactInfo?: (...) & (...);
                                  pickUpDate: string;
                                  pickUpLocationCode?: string;
                                  pickUpTime: string;
                                  rateCode?: string;
                                  refundPenalties?: (...)[];
                                  specialInstructions?: string;
                                  travelerIndex?: number;
                                  vehicleTypeCode?: string;
                                  vehicleTypeName?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  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?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  departureDate: string;
                                  departureTime?: string;
                                  fromPortCode: string;
                                  numberOfGuests?: number;
                                  shipCode?: string;
                                  shipName?: string;
                                  toPortCode?: string;
                                  vendorCode: string;
                              }
                          )[];
                          endDate?: string;
                          fareOffers?: {
                              cabinBaggageAllowance?: {
                                  baggagePieces?: (...)[];
                                  maximumPieces?: number;
                                  totalWeightInKilograms?: number;
                                  totalWeightInPounds?: number;
                              };
                              cabinBaggageCharges?: {
                                  fee?: ...;
                                  isCheckInOnly?: ...;
                                  maximumSizeInCentimeters?: ...;
                                  maximumSizeInInches?: ...;
                                  maximumWeightInKilograms?: ...;
                                  maximumWeightInPounds?: ...;
                                  numberOfPieces: ...;
                                  specialItemDescription?: ...;
                              }[];
                              checkedBaggageAllowance?: {
                                  baggagePieces?: (...)[];
                                  maximumPieces?: number;
                                  totalWeightInKilograms?: number;
                                  totalWeightInPounds?: number;
                              };
                              checkedBaggageCharges?: {
                                  fee?: ...;
                                  isCheckInOnly?: ...;
                                  maximumSizeInCentimeters?: ...;
                                  maximumSizeInInches?: ...;
                                  maximumWeightInKilograms?: ...;
                                  maximumWeightInPounds?: ...;
                                  numberOfPieces: ...;
                                  specialItemDescription?: ...;
                              }[];
                              flights?: { itemId: ... }[];
                              travelerIndices?: number[];
                          }[];
                          fareRules?: {
                              destinationAirportCode?: string;
                              exchangePenalties?: {
                                  applicability: ...;
                                  conditionsApply: ...;
                                  penalty: ...;
                              }[];
                              isChangeable?: boolean;
                              isRefundable?: boolean;
                              originAirportCode?: string;
                              owningAirlineCode: string;
                              passengerCode?: string;
                              refundPenalties?: {
                                  applicability: ...;
                                  conditionsApply: ...;
                                  penalty: ...;
                              }[];
                          }[];
                          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?: ...;
                                  brandAttributes?: ...;
                                  brandFareCode?: ...;
                                  brandFareName?: ...;
                                  brandProgramCode?: ...;
                                  brandProgramName?: ...;
                                  checkedBaggageAllowance?: ...;
                                  fareBasisCode?: ...;
                                  flightIndices?: ...;
                                  flights?: ...;
                                  isCurrentItinerary?: ...;
                              }[];
                              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?: ...; taxCode?: ... }[];
                              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?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  fromAirportCode: string;
                                  hiddenStopAircraftTypeCode?: string;
                                  hiddenStopAircraftTypeName?: string;
                                  hiddenStopAirportCode?: string;
                                  hiddenStopArrivalDate?: string;
                                  hiddenStopArrivalTime?: string;
                                  hiddenStopDepartureDate?: string;
                                  hiddenStopDepartureTime?: string;
                                  hiddenStops?: (...)[];
                                  identityDocuments?: (...)[];
                                  isPast?: boolean;
                                  meals?: (...)[];
                                  numberOfSeats?: number;
                                  operatingAirlineCode?: string;
                                  operatingAirlineName?: string;
                                  operatingFlightNumber?: number;
                                  seats?: (...)[];
                                  sourceType?: (...) | (...) | (...);
                                  toAirportCode: string;
                                  travelerIndices?: (...)[];
                                  updatedArrivalDate?: string;
                                  updatedArrivalTime?: string;
                                  updatedDepartureDate?: string;
                                  updatedDepartureTime?: string;
                              }
                          )[];
                          flightTickets?: {
                              agencyIataNumber?: string;
                              airlineCode: string;
                              allCoupons?: ((...) & (...))[];
                              commission?: {
                                  commissionAmount?: string;
                                  commissionPercentage?: string;
                                  currencyCode?: string;
                              };
                              date: string;
                              flightCoupons: ((...) & (...))[];
                              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: (...) & (...) & (...);
                                  associatedFlightDetails?: {
                                      arrivalAirlineCode?: ...;
                                      arrivalFlightNumber?: ...;
                                      arrivalTime?: ...;
                                      departureAirlineCode?: ...;
                                      departureFlightNumber?: ...;
                                      departureTime?: ...;
                                  };
                                  chainCode?: string;
                                  chainName?: string;
                                  checkInDate: string;
                                  checkInTime: string;
                                  checkOutDate: string;
                                  checkOutTime: string;
                                  confirmationId?: string;
                                  contactInfo?: (...) & (...);
                                  corporateDiscountCode?: number;
                                  guaranteePaymentNote?: string;
                                  guaranteeTypeCode?: number;
                                  guaranteeTypeName?: (...) | (...) | (...) | (...) | (...) | (...);
                                  hotelName: string;
                                  hotelStatusCode?: string;
                                  hotelStatusName?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  isRefundable: boolean;
                                  leadTravelerIndex?: number;
                                  numberOfGuests?: number;
                                  payment?: {
                                      currencyCode: ...;
                                      fees?: ...;
                                      subtotal?: ...;
                                      taxes?: ...;
                                      total: ...;
                                  };
                                  paymentPolicy?: (...)
                                  | (...)
                                  | (...);
                                  propertyId?: string;
                                  refundPenalties?: (...)[];
                                  refundPenaltyPolicyCode?: string;
                                  room?: {
                                      agencyCommission?: ...;
                                      description?: ...;
                                      productCode?: ...;
                                      quantity: ...;
                                      roomRate?: ...;
                                      roomType: ...;
                                      roomTypeCode?: ...;
                                      travelerIndices?: ...;
                                  };
                                  sabrePropertyId?: string;
                                  sourceTypeCode?: number;
                                  sourceTypeName?: (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                                  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?: ...;
                                      cardNumber?: ...;
                                      cardSecurityCode?: ...;
                                      cardTypeCode?: ...;
                                      expiryDate?: ...;
                                      extendedPayment?: ...;
                                      installmentAmount?: ...;
                                      miscellaneousCreditCode?: ...;
                                      numberOfInstallments?: ...;
                                  } & {
                                      agencyAddress?: ...;
                                      agencyIataNumber?: ...;
                                      authentications?: ...;
                                      cardHolder?: ...;
                                      companyAddress?: ...;
                                      corporateId?: ...;
                                      docketDescription?: ...;
                                      docketIssuingAgentInitials?: ...;
                                      docketNumber?: ...;
                                      docketPrefix?: ...;
                                      governmentTravelRequestDescription?: ...;
                                      invoiceDescription?: ...;
                                      isAgencyPaymentCard?: ...;
                                      manualApproval?: ...;
                                      netBalance?: ...;
                                      tripType?: ...;
                                      tripTypes?: ...;
                                      type: ...;
                                      useType?: ...;
                                      useTypes?: ...;
                                      virtualCard?: ...;
                                      voucher?: ...;
                                  }
                              )[];
                              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: ... }[];
                              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: ...;
                                      fees?: ...;
                                      subtotal?: ...;
                                      taxes?: ...;
                                      total: ...;
                                  };
                                  toStationCode: string;
                                  toStationName?: string;
                                  trainName?: string;
                                  trainNumber: string;
                                  trainStatusCode?: string;
                                  trainStatusName?: | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                                  vendorCode: string;
                                  vendorName?: string;
                              }
                          )[];
                          travelers?: {
                              address?: {
                                  city?: ...;
                                  countryCode?: ...;
                                  postalCode?: ...;
                                  stateProvince?: ...;
                                  street?: ...;
                              } & { freeText?: ...; name?: ... };
                              ancillaries?: {
                                  airlineCode?: ...;
                                  commercialName?: ...;
                                  electronicMiscellaneousDocumentNumber?: ...;
                                  flightApplicabilityType?: ...;
                                  flights?: ...;
                                  isCommissionable?: ...;
                                  isRefundable?: ...;
                                  itemId?: ...;
                                  numberOfItems?: ...;
                                  reasonForIssuanceCode?: ...;
                                  reasonForIssuanceName?: ...;
                                  source?: ...;
                                  statusCode?: ...;
                                  statusName?: ...;
                                  subcode?: ...;
                                  totals?: ...;
                                  vendorCode?: ...;
                              }[];
                              birthDate?: string;
                              emails?: string[];
                              formOfPaymentIndices?: number[];
                              gender?: | "FEMALE"
                              | "MALE"
                              | "INFANT_FEMALE"
                              | "INFANT_MALE"
                              | "UNDISCLOSED"
                              | "UNDEFINED";
                              givenName: string;
                              identityDocuments?: {
                                  birthDate?: ...;
                                  documentNumber?: ...;
                                  documentSubType?: ...;
                                  documentType: ...;
                                  expiryDate?: ...;
                                  flightIndices?: ...;
                                  gender?: ...;
                                  givenName?: ...;
                                  hostCountryCode?: ...;
                                  isLapChildDocument?: ...;
                                  isPrimaryDocumentHolder?: ...;
                                  issueDate?: ...;
                                  issuingCountryCode?: ...;
                                  itemId?: ...;
                                  middleName?: ...;
                                  placeOfBirth?: ...;
                                  placeOfIssue?: ...;
                                  residenceCountryCode?: ...;
                                  residenceDestinationAddress?: ...;
                                  surname?: ...;
                              }[];
                              isGrouped?: boolean;
                              loyaltyPrograms?: {
                                  programNumber: ...;
                                  programType?: ...;
                                  receiverCode?: ...;
                                  supplierCode?: ...;
                                  tierLevel?: ...;
                              }[];
                              middleName?: string;
                              nameAssociationId?: string;
                              nameReferenceCode?: string;
                              passengerCode?: string;
                              phones?: { label?: ...; number: ... }[];
                              remarks?: { alphaCode?: ...; text?: ...; type?: ... }[];
                              surname: string;
                              type?:
                                  | "ADULT"
                                  | "AGENT"
                                  | "AIRLINE"
                                  | "CHILD"
                                  | "EDUCATION"
                                  | "GOVERNMENT"
                                  | "GROUP"
                                  | "INFANT"
                                  | "MILITARY"
                                  | "SENIOR"
                                  | "SPECIAL"
                                  | "YOUTH";
                          }[];
                          travelersGroup?: {
                              itemId?: string;
                              name?: string;
                              numberOfTravelers?: number;
                              numberOfTravelersRemaining?: number;
                          };
                      };
                      errors?: {
                          category: string;
                          description?: string;
                          fieldName?: string;
                          fieldPath?: string;
                          fieldValue?: string;
                          type: string;
                      }[];
                      request?: {
                          after: {
                              agencyCustomerNumber?: string;
                              creationDetails?: { agencyIataNumber?: string };
                              flights?: { seats?: (...)[] }[];
                              hotels?: (
                                  { itemId: ... } & {
                                      associatedFlightDetails?: ...;
                                      bookingKey?: ...;
                                      checkInDate?: ...;
                                      checkOutDate?: ...;
                                      corporateDiscountCode?: ...;
                                      formOfPaymentIndex?: ...;
                                      leadTravelerIndex: ...;
                                      numberOfGuests: ...;
                                      paymentPolicy: ...;
                                      room: ...;
                                      specialInstructions?: ...;
                                  }
                              )[];
                              payments?: { formsOfPayment?: ((...) & (...))[] };
                              retentionEndDate?: string;
                              retentionLabel?: string;
                              specialServices?: {
                                  code: string;
                                  flights?: (...)[];
                                  message?: string;
                                  travelerIndices?: (...)[];
                              }[];
                              travelers?: {
                                  birthDate?: string;
                                  emails?: (...)[];
                                  givenName?: string;
                                  identityDocuments?: (...)[];
                                  isGrouped?: boolean;
                                  loyaltyPrograms?: (...)[];
                                  middleName?: string;
                                  passengerCode?: string;
                                  phones?: (...)[];
                                  surname?: string;
                              }[];
                          };
                          before: {
                              agencyCustomerNumber?: string;
                              creationDetails?: { agencyIataNumber?: string };
                              flights?: { seats?: (...)[] }[];
                              hotels?: (
                                  { itemId: ... } & {
                                      associatedFlightDetails?: ...;
                                      bookingKey?: ...;
                                      checkInDate?: ...;
                                      checkOutDate?: ...;
                                      corporateDiscountCode?: ...;
                                      formOfPaymentIndex?: ...;
                                      leadTravelerIndex: ...;
                                      numberOfGuests: ...;
                                      paymentPolicy: ...;
                                      room: ...;
                                      specialInstructions?: ...;
                                  }
                              )[];
                              payments?: { formsOfPayment?: ((...) & (...))[] };
                              retentionEndDate?: string;
                              retentionLabel?: string;
                              specialServices?: {
                                  code: string;
                                  flights?: (...)[];
                                  message?: string;
                                  travelerIndices?: (...)[];
                              }[];
                              travelers?: {
                                  birthDate?: string;
                                  emails?: (...)[];
                                  givenName?: string;
                                  identityDocuments?: (...)[];
                                  isGrouped?: boolean;
                                  loyaltyPrograms?: (...)[];
                                  middleName?: string;
                                  passengerCode?: string;
                                  phones?: (...)[];
                                  surname?: string;
                              }[];
                          };
                          bookingSignature: string;
                          bookingSource?: "SABRE"
                          | "SABRE_ORDER";
                          confirmationId: string;
                          extraFeatures?: {
                              returnFiscalId: boolean;
                              returnFrequentRenter: boolean;
                              returnWalletFormsOfPayment: boolean;
                          };
                          receivedFrom: string;
                          retrieveBooking: boolean;
                          targetPcc?: string;
                          unmaskPaymentCardNumbers?: boolean;
                      };
                      timestamp?: string;
                  };
              };
              headers: { [name: string]: unknown };
          }

          Successful response.

    • Optionalput?: never
    • Optionaltrace?: never
    "/refundFlightTickets": {
        delete?: never;
        get?: never;
        head?: never;
        options?: never;
        parameters: { cookie?: never; header?: never; path?: never; query?: never };
        patch?: never;
        post: {
            parameters: {
                cookie?: never;
                header: { Authorization: string };
                path?: never;
                query?: never;
            };
            requestBody: {
                content: {
                    "application/json": {
                        confirmationId?: string;
                        designatePrinters?: {
                            hardcopy?: { address?: string; spacing?: string };
                            invoiceItinerary?: string;
                            profileNumber?: number;
                            ticket?: { address?: string; countryCode?: string };
                        }[];
                        errorHandlingPolicy?: "HALT_ON_ERROR"
                        | "ALLOW_PARTIAL_CANCEL";
                        notification?: {
                            email?:
                                | "DEFAULT"
                                | "INVOICE"
                                | "ETICKET"
                                | "ETICKET_PDF"
                                | "ITINERARY"
                                | "ITINERARY_PDF";
                            queuePlacement?: {
                                futureQueuePlacementDate?: string;
                                pcc?: string;
                                prefatoryInstructionCode: number;
                                queueName?: string;
                                queueNumber?: number;
                            }[];
                        };
                        receivedFrom?: string;
                        targetPcc?: string;
                        tickets?: {
                            number?: string;
                            refundQualifiers?: {
                                commissionAmount?: string;
                                commissionOnPenalty?: string;
                                commissionPercentage?: string;
                                journeyTypeCode?: "F"
                                | "M"
                                | "B";
                                overrideCancelFee?: string;
                                overrideTaxes?: {
                                    airportTaxBreakdowns?: (...)[];
                                    taxAmount?: string;
                                    taxCode?: string;
                                }[];
                                splitRefundAmounts?: { amount?: string }[];
                                tourCode?: string;
                                waiverCode?: string;
                            };
                        }[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            errors?: {
                                category: string;
                                description?: string;
                                fieldName?: string;
                                fieldPath?: string;
                                fieldValue?: string;
                                type: string;
                            }[];
                            refundedTickets?: string[];
                            request?: {
                                confirmationId?: string;
                                designatePrinters?: {
                                    hardcopy?: { address?: string; spacing?: string };
                                    invoiceItinerary?: string;
                                    profileNumber?: number;
                                    ticket?: { address?: string; countryCode?: string };
                                }[];
                                errorHandlingPolicy?: "HALT_ON_ERROR"
                                | "ALLOW_PARTIAL_CANCEL";
                                notification?: {
                                    email?:
                                        | "DEFAULT"
                                        | "INVOICE"
                                        | "ETICKET"
                                        | "ETICKET_PDF"
                                        | "ITINERARY"
                                        | "ITINERARY_PDF";
                                    queuePlacement?: {
                                        futureQueuePlacementDate?: string;
                                        pcc?: string;
                                        prefatoryInstructionCode: number;
                                        queueName?: string;
                                        queueNumber?: number;
                                    }[];
                                };
                                receivedFrom?: string;
                                targetPcc?: string;
                                tickets?: {
                                    number?: string;
                                    refundQualifiers?: {
                                        commissionAmount?: string;
                                        commissionOnPenalty?: string;
                                        commissionPercentage?: string;
                                        journeyTypeCode?: (...)
                                        | (...)
                                        | (...);
                                        overrideCancelFee?: string;
                                        overrideTaxes?: (...)[];
                                        splitRefundAmounts?: (...)[];
                                        tourCode?: string;
                                        waiverCode?: string;
                                    };
                                }[];
                            };
                            tickets?: {
                                exchangePenalties?: (
                                    { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                        hasNoShowCost?: ...;
                                        noShowPenalty?: ...;
                                        source?: ...;
                                    }
                                )[];
                                isAutomatedRefundsEligible?: boolean;
                                isChangeable?: boolean;
                                isRefundable?: boolean;
                                isVoidable?: boolean;
                                number?: string;
                                refundPenalties?: (
                                    { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                        hasNoShowCost?: ...;
                                        noShowPenalty?: ...;
                                        source?: ...;
                                    }
                                )[];
                                refundTaxes?: { amount: string; taxCode: string }[];
                                refundTotals?: {
                                    currencyCode: string;
                                    fees?: string;
                                    subtotal?: string;
                                    taxes?: string;
                                    total: string;
                                };
                            }[];
                            timestamp?: string;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        put?: never;
        trace?: never;
    }

    Type Declaration

    • Optionaldelete?: never
    • Optionalget?: never
    • Optionalhead?: never
    • Optionaloptions?: never
    • parameters: { cookie?: never; header?: never; path?: never; query?: never }
    • Optionalpatch?: never
    • post: {
          parameters: {
              cookie?: never;
              header: { Authorization: string };
              path?: never;
              query?: never;
          };
          requestBody: {
              content: {
                  "application/json": {
                      confirmationId?: string;
                      designatePrinters?: {
                          hardcopy?: { address?: string; spacing?: string };
                          invoiceItinerary?: string;
                          profileNumber?: number;
                          ticket?: { address?: string; countryCode?: string };
                      }[];
                      errorHandlingPolicy?: "HALT_ON_ERROR"
                      | "ALLOW_PARTIAL_CANCEL";
                      notification?: {
                          email?:
                              | "DEFAULT"
                              | "INVOICE"
                              | "ETICKET"
                              | "ETICKET_PDF"
                              | "ITINERARY"
                              | "ITINERARY_PDF";
                          queuePlacement?: {
                              futureQueuePlacementDate?: string;
                              pcc?: string;
                              prefatoryInstructionCode: number;
                              queueName?: string;
                              queueNumber?: number;
                          }[];
                      };
                      receivedFrom?: string;
                      targetPcc?: string;
                      tickets?: {
                          number?: string;
                          refundQualifiers?: {
                              commissionAmount?: string;
                              commissionOnPenalty?: string;
                              commissionPercentage?: string;
                              journeyTypeCode?: "F"
                              | "M"
                              | "B";
                              overrideCancelFee?: string;
                              overrideTaxes?: {
                                  airportTaxBreakdowns?: (...)[];
                                  taxAmount?: string;
                                  taxCode?: string;
                              }[];
                              splitRefundAmounts?: { amount?: string }[];
                              tourCode?: string;
                              waiverCode?: string;
                          };
                      }[];
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          errors?: {
                              category: string;
                              description?: string;
                              fieldName?: string;
                              fieldPath?: string;
                              fieldValue?: string;
                              type: string;
                          }[];
                          refundedTickets?: string[];
                          request?: {
                              confirmationId?: string;
                              designatePrinters?: {
                                  hardcopy?: { address?: string; spacing?: string };
                                  invoiceItinerary?: string;
                                  profileNumber?: number;
                                  ticket?: { address?: string; countryCode?: string };
                              }[];
                              errorHandlingPolicy?: "HALT_ON_ERROR"
                              | "ALLOW_PARTIAL_CANCEL";
                              notification?: {
                                  email?:
                                      | "DEFAULT"
                                      | "INVOICE"
                                      | "ETICKET"
                                      | "ETICKET_PDF"
                                      | "ITINERARY"
                                      | "ITINERARY_PDF";
                                  queuePlacement?: {
                                      futureQueuePlacementDate?: string;
                                      pcc?: string;
                                      prefatoryInstructionCode: number;
                                      queueName?: string;
                                      queueNumber?: number;
                                  }[];
                              };
                              receivedFrom?: string;
                              targetPcc?: string;
                              tickets?: {
                                  number?: string;
                                  refundQualifiers?: {
                                      commissionAmount?: string;
                                      commissionOnPenalty?: string;
                                      commissionPercentage?: string;
                                      journeyTypeCode?: (...)
                                      | (...)
                                      | (...);
                                      overrideCancelFee?: string;
                                      overrideTaxes?: (...)[];
                                      splitRefundAmounts?: (...)[];
                                      tourCode?: string;
                                      waiverCode?: string;
                                  };
                              }[];
                          };
                          tickets?: {
                              exchangePenalties?: (
                                  { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                      hasNoShowCost?: ...;
                                      noShowPenalty?: ...;
                                      source?: ...;
                                  }
                              )[];
                              isAutomatedRefundsEligible?: boolean;
                              isChangeable?: boolean;
                              isRefundable?: boolean;
                              isVoidable?: boolean;
                              number?: string;
                              refundPenalties?: (
                                  { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                      hasNoShowCost?: ...;
                                      noShowPenalty?: ...;
                                      source?: ...;
                                  }
                              )[];
                              refundTaxes?: { amount: string; taxCode: string }[];
                              refundTotals?: {
                                  currencyCode: string;
                                  fees?: string;
                                  subtotal?: string;
                                  taxes?: string;
                                  total: string;
                              };
                          }[];
                          timestamp?: string;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Processes tickets by providing a request containing a list of ticket numbers which should be refunded. EMDs are currently not supported.

      • parameters: {
            cookie?: never;
            header: { Authorization: string };
            path?: never;
            query?: never;
        }
        • Optionalcookie?: never
        • header: { Authorization: string }
          • Authorization: string

            The bearer authentication token.

            Bearer TOKEN
            
        • Optionalpath?: never
        • Optionalquery?: never
      • requestBody: {
            content: {
                "application/json": {
                    confirmationId?: string;
                    designatePrinters?: {
                        hardcopy?: { address?: string; spacing?: string };
                        invoiceItinerary?: string;
                        profileNumber?: number;
                        ticket?: { address?: string; countryCode?: string };
                    }[];
                    errorHandlingPolicy?: "HALT_ON_ERROR"
                    | "ALLOW_PARTIAL_CANCEL";
                    notification?: {
                        email?:
                            | "DEFAULT"
                            | "INVOICE"
                            | "ETICKET"
                            | "ETICKET_PDF"
                            | "ITINERARY"
                            | "ITINERARY_PDF";
                        queuePlacement?: {
                            futureQueuePlacementDate?: string;
                            pcc?: string;
                            prefatoryInstructionCode: number;
                            queueName?: string;
                            queueNumber?: number;
                        }[];
                    };
                    receivedFrom?: string;
                    targetPcc?: string;
                    tickets?: {
                        number?: string;
                        refundQualifiers?: {
                            commissionAmount?: string;
                            commissionOnPenalty?: string;
                            commissionPercentage?: string;
                            journeyTypeCode?: "F"
                            | "M"
                            | "B";
                            overrideCancelFee?: string;
                            overrideTaxes?: {
                                airportTaxBreakdowns?: (...)[];
                                taxAmount?: string;
                                taxCode?: string;
                            }[];
                            splitRefundAmounts?: { amount?: string }[];
                            tourCode?: string;
                            waiverCode?: string;
                        };
                    }[];
                };
            };
        }

        Contains required and optional elements to refund the tickets.

      • responses: {
            "200": {
                content: {
                    "application/json": {
                        errors?: {
                            category: string;
                            description?: string;
                            fieldName?: string;
                            fieldPath?: string;
                            fieldValue?: string;
                            type: string;
                        }[];
                        refundedTickets?: string[];
                        request?: {
                            confirmationId?: string;
                            designatePrinters?: {
                                hardcopy?: { address?: string; spacing?: string };
                                invoiceItinerary?: string;
                                profileNumber?: number;
                                ticket?: { address?: string; countryCode?: string };
                            }[];
                            errorHandlingPolicy?: "HALT_ON_ERROR"
                            | "ALLOW_PARTIAL_CANCEL";
                            notification?: {
                                email?:
                                    | "DEFAULT"
                                    | "INVOICE"
                                    | "ETICKET"
                                    | "ETICKET_PDF"
                                    | "ITINERARY"
                                    | "ITINERARY_PDF";
                                queuePlacement?: {
                                    futureQueuePlacementDate?: string;
                                    pcc?: string;
                                    prefatoryInstructionCode: number;
                                    queueName?: string;
                                    queueNumber?: number;
                                }[];
                            };
                            receivedFrom?: string;
                            targetPcc?: string;
                            tickets?: {
                                number?: string;
                                refundQualifiers?: {
                                    commissionAmount?: string;
                                    commissionOnPenalty?: string;
                                    commissionPercentage?: string;
                                    journeyTypeCode?: (...)
                                    | (...)
                                    | (...);
                                    overrideCancelFee?: string;
                                    overrideTaxes?: (...)[];
                                    splitRefundAmounts?: (...)[];
                                    tourCode?: string;
                                    waiverCode?: string;
                                };
                            }[];
                        };
                        tickets?: {
                            exchangePenalties?: (
                                { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                    hasNoShowCost?: ...;
                                    noShowPenalty?: ...;
                                    source?: ...;
                                }
                            )[];
                            isAutomatedRefundsEligible?: boolean;
                            isChangeable?: boolean;
                            isRefundable?: boolean;
                            isVoidable?: boolean;
                            number?: string;
                            refundPenalties?: (
                                { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                    hasNoShowCost?: ...;
                                    noShowPenalty?: ...;
                                    source?: ...;
                                }
                            )[];
                            refundTaxes?: { amount: string; taxCode: string }[];
                            refundTotals?: {
                                currencyCode: string;
                                fees?: string;
                                subtotal?: string;
                                taxes?: string;
                                total: string;
                            };
                        }[];
                        timestamp?: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      errors?: {
                          category: string;
                          description?: string;
                          fieldName?: string;
                          fieldPath?: string;
                          fieldValue?: string;
                          type: string;
                      }[];
                      refundedTickets?: string[];
                      request?: {
                          confirmationId?: string;
                          designatePrinters?: {
                              hardcopy?: { address?: string; spacing?: string };
                              invoiceItinerary?: string;
                              profileNumber?: number;
                              ticket?: { address?: string; countryCode?: string };
                          }[];
                          errorHandlingPolicy?: "HALT_ON_ERROR"
                          | "ALLOW_PARTIAL_CANCEL";
                          notification?: {
                              email?:
                                  | "DEFAULT"
                                  | "INVOICE"
                                  | "ETICKET"
                                  | "ETICKET_PDF"
                                  | "ITINERARY"
                                  | "ITINERARY_PDF";
                              queuePlacement?: {
                                  futureQueuePlacementDate?: string;
                                  pcc?: string;
                                  prefatoryInstructionCode: number;
                                  queueName?: string;
                                  queueNumber?: number;
                              }[];
                          };
                          receivedFrom?: string;
                          targetPcc?: string;
                          tickets?: {
                              number?: string;
                              refundQualifiers?: {
                                  commissionAmount?: string;
                                  commissionOnPenalty?: string;
                                  commissionPercentage?: string;
                                  journeyTypeCode?: (...)
                                  | (...)
                                  | (...);
                                  overrideCancelFee?: string;
                                  overrideTaxes?: (...)[];
                                  splitRefundAmounts?: (...)[];
                                  tourCode?: string;
                                  waiverCode?: string;
                              };
                          }[];
                      };
                      tickets?: {
                          exchangePenalties?: (
                              { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                  hasNoShowCost?: ...;
                                  noShowPenalty?: ...;
                                  source?: ...;
                              }
                          )[];
                          isAutomatedRefundsEligible?: boolean;
                          isChangeable?: boolean;
                          isRefundable?: boolean;
                          isVoidable?: boolean;
                          number?: string;
                          refundPenalties?: (
                              { applicability: ...; conditionsApply: ...; penalty: ... } & {
                                  hasNoShowCost?: ...;
                                  noShowPenalty?: ...;
                                  source?: ...;
                              }
                          )[];
                          refundTaxes?: { amount: string; taxCode: string }[];
                          refundTotals?: {
                              currencyCode: string;
                              fees?: string;
                              subtotal?: string;
                              taxes?: string;
                              total: string;
                          };
                      }[];
                      timestamp?: string;
                  };
              };
              headers: { [name: string]: unknown };
          }

          Successful response.

    • Optionalput?: never
    • Optionaltrace?: never
    "/voidFlightTickets": {
        delete?: never;
        get?: never;
        head?: never;
        options?: never;
        parameters: { cookie?: never; header?: never; path?: never; query?: never };
        patch?: never;
        post: {
            parameters: {
                cookie?: never;
                header: { Authorization: string };
                path?: never;
                query?: never;
            };
            requestBody: {
                content: {
                    "application/json": {
                        confirmationId?: string;
                        designatePrinters?: {
                            hardcopy?: { address?: string; spacing?: string };
                            invoiceItinerary?: string;
                            profileNumber?: number;
                            ticket?: { address?: string; countryCode?: string };
                        }[];
                        errorHandlingPolicy?: "HALT_ON_ERROR"
                        | "ALLOW_PARTIAL_CANCEL";
                        notification?: {
                            email?:
                                | "DEFAULT"
                                | "INVOICE"
                                | "ETICKET"
                                | "ETICKET_PDF"
                                | "ITINERARY"
                                | "ITINERARY_PDF";
                            queuePlacement?: {
                                futureQueuePlacementDate?: string;
                                pcc?: string;
                                prefatoryInstructionCode: number;
                                queueName?: string;
                                queueNumber?: number;
                            }[];
                        };
                        receivedFrom?: string;
                        targetPcc?: string;
                        tickets?: string[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            errors?: {
                                category: string;
                                description?: string;
                                fieldName?: string;
                                fieldPath?: string;
                                fieldValue?: string;
                                type: string;
                            }[];
                            request?: {
                                confirmationId?: string;
                                designatePrinters?: {
                                    hardcopy?: { address?: string; spacing?: string };
                                    invoiceItinerary?: string;
                                    profileNumber?: number;
                                    ticket?: { address?: string; countryCode?: string };
                                }[];
                                errorHandlingPolicy?: "HALT_ON_ERROR"
                                | "ALLOW_PARTIAL_CANCEL";
                                notification?: {
                                    email?:
                                        | "DEFAULT"
                                        | "INVOICE"
                                        | "ETICKET"
                                        | "ETICKET_PDF"
                                        | "ITINERARY"
                                        | "ITINERARY_PDF";
                                    queuePlacement?: {
                                        futureQueuePlacementDate?: string;
                                        pcc?: string;
                                        prefatoryInstructionCode: number;
                                        queueName?: string;
                                        queueNumber?: number;
                                    }[];
                                };
                                receivedFrom?: string;
                                targetPcc?: string;
                                tickets?: string[];
                            };
                            timestamp?: string;
                            voidedTickets?: string[];
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        put?: never;
        trace?: never;
    }

    Type Declaration

    • Optionaldelete?: never
    • Optionalget?: never
    • Optionalhead?: never
    • Optionaloptions?: never
    • parameters: { cookie?: never; header?: never; path?: never; query?: never }
    • Optionalpatch?: never
    • post: {
          parameters: {
              cookie?: never;
              header: { Authorization: string };
              path?: never;
              query?: never;
          };
          requestBody: {
              content: {
                  "application/json": {
                      confirmationId?: string;
                      designatePrinters?: {
                          hardcopy?: { address?: string; spacing?: string };
                          invoiceItinerary?: string;
                          profileNumber?: number;
                          ticket?: { address?: string; countryCode?: string };
                      }[];
                      errorHandlingPolicy?: "HALT_ON_ERROR"
                      | "ALLOW_PARTIAL_CANCEL";
                      notification?: {
                          email?:
                              | "DEFAULT"
                              | "INVOICE"
                              | "ETICKET"
                              | "ETICKET_PDF"
                              | "ITINERARY"
                              | "ITINERARY_PDF";
                          queuePlacement?: {
                              futureQueuePlacementDate?: string;
                              pcc?: string;
                              prefatoryInstructionCode: number;
                              queueName?: string;
                              queueNumber?: number;
                          }[];
                      };
                      receivedFrom?: string;
                      targetPcc?: string;
                      tickets?: string[];
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          errors?: {
                              category: string;
                              description?: string;
                              fieldName?: string;
                              fieldPath?: string;
                              fieldValue?: string;
                              type: string;
                          }[];
                          request?: {
                              confirmationId?: string;
                              designatePrinters?: {
                                  hardcopy?: { address?: string; spacing?: string };
                                  invoiceItinerary?: string;
                                  profileNumber?: number;
                                  ticket?: { address?: string; countryCode?: string };
                              }[];
                              errorHandlingPolicy?: "HALT_ON_ERROR"
                              | "ALLOW_PARTIAL_CANCEL";
                              notification?: {
                                  email?:
                                      | "DEFAULT"
                                      | "INVOICE"
                                      | "ETICKET"
                                      | "ETICKET_PDF"
                                      | "ITINERARY"
                                      | "ITINERARY_PDF";
                                  queuePlacement?: {
                                      futureQueuePlacementDate?: string;
                                      pcc?: string;
                                      prefatoryInstructionCode: number;
                                      queueName?: string;
                                      queueNumber?: number;
                                  }[];
                              };
                              receivedFrom?: string;
                              targetPcc?: string;
                              tickets?: string[];
                          };
                          timestamp?: string;
                          voidedTickets?: string[];
                      };
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Processes tickets by providing a request containing a list of ticket numbers to be voided.

      • parameters: {
            cookie?: never;
            header: { Authorization: string };
            path?: never;
            query?: never;
        }
        • Optionalcookie?: never
        • header: { Authorization: string }
          • Authorization: string

            The bearer authentication token.

            Bearer TOKEN
            
        • Optionalpath?: never
        • Optionalquery?: never
      • requestBody: {
            content: {
                "application/json": {
                    confirmationId?: string;
                    designatePrinters?: {
                        hardcopy?: { address?: string; spacing?: string };
                        invoiceItinerary?: string;
                        profileNumber?: number;
                        ticket?: { address?: string; countryCode?: string };
                    }[];
                    errorHandlingPolicy?: "HALT_ON_ERROR"
                    | "ALLOW_PARTIAL_CANCEL";
                    notification?: {
                        email?:
                            | "DEFAULT"
                            | "INVOICE"
                            | "ETICKET"
                            | "ETICKET_PDF"
                            | "ITINERARY"
                            | "ITINERARY_PDF";
                        queuePlacement?: {
                            futureQueuePlacementDate?: string;
                            pcc?: string;
                            prefatoryInstructionCode: number;
                            queueName?: string;
                            queueNumber?: number;
                        }[];
                    };
                    receivedFrom?: string;
                    targetPcc?: string;
                    tickets?: string[];
                };
            };
        }

        Contains required and optional elements to void the tickets.

      • responses: {
            "200": {
                content: {
                    "application/json": {
                        errors?: {
                            category: string;
                            description?: string;
                            fieldName?: string;
                            fieldPath?: string;
                            fieldValue?: string;
                            type: string;
                        }[];
                        request?: {
                            confirmationId?: string;
                            designatePrinters?: {
                                hardcopy?: { address?: string; spacing?: string };
                                invoiceItinerary?: string;
                                profileNumber?: number;
                                ticket?: { address?: string; countryCode?: string };
                            }[];
                            errorHandlingPolicy?: "HALT_ON_ERROR"
                            | "ALLOW_PARTIAL_CANCEL";
                            notification?: {
                                email?:
                                    | "DEFAULT"
                                    | "INVOICE"
                                    | "ETICKET"
                                    | "ETICKET_PDF"
                                    | "ITINERARY"
                                    | "ITINERARY_PDF";
                                queuePlacement?: {
                                    futureQueuePlacementDate?: string;
                                    pcc?: string;
                                    prefatoryInstructionCode: number;
                                    queueName?: string;
                                    queueNumber?: number;
                                }[];
                            };
                            receivedFrom?: string;
                            targetPcc?: string;
                            tickets?: string[];
                        };
                        timestamp?: string;
                        voidedTickets?: string[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      errors?: {
                          category: string;
                          description?: string;
                          fieldName?: string;
                          fieldPath?: string;
                          fieldValue?: string;
                          type: string;
                      }[];
                      request?: {
                          confirmationId?: string;
                          designatePrinters?: {
                              hardcopy?: { address?: string; spacing?: string };
                              invoiceItinerary?: string;
                              profileNumber?: number;
                              ticket?: { address?: string; countryCode?: string };
                          }[];
                          errorHandlingPolicy?: "HALT_ON_ERROR"
                          | "ALLOW_PARTIAL_CANCEL";
                          notification?: {
                              email?:
                                  | "DEFAULT"
                                  | "INVOICE"
                                  | "ETICKET"
                                  | "ETICKET_PDF"
                                  | "ITINERARY"
                                  | "ITINERARY_PDF";
                              queuePlacement?: {
                                  futureQueuePlacementDate?: string;
                                  pcc?: string;
                                  prefatoryInstructionCode: number;
                                  queueName?: string;
                                  queueNumber?: number;
                              }[];
                          };
                          receivedFrom?: string;
                          targetPcc?: string;
                          tickets?: string[];
                      };
                      timestamp?: string;
                      voidedTickets?: string[];
                  };
              };
              headers: { [name: string]: unknown };
          }

          Successful response.

    • Optionalput?: never
    • Optionaltrace?: never