Documentation
    Preparing search index...
    Index

    Constructors

    Methods

    • Parameters

      • sessionToken: any
      • body: any

      Returns Promise<
          | {
              data?: undefined;
              error: any;
              message: string;
              rawResponse?: undefined;
              success: boolean;
          }
          | {
              data: { specialService: any; timestamp: string };
              error?: undefined;
              message: string;
              rawResponse?: undefined;
              success: boolean;
          }
          | {
              data?: undefined;
              error: any;
              message: any;
              rawResponse: any;
              success: boolean;
          },
      >

    • Parameters

      • request: {
            OTA_AirLowFareSearchRQ: {
                AvailableFlightsOnly?: boolean;
                OriginDestinationInformation: {
                    ArrivalDateTime?: string;
                    ArrivalWindow?: string;
                    ConnectionLocations?: {
                        ConnectionLocation: {
                            LocationCode: string;
                            PreferLevel?: "Only" | "Unacceptable";
                        }[];
                    };
                    DepartureDateTime?: string;
                    DepartureWindow?: string;
                    DestinationLocation: { LocationCode?: string; LocationType?: string };
                    Fixed?: boolean;
                    OriginLocation: { LocationCode?: string; LocationType?: string };
                    TPA_Extensions?: {
                        AlternateTime?: { Minus?: number; PlusMinus?: number };
                        Baggage?: { FreeCarryOn?: boolean; FreePieceRequired?: boolean };
                        BrandFilters?: {
                            Brand?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                            NonBrandedFares?: { PreferLevel: "Unacceptable" | "Preferred" };
                        };
                        CabinPref?: {
                            Cabin?: | "PremiumFirst"
                            | "First"
                            | "PremiumBusiness"
                            | "Business"
                            | "PremiumEconomy"
                            | "Economy"
                            | "Y"
                            | "S"
                            | "C"
                            | "J"
                            | "F"
                            | "P";
                            PreferLevel?: "Preferred";
                        };
                        ClassOfService?: {
                            Code: string;
                            PreferLevel?: "Unacceptable"
                            | "Preferred";
                        }[];
                        ConnectionTime?: {
                            EnableExcludedConnection?: boolean;
                            ExcludedConnectionBegin?: string;
                            ExcludedConnectionEnd?: string;
                            Max?: number;
                            Min?: number;
                        };
                        FareBasis?: { Code: string; PreferLevel?: "Unacceptable"
                        | "Preferred" }[];
                        FareType?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                        Flight?: {
                            Airline: { Marketing: string; Operating?: string };
                            ArrivalDateTime: string;
                            ClassOfService?: string;
                            DepartureDateTime: string;
                            DestinationLocation: { LocationCode?: string };
                            Number: number;
                            OriginLocation: { LocationCode?: string };
                            Type?: string;
                        }[];
                        IncludeAlliancePref?: { Code: string }[];
                        IncludeVendorPref?: { Code: string }[];
                        MaxOneWayOptions?: { Value: number };
                        PriorityBoarding?: { FreePriorityBoarding?: boolean };
                        Seats?: {
                            Seat?: { AtLeast?: number; LessThan?: number; Type?: string }[];
                        };
                        SeatSelection?: { FreeSeatSelection?: boolean };
                        SegmentType?: { Code?: "ARUNK" | "O" | "X" };
                        SisterDestinationLocation?: { LocationCode?: string }[];
                        SisterDestinationMileage?: {
                            AllowBorderCross?: boolean;
                            Number: number;
                        };
                        SisterOriginLocation?: { LocationCode?: string }[];
                        SisterOriginMileage?: { AllowBorderCross?: boolean; Number: number };
                        Stopover?: {
                            DepartureDateTime?: string;
                            DepartureWindow?: string;
                            Stay?: { MaxHours?: number; MinHours?: number; Nights?: number };
                            StopoverPoint: { LocationCode: string; LocationType?: string };
                        };
                        TotalTravelTime?: { Max?: number; Min?: number };
                    };
                }[];
                POS: {
                    Source: {
                        FixedPCC?: boolean;
                        PseudoCityCode?: string;
                        RequestorID: {
                            CompanyName?: { Code?: string };
                            ID: string;
                            Type: string;
                        };
                    }[];
                };
                ResponseType?: string;
                ResponseVersion?: string;
                TPA_Extensions?: {
                    AlternateAirportCities?: {
                        AlternateLocation: { LocationCode?: string }[];
                        SpecifiedLocation: { LocationCode?: string };
                    }[];
                    AlternateAirportMileage?: { AllowBorderCross?: boolean; Number: string };
                    AlternatePCC?: {
                        FixedPCC?: boolean;
                        PseudoCityCode: string;
                        TravelPreferences?: {
                            TPA_Extensions?: {
                                ExcludeAlliancePref?: { Code: string }[];
                                IncludeAlliancePref?: { Code: string }[];
                            };
                            VendorPref?: {
                                Code: string;
                                PreferLevel?: "Only"
                                | "Unacceptable"
                                | "Preferred";
                            }[];
                        };
                    }[];
                    DiversityControl?: {
                        Dimensions: {
                            Carrier?: {
                                Default?: { Options: string };
                                OnlineIndicator?: boolean;
                                Override?: { Code: string; Options: string }[];
                                Weight: number;
                            };
                            InboundOutboundPairing?: { Duplicates?: number; Weight: number };
                            OperatingDuplicate?: {
                                PreferredCarrier?: { Code: string }[];
                                Weight: number;
                            };
                            PriceWeight?: number;
                            StopsNumber?: { Weight: number };
                            TimeOfDay?: {
                                Distribution?: {
                                    Direction?: "Outbound" | "Inbound";
                                    Endpoint?: "Departure" | "Arrival";
                                    Leg?: number;
                                    Range?: { Begin: string; End: string; Options?: string }[];
                                }[];
                                Weight: number;
                            };
                            TravelTime?: { Weight: number };
                        };
                        LowFareBucket: { FareCutOff?: string; Options?: string };
                    };
                    IntelliSellTransaction?: {
                        AirStreaming?: {
                            MaxItinsPerChunk: number;
                            Method: "Services"
                            | "WholeResponse";
                        };
                        CompressResponse?: { Value?: boolean };
                        MultipleSourcePerItinerary?: { Value: boolean };
                        RequestType?: { Name?: string };
                        ResponseSorting?: { SortFaresInsideItin?: boolean };
                        ServiceTag?: { Name?: string };
                        TranID?: Record<string, never>;
                    };
                    MultiTicket?: {
                        DisplayPolicy?: "SOW"
                        | "GOW2RT"
                        | "SCHS";
                        RequestedOneWays?: number;
                    };
                    RichContent?: {
                        FlightAmenities?: boolean;
                        Language?: string;
                        SeatInfo?: boolean;
                        UniversalProductAttributes?: boolean;
                        UniversalTicketingAttributes?: boolean;
                    };
                };
                TravelerInfoSummary: {
                    AirTravelerAvail: {
                        PassengerTypeQuantity: {
                            Code: string;
                            Quantity?: number;
                            TPA_Extensions?: {
                                VoluntaryChanges?: {
                                    Match?: "All"
                                    | "Any"
                                    | "Info";
                                    Penalty?: {
                                        Amount?: ...;
                                        Application?: ...;
                                        CurrencyCode?: ...;
                                        Exclude?: ...;
                                        Type?: ...;
                                    }[];
                                };
                            };
                        }[];
                    }[];
                    PriceRequestInformation?: {
                        AccountCode?: { Code: string }[];
                        CurrencyCode?: string;
                        NegotiatedFareCode?: { Code?: string; Supplier?: { Code?: string }[] }[];
                        NegotiatedFaresOnly?: boolean;
                        ProcessThruFaresOnly?: boolean;
                        PurchaseDate?: string;
                        TPA_Extensions?: {
                            BrandedFareIndicators?: {
                                BrandFilters?: {
                                    Brand?: {
                                        Code: string;
                                        PreferLevel: "Unacceptable" | "Preferred";
                                    }[];
                                    NonBrandedFares?: { PreferLevel: "Unacceptable"
                                    | "Preferred" };
                                };
                                ItinParityBrandlessLeg?: boolean;
                                ItinParityFallbackMode?: "LegParity"
                                | "LowestSingle";
                                MultipleBrandedFares?: boolean;
                                ParityMode?: "Leg" | "Itin";
                                ParityModeForLowest?: "None" | "Leg" | "Itin";
                                ReturnBrandAncillaries?: boolean;
                                SingleBrandedFare?: boolean;
                                UpsellLimit?: number;
                            };
                            Indicators?: {
                                MinMaxStay?: { Ind: boolean };
                                RefundPenalty?: { Ind: boolean };
                                ResTicketing?: { Ind: boolean };
                            };
                            OBFees?: Record<string, never>;
                            PassengerStatus?: {
                                CityCode?: string;
                                CountryCode?: string;
                                StateCode?: string;
                                Type: "N" | "R" | "E";
                            };
                            PointOfSaleOverride?: { Code: string };
                            PointOfTicketingOverride?: { Code: string };
                            Priority?: {
                                DirectFlights?: { Priority: number };
                                Price?: { Priority: number };
                                Time?: { Priority: number };
                                Vendor?: { Priority: number };
                            };
                            PrivateFare?: { Ind?: boolean };
                            PublicFare?: { Ind?: boolean };
                        };
                    };
                    TPA_Extensions?: Record<string, never>;
                };
                TravelPreferences?: {
                    AncillaryFees?: {
                        AncillaryFeeGroup?: { Code: string; Count?: string }[];
                        Enable: boolean;
                        Summary?: boolean;
                    };
                    Baggage?: {
                        CarryOnInfo?: boolean;
                        Description?: boolean;
                        FreeCarryOn?: boolean;
                        FreePieceRequired?: boolean;
                        RequestedPieces?: number;
                        RequestType?: "C"
                        | "A"
                        | "N";
                    };
                    CabinPref?: {
                        Cabin?: | "PremiumFirst"
                        | "First"
                        | "PremiumBusiness"
                        | "Business"
                        | "PremiumEconomy"
                        | "Economy"
                        | "Y"
                        | "S"
                        | "C"
                        | "J"
                        | "F"
                        | "P";
                        PreferLevel?: "Preferred";
                    }[];
                    ETicketDesired?: boolean;
                    FlightTypePref?: { MaxConnections?: number
                    | boolean };
                    Hybrid?: boolean;
                    LookForAlternatives?: boolean;
                    MaxStopsQuantity?: number;
                    SpanishFamilyDiscount?: { Level: 1 | 2 };
                    TPA_Extensions?: {
                        AdditionalFareLimit?: { Value: number };
                        AvoidCabinDowngrade?: { Mode: "All" | "Main" | "None" };
                        ClassOfService?: {
                            Code: string;
                            PreferLevel?: "Unacceptable" | "Preferred";
                        }[];
                        CodeShareIndicator?: {
                            ExcludeCodeshare: boolean;
                            KeepOnlines?: boolean;
                        };
                        CountryPref?: { Code: string; PreferLevel: string }[];
                        DataSources?: {
                            ATPCO?: "Enable" | "Disable";
                            LCC?: "Enable" | "Disable";
                            NDC?: "Enable" | "Disable";
                        };
                        DiversityParameters?: {
                            AdditionalNonStopsNumber?: number;
                            AdditionalNonStopsPercentage?: number;
                            InboundOutboundPairing?: number;
                            TimeOfDayDistribution?: {
                                TimeOfDayRange: { Begin: string; End: string; Percentage: number }[];
                            };
                            Weightings?: { PriceWeight: number; TravelTimeWeight: number };
                        };
                        ExcludeAlliancePref?: { Code: string }[];
                        ExcludeCallDirectCarriers?: { Enabled?: boolean };
                        ExcludeVendorPref?: { Code?: string }[];
                        ExemptAllTaxes?: { Value: boolean };
                        ExemptAllTaxesAndFees?: { Value: boolean };
                        ExemptTax?: { TaxCode: string }[];
                        FareBasis?: { Code: string; PreferLevel?: "Unacceptable" | "Preferred" }[];
                        FareFocusRules?: { Exclude?: boolean };
                        FareType?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                        FlexibleFares?: {
                            FareParameters: {
                                AccountCode?: { Code: string }[];
                                AvoidCabinDowngrade?: { Mode: "All" | "Main" | "None" };
                                Baggage?: { FreePieceRequired?: boolean };
                                BrandedFareIndicators?: {
                                    BrandFilters?: {
                                        Brand?: { Code: ...; PreferLevel: ... }[];
                                        NonBrandedFares?: { PreferLevel: (...) | (...) };
                                    };
                                    ItinParityBrandlessLeg?: boolean;
                                    ItinParityFallbackMode?: "LegParity"
                                    | "LowestSingle";
                                    MultipleBrandedFares?: boolean;
                                    ParityMode?: "Leg" | "Itin";
                                    ParityModeForLowest?: "None" | "Leg" | "Itin";
                                    SingleBrandedFare?: boolean;
                                    UpsellLimit?: number;
                                };
                                Cabin?: {
                                    Type: | "PremiumFirst"
                                    | "First"
                                    | "PremiumBusiness"
                                    | "Business"
                                    | "PremiumEconomy"
                                    | "Economy"
                                    | "Y"
                                    | "S"
                                    | "C"
                                    | "J"
                                    | "F"
                                    | "P";
                                };
                                ClassOfService?: {
                                    Code: string;
                                    PreferLevel?: "Unacceptable"
                                    | "Preferred";
                                }[];
                                CorporateID?: { Code: string }[];
                                ExcludeRestricted?: { Ind: boolean };
                                FareBasis?: {
                                    Code: string;
                                    PreferLevel?: "Unacceptable" | "Preferred";
                                }[];
                                FareType?: { Code: string; PreferLevel: "Unacceptable"
                                | "Preferred" }[];
                                JumpCabinLogic?: { Disabled: boolean };
                                KeepSameCabin?: { Enabled: boolean };
                                Leg?: {
                                    Baggage?: { FreePieceRequired?: boolean };
                                    BrandFilters?: {
                                        Brand?: (...)[];
                                        NonBrandedFares?: { PreferLevel: ... };
                                    };
                                    Cabin?: {
                                        Type: | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    };
                                    ClassOfService?: { Code: ...; PreferLevel?: ... }[];
                                    FareBasis?: { Code: ...; PreferLevel?: ... }[];
                                    FareType?: { Code: ...; PreferLevel: ... }[];
                                    Num: number;
                                    PriorityBoarding?: Record<string, never>;
                                    Seats?: Record<string, never>;
                                    SeatSelection?: { FreeSeatSelection?: boolean };
                                }[];
                                MinMaxStay?: { Ind: boolean };
                                NegotiatedFaresOnly?: { Ind: boolean };
                                PassengerTypeQuantity?: { Code: string; Quantity?: number }[];
                                PriorityBoarding?: Record<string, never>;
                                PrivateFare?: { Ind: boolean };
                                PublicFare?: { Ind: boolean };
                                RefundPenalty?: { Ind: boolean };
                                ResTicketing?: { Ind: boolean };
                                Seats?: Record<string, never>;
                                SeatSelection?: { FreeSeatSelection?: boolean };
                                UseNegotiatedFares?: { Ind: boolean };
                                UsePassengerFares?: { Ind: boolean };
                                VoluntaryChanges?: {
                                    Match?: "All" | "Any" | "Info";
                                    Penalty?: {
                                        Amount?: number;
                                        Application?: (...) | (...);
                                        CurrencyCode?: string;
                                        Exclude?: boolean;
                                        Type?: (...) | (...);
                                    }[];
                                };
                                XOFares?: { Ind: boolean };
                            }[];
                        };
                        FlightStopsAsConnections?: { Ind: boolean };
                        GoverningCarrierOverride?: { AirlineCode: string };
                        IncludeAlliancePref?: { Code: string }[];
                        JumpCabinLogic?: { Disabled: boolean };
                        KeepSameCabin?: { Enabled: boolean };
                        LongConnectPoints?: { Max?: number; Min?: number };
                        LongConnectTime?: {
                            Enable?: boolean;
                            Max?: number;
                            Min?: number;
                            NumberOfSolutions?: string;
                        };
                        LowCostCarriersProcessing?: { Disable?: boolean };
                        NDCIndicators?: {
                            CarrierSpecificQualifiers?: {
                                AccountCode?: { Code: string };
                                CarrierCode: string;
                                FrequentFlyer?: {
                                    AccountNumber: string;
                                    AirlineDesignator: string;
                                    PassengerId: string;
                                }[];
                                Qualifier?: { Name: string; Value: string }[];
                            }[];
                            FrequentFlyer?: {
                                AccountNumber: string;
                                AirlineDesignator: string;
                                PassengerId: string;
                            }[];
                            MaxNumberOfUpsells?: { Value: number };
                            MultipleBrandedFares?: { Value: boolean };
                            ParityMode?: { Mode: "Leg" | "Itin" };
                            Qualifier?: { Name: string; Value: string }[];
                            ShowOneWays?: { Value: boolean };
                            SingleBrandedFare?: { Value: boolean };
                        };
                        NumTrips?: { Number?: number };
                        OnlineIndicator?: { Ind?: boolean };
                        PreferNDCSourceOnTie?: { Value: boolean };
                        PriorityBoarding?: { FreePriorityBoarding?: boolean; Info?: boolean };
                        RetailerRules?: { Force?: boolean; RetailerRule: { Code: string }[] };
                        Seats?: {
                            Seat?: { AtLeast?: number; LessThan?: number; Type?: string }[];
                        };
                        SeatSelection?: { FreeSeatSelection?: boolean; Info?: boolean };
                        SellingLevels?: {
                            SellingLevelRules?: { Ignore: boolean };
                            ShowFareAmounts?: { Adjusted?: boolean; Original?: boolean };
                        };
                        SettlementMethod?: string;
                        Taxes?: { Tax?: { Amount?: number; TaxCode: string }[] };
                        TicketingSumOfLocals?: { Enable?: boolean };
                        TripType?: {
                            Value?: "OneWay" | "Return" | "Circle" | "OpenJaw" | "Other";
                        };
                        ValidatingCarrier?: {
                            Code?: string;
                            Preference?: { Code: string; Level: "Unacceptable"
                            | "Preferred" }[];
                        };
                        ValidatingCarrierCheck?: {
                            Carrier?: { Code: string }[];
                            Country?: { Code: string }[];
                            IETValidation: { Ind: boolean };
                            SettlementValidation: { Ind: boolean };
                        };
                        VerificationItinCallLogic?: {
                            AlwaysCheckAvailability?: boolean;
                            Value?: "L"
                            | "M"
                            | "B";
                        };
                        XOFares?: { Value: boolean };
                    };
                    ValidInterlineTicket?: boolean;
                    VendorPref?: {
                        Code?: string;
                        PreferLevel?: "Only"
                        | "Unacceptable"
                        | "Preferred";
                        Type?: "Marketing" | "Operating";
                    }[];
                    VendorPrefApplicability?: {
                        Type: "Marketing"
                        | "Operating";
                        Value: "AllSegments" | "AtLeastOneSegment";
                    }[];
                    VendorPrefPairing?: {
                        Applicability?: "AllSegments"
                        | "AtLeastOneSegment";
                        PreferLevel: "Unacceptable" | "Preferred";
                        VendorPref: { Code: string; Type?: "Marketing" | "Operating" }[];
                    }[];
                };
                Version: string;
            };
        }
        • OTA_AirLowFareSearchRQ: {
              AvailableFlightsOnly?: boolean;
              OriginDestinationInformation: {
                  ArrivalDateTime?: string;
                  ArrivalWindow?: string;
                  ConnectionLocations?: {
                      ConnectionLocation: {
                          LocationCode: string;
                          PreferLevel?: "Only" | "Unacceptable";
                      }[];
                  };
                  DepartureDateTime?: string;
                  DepartureWindow?: string;
                  DestinationLocation: { LocationCode?: string; LocationType?: string };
                  Fixed?: boolean;
                  OriginLocation: { LocationCode?: string; LocationType?: string };
                  TPA_Extensions?: {
                      AlternateTime?: { Minus?: number; PlusMinus?: number };
                      Baggage?: { FreeCarryOn?: boolean; FreePieceRequired?: boolean };
                      BrandFilters?: {
                          Brand?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                          NonBrandedFares?: { PreferLevel: "Unacceptable" | "Preferred" };
                      };
                      CabinPref?: {
                          Cabin?: | "PremiumFirst"
                          | "First"
                          | "PremiumBusiness"
                          | "Business"
                          | "PremiumEconomy"
                          | "Economy"
                          | "Y"
                          | "S"
                          | "C"
                          | "J"
                          | "F"
                          | "P";
                          PreferLevel?: "Preferred";
                      };
                      ClassOfService?: {
                          Code: string;
                          PreferLevel?: "Unacceptable"
                          | "Preferred";
                      }[];
                      ConnectionTime?: {
                          EnableExcludedConnection?: boolean;
                          ExcludedConnectionBegin?: string;
                          ExcludedConnectionEnd?: string;
                          Max?: number;
                          Min?: number;
                      };
                      FareBasis?: { Code: string; PreferLevel?: "Unacceptable"
                      | "Preferred" }[];
                      FareType?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                      Flight?: {
                          Airline: { Marketing: string; Operating?: string };
                          ArrivalDateTime: string;
                          ClassOfService?: string;
                          DepartureDateTime: string;
                          DestinationLocation: { LocationCode?: string };
                          Number: number;
                          OriginLocation: { LocationCode?: string };
                          Type?: string;
                      }[];
                      IncludeAlliancePref?: { Code: string }[];
                      IncludeVendorPref?: { Code: string }[];
                      MaxOneWayOptions?: { Value: number };
                      PriorityBoarding?: { FreePriorityBoarding?: boolean };
                      Seats?: {
                          Seat?: { AtLeast?: number; LessThan?: number; Type?: string }[];
                      };
                      SeatSelection?: { FreeSeatSelection?: boolean };
                      SegmentType?: { Code?: "ARUNK" | "O" | "X" };
                      SisterDestinationLocation?: { LocationCode?: string }[];
                      SisterDestinationMileage?: { AllowBorderCross?: boolean; Number: number };
                      SisterOriginLocation?: { LocationCode?: string }[];
                      SisterOriginMileage?: { AllowBorderCross?: boolean; Number: number };
                      Stopover?: {
                          DepartureDateTime?: string;
                          DepartureWindow?: string;
                          Stay?: { MaxHours?: number; MinHours?: number; Nights?: number };
                          StopoverPoint: { LocationCode: string; LocationType?: string };
                      };
                      TotalTravelTime?: { Max?: number; Min?: number };
                  };
              }[];
              POS: {
                  Source: {
                      FixedPCC?: boolean;
                      PseudoCityCode?: string;
                      RequestorID: {
                          CompanyName?: { Code?: string };
                          ID: string;
                          Type: string;
                      };
                  }[];
              };
              ResponseType?: string;
              ResponseVersion?: string;
              TPA_Extensions?: {
                  AlternateAirportCities?: {
                      AlternateLocation: { LocationCode?: string }[];
                      SpecifiedLocation: { LocationCode?: string };
                  }[];
                  AlternateAirportMileage?: { AllowBorderCross?: boolean; Number: string };
                  AlternatePCC?: {
                      FixedPCC?: boolean;
                      PseudoCityCode: string;
                      TravelPreferences?: {
                          TPA_Extensions?: {
                              ExcludeAlliancePref?: { Code: string }[];
                              IncludeAlliancePref?: { Code: string }[];
                          };
                          VendorPref?: {
                              Code: string;
                              PreferLevel?: "Only"
                              | "Unacceptable"
                              | "Preferred";
                          }[];
                      };
                  }[];
                  DiversityControl?: {
                      Dimensions: {
                          Carrier?: {
                              Default?: { Options: string };
                              OnlineIndicator?: boolean;
                              Override?: { Code: string; Options: string }[];
                              Weight: number;
                          };
                          InboundOutboundPairing?: { Duplicates?: number; Weight: number };
                          OperatingDuplicate?: {
                              PreferredCarrier?: { Code: string }[];
                              Weight: number;
                          };
                          PriceWeight?: number;
                          StopsNumber?: { Weight: number };
                          TimeOfDay?: {
                              Distribution?: {
                                  Direction?: "Outbound" | "Inbound";
                                  Endpoint?: "Departure" | "Arrival";
                                  Leg?: number;
                                  Range?: { Begin: string; End: string; Options?: string }[];
                              }[];
                              Weight: number;
                          };
                          TravelTime?: { Weight: number };
                      };
                      LowFareBucket: { FareCutOff?: string; Options?: string };
                  };
                  IntelliSellTransaction?: {
                      AirStreaming?: {
                          MaxItinsPerChunk: number;
                          Method: "Services"
                          | "WholeResponse";
                      };
                      CompressResponse?: { Value?: boolean };
                      MultipleSourcePerItinerary?: { Value: boolean };
                      RequestType?: { Name?: string };
                      ResponseSorting?: { SortFaresInsideItin?: boolean };
                      ServiceTag?: { Name?: string };
                      TranID?: Record<string, never>;
                  };
                  MultiTicket?: {
                      DisplayPolicy?: "SOW"
                      | "GOW2RT"
                      | "SCHS";
                      RequestedOneWays?: number;
                  };
                  RichContent?: {
                      FlightAmenities?: boolean;
                      Language?: string;
                      SeatInfo?: boolean;
                      UniversalProductAttributes?: boolean;
                      UniversalTicketingAttributes?: boolean;
                  };
              };
              TravelerInfoSummary: {
                  AirTravelerAvail: {
                      PassengerTypeQuantity: {
                          Code: string;
                          Quantity?: number;
                          TPA_Extensions?: {
                              VoluntaryChanges?: {
                                  Match?: "All"
                                  | "Any"
                                  | "Info";
                                  Penalty?: {
                                      Amount?: ...;
                                      Application?: ...;
                                      CurrencyCode?: ...;
                                      Exclude?: ...;
                                      Type?: ...;
                                  }[];
                              };
                          };
                      }[];
                  }[];
                  PriceRequestInformation?: {
                      AccountCode?: { Code: string }[];
                      CurrencyCode?: string;
                      NegotiatedFareCode?: { Code?: string; Supplier?: { Code?: string }[] }[];
                      NegotiatedFaresOnly?: boolean;
                      ProcessThruFaresOnly?: boolean;
                      PurchaseDate?: string;
                      TPA_Extensions?: {
                          BrandedFareIndicators?: {
                              BrandFilters?: {
                                  Brand?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                                  NonBrandedFares?: { PreferLevel: "Unacceptable" | "Preferred" };
                              };
                              ItinParityBrandlessLeg?: boolean;
                              ItinParityFallbackMode?: "LegParity"
                              | "LowestSingle";
                              MultipleBrandedFares?: boolean;
                              ParityMode?: "Leg" | "Itin";
                              ParityModeForLowest?: "None" | "Leg" | "Itin";
                              ReturnBrandAncillaries?: boolean;
                              SingleBrandedFare?: boolean;
                              UpsellLimit?: number;
                          };
                          Indicators?: {
                              MinMaxStay?: { Ind: boolean };
                              RefundPenalty?: { Ind: boolean };
                              ResTicketing?: { Ind: boolean };
                          };
                          OBFees?: Record<string, never>;
                          PassengerStatus?: {
                              CityCode?: string;
                              CountryCode?: string;
                              StateCode?: string;
                              Type: "N" | "R" | "E";
                          };
                          PointOfSaleOverride?: { Code: string };
                          PointOfTicketingOverride?: { Code: string };
                          Priority?: {
                              DirectFlights?: { Priority: number };
                              Price?: { Priority: number };
                              Time?: { Priority: number };
                              Vendor?: { Priority: number };
                          };
                          PrivateFare?: { Ind?: boolean };
                          PublicFare?: { Ind?: boolean };
                      };
                  };
                  TPA_Extensions?: Record<string, never>;
              };
              TravelPreferences?: {
                  AncillaryFees?: {
                      AncillaryFeeGroup?: { Code: string; Count?: string }[];
                      Enable: boolean;
                      Summary?: boolean;
                  };
                  Baggage?: {
                      CarryOnInfo?: boolean;
                      Description?: boolean;
                      FreeCarryOn?: boolean;
                      FreePieceRequired?: boolean;
                      RequestedPieces?: number;
                      RequestType?: "C"
                      | "A"
                      | "N";
                  };
                  CabinPref?: {
                      Cabin?: | "PremiumFirst"
                      | "First"
                      | "PremiumBusiness"
                      | "Business"
                      | "PremiumEconomy"
                      | "Economy"
                      | "Y"
                      | "S"
                      | "C"
                      | "J"
                      | "F"
                      | "P";
                      PreferLevel?: "Preferred";
                  }[];
                  ETicketDesired?: boolean;
                  FlightTypePref?: { MaxConnections?: number
                  | boolean };
                  Hybrid?: boolean;
                  LookForAlternatives?: boolean;
                  MaxStopsQuantity?: number;
                  SpanishFamilyDiscount?: { Level: 1 | 2 };
                  TPA_Extensions?: {
                      AdditionalFareLimit?: { Value: number };
                      AvoidCabinDowngrade?: { Mode: "All" | "Main" | "None" };
                      ClassOfService?: {
                          Code: string;
                          PreferLevel?: "Unacceptable" | "Preferred";
                      }[];
                      CodeShareIndicator?: { ExcludeCodeshare: boolean; KeepOnlines?: boolean };
                      CountryPref?: { Code: string; PreferLevel: string }[];
                      DataSources?: {
                          ATPCO?: "Enable" | "Disable";
                          LCC?: "Enable" | "Disable";
                          NDC?: "Enable" | "Disable";
                      };
                      DiversityParameters?: {
                          AdditionalNonStopsNumber?: number;
                          AdditionalNonStopsPercentage?: number;
                          InboundOutboundPairing?: number;
                          TimeOfDayDistribution?: {
                              TimeOfDayRange: { Begin: string; End: string; Percentage: number }[];
                          };
                          Weightings?: { PriceWeight: number; TravelTimeWeight: number };
                      };
                      ExcludeAlliancePref?: { Code: string }[];
                      ExcludeCallDirectCarriers?: { Enabled?: boolean };
                      ExcludeVendorPref?: { Code?: string }[];
                      ExemptAllTaxes?: { Value: boolean };
                      ExemptAllTaxesAndFees?: { Value: boolean };
                      ExemptTax?: { TaxCode: string }[];
                      FareBasis?: { Code: string; PreferLevel?: "Unacceptable" | "Preferred" }[];
                      FareFocusRules?: { Exclude?: boolean };
                      FareType?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                      FlexibleFares?: {
                          FareParameters: {
                              AccountCode?: { Code: string }[];
                              AvoidCabinDowngrade?: { Mode: "All" | "Main" | "None" };
                              Baggage?: { FreePieceRequired?: boolean };
                              BrandedFareIndicators?: {
                                  BrandFilters?: {
                                      Brand?: { Code: ...; PreferLevel: ... }[];
                                      NonBrandedFares?: { PreferLevel: (...) | (...) };
                                  };
                                  ItinParityBrandlessLeg?: boolean;
                                  ItinParityFallbackMode?: "LegParity"
                                  | "LowestSingle";
                                  MultipleBrandedFares?: boolean;
                                  ParityMode?: "Leg" | "Itin";
                                  ParityModeForLowest?: "None" | "Leg" | "Itin";
                                  SingleBrandedFare?: boolean;
                                  UpsellLimit?: number;
                              };
                              Cabin?: {
                                  Type: | "PremiumFirst"
                                  | "First"
                                  | "PremiumBusiness"
                                  | "Business"
                                  | "PremiumEconomy"
                                  | "Economy"
                                  | "Y"
                                  | "S"
                                  | "C"
                                  | "J"
                                  | "F"
                                  | "P";
                              };
                              ClassOfService?: {
                                  Code: string;
                                  PreferLevel?: "Unacceptable"
                                  | "Preferred";
                              }[];
                              CorporateID?: { Code: string }[];
                              ExcludeRestricted?: { Ind: boolean };
                              FareBasis?: {
                                  Code: string;
                                  PreferLevel?: "Unacceptable" | "Preferred";
                              }[];
                              FareType?: { Code: string; PreferLevel: "Unacceptable"
                              | "Preferred" }[];
                              JumpCabinLogic?: { Disabled: boolean };
                              KeepSameCabin?: { Enabled: boolean };
                              Leg?: {
                                  Baggage?: { FreePieceRequired?: boolean };
                                  BrandFilters?: {
                                      Brand?: (...)[];
                                      NonBrandedFares?: { PreferLevel: ... };
                                  };
                                  Cabin?: {
                                      Type: | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  };
                                  ClassOfService?: { Code: ...; PreferLevel?: ... }[];
                                  FareBasis?: { Code: ...; PreferLevel?: ... }[];
                                  FareType?: { Code: ...; PreferLevel: ... }[];
                                  Num: number;
                                  PriorityBoarding?: Record<string, never>;
                                  Seats?: Record<string, never>;
                                  SeatSelection?: { FreeSeatSelection?: boolean };
                              }[];
                              MinMaxStay?: { Ind: boolean };
                              NegotiatedFaresOnly?: { Ind: boolean };
                              PassengerTypeQuantity?: { Code: string; Quantity?: number }[];
                              PriorityBoarding?: Record<string, never>;
                              PrivateFare?: { Ind: boolean };
                              PublicFare?: { Ind: boolean };
                              RefundPenalty?: { Ind: boolean };
                              ResTicketing?: { Ind: boolean };
                              Seats?: Record<string, never>;
                              SeatSelection?: { FreeSeatSelection?: boolean };
                              UseNegotiatedFares?: { Ind: boolean };
                              UsePassengerFares?: { Ind: boolean };
                              VoluntaryChanges?: {
                                  Match?: "All" | "Any" | "Info";
                                  Penalty?: {
                                      Amount?: number;
                                      Application?: (...) | (...);
                                      CurrencyCode?: string;
                                      Exclude?: boolean;
                                      Type?: (...) | (...);
                                  }[];
                              };
                              XOFares?: { Ind: boolean };
                          }[];
                      };
                      FlightStopsAsConnections?: { Ind: boolean };
                      GoverningCarrierOverride?: { AirlineCode: string };
                      IncludeAlliancePref?: { Code: string }[];
                      JumpCabinLogic?: { Disabled: boolean };
                      KeepSameCabin?: { Enabled: boolean };
                      LongConnectPoints?: { Max?: number; Min?: number };
                      LongConnectTime?: {
                          Enable?: boolean;
                          Max?: number;
                          Min?: number;
                          NumberOfSolutions?: string;
                      };
                      LowCostCarriersProcessing?: { Disable?: boolean };
                      NDCIndicators?: {
                          CarrierSpecificQualifiers?: {
                              AccountCode?: { Code: string };
                              CarrierCode: string;
                              FrequentFlyer?: {
                                  AccountNumber: string;
                                  AirlineDesignator: string;
                                  PassengerId: string;
                              }[];
                              Qualifier?: { Name: string; Value: string }[];
                          }[];
                          FrequentFlyer?: {
                              AccountNumber: string;
                              AirlineDesignator: string;
                              PassengerId: string;
                          }[];
                          MaxNumberOfUpsells?: { Value: number };
                          MultipleBrandedFares?: { Value: boolean };
                          ParityMode?: { Mode: "Leg" | "Itin" };
                          Qualifier?: { Name: string; Value: string }[];
                          ShowOneWays?: { Value: boolean };
                          SingleBrandedFare?: { Value: boolean };
                      };
                      NumTrips?: { Number?: number };
                      OnlineIndicator?: { Ind?: boolean };
                      PreferNDCSourceOnTie?: { Value: boolean };
                      PriorityBoarding?: { FreePriorityBoarding?: boolean; Info?: boolean };
                      RetailerRules?: { Force?: boolean; RetailerRule: { Code: string }[] };
                      Seats?: {
                          Seat?: { AtLeast?: number; LessThan?: number; Type?: string }[];
                      };
                      SeatSelection?: { FreeSeatSelection?: boolean; Info?: boolean };
                      SellingLevels?: {
                          SellingLevelRules?: { Ignore: boolean };
                          ShowFareAmounts?: { Adjusted?: boolean; Original?: boolean };
                      };
                      SettlementMethod?: string;
                      Taxes?: { Tax?: { Amount?: number; TaxCode: string }[] };
                      TicketingSumOfLocals?: { Enable?: boolean };
                      TripType?: {
                          Value?: "OneWay" | "Return" | "Circle" | "OpenJaw" | "Other";
                      };
                      ValidatingCarrier?: {
                          Code?: string;
                          Preference?: { Code: string; Level: "Unacceptable"
                          | "Preferred" }[];
                      };
                      ValidatingCarrierCheck?: {
                          Carrier?: { Code: string }[];
                          Country?: { Code: string }[];
                          IETValidation: { Ind: boolean };
                          SettlementValidation: { Ind: boolean };
                      };
                      VerificationItinCallLogic?: {
                          AlwaysCheckAvailability?: boolean;
                          Value?: "L"
                          | "M"
                          | "B";
                      };
                      XOFares?: { Value: boolean };
                  };
                  ValidInterlineTicket?: boolean;
                  VendorPref?: {
                      Code?: string;
                      PreferLevel?: "Only"
                      | "Unacceptable"
                      | "Preferred";
                      Type?: "Marketing" | "Operating";
                  }[];
                  VendorPrefApplicability?: {
                      Type: "Marketing"
                      | "Operating";
                      Value: "AllSegments" | "AtLeastOneSegment";
                  }[];
                  VendorPrefPairing?: {
                      Applicability?: "AllSegments"
                      | "AtLeastOneSegment";
                      PreferLevel: "Unacceptable" | "Preferred";
                      VendorPref: { Code: string; Type?: "Marketing" | "Operating" }[];
                  }[];
              };
              Version: string;
          }

          The Low Fare Search Request message requests price itinerary options for flights between specific city pairs on specific dates for specific numbers and types of passengers. The optional request information can include - Time / Time Window - Connecting cities. - Client Preferences (airlines, cabin, flight types, etc.) The Low Fare Search request contains similar information to a Low Fare Search entry on an airline CRS or GDS.

          • OptionalAvailableFlightsOnly?: boolean

            Indicator for whether to consider the availability of the corresponding booking codes. true(default) - Returns fares considering the availability of the corresponding booking codes. false - Returns fares without regard to the availability of the corresponding booking codes.

            true
            
            true
            
          • OriginDestinationInformation: {
                ArrivalDateTime?: string;
                ArrivalWindow?: string;
                ConnectionLocations?: {
                    ConnectionLocation: {
                        LocationCode: string;
                        PreferLevel?: "Only" | "Unacceptable";
                    }[];
                };
                DepartureDateTime?: string;
                DepartureWindow?: string;
                DestinationLocation: { LocationCode?: string; LocationType?: string };
                Fixed?: boolean;
                OriginLocation: { LocationCode?: string; LocationType?: string };
                TPA_Extensions?: {
                    AlternateTime?: { Minus?: number; PlusMinus?: number };
                    Baggage?: { FreeCarryOn?: boolean; FreePieceRequired?: boolean };
                    BrandFilters?: {
                        Brand?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                        NonBrandedFares?: { PreferLevel: "Unacceptable" | "Preferred" };
                    };
                    CabinPref?: {
                        Cabin?: | "PremiumFirst"
                        | "First"
                        | "PremiumBusiness"
                        | "Business"
                        | "PremiumEconomy"
                        | "Economy"
                        | "Y"
                        | "S"
                        | "C"
                        | "J"
                        | "F"
                        | "P";
                        PreferLevel?: "Preferred";
                    };
                    ClassOfService?: {
                        Code: string;
                        PreferLevel?: "Unacceptable"
                        | "Preferred";
                    }[];
                    ConnectionTime?: {
                        EnableExcludedConnection?: boolean;
                        ExcludedConnectionBegin?: string;
                        ExcludedConnectionEnd?: string;
                        Max?: number;
                        Min?: number;
                    };
                    FareBasis?: { Code: string; PreferLevel?: "Unacceptable"
                    | "Preferred" }[];
                    FareType?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                    Flight?: {
                        Airline: { Marketing: string; Operating?: string };
                        ArrivalDateTime: string;
                        ClassOfService?: string;
                        DepartureDateTime: string;
                        DestinationLocation: { LocationCode?: string };
                        Number: number;
                        OriginLocation: { LocationCode?: string };
                        Type?: string;
                    }[];
                    IncludeAlliancePref?: { Code: string }[];
                    IncludeVendorPref?: { Code: string }[];
                    MaxOneWayOptions?: { Value: number };
                    PriorityBoarding?: { FreePriorityBoarding?: boolean };
                    Seats?: {
                        Seat?: { AtLeast?: number; LessThan?: number; Type?: string }[];
                    };
                    SeatSelection?: { FreeSeatSelection?: boolean };
                    SegmentType?: { Code?: "ARUNK" | "O" | "X" };
                    SisterDestinationLocation?: { LocationCode?: string }[];
                    SisterDestinationMileage?: { AllowBorderCross?: boolean; Number: number };
                    SisterOriginLocation?: { LocationCode?: string }[];
                    SisterOriginMileage?: { AllowBorderCross?: boolean; Number: number };
                    Stopover?: {
                        DepartureDateTime?: string;
                        DepartureWindow?: string;
                        Stay?: { MaxHours?: number; MinHours?: number; Nights?: number };
                        StopoverPoint: { LocationCode: string; LocationType?: string };
                    };
                    TotalTravelTime?: { Max?: number; Min?: number };
                };
            }[]

            Order of Origin Destination information.

          • POS: {
                Source: {
                    FixedPCC?: boolean;
                    PseudoCityCode?: string;
                    RequestorID: { CompanyName?: { Code?: string }; ID: string; Type: string };
                }[];
            }
            • Source: {
                  FixedPCC?: boolean;
                  PseudoCityCode?: string;
                  RequestorID: { CompanyName?: { Code?: string }; ID: string; Type: string };
              }[]

              Point of sale source information.

          • OptionalResponseType?: string

            Response type information.

            GIR-JSON
            
          • OptionalResponseVersion?: string

            Response version information.

            V4
            
          • OptionalTPA_Extensions?: {
                AlternateAirportCities?: {
                    AlternateLocation: { LocationCode?: string }[];
                    SpecifiedLocation: { LocationCode?: string };
                }[];
                AlternateAirportMileage?: { AllowBorderCross?: boolean; Number: string };
                AlternatePCC?: {
                    FixedPCC?: boolean;
                    PseudoCityCode: string;
                    TravelPreferences?: {
                        TPA_Extensions?: {
                            ExcludeAlliancePref?: { Code: string }[];
                            IncludeAlliancePref?: { Code: string }[];
                        };
                        VendorPref?: {
                            Code: string;
                            PreferLevel?: "Only"
                            | "Unacceptable"
                            | "Preferred";
                        }[];
                    };
                }[];
                DiversityControl?: {
                    Dimensions: {
                        Carrier?: {
                            Default?: { Options: string };
                            OnlineIndicator?: boolean;
                            Override?: { Code: string; Options: string }[];
                            Weight: number;
                        };
                        InboundOutboundPairing?: { Duplicates?: number; Weight: number };
                        OperatingDuplicate?: {
                            PreferredCarrier?: { Code: string }[];
                            Weight: number;
                        };
                        PriceWeight?: number;
                        StopsNumber?: { Weight: number };
                        TimeOfDay?: {
                            Distribution?: {
                                Direction?: "Outbound" | "Inbound";
                                Endpoint?: "Departure" | "Arrival";
                                Leg?: number;
                                Range?: { Begin: string; End: string; Options?: string }[];
                            }[];
                            Weight: number;
                        };
                        TravelTime?: { Weight: number };
                    };
                    LowFareBucket: { FareCutOff?: string; Options?: string };
                };
                IntelliSellTransaction?: {
                    AirStreaming?: {
                        MaxItinsPerChunk: number;
                        Method: "Services"
                        | "WholeResponse";
                    };
                    CompressResponse?: { Value?: boolean };
                    MultipleSourcePerItinerary?: { Value: boolean };
                    RequestType?: { Name?: string };
                    ResponseSorting?: { SortFaresInsideItin?: boolean };
                    ServiceTag?: { Name?: string };
                    TranID?: Record<string, never>;
                };
                MultiTicket?: {
                    DisplayPolicy?: "SOW"
                    | "GOW2RT"
                    | "SCHS";
                    RequestedOneWays?: number;
                };
                RichContent?: {
                    FlightAmenities?: boolean;
                    Language?: string;
                    SeatInfo?: boolean;
                    UniversalProductAttributes?: boolean;
                    UniversalTicketingAttributes?: boolean;
                };
            }
            • OptionalAlternateAirportCities?: {
                  AlternateLocation: { LocationCode?: string }[];
                  SpecifiedLocation: { LocationCode?: string };
              }[]

              For each specified location, provide an alternate location.

            • OptionalAlternateAirportMileage?: { AllowBorderCross?: boolean; Number: string }

              Specify maximum allowed distance from specified airport.

              • OptionalAllowBorderCross?: boolean

                Parameter set from default to true. In addition to AlternateAirportMileage it enables to cross a given country border if an alternative Airport is in the range of requested mileage radius. Note- Allow to return alternate airports from other countries. Default value is true. AllowBorderCross configuration set at AlternateAirportMileage overrides values of the same parameter set at leg level.

                true
                
              • Number: string

                Mileage radius range to searchfor alternate airports.

                50
                
            • OptionalAlternatePCC?: {
                  FixedPCC?: boolean;
                  PseudoCityCode: string;
                  TravelPreferences?: {
                      TPA_Extensions?: {
                          ExcludeAlliancePref?: { Code: string }[];
                          IncludeAlliancePref?: { Code: string }[];
                      };
                      VendorPref?: {
                          Code: string;
                          PreferLevel?: "Only"
                          | "Unacceptable"
                          | "Preferred";
                      }[];
                  };
              }[]

              Alternate PCC information.

            • OptionalDiversityControl?: {
                  Dimensions: {
                      Carrier?: {
                          Default?: { Options: string };
                          OnlineIndicator?: boolean;
                          Override?: { Code: string; Options: string }[];
                          Weight: number;
                      };
                      InboundOutboundPairing?: { Duplicates?: number; Weight: number };
                      OperatingDuplicate?: {
                          PreferredCarrier?: { Code: string }[];
                          Weight: number;
                      };
                      PriceWeight?: number;
                      StopsNumber?: { Weight: number };
                      TimeOfDay?: {
                          Distribution?: {
                              Direction?: "Outbound" | "Inbound";
                              Endpoint?: "Departure" | "Arrival";
                              Leg?: number;
                              Range?: { Begin: string; End: string; Options?: string }[];
                          }[];
                          Weight: number;
                      };
                      TravelTime?: { Weight: number };
                  };
                  LowFareBucket: { FareCutOff?: string; Options?: string };
              }

              Diversity parameters control how we should itineraries be selected based not necessarily on cheapest price, but also on other criteria that guarantee a diverse response.

              • Dimensions: {
                    Carrier?: {
                        Default?: { Options: string };
                        OnlineIndicator?: boolean;
                        Override?: { Code: string; Options: string }[];
                        Weight: number;
                    };
                    InboundOutboundPairing?: { Duplicates?: number; Weight: number };
                    OperatingDuplicate?: {
                        PreferredCarrier?: { Code: string }[];
                        Weight: number;
                    };
                    PriceWeight?: number;
                    StopsNumber?: { Weight: number };
                    TimeOfDay?: {
                        Distribution?: {
                            Direction?: "Outbound" | "Inbound";
                            Endpoint?: "Departure" | "Arrival";
                            Leg?: number;
                            Range?: { Begin: string; End: string; Options?: string }[];
                        }[];
                        Weight: number;
                    };
                    TravelTime?: { Weight: number };
                }

                Parameters influencing diversity processin.

                • OptionalCarrier?: {
                      Default?: { Options: string };
                      OnlineIndicator?: boolean;
                      Override?: { Code: string; Options: string }[];
                      Weight: number;
                  }

                  Carrier preference (dimension) in diversity bucket.

                  • OptionalDefault?: { Options: string }

                    Indicates any carrier code not specified on "Override" element.

                    • Options: string

                      Number or percentage of options.

                      5
                      
                  • OptionalOnlineIndicator?: boolean

                    Allows the User to decide if Carrier Diversity should be applied to online versus interline itineraries.

                    false
                    
                    true
                    
                  • OptionalOverride?: { Code: string; Options: string }[]

                    Specifies exact carrier code for diversity bucket.

                  • Weight: number

                    Allows the User to define how much the Carrier dimension should affect the score of an itinerary in Diversity Swapper. The range of allowed values is an integer between 0 and 10.

                    1
                    
                • OptionalInboundOutboundPairing?: { Duplicates?: number; Weight: number }

                  Defines the requested ratio of inbounds to outbounds in the response.

                  • OptionalDuplicates?: number

                    Default value 1. Allows the User to define the preference how many options (itineraries) containing given outbound leg should be returned.

                    1
                    
                    1
                    
                  • Weight: number

                    Allows the User to define how much the Inbound Outbound Pairing dimension should affect the score of an itinerary in Diversity Swapper.

                    1
                    
                • OptionalOperatingDuplicate?: { PreferredCarrier?: { Code: string }[]; Weight: number }

                  Provides the capability to prefer itineraries that are unique if it comes to the operating flights. This is done by penalizing itineraries with duplicated operating flights.

                  • OptionalPreferredCarrier?: { Code: string }[]

                    Allows the User to define Preferred Validating Carrier Codes.

                  • Weight: number

                    Allows the User to define how much the Operating Duplicate dimension should affect the score of an itinerary in Diversity Swapper.The range of allowed values is an integer between 0 and 10.

                    1
                    
                • OptionalPriceWeight?: number

                  This defines how important price options are, on a scale of 0 to 10.

                  10
                  
                  10
                  
                • OptionalStopsNumber?: { Weight: number }

                  Provides the capability to prefer itineraries consisting non-stop flights over connecting ones. This dimension penalize itineraries consisting of direct and connecting flights.

                  • Weight: number

                    Defines how much the Stops Number dimension should affect the score of an itinerary in Diversity Swapper. The range of allowed values is an integer between 0 and 10.

                    1
                    
                • OptionalTimeOfDay?: {
                      Distribution?: {
                          Direction?: "Outbound" | "Inbound";
                          Endpoint?: "Departure" | "Arrival";
                          Leg?: number;
                          Range?: { Begin: string; End: string; Options?: string }[];
                      }[];
                      Weight: number;
                  }

                  Provides the capability to define preferred options distribution among different time ranges. Itineraries departing and/or arriving in the Time of Day range with bigger number/percentage of options specified be preferred over the others.

                  • OptionalDistribution?: {
                        Direction?: "Outbound" | "Inbound";
                        Endpoint?: "Departure" | "Arrival";
                        Leg?: number;
                        Range?: { Begin: string; End: string; Options?: string }[];
                    }[]

                    Exactly one attribute, either Direction or Leg must be provided.

                  • Weight: number

                    Allows the User to define how much the Time of Day dimension should affect the score of an itinerary in Diversity Swapper. The range of allowed values is an integer between 0 and 10.

                    1
                    
                • OptionalTravelTime?: { Weight: number }

                  Allows you to prefer itineraries with shorter duration over the other ones.

                  • Weight: number

                    Allows the User to define how much the Travel Time dimension should affect the score of an itinerary in Diversity Swapper.

                    1
                    
              • LowFareBucket: { FareCutOff?: string; Options?: string }

                Indicates low fare bucket options. This group of options will not be considered by diversity processing.

                • OptionalFareCutOff?: string

                  FareCutOff (optional) Indicates the fare lever above with the results will be considered by diversity processing.

                  25%
                  
                • OptionalOptions?: string

                  Number or percentage of options.

                  20%
                  
            • OptionalIntelliSellTransaction?: {
                  AirStreaming?: {
                      MaxItinsPerChunk: number;
                      Method: "Services" | "WholeResponse";
                  };
                  CompressResponse?: { Value?: boolean };
                  MultipleSourcePerItinerary?: { Value: boolean };
                  RequestType?: { Name?: string };
                  ResponseSorting?: { SortFaresInsideItin?: boolean };
                  ServiceTag?: { Name?: string };
                  TranID?: Record<string, never>;
              }

              IntelliSell Transaction Type.

              • OptionalAirStreaming?: { MaxItinsPerChunk: number; Method: "Services" | "WholeResponse" }

                Activates the AirStreaming functionality, which allows you to receive a chunked response. The MaxItinsPerChunk attribute is set individually by customers and configures the maximum number of itineraries per one chunk. This feature requires some development work on the customers side; therefore, more information is available in a dedicated Developer Administration Guide. The same document describes two available types of AirStreaming. Functionality is available in XML over the REST Endpoints. Applies to BargainFinderMax, Alternate Airport Shop, and Alternate Dates services.

                • MaxItinsPerChunk: number

                  Atributte is set individually by the customers and configures what is the maximum amount of itineraries per one chunk in the below example the value is set to max. 10 Itineraries per chunk.

                  10
                  
                • Method: "Services" | "WholeResponse"

                  There are 2 types of streaming available, therefore the Method of AirStreaming is equal either to "Services" or "WholeResponse".

                  Services
                  @enum {string}
              • OptionalCompressResponse?: { Value?: boolean }

                Indicator for whether the response should be compressed.

                • OptionalValue?: boolean

                  A value of "true" returns the response payload in a Base64 encoded GZIP format. For instructions on how to decode and unzip the response, see the Response design document.

                  false
                  
                  true
                  
              • OptionalMultipleSourcePerItinerary?: { Value: boolean }

                This allows you to specify what to do if the same journey is returned from ATPCO and NDC channels. By default, the cheaper will stay. In the case of a tie, the previously described solution will be in place. With this attribute, you can indicate show me everything, combine ATPCO and NDC fares as additional fares, regardless of whether they are the same price. You can use this for a single NDC fare or multiple, the same for APTCO, both single and multiple. NDC Applicable.

                • Value: boolean

                  Combine solutions from different services/sources as additional fares.

                  true
                  
              • OptionalRequestType?: { Name?: string }

                Identifier of the type of request.

                • OptionalName?: string

                  Type of request. It specifies the number of options returned for one-way, round-trip, single/double open jaw, and multi-destination trips with less than three legs. For complex,multi-destination, and circle trips with three or more legs, the number of options returned depends only the customer tier and with some exceptions. Name="50ITINS" Returns 50 itineraries in the response. The action code in the SOAP header must be set to BargainFinderMaxRQ.Name="100ITINS" Returns 100 itineraries. The action code in the SOAP header must be set to BargainFinderMaxRQ. Name="200ITINS" Returns 200 itineraries. The action code in the SOAP header must be set to BargainFinderMaxRQ. If a Request Type other than the ones listed above is used, the response is "No Availability". Using a Request Type name for a tier to which you are not subscribed alsoreturns a "No Availability" response.

                  50ITINS
                  
              • OptionalResponseSorting?: { SortFaresInsideItin?: boolean }

                Settings for IntelliSell merchandising.

                • OptionalSortFaresInsideItin?: boolean

                  If true, fares will be sorted inside the itinerary.

                  true
                  
              • OptionalServiceTag?: { Name?: string }

                Identifier of the transaction path.

                • OptionalName?: string

                  Service Tag name.

                  ABC1
                  
              • OptionalTranID?: Record<string, never>

                Transaction ID.

            • OptionalMultiTicket?: { DisplayPolicy?: "SOW" | "GOW2RT" | "SCHS"; RequestedOneWays?: number }

              MultiTicket allows you to request the lowest fare for an itinerary by considering two one-way flight combinations to be issued in two separate tickets. This will reduce the number of queries (single call versus multiple) by enabling you to request both one-way (OW) and round-trip (RT) solutions for the same itinerary simplifying the process.

              • OptionalDisplayPolicy?: "SOW" | "GOW2RT" | "SCHS"

                Display Option Policy, takes values - SOW - Show OneWays separately - first show standard RT output, then show OW for 1st and 2nd legs separately. Customer receives Round Trip and OneWays (outbound and inbound) solutions for the same request. OneWay solutions will be presented as 2 separate sections (OneWay Outbound and OneWay Inbound) and not as combination of two OneWay solutions combined into one round trip itinerary. Customer will be able to build the RT solution by choosing the most applicable, comfortable and cheapest OneWay solutions. SCHS - Group OneWays, match to RoundTrip and show cheaper solution. Customer receives cheapest solutions between Round Trip and 2 OneWay solution for the same request. OW solutions will be presented as combination of separate one way tickets into one round trip Itinerary.

                SOW
                @enum {string}
              • OptionalRequestedOneWays?: number

                Allow to set requested number of OneWays in MultiTicket processing.

                30
                
            • OptionalRichContent?: {
                  FlightAmenities?: boolean;
                  Language?: string;
                  SeatInfo?: boolean;
                  UniversalProductAttributes?: boolean;
                  UniversalTicketingAttributes?: boolean;
              }

              ATPCO RH content (Flight Amenities UTA, UPA). Control over which Rich Content elements should be returned in the response. Available for consumption based on approval and activation only. Please refer to your account manager for information.

              • OptionalFlightAmenities?: boolean

                FlightAmenities parameter allows to specify if a list of available flight amenities such as Seat Comfort, WiFi, Power etc. should be included in the response.

                false
                
                true
                
              • OptionalLanguage?: string

                Language(optional) (Default = English) allows specifying the desired language translations for Universal Ticketing and Product Attributes. If the language is not specified, it defaults to EN. If the translations are not available in provided language or the provided language code is incorrect, it defaults to EN.

                EN
                
              • OptionalSeatInfo?: boolean

                SeatInfo(optional) supports to return Seat Type and Seat Pitch information about what is included in the offer regarding seat type and seat pitch.

                false
                
                true
                
              • OptionalUniversalProductAttributes?: boolean

                UniversalProductAttributes(optional) parameter allows to return ATPCO Route Happy Universal Product Attributes content in the response.

                false
                
                true
                
              • OptionalUniversalTicketingAttributes?: boolean

                UniversalTicketingAttributes(optional) parameter allows to return ATPCO Route Happy Universal Ticket Attributes content in the response.

                false
                
                true
                
          • TravelerInfoSummary: {
                AirTravelerAvail: {
                    PassengerTypeQuantity: {
                        Code: string;
                        Quantity?: number;
                        TPA_Extensions?: {
                            VoluntaryChanges?: {
                                Match?: "All" | "Any" | "Info";
                                Penalty?: {
                                    Amount?: ...;
                                    Application?: ...;
                                    CurrencyCode?: ...;
                                    Exclude?: ...;
                                    Type?: ...;
                                }[];
                            };
                        };
                    }[];
                }[];
                PriceRequestInformation?: {
                    AccountCode?: { Code: string }[];
                    CurrencyCode?: string;
                    NegotiatedFareCode?: { Code?: string; Supplier?: { Code?: string }[] }[];
                    NegotiatedFaresOnly?: boolean;
                    ProcessThruFaresOnly?: boolean;
                    PurchaseDate?: string;
                    TPA_Extensions?: {
                        BrandedFareIndicators?: {
                            BrandFilters?: {
                                Brand?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                                NonBrandedFares?: { PreferLevel: "Unacceptable" | "Preferred" };
                            };
                            ItinParityBrandlessLeg?: boolean;
                            ItinParityFallbackMode?: "LegParity"
                            | "LowestSingle";
                            MultipleBrandedFares?: boolean;
                            ParityMode?: "Leg" | "Itin";
                            ParityModeForLowest?: "None" | "Leg" | "Itin";
                            ReturnBrandAncillaries?: boolean;
                            SingleBrandedFare?: boolean;
                            UpsellLimit?: number;
                        };
                        Indicators?: {
                            MinMaxStay?: { Ind: boolean };
                            RefundPenalty?: { Ind: boolean };
                            ResTicketing?: { Ind: boolean };
                        };
                        OBFees?: Record<string, never>;
                        PassengerStatus?: {
                            CityCode?: string;
                            CountryCode?: string;
                            StateCode?: string;
                            Type: "N" | "R" | "E";
                        };
                        PointOfSaleOverride?: { Code: string };
                        PointOfTicketingOverride?: { Code: string };
                        Priority?: {
                            DirectFlights?: { Priority: number };
                            Price?: { Priority: number };
                            Time?: { Priority: number };
                            Vendor?: { Priority: number };
                        };
                        PrivateFare?: { Ind?: boolean };
                        PublicFare?: { Ind?: boolean };
                    };
                };
                TPA_Extensions?: Record<string, never>;
            }
            • AirTravelerAvail: {
                  PassengerTypeQuantity: {
                      Code: string;
                      Quantity?: number;
                      TPA_Extensions?: {
                          VoluntaryChanges?: {
                              Match?: "All" | "Any" | "Info";
                              Penalty?: {
                                  Amount?: ...;
                                  Application?: ...;
                                  CurrencyCode?: ...;
                                  Exclude?: ...;
                                  Type?: ...;
                              }[];
                          };
                      };
                  }[];
              }[]

              Passenger numbers and types.

            • OptionalPriceRequestInformation?: {
                  AccountCode?: { Code: string }[];
                  CurrencyCode?: string;
                  NegotiatedFareCode?: { Code?: string; Supplier?: { Code?: string }[] }[];
                  NegotiatedFaresOnly?: boolean;
                  ProcessThruFaresOnly?: boolean;
                  PurchaseDate?: string;
                  TPA_Extensions?: {
                      BrandedFareIndicators?: {
                          BrandFilters?: {
                              Brand?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                              NonBrandedFares?: { PreferLevel: "Unacceptable" | "Preferred" };
                          };
                          ItinParityBrandlessLeg?: boolean;
                          ItinParityFallbackMode?: "LegParity"
                          | "LowestSingle";
                          MultipleBrandedFares?: boolean;
                          ParityMode?: "Leg" | "Itin";
                          ParityModeForLowest?: "None" | "Leg" | "Itin";
                          ReturnBrandAncillaries?: boolean;
                          SingleBrandedFare?: boolean;
                          UpsellLimit?: number;
                      };
                      Indicators?: {
                          MinMaxStay?: { Ind: boolean };
                          RefundPenalty?: { Ind: boolean };
                          ResTicketing?: { Ind: boolean };
                      };
                      OBFees?: Record<string, never>;
                      PassengerStatus?: {
                          CityCode?: string;
                          CountryCode?: string;
                          StateCode?: string;
                          Type: "N" | "R" | "E";
                      };
                      PointOfSaleOverride?: { Code: string };
                      PointOfTicketingOverride?: { Code: string };
                      Priority?: {
                          DirectFlights?: { Priority: number };
                          Price?: { Priority: number };
                          Time?: { Priority: number };
                          Vendor?: { Priority: number };
                      };
                      PrivateFare?: { Ind?: boolean };
                      PublicFare?: { Ind?: boolean };
                  };
              }

              Pricing source, if it is a reprice request with negotiated fares.

              • OptionalAccountCode?: { Code: string }[]

                The unique code used to represent the account.

              • OptionalCurrencyCode?: string

                Currency preferred for reviewing monetary values, in ISO 4217. NDC Applicable. codes.

                USD
                
              • OptionalNegotiatedFareCode?: { Code?: string; Supplier?: { Code?: string }[] }[]

                The unique code used to represent the negotiaded Fare.

              • OptionalNegotiatedFaresOnly?: boolean

                A value of "true" returns only the designated corporate ID fares, even if a less expensive fare exists.

                true
                
              • OptionalProcessThruFaresOnly?: boolean

                A value of "true" returns only Through fares.

                true
                
              • OptionalPurchaseDate?: string

                Format: date

                Alternate purchase date to retrieve the fares.

                2020-12-23
                
              • OptionalTPA_Extensions?: {
                    BrandedFareIndicators?: {
                        BrandFilters?: {
                            Brand?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                            NonBrandedFares?: { PreferLevel: "Unacceptable" | "Preferred" };
                        };
                        ItinParityBrandlessLeg?: boolean;
                        ItinParityFallbackMode?: "LegParity"
                        | "LowestSingle";
                        MultipleBrandedFares?: boolean;
                        ParityMode?: "Leg" | "Itin";
                        ParityModeForLowest?: "None" | "Leg" | "Itin";
                        ReturnBrandAncillaries?: boolean;
                        SingleBrandedFare?: boolean;
                        UpsellLimit?: number;
                    };
                    Indicators?: {
                        MinMaxStay?: { Ind: boolean };
                        RefundPenalty?: { Ind: boolean };
                        ResTicketing?: { Ind: boolean };
                    };
                    OBFees?: Record<string, never>;
                    PassengerStatus?: {
                        CityCode?: string;
                        CountryCode?: string;
                        StateCode?: string;
                        Type: "N" | "R" | "E";
                    };
                    PointOfSaleOverride?: { Code: string };
                    PointOfTicketingOverride?: { Code: string };
                    Priority?: {
                        DirectFlights?: { Priority: number };
                        Price?: { Priority: number };
                        Time?: { Priority: number };
                        Vendor?: { Priority: number };
                    };
                    PrivateFare?: { Ind?: boolean };
                    PublicFare?: { Ind?: boolean };
                }

                Additional elements and attributes to be included, if required.

                • OptionalBrandedFareIndicators?: {
                      BrandFilters?: {
                          Brand?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                          NonBrandedFares?: { PreferLevel: "Unacceptable" | "Preferred" };
                      };
                      ItinParityBrandlessLeg?: boolean;
                      ItinParityFallbackMode?: "LegParity"
                      | "LowestSingle";
                      MultipleBrandedFares?: boolean;
                      ParityMode?: "Leg" | "Itin";
                      ParityModeForLowest?: "None" | "Leg" | "Itin";
                      ReturnBrandAncillaries?: boolean;
                      SingleBrandedFare?: boolean;
                      UpsellLimit?: number;
                  }

                  Indicators for branded fares.

                  • OptionalBrandFilters?: {
                        Brand?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                        NonBrandedFares?: { PreferLevel: "Unacceptable" | "Preferred" };
                    }

                    Preferred or excluded brand type codes for the flexible fare leg.

                    • OptionalBrand?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[]

                      Brand information.

                    • OptionalNonBrandedFares?: { PreferLevel: "Unacceptable" | "Preferred" }

                      Allows you to exclude non-branded fares in the shopping response. When the PreferLevel is set to Preferred," this means Use non-branded fares. If this is single filter (no other preferred elements), the meaning is Use ONLY non-branded fares. If other preferred filters are also used, the meaning is Use non-branded fares or fares with given (in filters) brands. When the PreferLevel is set to Unacceptable," this means Do not use non-branded fares. If this is single filter (no other unacceptable elements), the meaning is Use ONLY branded fares skip all non-branded. If other unacceptable filters are also used, the meaning is Use only branded fares excluding fares matching given (in filters) brands.

                      • PreferLevel: "Unacceptable" | "Preferred"

                        Preference level for all combinations inside one element.

                        Preferred
                        @enum {string}
                  • OptionalItinParityBrandlessLeg?: boolean

                    Parameter to Allow for Brand-less Leg Solutions when Itinerary parity is requested.

                    true
                    
                  • OptionalItinParityFallbackMode?: "LegParity" | "LowestSingle"

                    Parameter to choose the Fall Back Mode when brand Itinerary parity cannot be met (Lowest single Brand or Leg Parity).

                    LegParity
                    @enum {string}
                  • OptionalMultipleBrandedFares?: boolean

                    Return multiple brand options per itin. NDC Applicable.

                    true
                    
                  • OptionalParityMode?: "Leg" | "Itin"

                    Parameter to control the Brand Parity calculation logic preference (Leg Parity or Itinerary Parity). When specifying the ParityMode="Itin" at the request level without specifying the ItinParityFallbackMode, then the default (BFS) single lowest brand will be applied and single branded options returned.

                    Itin
                    @enum {string}
                  • OptionalParityModeForLowest?: "None" | "Leg" | "Itin"

                    Parameter which gives the ability to apply parity mode for the main/primary fare. Possible Values: Leg or Itinerary. If set, given parity mode will be forced on the cheapest branded fare solution. If not specified, no parity (None) is forced on the cheapest branded fare solution. NOTE: It"s designed to work with MultipleBrandedFares feature only.

                    Leg
                    @enum {string}
                  • OptionalReturnBrandAncillaries?: boolean

                    Parameter to request brand attributes, allows Sabre agencies to return additional brand attributes in the response it returns the structured data filed in table 166. Brand attributes is a feature within the Branded fares capabilities and will be returned with single and multiple branded fares request.

                    true
                    
                  • OptionalSingleBrandedFare?: boolean

                    Return single brand option per itin.

                    true
                    
                  • OptionalUpsellLimit?: number

                    Parameter to Limit of the Number of Upsell solutions to be returned.

                    2
                    
                • OptionalIndicators?: {
                      MinMaxStay?: { Ind: boolean };
                      RefundPenalty?: { Ind: boolean };
                      ResTicketing?: { Ind: boolean };
                  }

                  Restricts fares that can be returned in the response. If you use this element, you must provide all children.

                  • OptionalMinMaxStay?: { Ind: boolean }

                    Indicator for whether to include fares that have a min/max stay requirement. Valid values are:true or 1 Includes fares with a min/max stay requirement in the response. false or 0 Do not include fares with a min/max stay requirement in the response. Note This is negation of the XS qualifier.

                    • Ind: boolean

                      Indicator for whether the fare can contain a Minimum Maximum Stay restriction. If the value is "true", the response can contain fares that have a min/max stay restriction. If the value is "false", no fares that include a min/max stay requirement will be included in the response.

                      true
                      
                  • OptionalRefundPenalty?: { Ind: boolean }

                    Indicator for whether to include fares that have a refund penalty. Note This is negation of the XS qualifier.

                    • Ind: boolean

                      Indicator for whether the fare can contain a refund penalty. If the value is "true", the response can contain fares that have a refund penalty. If the value is "false", no fares that include a refund penalty requirement will be included in the response.

                      true
                      
                  • OptionalResTicketing?: { Ind: boolean }

                    Indicator for whether to include fares that have a reservation/ticketing requirement.

                    • Ind: boolean

                      Indicator for whether the fare can contain a ticketing policy. If the value is "true", the response can contain fares that have a reservation/ticketing requirement. If the value is "false", no fares that include a reservation/ticketing requirement will be included in the response.

                      true
                      
                • OptionalOBFees?: Record<string, never>

                  Collection of OB fees.

                • OptionalPassengerStatus?: {
                      CityCode?: string;
                      CountryCode?: string;
                      StateCode?: string;
                      Type: "N" | "R" | "E";
                  }

                  Address information and passenger type for the passenger.

                  • OptionalCityCode?: string

                    Three-character city code.Cannot combine with StateCode or CountryCode.

                    DFW
                    
                  • OptionalCountryCode?: string

                    Two-character ISO Country code. Cannot combine with CityCode.

                    US
                    
                  • OptionalStateCode?: string

                    Postal service standard code or abbreviation for the state, province, or region. Cannot combine with CityCode.

                    123456
                    
                  • Type: "N" | "R" | "E"

                    Passenger type.Type="R" -Residency.Type="E" - Employee .Type="N" - Nationality.

                    N
                    @enum {string}
                • OptionalPointOfSaleOverride?: { Code: string }

                  Returns the fares available for the specified point of sale. These fares will be priced in the currency of the specified point of sale. This allows you to override the point of origin country and validate applicable fare restrictions to selling a fare in the requested country. The currency is overridden by PriceRequestInformation@CurrencyCode.

                  • Code: string

                    Three-character city code.

                    DFW
                    
                • OptionalPointOfTicketingOverride?: { Code: string }

                  Point Of Ticketing Override information.

                  • Code: string

                    Three-character city code.

                    AAA
                    
                • OptionalPriority?: {
                      DirectFlights?: { Priority: number };
                      Price?: { Priority: number };
                      Time?: { Priority: number };
                      Vendor?: { Priority: number };
                  }

                  Governs the order in which flights are returned.

                  • OptionalDirectFlights?: { Priority: number }

                    Priority level the user puts on receiving direct flights.

                    • Priority: number

                      Priority order of direct flights. Valid values are: 1 through 4.

                      2
                      
                  • OptionalPrice?: { Priority: number }

                    Priority level the user puts on receiving lower prices.

                    • Priority: number

                      Priority order of price. Valid values are: 1 through 4.

                      1
                      
                  • OptionalTime?: { Priority: number }

                    Priority level the user puts on having the flights at a desired time. Prefer itineraries departing closer to requested departure time.

                    • Priority: number

                      Priority order of departure time. Valid values are: 1 through 4.

                      3
                      
                  • OptionalVendor?: { Priority: number }

                    Promote certain marketing carriers over all the others in the returning results (configured in rules).

                    • Priority: number

                      Priority order of specified carrier. Valid values are: 1 through 4.

                      4
                      
                • OptionalPrivateFare?: { Ind?: boolean }

                  Indicator for whether to search only private fares.

                  • OptionalInd?: boolean

                    A value of "true" returns only private fares.

                    false
                    
                    true
                    
                • OptionalPublicFare?: { Ind?: boolean }

                  Indicator for whether to search only public fares.

                  • OptionalInd?: boolean

                    A value of "true" returns only public fares.

                    false
                    
                    true
                    
            • OptionalTPA_Extensions?: Record<string, never>

              Additional elements and attributes to be included if required.

          • OptionalTravelPreferences?: {
                AncillaryFees?: {
                    AncillaryFeeGroup?: { Code: string; Count?: string }[];
                    Enable: boolean;
                    Summary?: boolean;
                };
                Baggage?: {
                    CarryOnInfo?: boolean;
                    Description?: boolean;
                    FreeCarryOn?: boolean;
                    FreePieceRequired?: boolean;
                    RequestedPieces?: number;
                    RequestType?: "C"
                    | "A"
                    | "N";
                };
                CabinPref?: {
                    Cabin?: | "PremiumFirst"
                    | "First"
                    | "PremiumBusiness"
                    | "Business"
                    | "PremiumEconomy"
                    | "Economy"
                    | "Y"
                    | "S"
                    | "C"
                    | "J"
                    | "F"
                    | "P";
                    PreferLevel?: "Preferred";
                }[];
                ETicketDesired?: boolean;
                FlightTypePref?: { MaxConnections?: number
                | boolean };
                Hybrid?: boolean;
                LookForAlternatives?: boolean;
                MaxStopsQuantity?: number;
                SpanishFamilyDiscount?: { Level: 1 | 2 };
                TPA_Extensions?: {
                    AdditionalFareLimit?: { Value: number };
                    AvoidCabinDowngrade?: { Mode: "All" | "Main" | "None" };
                    ClassOfService?: {
                        Code: string;
                        PreferLevel?: "Unacceptable" | "Preferred";
                    }[];
                    CodeShareIndicator?: { ExcludeCodeshare: boolean; KeepOnlines?: boolean };
                    CountryPref?: { Code: string; PreferLevel: string }[];
                    DataSources?: {
                        ATPCO?: "Enable" | "Disable";
                        LCC?: "Enable" | "Disable";
                        NDC?: "Enable" | "Disable";
                    };
                    DiversityParameters?: {
                        AdditionalNonStopsNumber?: number;
                        AdditionalNonStopsPercentage?: number;
                        InboundOutboundPairing?: number;
                        TimeOfDayDistribution?: {
                            TimeOfDayRange: { Begin: string; End: string; Percentage: number }[];
                        };
                        Weightings?: { PriceWeight: number; TravelTimeWeight: number };
                    };
                    ExcludeAlliancePref?: { Code: string }[];
                    ExcludeCallDirectCarriers?: { Enabled?: boolean };
                    ExcludeVendorPref?: { Code?: string }[];
                    ExemptAllTaxes?: { Value: boolean };
                    ExemptAllTaxesAndFees?: { Value: boolean };
                    ExemptTax?: { TaxCode: string }[];
                    FareBasis?: { Code: string; PreferLevel?: "Unacceptable" | "Preferred" }[];
                    FareFocusRules?: { Exclude?: boolean };
                    FareType?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                    FlexibleFares?: {
                        FareParameters: {
                            AccountCode?: { Code: string }[];
                            AvoidCabinDowngrade?: { Mode: "All" | "Main" | "None" };
                            Baggage?: { FreePieceRequired?: boolean };
                            BrandedFareIndicators?: {
                                BrandFilters?: {
                                    Brand?: { Code: ...; PreferLevel: ... }[];
                                    NonBrandedFares?: { PreferLevel: (...) | (...) };
                                };
                                ItinParityBrandlessLeg?: boolean;
                                ItinParityFallbackMode?: "LegParity"
                                | "LowestSingle";
                                MultipleBrandedFares?: boolean;
                                ParityMode?: "Leg" | "Itin";
                                ParityModeForLowest?: "None" | "Leg" | "Itin";
                                SingleBrandedFare?: boolean;
                                UpsellLimit?: number;
                            };
                            Cabin?: {
                                Type: | "PremiumFirst"
                                | "First"
                                | "PremiumBusiness"
                                | "Business"
                                | "PremiumEconomy"
                                | "Economy"
                                | "Y"
                                | "S"
                                | "C"
                                | "J"
                                | "F"
                                | "P";
                            };
                            ClassOfService?: {
                                Code: string;
                                PreferLevel?: "Unacceptable"
                                | "Preferred";
                            }[];
                            CorporateID?: { Code: string }[];
                            ExcludeRestricted?: { Ind: boolean };
                            FareBasis?: { Code: string; PreferLevel?: "Unacceptable" | "Preferred" }[];
                            FareType?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                            JumpCabinLogic?: { Disabled: boolean };
                            KeepSameCabin?: { Enabled: boolean };
                            Leg?: {
                                Baggage?: { FreePieceRequired?: boolean };
                                BrandFilters?: {
                                    Brand?: (...)[];
                                    NonBrandedFares?: { PreferLevel: ... };
                                };
                                Cabin?: {
                                    Type: | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                };
                                ClassOfService?: { Code: ...; PreferLevel?: ... }[];
                                FareBasis?: { Code: ...; PreferLevel?: ... }[];
                                FareType?: { Code: ...; PreferLevel: ... }[];
                                Num: number;
                                PriorityBoarding?: Record<string, never>;
                                Seats?: Record<string, never>;
                                SeatSelection?: { FreeSeatSelection?: boolean };
                            }[];
                            MinMaxStay?: { Ind: boolean };
                            NegotiatedFaresOnly?: { Ind: boolean };
                            PassengerTypeQuantity?: { Code: string; Quantity?: number }[];
                            PriorityBoarding?: Record<string, never>;
                            PrivateFare?: { Ind: boolean };
                            PublicFare?: { Ind: boolean };
                            RefundPenalty?: { Ind: boolean };
                            ResTicketing?: { Ind: boolean };
                            Seats?: Record<string, never>;
                            SeatSelection?: { FreeSeatSelection?: boolean };
                            UseNegotiatedFares?: { Ind: boolean };
                            UsePassengerFares?: { Ind: boolean };
                            VoluntaryChanges?: {
                                Match?: "All" | "Any" | "Info";
                                Penalty?: {
                                    Amount?: number;
                                    Application?: (...) | (...);
                                    CurrencyCode?: string;
                                    Exclude?: boolean;
                                    Type?: (...) | (...);
                                }[];
                            };
                            XOFares?: { Ind: boolean };
                        }[];
                    };
                    FlightStopsAsConnections?: { Ind: boolean };
                    GoverningCarrierOverride?: { AirlineCode: string };
                    IncludeAlliancePref?: { Code: string }[];
                    JumpCabinLogic?: { Disabled: boolean };
                    KeepSameCabin?: { Enabled: boolean };
                    LongConnectPoints?: { Max?: number; Min?: number };
                    LongConnectTime?: {
                        Enable?: boolean;
                        Max?: number;
                        Min?: number;
                        NumberOfSolutions?: string;
                    };
                    LowCostCarriersProcessing?: { Disable?: boolean };
                    NDCIndicators?: {
                        CarrierSpecificQualifiers?: {
                            AccountCode?: { Code: string };
                            CarrierCode: string;
                            FrequentFlyer?: {
                                AccountNumber: string;
                                AirlineDesignator: string;
                                PassengerId: string;
                            }[];
                            Qualifier?: { Name: string; Value: string }[];
                        }[];
                        FrequentFlyer?: {
                            AccountNumber: string;
                            AirlineDesignator: string;
                            PassengerId: string;
                        }[];
                        MaxNumberOfUpsells?: { Value: number };
                        MultipleBrandedFares?: { Value: boolean };
                        ParityMode?: { Mode: "Leg" | "Itin" };
                        Qualifier?: { Name: string; Value: string }[];
                        ShowOneWays?: { Value: boolean };
                        SingleBrandedFare?: { Value: boolean };
                    };
                    NumTrips?: { Number?: number };
                    OnlineIndicator?: { Ind?: boolean };
                    PreferNDCSourceOnTie?: { Value: boolean };
                    PriorityBoarding?: { FreePriorityBoarding?: boolean; Info?: boolean };
                    RetailerRules?: { Force?: boolean; RetailerRule: { Code: string }[] };
                    Seats?: {
                        Seat?: { AtLeast?: number; LessThan?: number; Type?: string }[];
                    };
                    SeatSelection?: { FreeSeatSelection?: boolean; Info?: boolean };
                    SellingLevels?: {
                        SellingLevelRules?: { Ignore: boolean };
                        ShowFareAmounts?: { Adjusted?: boolean; Original?: boolean };
                    };
                    SettlementMethod?: string;
                    Taxes?: { Tax?: { Amount?: number; TaxCode: string }[] };
                    TicketingSumOfLocals?: { Enable?: boolean };
                    TripType?: {
                        Value?: "OneWay" | "Return" | "Circle" | "OpenJaw" | "Other";
                    };
                    ValidatingCarrier?: {
                        Code?: string;
                        Preference?: { Code: string; Level: "Unacceptable"
                        | "Preferred" }[];
                    };
                    ValidatingCarrierCheck?: {
                        Carrier?: { Code: string }[];
                        Country?: { Code: string }[];
                        IETValidation: { Ind: boolean };
                        SettlementValidation: { Ind: boolean };
                    };
                    VerificationItinCallLogic?: {
                        AlwaysCheckAvailability?: boolean;
                        Value?: "L"
                        | "M"
                        | "B";
                    };
                    XOFares?: { Value: boolean };
                };
                ValidInterlineTicket?: boolean;
                VendorPref?: {
                    Code?: string;
                    PreferLevel?: "Only"
                    | "Unacceptable"
                    | "Preferred";
                    Type?: "Marketing" | "Operating";
                }[];
                VendorPrefApplicability?: {
                    Type: "Marketing"
                    | "Operating";
                    Value: "AllSegments" | "AtLeastOneSegment";
                }[];
                VendorPrefPairing?: {
                    Applicability?: "AllSegments"
                    | "AtLeastOneSegment";
                    PreferLevel: "Unacceptable" | "Preferred";
                    VendorPref: { Code: string; Type?: "Marketing" | "Operating" }[];
                }[];
            }

            If present, will validate options on base of interline ticketing agreement.

            • OptionalAncillaryFees?: {
                  AncillaryFeeGroup?: { Code: string; Count?: string }[];
                  Enable: boolean;
                  Summary?: boolean;
              }

              Ancillary Fees processing options.

              • OptionalAncillaryFeeGroup?: { Code: string; Count?: string }[]

                List of requested groups of ancillary fees.

              • Enable: boolean

                Indicator for whether to enable the ancillary fees. Enable="true" Enable ancillary fees. Enable="false" Do not enable ancillary fees.

                true
                
              • OptionalSummary?: boolean

                Indicator for whether this is a summary request. Summary="true" Indicates the request is a summary request. Summary="false" Indicates the request is not a summary request.

                true
                
            • OptionalBaggage?: {
                  CarryOnInfo?: boolean;
                  Description?: boolean;
                  FreeCarryOn?: boolean;
                  FreePieceRequired?: boolean;
                  RequestedPieces?: number;
                  RequestType?: "C" | "A" | "N";
              }

              This element allows user to get baggage information.

              • OptionalCarryOnInfo?: boolean

                Show Carry-on baggage info in response - available on Main Fare.

                true
                
              • OptionalDescription?: boolean

                Indicates whether baggage text information should be returned. If set to "true" - baggage text information returned in response (if applicable). If "false" baggage text information is not returned in response. If RequestType="N", "Description" parameter will be ignored.

                false
                
                true
                
              • OptionalFreeCarryOn?: boolean

                Freilter solution by availability with Free Carry-On baggage - available on Main Fare, Main Fare Leg, Flex Fares, Flex Fares Leg.

                true
                
              • OptionalFreePieceRequired?: boolean

                Free baggage piece is required on the whole journey.

                true
                
              • OptionalRequestedPieces?: number

                Format: int16

                Number of baggage pieces requested.

                4
                
              • OptionalRequestType?: "C" | "A" | "N"

                Specifies baggage information type. "A" - allowance only; "C" - allowance and charges; "N" - no baggage information.

                A
                @enum {string}
            • OptionalCabinPref?: {
                  Cabin?:
                      | "PremiumFirst"
                      | "First"
                      | "PremiumBusiness"
                      | "Business"
                      | "PremiumEconomy"
                      | "Economy"
                      | "Y"
                      | "S"
                      | "C"
                      | "J"
                      | "F"
                      | "P";
                  PreferLevel?: "Preferred";
              }[]

              Preferred cabin(s) to be used in a search for this leg level (if SegmentType is O) or segment (if SegmentType is X). The cabin type you specify in this element will override the cabin type specified at the request level for this leg/segment. If you do not specify a cabin type at both the leg/segment level and request level, the default cabin is Economy.

            • OptionalETicketDesired?: boolean

              Indicator for whether to include e-ticketable flights in the response. Valid values are "true or "false". If set to "true", return only flights that are e-ticketable, when set to "false" return only flights that are non e-ticketable.

              false
              
              true
              
            • OptionalFlightTypePref?: { MaxConnections?: number | boolean }

              Preferred flight characteristics to be used in a search.

              • OptionalMaxConnections?: number | boolean

                Maximum number of connections requested in each leg. Itineraries with more connections than the specified value will not be returned. NDC Applicable.

                1
                
            • OptionalHybrid?: boolean

              If set to "true", returned shopping results will contain hybrid carriers content, if available on the market.

              true
              
              true
              
            • OptionalLookForAlternatives?: boolean

              Indicator to specify to return alternative options or the lowest fare in the response. If false no alternative solutions will be returned in response.

              true
              
              true
              
            • OptionalMaxStopsQuantity?: number

              Indicates the max number of stops requested in each leg. Itineraries with more stops than the specified value will not be returned. MaxStopsQuantity should not be used with "FlightTypePref@MaxConnections"option or other way around. NDC Applicable.

              2
              
            • OptionalSpanishFamilyDiscount?: { Level: 1 | 2 }

              Spanish Large Family Discount processing options.

              • Level: 1 | 2

                Format: int16

                Spanish Large Family Discount Level. Valid values are 1 or 2. Spanish Large Family Discount Level 1 - 5 % of the base fare. Spanish Large Family Discount Level 2 - 10% of the base fare.

                1
                @enum {integer}
            • OptionalTPA_Extensions?: {
                  AdditionalFareLimit?: { Value: number };
                  AvoidCabinDowngrade?: { Mode: "All" | "Main" | "None" };
                  ClassOfService?: {
                      Code: string;
                      PreferLevel?: "Unacceptable" | "Preferred";
                  }[];
                  CodeShareIndicator?: { ExcludeCodeshare: boolean; KeepOnlines?: boolean };
                  CountryPref?: { Code: string; PreferLevel: string }[];
                  DataSources?: {
                      ATPCO?: "Enable" | "Disable";
                      LCC?: "Enable" | "Disable";
                      NDC?: "Enable" | "Disable";
                  };
                  DiversityParameters?: {
                      AdditionalNonStopsNumber?: number;
                      AdditionalNonStopsPercentage?: number;
                      InboundOutboundPairing?: number;
                      TimeOfDayDistribution?: {
                          TimeOfDayRange: { Begin: string; End: string; Percentage: number }[];
                      };
                      Weightings?: { PriceWeight: number; TravelTimeWeight: number };
                  };
                  ExcludeAlliancePref?: { Code: string }[];
                  ExcludeCallDirectCarriers?: { Enabled?: boolean };
                  ExcludeVendorPref?: { Code?: string }[];
                  ExemptAllTaxes?: { Value: boolean };
                  ExemptAllTaxesAndFees?: { Value: boolean };
                  ExemptTax?: { TaxCode: string }[];
                  FareBasis?: { Code: string; PreferLevel?: "Unacceptable" | "Preferred" }[];
                  FareFocusRules?: { Exclude?: boolean };
                  FareType?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                  FlexibleFares?: {
                      FareParameters: {
                          AccountCode?: { Code: string }[];
                          AvoidCabinDowngrade?: { Mode: "All" | "Main" | "None" };
                          Baggage?: { FreePieceRequired?: boolean };
                          BrandedFareIndicators?: {
                              BrandFilters?: {
                                  Brand?: { Code: ...; PreferLevel: ... }[];
                                  NonBrandedFares?: { PreferLevel: (...) | (...) };
                              };
                              ItinParityBrandlessLeg?: boolean;
                              ItinParityFallbackMode?: "LegParity"
                              | "LowestSingle";
                              MultipleBrandedFares?: boolean;
                              ParityMode?: "Leg" | "Itin";
                              ParityModeForLowest?: "None" | "Leg" | "Itin";
                              SingleBrandedFare?: boolean;
                              UpsellLimit?: number;
                          };
                          Cabin?: {
                              Type: | "PremiumFirst"
                              | "First"
                              | "PremiumBusiness"
                              | "Business"
                              | "PremiumEconomy"
                              | "Economy"
                              | "Y"
                              | "S"
                              | "C"
                              | "J"
                              | "F"
                              | "P";
                          };
                          ClassOfService?: {
                              Code: string;
                              PreferLevel?: "Unacceptable"
                              | "Preferred";
                          }[];
                          CorporateID?: { Code: string }[];
                          ExcludeRestricted?: { Ind: boolean };
                          FareBasis?: { Code: string; PreferLevel?: "Unacceptable" | "Preferred" }[];
                          FareType?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                          JumpCabinLogic?: { Disabled: boolean };
                          KeepSameCabin?: { Enabled: boolean };
                          Leg?: {
                              Baggage?: { FreePieceRequired?: boolean };
                              BrandFilters?: {
                                  Brand?: (...)[];
                                  NonBrandedFares?: { PreferLevel: ... };
                              };
                              Cabin?: {
                                  Type: | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              };
                              ClassOfService?: { Code: ...; PreferLevel?: ... }[];
                              FareBasis?: { Code: ...; PreferLevel?: ... }[];
                              FareType?: { Code: ...; PreferLevel: ... }[];
                              Num: number;
                              PriorityBoarding?: Record<string, never>;
                              Seats?: Record<string, never>;
                              SeatSelection?: { FreeSeatSelection?: boolean };
                          }[];
                          MinMaxStay?: { Ind: boolean };
                          NegotiatedFaresOnly?: { Ind: boolean };
                          PassengerTypeQuantity?: { Code: string; Quantity?: number }[];
                          PriorityBoarding?: Record<string, never>;
                          PrivateFare?: { Ind: boolean };
                          PublicFare?: { Ind: boolean };
                          RefundPenalty?: { Ind: boolean };
                          ResTicketing?: { Ind: boolean };
                          Seats?: Record<string, never>;
                          SeatSelection?: { FreeSeatSelection?: boolean };
                          UseNegotiatedFares?: { Ind: boolean };
                          UsePassengerFares?: { Ind: boolean };
                          VoluntaryChanges?: {
                              Match?: "All" | "Any" | "Info";
                              Penalty?: {
                                  Amount?: number;
                                  Application?: (...) | (...);
                                  CurrencyCode?: string;
                                  Exclude?: boolean;
                                  Type?: (...) | (...);
                              }[];
                          };
                          XOFares?: { Ind: boolean };
                      }[];
                  };
                  FlightStopsAsConnections?: { Ind: boolean };
                  GoverningCarrierOverride?: { AirlineCode: string };
                  IncludeAlliancePref?: { Code: string }[];
                  JumpCabinLogic?: { Disabled: boolean };
                  KeepSameCabin?: { Enabled: boolean };
                  LongConnectPoints?: { Max?: number; Min?: number };
                  LongConnectTime?: {
                      Enable?: boolean;
                      Max?: number;
                      Min?: number;
                      NumberOfSolutions?: string;
                  };
                  LowCostCarriersProcessing?: { Disable?: boolean };
                  NDCIndicators?: {
                      CarrierSpecificQualifiers?: {
                          AccountCode?: { Code: string };
                          CarrierCode: string;
                          FrequentFlyer?: {
                              AccountNumber: string;
                              AirlineDesignator: string;
                              PassengerId: string;
                          }[];
                          Qualifier?: { Name: string; Value: string }[];
                      }[];
                      FrequentFlyer?: {
                          AccountNumber: string;
                          AirlineDesignator: string;
                          PassengerId: string;
                      }[];
                      MaxNumberOfUpsells?: { Value: number };
                      MultipleBrandedFares?: { Value: boolean };
                      ParityMode?: { Mode: "Leg" | "Itin" };
                      Qualifier?: { Name: string; Value: string }[];
                      ShowOneWays?: { Value: boolean };
                      SingleBrandedFare?: { Value: boolean };
                  };
                  NumTrips?: { Number?: number };
                  OnlineIndicator?: { Ind?: boolean };
                  PreferNDCSourceOnTie?: { Value: boolean };
                  PriorityBoarding?: { FreePriorityBoarding?: boolean; Info?: boolean };
                  RetailerRules?: { Force?: boolean; RetailerRule: { Code: string }[] };
                  Seats?: { Seat?: { AtLeast?: number; LessThan?: number; Type?: string }[] };
                  SeatSelection?: { FreeSeatSelection?: boolean; Info?: boolean };
                  SellingLevels?: {
                      SellingLevelRules?: { Ignore: boolean };
                      ShowFareAmounts?: { Adjusted?: boolean; Original?: boolean };
                  };
                  SettlementMethod?: string;
                  Taxes?: { Tax?: { Amount?: number; TaxCode: string }[] };
                  TicketingSumOfLocals?: { Enable?: boolean };
                  TripType?: { Value?: "OneWay" | "Return" | "Circle" | "OpenJaw" | "Other" };
                  ValidatingCarrier?: {
                      Code?: string;
                      Preference?: { Code: string; Level: "Unacceptable" | "Preferred" }[];
                  };
                  ValidatingCarrierCheck?: {
                      Carrier?: { Code: string }[];
                      Country?: { Code: string }[];
                      IETValidation: { Ind: boolean };
                      SettlementValidation: { Ind: boolean };
                  };
                  VerificationItinCallLogic?: {
                      AlwaysCheckAvailability?: boolean;
                      Value?: "L"
                      | "M"
                      | "B";
                  };
                  XOFares?: { Value: boolean };
              }

              Diversity paremeter.

              • OptionalAdditionalFareLimit?: { Value: number }

                Additional fare limit.

                • Value: number

                  Additional fare limit.

                  0
                  
              • OptionalAvoidCabinDowngrade?: { Mode: "All" | "Main" | "None" }

                Guarantees that a lower cabin class will not be applied within a single shopping option, depending on the chosen mode.

                • Mode: "All" | "Main" | "None"

                  Guarantees that lower cabin class won't be applied within single shopping option depending on the chosen mode. All - Apply Avoid Cabin Downgrade logic on the entire itinerary. Main - Apply Avoid Cabin Downgrade logic on the main flight of every leg. None - Disable Avoid Cabin Downgrade logic (default value).

                  None
                  @enum {string}
              • OptionalClassOfService?: { Code: string; PreferLevel?: "Unacceptable" | "Preferred" }[]

                Class of service inforamtion.

              • OptionalCodeShareIndicator?: { ExcludeCodeshare: boolean; KeepOnlines?: boolean }

                Ability to filter out codeshare flights. The option is available with two attributes ExcludeCodeshare removes codeshare flights. The same Marketing/Operating (base flights), can be combined with KeepOnlines to also return the online flights that are codeshare, for more diversity.

                • ExcludeCodeshare: boolean

                  Exclude Codeshares.

                  true
                  
                • OptionalKeepOnlines?: boolean

                  Keep onlines.

                  false
                  
              • OptionalCountryPref?: { Code: string; PreferLevel: string }[]

                Country in which you want to exclude all via airports.

              • OptionalDataSources?: {
                    ATPCO?: "Enable" | "Disable";
                    LCC?: "Enable" | "Disable";
                    NDC?: "Enable" | "Disable";
                }

                Data sources e.g. ATPCO.

                • OptionalATPCO?: "Enable" | "Disable"

                  Toggle processing of ATPCO data source.

                  Enable
                  @enum {string}
                • OptionalLCC?: "Enable" | "Disable"

                  Toggle processing of Low Cost Carriers data source.

                  Disable
                  @enum {string}
                • OptionalNDC?: "Enable" | "Disable"

                  Toggle processing of New Distribution Capability data source.

                  Enable
                  @enum {string}
              • OptionalDiversityParameters?: {
                    AdditionalNonStopsNumber?: number;
                    AdditionalNonStopsPercentage?: number;
                    InboundOutboundPairing?: number;
                    TimeOfDayDistribution?: {
                        TimeOfDayRange: { Begin: string; End: string; Percentage: number }[];
                    };
                    Weightings?: { PriceWeight: number; TravelTimeWeight: number };
                }

                Diversity Parameters.

                • OptionalAdditionalNonStopsNumber?: number

                  Format: int16

                  Defines how many additional non-stop options should be added to response. Overrides @Percentage.

                  9
                  
                • OptionalAdditionalNonStopsPercentage?: number

                  Format: int16

                  Defines how many additional non-stop options should be added to response as a percentage of requested number of options.

                  10
                  
                • OptionalInboundOutboundPairing?: number

                  Format: int16

                  Defines the requested ratio of inbounds to outbounds in the response.

                  1
                  
                • OptionalTimeOfDayDistribution?: { TimeOfDayRange: { Begin: string; End: string; Percentage: number }[] }

                  Defines how the options in the response should be distributed between certain departure time of day ranges. All defined TimeOfDayRanges must cover the whole day, and the sum of all Percentages must equal 100.

                  • TimeOfDayRange: { Begin: string; End: string; Percentage: number }[]

                    Time Of Day Range.

                • OptionalWeightings?: { PriceWeight: number; TravelTimeWeight: number }

                  Defines how important various parameter options are in the response. The sum of all weightings needs to equal 10.

                  • PriceWeight: number

                    Format: int16

                    Defines how important price options are on a scale from 0 to 10.

                    7
                    
                  • TravelTimeWeight: number

                    Format: int16

                    Defines how important travel time options are on a scale from 0 to 10.

                    3
                    
              • OptionalExcludeAlliancePref?: { Code: string }[]

                Do not consider these alliances.

              • OptionalExcludeCallDirectCarriers?: { Enabled?: boolean }

                Forces Dynamic Schedules Finder (DSF) to return schedules only for carriers bookable in the Sabre system.

                • OptionalEnabled?: boolean

                  Force DSF to return schedules only for carriers bookable by Sabre.

                  true
                  
              • OptionalExcludeVendorPref?: { Code?: string }[]

                Codes for the carrier(s) to exclude from the search.

              • OptionalExemptAllTaxes?: { Value: boolean }

                Exempts all taxes (/TE).

                • Value: boolean

                  Indicator for whether to exempt all taxes and include applicable fees and passenger facility charges (PFCs). Cannot combine ExemptAllTaxes with ExemptAllTaxesAndFees, Taxes, and ExemptTax.

                  true
                  
              • OptionalExemptAllTaxesAndFees?: { Value: boolean }

                Exempts all taxes and fees (/TN).

                • Value: boolean

                  Indicator for whether to exempt all taxes and fees and include applicable passenger facility charges (PFCs). Cannot combine ExemptAllTaxesAndFees with ExemptAllTaxes, Taxes, and ExemptTax.

                  true
                  
              • OptionalExemptTax?: { TaxCode: string }[]

                Exempts the specified tax(es) (/TE). You cannot combine ExemptTax with ExemptAllTaxesAndFees, ExemptAllTaxes, and Taxes.

              • OptionalFareBasis?: { Code: string; PreferLevel?: "Unacceptable" | "Preferred" }[]

                Fare Basis Codes information.

              • OptionalFareFocusRules?: { Exclude?: boolean }

                Rules in the Fare Focus application.

                • OptionalExclude?: boolean

                  When set to "true" fare focus business rules will be ignored. In order to use this parameter EPR keyword-FFOCUS is required.

                  true
                  
              • OptionalFareType?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[]

                Defines preferred or excluded fare type codes.

              • OptionalFlexibleFares?: {
                    FareParameters: {
                        AccountCode?: { Code: string }[];
                        AvoidCabinDowngrade?: { Mode: "All" | "Main" | "None" };
                        Baggage?: { FreePieceRequired?: boolean };
                        BrandedFareIndicators?: {
                            BrandFilters?: {
                                Brand?: { Code: ...; PreferLevel: ... }[];
                                NonBrandedFares?: { PreferLevel: (...) | (...) };
                            };
                            ItinParityBrandlessLeg?: boolean;
                            ItinParityFallbackMode?: "LegParity"
                            | "LowestSingle";
                            MultipleBrandedFares?: boolean;
                            ParityMode?: "Leg" | "Itin";
                            ParityModeForLowest?: "None" | "Leg" | "Itin";
                            SingleBrandedFare?: boolean;
                            UpsellLimit?: number;
                        };
                        Cabin?: {
                            Type: | "PremiumFirst"
                            | "First"
                            | "PremiumBusiness"
                            | "Business"
                            | "PremiumEconomy"
                            | "Economy"
                            | "Y"
                            | "S"
                            | "C"
                            | "J"
                            | "F"
                            | "P";
                        };
                        ClassOfService?: {
                            Code: string;
                            PreferLevel?: "Unacceptable"
                            | "Preferred";
                        }[];
                        CorporateID?: { Code: string }[];
                        ExcludeRestricted?: { Ind: boolean };
                        FareBasis?: { Code: string; PreferLevel?: "Unacceptable" | "Preferred" }[];
                        FareType?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                        JumpCabinLogic?: { Disabled: boolean };
                        KeepSameCabin?: { Enabled: boolean };
                        Leg?: {
                            Baggage?: { FreePieceRequired?: boolean };
                            BrandFilters?: {
                                Brand?: (...)[];
                                NonBrandedFares?: { PreferLevel: ... };
                            };
                            Cabin?: {
                                Type: | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            };
                            ClassOfService?: { Code: ...; PreferLevel?: ... }[];
                            FareBasis?: { Code: ...; PreferLevel?: ... }[];
                            FareType?: { Code: ...; PreferLevel: ... }[];
                            Num: number;
                            PriorityBoarding?: Record<string, never>;
                            Seats?: Record<string, never>;
                            SeatSelection?: { FreeSeatSelection?: boolean };
                        }[];
                        MinMaxStay?: { Ind: boolean };
                        NegotiatedFaresOnly?: { Ind: boolean };
                        PassengerTypeQuantity?: { Code: string; Quantity?: number }[];
                        PriorityBoarding?: Record<string, never>;
                        PrivateFare?: { Ind: boolean };
                        PublicFare?: { Ind: boolean };
                        RefundPenalty?: { Ind: boolean };
                        ResTicketing?: { Ind: boolean };
                        Seats?: Record<string, never>;
                        SeatSelection?: { FreeSeatSelection?: boolean };
                        UseNegotiatedFares?: { Ind: boolean };
                        UsePassengerFares?: { Ind: boolean };
                        VoluntaryChanges?: {
                            Match?: "All" | "Any" | "Info";
                            Penalty?: {
                                Amount?: number;
                                Application?: (...) | (...);
                                CurrencyCode?: string;
                                Exclude?: boolean;
                                Type?: (...) | (...);
                            }[];
                        };
                        XOFares?: { Ind: boolean };
                    }[];
                }

                Multiple Fares Per Itinerary group creation tags.

                • FareParameters: {
                      AccountCode?: { Code: string }[];
                      AvoidCabinDowngrade?: { Mode: "All" | "Main" | "None" };
                      Baggage?: { FreePieceRequired?: boolean };
                      BrandedFareIndicators?: {
                          BrandFilters?: {
                              Brand?: { Code: ...; PreferLevel: ... }[];
                              NonBrandedFares?: { PreferLevel: (...) | (...) };
                          };
                          ItinParityBrandlessLeg?: boolean;
                          ItinParityFallbackMode?: "LegParity"
                          | "LowestSingle";
                          MultipleBrandedFares?: boolean;
                          ParityMode?: "Leg" | "Itin";
                          ParityModeForLowest?: "None" | "Leg" | "Itin";
                          SingleBrandedFare?: boolean;
                          UpsellLimit?: number;
                      };
                      Cabin?: {
                          Type: | "PremiumFirst"
                          | "First"
                          | "PremiumBusiness"
                          | "Business"
                          | "PremiumEconomy"
                          | "Economy"
                          | "Y"
                          | "S"
                          | "C"
                          | "J"
                          | "F"
                          | "P";
                      };
                      ClassOfService?: {
                          Code: string;
                          PreferLevel?: "Unacceptable"
                          | "Preferred";
                      }[];
                      CorporateID?: { Code: string }[];
                      ExcludeRestricted?: { Ind: boolean };
                      FareBasis?: { Code: string; PreferLevel?: "Unacceptable" | "Preferred" }[];
                      FareType?: { Code: string; PreferLevel: "Unacceptable" | "Preferred" }[];
                      JumpCabinLogic?: { Disabled: boolean };
                      KeepSameCabin?: { Enabled: boolean };
                      Leg?: {
                          Baggage?: { FreePieceRequired?: boolean };
                          BrandFilters?: { Brand?: (...)[]; NonBrandedFares?: { PreferLevel: ... } };
                          Cabin?: {
                              Type:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                          };
                          ClassOfService?: { Code: ...; PreferLevel?: ... }[];
                          FareBasis?: { Code: ...; PreferLevel?: ... }[];
                          FareType?: { Code: ...; PreferLevel: ... }[];
                          Num: number;
                          PriorityBoarding?: Record<string, never>;
                          Seats?: Record<string, never>;
                          SeatSelection?: { FreeSeatSelection?: boolean };
                      }[];
                      MinMaxStay?: { Ind: boolean };
                      NegotiatedFaresOnly?: { Ind: boolean };
                      PassengerTypeQuantity?: { Code: string; Quantity?: number }[];
                      PriorityBoarding?: Record<string, never>;
                      PrivateFare?: { Ind: boolean };
                      PublicFare?: { Ind: boolean };
                      RefundPenalty?: { Ind: boolean };
                      ResTicketing?: { Ind: boolean };
                      Seats?: Record<string, never>;
                      SeatSelection?: { FreeSeatSelection?: boolean };
                      UseNegotiatedFares?: { Ind: boolean };
                      UsePassengerFares?: { Ind: boolean };
                      VoluntaryChanges?: {
                          Match?: "All" | "Any" | "Info";
                          Penalty?: {
                              Amount?: number;
                              Application?: (...) | (...);
                              CurrencyCode?: string;
                              Exclude?: boolean;
                              Type?: (...) | (...);
                          }[];
                      };
                      XOFares?: { Ind: boolean };
                  }[]

                  Parameters for the desired fare.

              • OptionalFlightStopsAsConnections?: { Ind: boolean }

                Identifies all stops as connections.

                • Ind: boolean

                  FlightStopsAsConnections indicator.

                  true
                  
              • OptionalGoverningCarrierOverride?: { AirlineCode: string }

                Airline carrier code override the governing carrier to get the fare filed by that carrier. Note One carrier can be specified per request.

                • AirlineCode: string

                  Airline Carrier Code - override the GOVERNING CARRIER to get the fare filed by that carrier.

                  Airline Code Goes Here
                  
              • OptionalIncludeAlliancePref?: { Code: string }[]

                Considers only the specified alliances.

              • OptionalJumpCabinLogic?: { Disabled: boolean }

                Controls whether the response contains options with a different cabin class than requested.

                • Disabled: boolean

                  Controls if response could contain options with cabin class different than requested.

                  true
                  
              • OptionalKeepSameCabin?: { Enabled: boolean }

                Indicator for whether you want to guarantee that all segments within a single shopping option belong to the requested cabin.

                • Enabled: boolean

                  Set to "true" guarantees that all segments within single shopping option belong to the requested cabin.

                  true
                  
              • OptionalLongConnectPoints?: { Max?: number; Min?: number }

                Minimum and maximum number of connection points (not necessarily long) for Long Connections.

                • OptionalMax?: number

                  Format: int16

                  Although system will accept a wide range of values, this value should be limited to 3 and not lower than the @"Min".

                  3
                  
                • OptionalMin?: number

                  Format: int16

                  Although system will accept a wide range of values, this value should be at least 1 and not higher than the @"Max".

                  1
                  
              • OptionalLongConnectTime?: { Enable?: boolean; Max?: number; Min?: number; NumberOfSolutions?: string }

                Change minimum and maximum connect time per connection in long connection schedules if Long Connect Time logic is enabled. Valid values are less than 1440 minutes (24 hours).

                • OptionalEnable?: boolean

                  Enable long connection schedules.

                  true
                  
                • OptionalMax?: number

                  Format: int16

                  Maximum connect time in minutes per connection in long connection schedules, default is 1439.

                  1200
                  
                • OptionalMin?: number

                  Format: int16

                  Minimum connect time in minutes per connection in long connection schedules, default is 780.

                  780
                  
                • OptionalNumberOfSolutions?: string

                  Specify the desired number of solutions to be returned in the response either in percentage or a number.

                  23%
                  
              • OptionalLowCostCarriersProcessing?: { Disable?: boolean }

                Allows you to exclude all the Low Cost Carriers from shopping via request. You can use this element instead of listing each Low Cost Carrier as unacceptable via the VendorPref element. Note When you use LowCostCarriersProcessing, no Low Cost Carriers options will be returned even if the low-cost carrier is specified as the preferred carrier at the IncludeVendorPref or VendorPref level.

                • OptionalDisable?: boolean

                  Disable low cost carriers processing.

                  true
                  
              • OptionalNDCIndicators?: {
                    CarrierSpecificQualifiers?: {
                        AccountCode?: { Code: string };
                        CarrierCode: string;
                        FrequentFlyer?: {
                            AccountNumber: string;
                            AirlineDesignator: string;
                            PassengerId: string;
                        }[];
                        Qualifier?: { Name: string; Value: string }[];
                    }[];
                    FrequentFlyer?: {
                        AccountNumber: string;
                        AirlineDesignator: string;
                        PassengerId: string;
                    }[];
                    MaxNumberOfUpsells?: { Value: number };
                    MultipleBrandedFares?: { Value: boolean };
                    ParityMode?: { Mode: "Leg" | "Itin" };
                    Qualifier?: { Name: string; Value: string }[];
                    ShowOneWays?: { Value: boolean };
                    SingleBrandedFare?: { Value: boolean };
                }

                NDC Indicators.

                • OptionalCarrierSpecificQualifiers?: {
                      AccountCode?: { Code: string };
                      CarrierCode: string;
                      FrequentFlyer?: {
                          AccountNumber: string;
                          AirlineDesignator: string;
                          PassengerId: string;
                      }[];
                      Qualifier?: { Name: string; Value: string }[];
                  }[]

                  Carrier specific qualifiers. If an attribute is specified in both places, the general qualifier will be overwritten with the carrier specific value.

                • OptionalFrequentFlyer?: { AccountNumber: string; AirlineDesignator: string; PassengerId: string }[]

                  Frequent Flyer status information. NDC Applicable.

                • OptionalMaxNumberOfUpsells?: { Value: number }

                  Allows you to display additional upsells for the journeys. The system cannot request upsells explicitly; the system can only do something with them if provided by the carrier. By default, the system does a low fare search, so only the lowest fare is presented. With this element, you can tell the system if the carrier returns upsells, return them as additional fares, but no more than X.

                  • Value: number

                    Format: int16

                    Indicates maximum number of NDC upsells per itinerary.

                    1
                    
                • OptionalMultipleBrandedFares?: { Value: boolean }

                  Indicates whether NDC upsells are allowed.

                  • Value: boolean

                    Indicates whether NDC upsells are allowed.

                    true
                    
                • OptionalParityMode?: { Mode: "Leg" | "Itin" }

                  Parity mode for the PriceClasses.

                  • Mode: "Leg" | "Itin"

                    Parity mode for the PriceClasses.

                    Leg
                    @enum {string}
                • OptionalQualifier?: { Name: string; Value: string }[]

                  General qualifiers.

                • OptionalShowOneWays?: { Value: boolean }

                  Show One Ways indicator.

                  • Value: boolean

                    For carriers supporting Brand Based Shopping (returning two lists of one ways instead of round trip) display the one ways (do not combine those into round trips).

                    true
                    
                • OptionalSingleBrandedFare?: { Value: boolean }

                  Indicator for whether price class information is displayed.

                  • Value: boolean

                    Indicates whether price class information is displayed.

                    true
                    
              • OptionalNumTrips?: { Number?: number }

                Number of itineraries returned.

                • OptionalNumber?: number

                  Format: int16

                  Default 9, minimum 1.

                  9
                  
                  19
                  
              • OptionalOnlineIndicator?: { Ind?: boolean }

                OnlineIndicator and InterlineIndicator are mutually exclusive. One of the two is required.

                • OptionalInd?: boolean

                  A value of "true" returns only online itineraries.

                  true
                  
              • OptionalPreferNDCSourceOnTie?: { Value: boolean }

                Select content from the New Distribution Capability (NDC) Content Source in case of identical offers.

                • Value: boolean

                  Select content from NDC Content Source in case of identical offers.

                  true
                  
              • OptionalPriorityBoarding?: { FreePriorityBoarding?: boolean; Info?: boolean }

                Filter mode for free priority boarding only.

                • OptionalFreePriorityBoarding?: boolean

                  Filter mode for free priority boarding only.

                  true
                  
                • OptionalInfo?: boolean

                  Priority boarding info.

                  true
                  
              • OptionalRetailerRules?: { Force?: boolean; RetailerRule: { Code: string }[] }

                Allows you to request fares matching the specified retailer rules.

                • OptionalForce?: boolean

                  If set to true, only one Retailer Rule Code can be specified in the request. Only fares with a matched Business Rule containing the specified Retailer Rule Qualifier will be returned.

                  false
                  
                  true
                  
                • RetailerRule: { Code: string }[]

                  Retailer Rule code information.

              • OptionalSeats?: { Seat?: { AtLeast?: number; LessThan?: number; Type?: string }[] }

                Optional seat comfort seats filter. This allows a more modernized way to display relevant offers from the same or different airlines for easy comparison to travelers.

                • OptionalSeat?: { AtLeast?: number; LessThan?: number; Type?: string }[]

                  Optional seat comfort seats filter information.

              • OptionalSeatSelection?: { FreeSeatSelection?: boolean; Info?: boolean }

                Allows you to return pre-reserved seat data and filter by free pre-reserved seat.

                • OptionalFreeSeatSelection?: boolean

                  Filter mode for free seats only.

                  false
                  
                • OptionalInfo?: boolean

                  Seat selection info.

                  true
                  
              • OptionalSellingLevels?: {
                    SellingLevelRules?: { Ignore: boolean };
                    ShowFareAmounts?: { Adjusted?: boolean; Original?: boolean };
                }

                Element controlling Mark Up Any Fare functionality. When the SellingLevels element is defined, one of its sub-elements must be provided, either SellingLevelRules or ShowFareAmounts.

                • OptionalSellingLevelRules?: { Ignore: boolean }

                  Apies to Agency Retailer customers only.

                  • Ignore: boolean

                    Force ignore adjustment selling level rules.

                    true
                    
                • OptionalShowFareAmounts?: { Adjusted?: boolean; Original?: boolean }

                  The ShowFareAmounts element defines which FareLevel should be returned in the response. When the ShowFareAmounts element is defined, only one of its attributes can be defined, either Original or Adjusted. At least one is required.

                  • OptionalAdjusted?: boolean

                    When set to "true" selling fare level amount and total adjusted fare amount will be returned.To use this attribute AGYRET EPR keyword is required.

                    true
                    
                  • OptionalOriginal?: boolean

                    When set to "true", original fare amount will be returned in total fare amount, and additional MarkUp information will be returned in "SellingFareData" element. To use this attribute ORGFQD EPR keyword is required.

                    true
                    
              • OptionalSettlementMethod?: string

                Overrides settlement method. This element provides users with ability to override the default settlement method selected (based on Agency POS or settlement method hierarchy). Invalid settlement method will return an error "INVALID SETTLEMENT METHOD" or "INVALID SETTLEMENT METHOD FOR POINT OF SALE". Supported codes for settlement method BSP, ARC, TCH, GEN (Generic TAT), RUT (Russian TAT), PRT (Philippines TAT), SAT (SATA), KRY (Killroy).

                ARC
                
              • OptionalTaxes?: { Tax?: { Amount?: number; TaxCode: string }[] }

                Taxes (/TX).

                • OptionalTax?: { Amount?: number; TaxCode: string }[]

                  Tax amount and code information.

              • OptionalTicketingSumOfLocals?: { Enable?: boolean }

                Settings specific to Ticketing Sum of Locals processing.

                • OptionalEnable?: boolean

                  Enable Sum of Locals processing NOT USED BY BFM Enable="true/false" required, default is false.

                  false
                  
                  true
                  
              • OptionalTripType?: { Value?: "OneWay" | "Return" | "Circle" | "OpenJaw" | "Other" }

                Air trip type.

                • OptionalValue?: "OneWay" | "Return" | "Circle" | "OpenJaw" | "Other"

                  Type of trip. Value="OneWay" One-way trip. Value="Return" (default) Round-trip. Value="Circle" Circle trip. Value="OpenJaw" Open jaw trip. Value="Other" Complex trip.

                  Return
                  @enum {string}
              • OptionalValidatingCarrier?: {
                    Code?: string;
                    Preference?: { Code: string; Level: "Unacceptable" | "Preferred" }[];
                }

                Validating Carrier.

                • OptionalCode?: string

                  Validating Carrier code.

                  XX
                  
                • OptionalPreference?: { Code: string; Level: "Unacceptable" | "Preferred" }[]

                  Allows you to specify the preferred or excluded validating carrier.

              • OptionalValidatingCarrierCheck?: {
                    Carrier?: { Code: string }[];
                    Country?: { Code: string }[];
                    IETValidation: { Ind: boolean };
                    SettlementValidation: { Ind: boolean };
                }

                Allows you to override local settlement method validation and Interline Electronic Ticketing agreements.

                • OptionalCarrier?: { Code: string }[]

                  Carrier code information.

                • OptionalCountry?: { Code: string }[]

                  Country code information.

                • IETValidation: { Ind: boolean }

                  IETValidation allows you to disable Electronic Ticketing agreements validation or specify in which points of sale and for which carriers Electronic Ticketing agreements should be checked. If set to "true," the IET agreement will be validated for the listed countries.

                  • Ind: boolean

                    Set to "false" disables interline electronic ticket (IET) agreement validation for validating carriers. Set to "true" along with SettlementValidation set to "false" and at least one Country Code specified will trigger the responses with no settlement validation performed on Validating Carriers returned but with IET validation performed in the specified countries. Set to "true" along with SettlementValidation set to "true" will trigger the response with settlement validation and IET check performed in specified country.

                    true
                    
                • SettlementValidation: { Ind: boolean }

                  The SettlementValidation parameter allows you to override the local settlement plan check. Note When SettlementValidation/@Ind is set to false, it disables the settlement method validation in the local point of sale. When SettlementValidation/@Ind is set to true, it validates the settlement method in the local POS. If specified along with Carrier Code, the settlement validation will be disabled.

                  • Ind: boolean

                    Set to "false" disables settlement method validation for local Point Of Sale. Set to "true" enables settlement method validation for specified country code.

                    true
                    
              • OptionalVerificationItinCallLogic?: { AlwaysCheckAvailability?: boolean; Value?: "L" | "M" | "B" }

                Indicates how the current itinerary is priced. Valid values are L Look for the lowest fare (default). M Look in the requested RBD and requested pricing qualifiers. B Perform both L and M searches, and return both fares.

                • OptionalAlwaysCheckAvailability?: boolean

                  Check availability for repriced itin.

                  true
                  
                • OptionalValue?: "L" | "M" | "B"

                  Define how the current itinerary is priced.

                  L
                  @enum {string}
              • OptionalXOFares?: { Value: boolean }

                Indicator for whether to return only fares with a passenger type the same as the passenger type specified in the request.

                • Value: boolean

                  Indicator for whether to return only fares with a passenger type the same as the passenger type specified in the request. Value="true" Returns only fares with a passenger type the same as the passenger type specified in the request. Value="false" (default) Uses standard Bargain Finder Max logic.

                  true
                  
            • OptionalValidInterlineTicket?: boolean

              If present, will validate options on base of interline ticketing agreement. ValidInterlineTicket="true" Return only options with valid interline ticketing agreement. ValidInterlineTicket="false" Return both options with and without valid interline ticketing agreement. Mark each option whether it has interline ticketing agreement or not.

              false
              
              true
              
            • OptionalVendorPref?: {
                  Code?: string;
                  PreferLevel?: "Only" | "Unacceptable" | "Preferred";
                  Type?: "Marketing" | "Operating";
              }[]

              Vendors to include and exclude from the response.

            • OptionalVendorPrefApplicability?: { Type: "Marketing" | "Operating"; Value: "AllSegments" | "AtLeastOneSegment" }[]

              Indicates whether online or interline carrier selection logic should be applied for the specified carrier type. One instance per carrier type is allowed.

            • OptionalVendorPrefPairing?: {
                  Applicability?: "AllSegments" | "AtLeastOneSegment";
                  PreferLevel: "Unacceptable" | "Preferred";
                  VendorPref: { Code: string; Type?: "Marketing" | "Operating" }[];
              }[]

              Specifies which marketing and operating carrier pairs are preferred or unacceptable.

          • Version: string

            The version of the service.

            V4
            
      • body: any

      Returns {
          error?: any;
          response: {
              groupedItineraryResponse: {
                  baggageAllowanceDescs?: {
                      description1?: string;
                      description2?: string;
                      id: number;
                      pieceCount?: number;
                      unit?: string;
                      weight?: number;
                  }[];
                  baggageChargeDescs?: {
                      description1?: string;
                      description2?: string;
                      equivalentAmount?: number;
                      equivalentCurrency?: string;
                      firstPiece?: number;
                      id: number;
                      lastPiece?: number;
                      noChargeNotAvailable?: string;
                  }[];
                  brandFeatureDescs?: {
                      application: string;
                      commercialName: string;
                      id: number;
                      serviceGroup: string;
                      serviceType: string;
                      subCode: string;
                      vendor: string;
                  }[];
                  fareComponentDescs?: {
                      applicablePricingCategories?: string;
                      aslRetailerRuleCode?: string;
                      brand?: {
                          brandName?: string;
                          code: string;
                          priceClassDescriptionRef?: number;
                          programCode?: string;
                          programDescription?: string;
                          programId?: string;
                          programSystemCode?: string;
                      };
                      cabinCode?: string;
                      corporateIdMatched?: boolean;
                      direction?: | "AF"
                      | "AL"
                      | "AP"
                      | "AT"
                      | "CA"
                      | "CT"
                      | "DI"
                      | "DO"
                      | "DU"
                      | "EH"
                      | "EM"
                      | "EU"
                      | "FE"
                      | "IN"
                      | "ME"
                      | "NA"
                      | "NP"
                      | "PA"
                      | "PE"
                      | "PN"
                      | "PO"
                      | "PV"
                      | "RU"
                      | "RW"
                      | "SA"
                      | "SN"
                      | "SP"
                      | "TB"
                      | "TS"
                      | "TT"
                      | "US"
                      | "WH"
                      | "XX";
                      directionality?: string;
                      displayCategoryType?: string;
                      fareAmount?: number;
                      fareBasisCode: string;
                      fareCode?: string;
                      fareComponentReferenceId?: number;
                      fareCurrency?: string;
                      fareDescription?: string;
                      farePassengerType: string;
                      fareRule?: string;
                      fareTariff?: string;
                      fareType?: string;
                      fareTypeBitmap?: string;
                      generalRetailerRuleCode?: string;
                      governingCarrier?: string;
                      handlingMarkupDetails?: {
                          amountCurrency?: string;
                          fareAmountAfterMarkup?: number;
                          markupAmount?: number;
                          markupHandlingFeeAppId?: string;
                          markupRuleItemNumber?: number;
                          markupRuleSourcePcc?: string;
                          markupTypeCode?: string;
                          retailerRuleQualifier?: string;
                      }[];
                      higherIntermediatePoints?: {
                          amount?: number;
                          cabinHigh?: string;
                          cabinLow?: string;
                          destination?: string;
                          fareClassHigh?: string;
                          fareClassLow?: string;
                          highDestination?: string;
                          highOrigin?: string;
                          lowDestination?: string;
                          lowOrigin?: string;
                          mileageSurchargePercentage?: number;
                          origin?: string;
                      }[];
                      id: number;
                      matchedAccountCode?: string;
                      mileage?: boolean;
                      mileageSurcharge?: number;
                      milesAmount?: number;
                      negotiatedFare?: boolean;
                      notValidAfter?: string;
                      notValidBefore?: string;
                      oneWayFare?: boolean;
                      plusUps?: {
                          amount: number;
                          countryOfPayment?: string;
                          destination: string;
                          fareDestination?: string;
                          fareOrigin?: string;
                          message: string;
                          origin: string;
                          viaCity?: string;
                      }[];
                      privateFare?: boolean;
                      publishedFareAmount?: number;
                      publishedFareCurrency?: string;
                      segments: {
                          segment?: {
                              extraMileageAllowance?: boolean;
                              sideTrip?: { begin?: boolean; end?: boolean };
                              stopover?: boolean;
                              stopoverCharge?: number;
                              stopoverChargeCurrency?: string;
                              surcharges?: {
                                  amount: number;
                                  currency: string;
                                  description?: string;
                                  type?: string;
                              }[];
                              transferCharge?: number;
                          };
                          surface?: {
                              extraMileageAllowance?: boolean;
                              stopover?: boolean;
                              stopoverCharge?: number;
                              stopoverChargeCurrency?: string;
                              unchargeable?: boolean;
                          };
                      }[];
                      ticketDesignator?: string;
                      vendorCode?: string;
                      webBasedFare?: boolean;
                  }[];
                  flightAmenities?: {
                      beverage?: {
                          alcoholicCost?: "free"
                          | "paid";
                          exists?: boolean;
                          id: number;
                          nonAlcoholicCost?: "free" | "paid";
                      }[];
                      entertainment?: {
                          cost?: "free"
                          | "paid";
                          exists?: boolean;
                          id: number;
                          type?: string;
                      }[];
                      food?: {
                          cost?: "free"
                          | "paid";
                          exists?: boolean;
                          id: number;
                          type?: string;
                      }[];
                      layout?: { directAisleAccess?: boolean; id: number; rowLayout?: string }[];
                      power?: {
                          cost?: "free" | "paid";
                          distribution?: string;
                          id: number;
                          type?: string;
                      }[];
                      seat?: { id: number; pitch?: string; type?: string }[];
                      wifi?: {
                          cost?: "free" | "paid";
                          exists?: boolean;
                          id: number;
                          type?: string;
                      }[];
                  };
                  itineraryGroups?: {
                      groupDescription: {
                          itineraryType?: string;
                          legDescriptions: {
                              arrivalLocation?: string;
                              departureDate: string;
                              departureLocation?: string;
                          }[];
                      };
                      itineraries?: {
                          currentItinerary?: boolean;
                          diversitySwapper?: { weighedPrice: number };
                          failed?: { minimumConnectTime?: boolean };
                          id: number;
                          itinSource?: string;
                          legs?: { departureDate?: string; ref: number }[];
                          originDestinationInformationRef?: number;
                          pricingInformation?: {
                              brand?: string;
                              brandsOnAnyMarket?: boolean;
                              cached?: {
                                  hoursSinceCreation?: number;
                                  ref: number;
                                  timeToLive?: number;
                              };
                              fare?: {
                                  ancillaryFeeGroup?: {
                                      ancillaryFees?: ...;
                                      message?: ...;
                                      orderStandardBag?: ...;
                                  };
                                  divideByParty?: boolean;
                                  eTicketable?: boolean;
                                  governingCarriers?: string;
                                  lastTicketDate?: string;
                                  lastTicketTime?: string;
                                  mandatoryInd?: boolean;
                                  offerItemId?: string;
                                  passengerInfoList: (...)[];
                                  reissue?: boolean;
                                  reissueText?: string;
                                  serviceId?: string;
                                  simultaneousReservation?: boolean;
                                  spanishFamilyDiscount?: string;
                                  totalFare?: {
                                      airExtrasAmount?: ...;
                                      baseFareAmount?: ...;
                                      baseFareCurrency?: ...;
                                      bookingFeeAmount?: ...;
                                      constructionAmount?: ...;
                                      constructionCurrency?: ...;
                                      creditCardFeeAmount?: ...;
                                      currency: ...;
                                      effectivePriceDeviation?: ...;
                                      equivalentAmount?: ...;
                                      equivalentCurrency?: ...;
                                      serviceFeeAmount?: ...;
                                      serviceFeeTax?: ...;
                                      totalPrice: ...;
                                      totalPriceWithAirExtras?: ...;
                                      totalTaxAmount: ...;
                                      totalTtypeObFee?: ...;
                                  };
                                  validatingCarrierCode?: string;
                                  validatingCarriers?: (...)[];
                                  vita?: boolean;
                              };
                              flexibleFare?: number;
                              offer?: { offerId: string; source: string; timeToLive: number };
                              passengerGroup?: number;
                              PoSCountryCode?: string;
                              pricingSubsource?: string;
                              program?: string;
                              pseudoCityCode?: string;
                              revalidated?: boolean;
                              soldOut?: { soldOutLegs?: (...)[]; status?: string };
                              tickets?: { legs?: ...; pricingInformation: ... }[];
                          }[];
                          pricingSource: string;
                          routingItinerary?: boolean;
                          sabreConnectLite?: boolean;
                      }[];
                      processingMessages?: { pricingSource: string; text: string }[];
                  }[];
                  legDescs?: {
                      elapsedTime?: number;
                      id?: number;
                      schedules: {
                          departureDateAdjustment?: number;
                          ref: number;
                          requestedStopover?: boolean;
                      }[];
                  }[];
                  messages: {
                      code?: string;
                      numberOfOccurences?: number;
                      severity?: string;
                      shortCode?: string;
                      text?: string;
                      type?: string;
                      value?: string;
                  }[];
                  obFeeDescs?: {
                      amount: number;
                      currency: string;
                      description?: string;
                      id: number;
                      type?: string;
                  }[];
                  originalItineraryDesc?: {
                      taxes: {
                          passengerIndex: number;
                          tax: { refundable?: boolean; taxCode: string }[];
                      }[];
                  };
                  passengerDescs?: {
                      givenName?: string;
                      id: number;
                      passengerId?: string;
                      surname?: string;
                  }[];
                  priceClassDescriptions?: {
                      descriptions: { id?: string; text: string }[];
                      id: number;
                  }[];
                  scheduleDescs?: {
                      arrival: {
                          airport: string;
                          city?: string;
                          country?: string;
                          dateAdjustment?: number;
                          state?: string;
                          terminal?: string;
                          time: string;
                      };
                      bookingDetails?: { classOfService?: string; mealCodeList?: string };
                      carrier: {
                          alliances?: string;
                          basicBookingRequest?: boolean;
                          callDirect?: boolean;
                          codeShared?: string;
                          disclosure?: string;
                          equipment?: {
                              change?: boolean;
                              code?: string;
                              typeForFirstLeg?: string;
                              typeForLastLeg?: string;
                          };
                          marketing: string;
                          marketingFlightNumber: number;
                          operating?: string;
                          operatingFlightNumber?: number;
                      };
                      departure: {
                          airport: string;
                          city?: string;
                          country?: string;
                          state?: string;
                          terminal?: string;
                          time: string;
                      };
                      dotRating?: string;
                      elapsedTime?: number;
                      eTicketable?: boolean;
                      flightStatused?: number;
                      frequency?: string;
                      funnel?: boolean;
                      governmentApproval?: boolean;
                      hiddenStops?: {
                          airMiles?: number;
                          airport: string;
                          arrivalDateAdjustment?: number;
                          arrivalTime?: string;
                          city?: string;
                          country?: string;
                          departureDateAdjustment?: number;
                          departureTime?: string;
                          elapsedLayoverTime?: number;
                          elapsedTime?: number;
                          equipment?: string;
                          state?: string;
                      }[];
                      id: number;
                      message?: string;
                      messageType?: string;
                      onTimePerformance?: number;
                      smokingAllowed?: boolean;
                      stopCount?: number;
                      totalMilesFlown?: number;
                      trafficRestriction?: string;
                  }[];
                  scheduleMessages?: {
                      destination: string;
                      origin: string;
                      pricingSource: string;
                      text?: string;
                      type?: string;
                  }[];
                  statistics?: {
                      branded?: number;
                      departed?: number;
                      itineraryCount?: number;
                      legMissed?: number;
                      oneWay?: number;
                      soldOut?: number;
                  };
                  taxDescs?: {
                      amount: number;
                      carrier?: string;
                      code: string;
                      country?: string;
                      currency: string;
                      description?: string;
                      id: number;
                      publishedAmount?: number;
                      publishedCurrency?: string;
                      station?: string;
                      taxReissue?: {
                          maxAmount?: number;
                          maxCurrency?: string;
                          refundable?: boolean;
                          restrictionApply?: boolean;
                          taxType?: string;
                      };
                      taxRestrictions?: {
                          currency?: string;
                          maxAmount?: number;
                          minAmount?: number;
                          rate?: number;
                      };
                  }[];
                  taxSummaryDescs?: {
                      amount: number;
                      code: string;
                      country?: string;
                      currency: string;
                      description?: string;
                      id: number;
                      publishedAmount?: number;
                      publishedCurrency?: string;
                      station?: string;
                  }[];
                  upaCategoryDescs?: { id: number; name: string }[];
                  upaDescs?: {
                      attributeDescription?: string;
                      categories?: { ref: number }[];
                      ctaText?: string;
                      ctaUrl?: string;
                      description?: string;
                      headline?: string;
                      id: number;
                      largeIconUrl?: string;
                      photos?: { ref: number }[];
                      smallIconUrl?: string;
                      tour?: { ref: number };
                      video?: { ref: number };
                  }[];
                  upaPhotoDescs?: {
                      caption: string;
                      id: number;
                      largeUrl: string;
                      mediumSquareUrl: string;
                      thumbUrl: string;
                      url: string;
                  }[];
                  upaTourDescs?: {
                      caption: string;
                      embedUrl: string;
                      id: number;
                      mediumSquareUrl: string;
                      thumbUrl: string;
                  }[];
                  upaVideoDescs?: {
                      caption: string;
                      embedUrl: string;
                      id: number;
                      mediumSquareUrl: string;
                      thumbUrl: string;
                  }[];
                  utaDescs?: {
                      application?: string;
                      assessment: string;
                      categoryId: string;
                      commercialName?: string;
                      descriptions: string;
                      groupCode?: string;
                      headline: string;
                      id: number;
                      largeIconUrl: string;
                      smallIconUrl: string;
                      subCode?: string;
                  }[];
                  validatingCarrierDescs?: {
                      alternates?: {
                          code?: string;
                          ietCountryWobsp?: { country?: { code: string }[] };
                      }[];
                      country?: string;
                      default?: {
                          code?: string;
                          ietCountryWobsp?: { country?: { code: string }[] };
                      };
                      id: number;
                      newVcxProcess?: boolean;
                      otherTicketings?: {
                          code?: string;
                          ietCountryWobsp?: { country?: { code: string }[] };
                      }[];
                      settlementMethod?: string;
                  }[];
                  version: string;
              };
          };
      }

    • Checks if existing stored token is still valid

      Parameters

      • salesPoint: any

        Sales point object

      • credentials: any

        Extracted credentials

      • salesPointId: number

        Sales point ID

      Returns any

      Token data if valid, null otherwise

    • Parameters

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

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

          GLEBNY
          
        • OptionaltargetPcc?: string

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

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

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

      • body: any

      Returns {
          error?: any;
          response: {
              cancelOffers?: {
                  offerExpirationDate?: string;
                  offerExpirationTime?: string;
                  offerItemId?: string;
                  offerType?: "VOID" | "REFUND";
                  refundTotals?: {
                      currencyCode: string;
                      fees?: string;
                      subtotal?: string;
                      taxes?: string;
                      total: string;
                  };
              }[];
              errors?: {
                  category: string;
                  description?: string;
                  fieldName?: string;
                  fieldPath?: string;
                  fieldValue?: string;
                  type: string;
              }[];
              request?: {
                  confirmationId?: string;
                  targetPcc?: string;
                  tickets?: {
                      number?: string;
                      refundQualifiers?: {
                          commissionAmount?: string;
                          commissionOnPenalty?: string;
                          commissionPercentage?: string;
                          journeyTypeCode?: "F"
                          | "M"
                          | "B";
                          overrideCancelFee?: string;
                          overrideTaxes?: {
                              airportTaxBreakdowns?: { airportCode?: string; taxAmount?: string }[];
                              taxAmount?: string;
                              taxCode?: string;
                          }[];
                          splitRefundAmounts?: { amount?: string }[];
                          tourCode?: string;
                          waiverCode?: string;
                      };
                  }[];
              };
              tickets?: {
                  exchangePenalties?: (
                      {
                          applicability: "BEFORE_DEPARTURE"
                          | "AFTER_DEPARTURE";
                          conditionsApply: boolean;
                          penalty: { amount: string; currencyCode: string };
                      } & {
                          hasNoShowCost?: boolean;
                          noShowPenalty?: {
                              penalty?: { amount: string; currencyCode: string };
                              source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                          };
                          source?: "Unknown"
                          | "Category 33"
                          | "Category 31"
                          | "Category 16";
                      }
                  )[];
                  isAutomatedRefundsEligible?: boolean;
                  isChangeable?: boolean;
                  isRefundable?: boolean;
                  isVoidable?: boolean;
                  number?: string;
                  refundPenalties?: (
                      {
                          applicability: "BEFORE_DEPARTURE"
                          | "AFTER_DEPARTURE";
                          conditionsApply: boolean;
                          penalty: { amount: string; currencyCode: string };
                      } & {
                          hasNoShowCost?: boolean;
                          noShowPenalty?: {
                              penalty?: { amount: string; currencyCode: string };
                              source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                          };
                          source?: "Unknown"
                          | "Category 33"
                          | "Category 31"
                          | "Category 16";
                      }
                  )[];
                  refundTaxes?: { amount: string; taxCode: string }[];
                  refundTotals?: {
                      currencyCode: string;
                      fees?: string;
                      subtotal?: string;
                      taxes?: string;
                      total: string;
                  };
              }[];
              timestamp?: string;
          };
      }

    • Sends a request to Sabre API (using the SABRE_CMD_URL) and logs the request and response.

      Parameters

      • request: {
            AirTicketRQ?: {
                AccountingLines?: {
                    All?: boolean;
                    Delete?: { EndNumber?: number; Number: number }[];
                    None?: boolean;
                };
                DesignatePrinter?: {
                    Printers?: {
                        BagTag?: { LNIATA?: string };
                        BoardingPass?: { HostedCarrier?: boolean; LNIATA?: string };
                        Hardcopy?: { LNIATA?: string; Spacing?: "1" | "2" };
                        InvoiceItinerary?: { LNIATA?: string };
                        ListLabel?: { LNIATA?: string };
                        MiniItinerary?: { LNIATA?: string };
                        Report?: { LNIATA?: string };
                        Ticket?: {
                            CountryCode?: string;
                            LNIATA?: string;
                            MiniItinerary?: { LNIATA?: string };
                            Remote?: { LNIATA?: string };
                        };
                    };
                    Profile?: { Number?: number };
                };
                Diagnostics?: unknown;
                haltOnInvalidMCT?: boolean;
                healthCheck?: string;
                Itinerary: { ID: string };
                PostProcessing?: {
                    acceptNegotiatedFare?: boolean;
                    acceptPriceChanges?: boolean;
                    actionOnBackDatePrice?: "O" | "R" | "Q";
                    actionOnPQExpired?: "O" | "R" | "Q";
                    CreditVerificationInterval?: { waitInterval?: number };
                    EndTransaction?: {
                        Email?: {
                            eTicket?: { Ind: boolean; PDF?: { Ind: boolean } };
                            Ind: boolean;
                            Invoice?: { Ind: boolean };
                            Itinerary?: {
                                Ind: boolean;
                                PDF?: { Ind: boolean };
                                Segment?: { EndNumber?: number; Number: number }[];
                            };
                            PersonName?: { NameNumber: string };
                        };
                        generateSingleInvoice?: boolean;
                        Source?: { ReceivedFrom: string };
                    };
                    GhostTicketCheck?: { numAttempts?: number; waitInterval?: number };
                    TicketingInterval?: { includeFirst?: boolean; waitInterval?: number };
                };
                targetCity?: string;
                Ticketing: {
                    FlightQualifiers?: { VendorPrefs?: { Airline: { Code: string } } };
                    FOP_Qualifiers?: {
                        BasicFOP?: {
                            CC_Info?: {
                                PaymentCard: {
                                    CardSecurityCode?: string;
                                    Code?: string;
                                    ExpireDate?: string;
                                    ExtendedPayment?: number;
                                    ManualApprovalCode?: string;
                                    ManualOBFee?: string;
                                    Number?: number;
                                };
                                Suppress?: boolean;
                            };
                            CostCenter?: string;
                            Reference?: number;
                            Type?: string;
                            Virtual?: string;
                        };
                        BSP_Ticketing?: {
                            MultipleFOP?: {
                                Fare: { Amount: string };
                                FOP_One: {
                                    CC_Info?: {
                                        PaymentCard: {
                                            CardSecurityCode?: string;
                                            Code?: string;
                                            ExpireDate?: string;
                                            ExtendedPayment?: number;
                                            ManualApprovalCode?: string;
                                            ManualOBFee?: string;
                                            Number?: number;
                                        };
                                        Suppress?: boolean;
                                    };
                                    Reference?: number;
                                    Type?: string;
                                };
                                FOP_Two: {
                                    CC_Info?: {
                                        PaymentCard: {
                                            CardSecurityCode?: string;
                                            Code?: string;
                                            ExpireDate?: string;
                                            ExtendedPayment?: number;
                                            ManualApprovalCode?: string;
                                            ManualOBFee?: string;
                                            Number?: number;
                                        };
                                        Suppress?: boolean;
                                    };
                                    Reference?: number;
                                    Type?: string;
                                };
                                Taxes?: { Tax: { Amount: string; TaxCode: string }[] };
                            };
                            MultipleMiscFOP?: {
                                Fare: { Amount: string };
                                FOP_One: {
                                    CC_Info?: {
                                        PaymentCard: {
                                            Code: string;
                                            ExpireDate: string;
                                            ExtendedPayment?: number;
                                            ManualApprovalCode?: string;
                                            Number: number;
                                        };
                                        Suppress?: boolean;
                                    };
                                    Reference?: number;
                                    Type?: string;
                                };
                                FOP_Two: {
                                    ExtendedPayment?: { NumMonths: number };
                                    Reference?: number;
                                    Type?: string;
                                };
                                Taxes?: { Tax: { Amount: string; TaxCode: string }[] };
                            };
                            PayLaterPlan?: {
                                Fare: { Amount: string };
                                FOP: {
                                    CC_Info?: {
                                        PaymentCard: {
                                            Code: string;
                                            ExpireDate: string;
                                            ManualApprovalCode?: string;
                                            Number: number;
                                        };
                                    };
                                    Reference?: number;
                                    Type?: string;
                                };
                                Installment: {
                                    Count: string;
                                    PayLaterReferenceNumber: string;
                                    Value: string;
                                };
                            };
                        };
                        MultipleCC_FOP?: {
                            CC_One: {
                                CC_Info?: {
                                    PaymentCard: {
                                        CardSecurityCode?: string;
                                        Code: string;
                                        ExpireDate: string;
                                        ExtendedPayment?: number;
                                        ManualApprovalCode?: string;
                                        ManualOBFee?: string;
                                        Number: number;
                                    };
                                    Suppress?: boolean;
                                };
                            };
                            CC_Two: {
                                CC_Info?: {
                                    PaymentCard: {
                                        CardSecurityCode?: string;
                                        Code: string;
                                        ExpireDate: string;
                                        ExtendedPayment?: number;
                                        ManualApprovalCode?: string;
                                        ManualOBFee?: string;
                                        Number: number;
                                    };
                                    Suppress?: boolean;
                                };
                            };
                            Fare: { Amount: string };
                        };
                        SabreSonicTicketing?: {
                            BasicFOP?: {
                                CC_Info?: {
                                    PaymentCard: {
                                        CardSecurityCode?: number;
                                        Code: string;
                                        ExpireDate: string;
                                        ExtendedPayment?: number;
                                        ManualApprovalCode?: string;
                                        Number: number;
                                    };
                                    Suppress?: boolean;
                                };
                                ManualApprovalCode?: string;
                                Type?: string;
                            };
                            EnhancedMultipleFOP?: {
                                Fare: { Amount: string };
                                FOP_One: {
                                    CC_Info?: {
                                        PaymentCard: {
                                            CardSecurityCode?: string;
                                            Code: string;
                                            ExpireDate: string;
                                            ExtendedPayment?: number;
                                            ManualApprovalCode?: string;
                                            Number: number;
                                        };
                                    };
                                    Type?: string;
                                };
                                FOP_Two: {
                                    CC_Info?: {
                                        PaymentCard: {
                                            CardSecurityCode?: string;
                                            Code: string;
                                            ExpireDate: string;
                                            ExtendedPayment?: number;
                                            ManualApprovalCode?: string;
                                            Number: number;
                                        };
                                    };
                                    Type?: string;
                                };
                                Taxes: { Tax: { Amount: string; TaxCode: string } };
                            };
                            MultipleFOP?: {
                                Fare: { Amount: string };
                                FOP_One: {
                                    CC_Info?: {
                                        PaymentCard: {
                                            Code: string;
                                            ManualApprovalCode?: string;
                                            Number: number;
                                        };
                                    };
                                    Type?: string;
                                };
                                FOP_Two: {
                                    CC_Info?: {
                                        PaymentCard: {
                                            Code: string;
                                            ManualApprovalCode?: string;
                                            Number: number;
                                        };
                                    };
                                    Type?: string;
                                };
                                Taxes?: { Tax: { Amount: string; TaxCode: string } };
                            };
                        };
                    };
                    MiscQualifiers?: {
                        AirExtras?: { EndNumber?: number; Number: number }[];
                        BaggageAllowance?: {
                            Number?: string;
                            SegmentSelect?: { EndNumber?: number; Number: number };
                            Weight?: string;
                        }[];
                        Certificate?: { Number: string }[];
                        Commission?: { Amount?: number; Net?: boolean; Percent?: number };
                        DateOfBirth?: string;
                        Discount?: { Code?: string };
                        Endorsement?: { Override?: boolean; Text: string };
                        FutureTicket?: {
                            Line: { EndNumber?: number; NameNumber?: string; Number: number }[];
                        };
                        Invoice?: { ETReceipt?: boolean; Ind?: boolean };
                        MISF?: {
                            Ind?: boolean;
                            Override?: {
                                Amount?: string;
                                BackOfficeInfo?: string;
                                CurrencyCode?: string;
                                CustomerReference?: string;
                                DocumentReferenceCode?: string;
                                ServiceFeeDescription?: string;
                                TicketNumber?: string;
                            };
                        };
                        NeedPrint?: {
                            AuditorCoupon: boolean;
                            Itinerary: boolean;
                            PassengerReceipt: boolean;
                        };
                        NetRemit?: {
                            Amount?: string;
                            ContractAgreementCode?: string;
                            DiscountAmount?: string;
                            NetCreditAmount?: number;
                            SellingFareAmount?: string;
                            TourCode?: string;
                            ValueCode?: string;
                        };
                        Ticket?: { Action?: string; Type?: string };
                        TourCode?: {
                            SuppressFareReplaceWithBT?: { Ind: boolean };
                            SuppressFareReplaceWithIT?: { Ind: boolean };
                            SuppressIT?: { Ind: boolean };
                            SuppressITSupressFare?: { Ind: boolean };
                            Text?: string;
                        };
                    };
                    PricingQualifiers?: {
                        Brand?: { content?: string; RPH?: number }[];
                        Fare?: { Type: string };
                        FareFocusExclude?: { Ind: boolean };
                        ItineraryOptions?: {
                            SegmentSelect?: { EndNumber?: number; Number: number; RPH?: string }[];
                            SideTrip?: { EndNumber?: number; Number: number };
                        };
                        NameSelect?: { EndNameNumber?: string; NameNumber: string }[];
                        PhaseIV?: {
                            NameSelect?: { EndNameNumber?: string; NameNumber: string }[];
                            Number: number;
                        }[];
                        PriceQuote?: {
                            NameSelect?: { EndNameNumber?: number; NameNumber: number }[];
                            Record?: { EndNumber?: number; Number: number; Reissue?: boolean }[];
                        }[];
                        RefundableBalance?: {
                            Amount: string;
                            Taxes?: { Tax: { Amount: string; Code: string }[] };
                        };
                        SpanishLargeFamilyDiscountLevel?: "1"
                        | "2";
                        SpecificFare?: { FareBasis?: string; RPH?: string }[];
                        SpecificPenalty?: {
                            AdditionalInfo?: boolean;
                            Changeable?: {
                                AfterDeparture?: boolean;
                                Any?: boolean;
                                BeforeDeparture?: boolean;
                                CurrencyCode?: string;
                                MaxPenalty?: string;
                            };
                            EitherOr?: {
                                AfterDeparture?: boolean;
                                Any?: boolean;
                                BeforeDeparture?: boolean;
                                CurrencyCode?: string;
                                MaxPenalty?: string;
                            };
                            Refundable?: {
                                AfterDeparture?: boolean;
                                Any?: boolean;
                                BeforeDeparture?: boolean;
                                CurrencyCode?: string;
                                MaxPenalty?: string;
                            };
                        };
                        Taxes?: { NoTax?: { Ind?: boolean }; TaxExempt?: { Code?: string }[] };
                        ValidityDates?: {
                            NotValidAfter?: string;
                            NotValidBefore?: string;
                            Segment: { EndNumber?: number; Number: number }[];
                        }[];
                    };
                }[];
                version?: string;
            };
        }
        • OptionalAirTicketRQ?: {
              AccountingLines?: {
                  All?: boolean;
                  Delete?: { EndNumber?: number; Number: number }[];
                  None?: boolean;
              };
              DesignatePrinter?: {
                  Printers?: {
                      BagTag?: { LNIATA?: string };
                      BoardingPass?: { HostedCarrier?: boolean; LNIATA?: string };
                      Hardcopy?: { LNIATA?: string; Spacing?: "1" | "2" };
                      InvoiceItinerary?: { LNIATA?: string };
                      ListLabel?: { LNIATA?: string };
                      MiniItinerary?: { LNIATA?: string };
                      Report?: { LNIATA?: string };
                      Ticket?: {
                          CountryCode?: string;
                          LNIATA?: string;
                          MiniItinerary?: { LNIATA?: string };
                          Remote?: { LNIATA?: string };
                      };
                  };
                  Profile?: { Number?: number };
              };
              Diagnostics?: unknown;
              haltOnInvalidMCT?: boolean;
              healthCheck?: string;
              Itinerary: { ID: string };
              PostProcessing?: {
                  acceptNegotiatedFare?: boolean;
                  acceptPriceChanges?: boolean;
                  actionOnBackDatePrice?: "O" | "R" | "Q";
                  actionOnPQExpired?: "O" | "R" | "Q";
                  CreditVerificationInterval?: { waitInterval?: number };
                  EndTransaction?: {
                      Email?: {
                          eTicket?: { Ind: boolean; PDF?: { Ind: boolean } };
                          Ind: boolean;
                          Invoice?: { Ind: boolean };
                          Itinerary?: {
                              Ind: boolean;
                              PDF?: { Ind: boolean };
                              Segment?: { EndNumber?: number; Number: number }[];
                          };
                          PersonName?: { NameNumber: string };
                      };
                      generateSingleInvoice?: boolean;
                      Source?: { ReceivedFrom: string };
                  };
                  GhostTicketCheck?: { numAttempts?: number; waitInterval?: number };
                  TicketingInterval?: { includeFirst?: boolean; waitInterval?: number };
              };
              targetCity?: string;
              Ticketing: {
                  FlightQualifiers?: { VendorPrefs?: { Airline: { Code: string } } };
                  FOP_Qualifiers?: {
                      BasicFOP?: {
                          CC_Info?: {
                              PaymentCard: {
                                  CardSecurityCode?: string;
                                  Code?: string;
                                  ExpireDate?: string;
                                  ExtendedPayment?: number;
                                  ManualApprovalCode?: string;
                                  ManualOBFee?: string;
                                  Number?: number;
                              };
                              Suppress?: boolean;
                          };
                          CostCenter?: string;
                          Reference?: number;
                          Type?: string;
                          Virtual?: string;
                      };
                      BSP_Ticketing?: {
                          MultipleFOP?: {
                              Fare: { Amount: string };
                              FOP_One: {
                                  CC_Info?: {
                                      PaymentCard: {
                                          CardSecurityCode?: string;
                                          Code?: string;
                                          ExpireDate?: string;
                                          ExtendedPayment?: number;
                                          ManualApprovalCode?: string;
                                          ManualOBFee?: string;
                                          Number?: number;
                                      };
                                      Suppress?: boolean;
                                  };
                                  Reference?: number;
                                  Type?: string;
                              };
                              FOP_Two: {
                                  CC_Info?: {
                                      PaymentCard: {
                                          CardSecurityCode?: string;
                                          Code?: string;
                                          ExpireDate?: string;
                                          ExtendedPayment?: number;
                                          ManualApprovalCode?: string;
                                          ManualOBFee?: string;
                                          Number?: number;
                                      };
                                      Suppress?: boolean;
                                  };
                                  Reference?: number;
                                  Type?: string;
                              };
                              Taxes?: { Tax: { Amount: string; TaxCode: string }[] };
                          };
                          MultipleMiscFOP?: {
                              Fare: { Amount: string };
                              FOP_One: {
                                  CC_Info?: {
                                      PaymentCard: {
                                          Code: string;
                                          ExpireDate: string;
                                          ExtendedPayment?: number;
                                          ManualApprovalCode?: string;
                                          Number: number;
                                      };
                                      Suppress?: boolean;
                                  };
                                  Reference?: number;
                                  Type?: string;
                              };
                              FOP_Two: {
                                  ExtendedPayment?: { NumMonths: number };
                                  Reference?: number;
                                  Type?: string;
                              };
                              Taxes?: { Tax: { Amount: string; TaxCode: string }[] };
                          };
                          PayLaterPlan?: {
                              Fare: { Amount: string };
                              FOP: {
                                  CC_Info?: {
                                      PaymentCard: {
                                          Code: string;
                                          ExpireDate: string;
                                          ManualApprovalCode?: string;
                                          Number: number;
                                      };
                                  };
                                  Reference?: number;
                                  Type?: string;
                              };
                              Installment: {
                                  Count: string;
                                  PayLaterReferenceNumber: string;
                                  Value: string;
                              };
                          };
                      };
                      MultipleCC_FOP?: {
                          CC_One: {
                              CC_Info?: {
                                  PaymentCard: {
                                      CardSecurityCode?: string;
                                      Code: string;
                                      ExpireDate: string;
                                      ExtendedPayment?: number;
                                      ManualApprovalCode?: string;
                                      ManualOBFee?: string;
                                      Number: number;
                                  };
                                  Suppress?: boolean;
                              };
                          };
                          CC_Two: {
                              CC_Info?: {
                                  PaymentCard: {
                                      CardSecurityCode?: string;
                                      Code: string;
                                      ExpireDate: string;
                                      ExtendedPayment?: number;
                                      ManualApprovalCode?: string;
                                      ManualOBFee?: string;
                                      Number: number;
                                  };
                                  Suppress?: boolean;
                              };
                          };
                          Fare: { Amount: string };
                      };
                      SabreSonicTicketing?: {
                          BasicFOP?: {
                              CC_Info?: {
                                  PaymentCard: {
                                      CardSecurityCode?: number;
                                      Code: string;
                                      ExpireDate: string;
                                      ExtendedPayment?: number;
                                      ManualApprovalCode?: string;
                                      Number: number;
                                  };
                                  Suppress?: boolean;
                              };
                              ManualApprovalCode?: string;
                              Type?: string;
                          };
                          EnhancedMultipleFOP?: {
                              Fare: { Amount: string };
                              FOP_One: {
                                  CC_Info?: {
                                      PaymentCard: {
                                          CardSecurityCode?: string;
                                          Code: string;
                                          ExpireDate: string;
                                          ExtendedPayment?: number;
                                          ManualApprovalCode?: string;
                                          Number: number;
                                      };
                                  };
                                  Type?: string;
                              };
                              FOP_Two: {
                                  CC_Info?: {
                                      PaymentCard: {
                                          CardSecurityCode?: string;
                                          Code: string;
                                          ExpireDate: string;
                                          ExtendedPayment?: number;
                                          ManualApprovalCode?: string;
                                          Number: number;
                                      };
                                  };
                                  Type?: string;
                              };
                              Taxes: { Tax: { Amount: string; TaxCode: string } };
                          };
                          MultipleFOP?: {
                              Fare: { Amount: string };
                              FOP_One: {
                                  CC_Info?: {
                                      PaymentCard: {
                                          Code: string;
                                          ManualApprovalCode?: string;
                                          Number: number;
                                      };
                                  };
                                  Type?: string;
                              };
                              FOP_Two: {
                                  CC_Info?: {
                                      PaymentCard: {
                                          Code: string;
                                          ManualApprovalCode?: string;
                                          Number: number;
                                      };
                                  };
                                  Type?: string;
                              };
                              Taxes?: { Tax: { Amount: string; TaxCode: string } };
                          };
                      };
                  };
                  MiscQualifiers?: {
                      AirExtras?: { EndNumber?: number; Number: number }[];
                      BaggageAllowance?: {
                          Number?: string;
                          SegmentSelect?: { EndNumber?: number; Number: number };
                          Weight?: string;
                      }[];
                      Certificate?: { Number: string }[];
                      Commission?: { Amount?: number; Net?: boolean; Percent?: number };
                      DateOfBirth?: string;
                      Discount?: { Code?: string };
                      Endorsement?: { Override?: boolean; Text: string };
                      FutureTicket?: {
                          Line: { EndNumber?: number; NameNumber?: string; Number: number }[];
                      };
                      Invoice?: { ETReceipt?: boolean; Ind?: boolean };
                      MISF?: {
                          Ind?: boolean;
                          Override?: {
                              Amount?: string;
                              BackOfficeInfo?: string;
                              CurrencyCode?: string;
                              CustomerReference?: string;
                              DocumentReferenceCode?: string;
                              ServiceFeeDescription?: string;
                              TicketNumber?: string;
                          };
                      };
                      NeedPrint?: {
                          AuditorCoupon: boolean;
                          Itinerary: boolean;
                          PassengerReceipt: boolean;
                      };
                      NetRemit?: {
                          Amount?: string;
                          ContractAgreementCode?: string;
                          DiscountAmount?: string;
                          NetCreditAmount?: number;
                          SellingFareAmount?: string;
                          TourCode?: string;
                          ValueCode?: string;
                      };
                      Ticket?: { Action?: string; Type?: string };
                      TourCode?: {
                          SuppressFareReplaceWithBT?: { Ind: boolean };
                          SuppressFareReplaceWithIT?: { Ind: boolean };
                          SuppressIT?: { Ind: boolean };
                          SuppressITSupressFare?: { Ind: boolean };
                          Text?: string;
                      };
                  };
                  PricingQualifiers?: {
                      Brand?: { content?: string; RPH?: number }[];
                      Fare?: { Type: string };
                      FareFocusExclude?: { Ind: boolean };
                      ItineraryOptions?: {
                          SegmentSelect?: { EndNumber?: number; Number: number; RPH?: string }[];
                          SideTrip?: { EndNumber?: number; Number: number };
                      };
                      NameSelect?: { EndNameNumber?: string; NameNumber: string }[];
                      PhaseIV?: {
                          NameSelect?: { EndNameNumber?: string; NameNumber: string }[];
                          Number: number;
                      }[];
                      PriceQuote?: {
                          NameSelect?: { EndNameNumber?: number; NameNumber: number }[];
                          Record?: { EndNumber?: number; Number: number; Reissue?: boolean }[];
                      }[];
                      RefundableBalance?: {
                          Amount: string;
                          Taxes?: { Tax: { Amount: string; Code: string }[] };
                      };
                      SpanishLargeFamilyDiscountLevel?: "1"
                      | "2";
                      SpecificFare?: { FareBasis?: string; RPH?: string }[];
                      SpecificPenalty?: {
                          AdditionalInfo?: boolean;
                          Changeable?: {
                              AfterDeparture?: boolean;
                              Any?: boolean;
                              BeforeDeparture?: boolean;
                              CurrencyCode?: string;
                              MaxPenalty?: string;
                          };
                          EitherOr?: {
                              AfterDeparture?: boolean;
                              Any?: boolean;
                              BeforeDeparture?: boolean;
                              CurrencyCode?: string;
                              MaxPenalty?: string;
                          };
                          Refundable?: {
                              AfterDeparture?: boolean;
                              Any?: boolean;
                              BeforeDeparture?: boolean;
                              CurrencyCode?: string;
                              MaxPenalty?: string;
                          };
                      };
                      Taxes?: { NoTax?: { Ind?: boolean }; TaxExempt?: { Code?: string }[] };
                      ValidityDates?: {
                          NotValidAfter?: string;
                          NotValidBefore?: string;
                          Segment: { EndNumber?: number; Number: number }[];
                      }[];
                  };
              }[];
              version?: string;
          }

          Orchestrated Air Ticket API request.

          • OptionalAccountingLines?: {
                All?: boolean;
                Delete?: { EndNumber?: number; Number: number }[];
                None?: boolean;
            }

            Used to control accounting line deletion prior ticketing.

            As a default logic, the API will always attempt to delete all accounting lines prior ticketing.
            
            However, if you wish the system to behave differently you may request to delete specific accounting line numbers only (`Number`, `EndNumber`) or prevent the deletion altogether: (`None`).
            
            • OptionalAll?: boolean

              Used to delete all accounting lines, cannot combine with "None" attribute.

              true
              
            • OptionalDelete?: { EndNumber?: number; Number: number }[]

              Used to specify accounting line numbers to be deleted.

            • OptionalNone?: boolean

              Used to indicate not to delete any of the accounting lines, cannot combine with "All" attribute.

              false
              
          • OptionalDesignatePrinter?: {
                Printers?: {
                    BagTag?: { LNIATA?: string };
                    BoardingPass?: { HostedCarrier?: boolean; LNIATA?: string };
                    Hardcopy?: { LNIATA?: string; Spacing?: "1" | "2" };
                    InvoiceItinerary?: { LNIATA?: string };
                    ListLabel?: { LNIATA?: string };
                    MiniItinerary?: { LNIATA?: string };
                    Report?: { LNIATA?: string };
                    Ticket?: {
                        CountryCode?: string;
                        LNIATA?: string;
                        MiniItinerary?: { LNIATA?: string };
                        Remote?: { LNIATA?: string };
                    };
                };
                Profile?: { Number?: number };
            }

            Used to control printer designation process.

            • OptionalPrinters?: {
                  BagTag?: { LNIATA?: string };
                  BoardingPass?: { HostedCarrier?: boolean; LNIATA?: string };
                  Hardcopy?: { LNIATA?: string; Spacing?: "1" | "2" };
                  InvoiceItinerary?: { LNIATA?: string };
                  ListLabel?: { LNIATA?: string };
                  MiniItinerary?: { LNIATA?: string };
                  Report?: { LNIATA?: string };
                  Ticket?: {
                      CountryCode?: string;
                      LNIATA?: string;
                      MiniItinerary?: { LNIATA?: string };
                      Remote?: { LNIATA?: string };
                  };
              }

              Used to designate printers.

              • OptionalBagTag?: { LNIATA?: string }

                Used to specify bag tag printer.

                • OptionalLNIATA?: string

                  Used to specify a bag tag printer address.

                  XXXXX9
                  
              • OptionalBoardingPass?: { HostedCarrier?: boolean; LNIATA?: string }

                Used to specify boarding pass of printer.

                • OptionalHostedCarrier?: boolean

                  Used by airline customers to indicate request for an airline-based boarding pass printer.

                  true
                  
                • OptionalLNIATA?: string

                  Used to specify a boarding pass printer address.

                  XXXXX9
                  
              • OptionalHardcopy?: { LNIATA?: string; Spacing?: "1" | "2" }

                Used to specify the hardcopy printer.

                • OptionalLNIATA?: string

                  Used to specify a hardcopy printer address.

                  XXXXX9
                  
                • OptionalSpacing?: "1" | "2"

                  Used to specify the spacing, either 1, or 2.

                  1
                  @enum {string}
              • OptionalInvoiceItinerary?: { LNIATA?: string }

                Used to specify invoice/itinerary printer.

                • OptionalLNIATA?: string

                  Used to specify an invoice/itinerary printer address.

                  XXXXX9
                  
              • OptionalListLabel?: { LNIATA?: string }

                Used to specify list/label printer.

                • OptionalLNIATA?: string

                  Used to specify a list/label printer address.

                  XXXXX9
                  
              • OptionalMiniItinerary?: { LNIATA?: string }

                Used to specify mini itinerary printer.

                • OptionalLNIATA?: string

                  Used to specify a mini itinerary printer address.

                  XXXXX9
                  
              • OptionalReport?: { LNIATA?: string }

                Used to specify report printer.

                • OptionalLNIATA?: string

                  Used to specify a report printer address. Please note that the user account attempting to designate to a report printer must be signed in under duty code 9. To set duty code 9 the client application can utilize the ContextChangeLLSRQ service.

                  XXXXX9
                  
              • OptionalTicket?: {
                    CountryCode?: string;
                    LNIATA?: string;
                    MiniItinerary?: { LNIATA?: string };
                    Remote?: { LNIATA?: string };
                }

                Used to specify ticket printer.

                • OptionalCountryCode?: string

                  Used to specify country code associated with the airport code.

                  AB
                  
                • OptionalLNIATA?: string

                  Used to specify a ticket printer address. Clients should only associate 255 sessions to a single printer address. Additional sessions beyond the initial 255 need to be designated to a different printer address.

                  XXXXX9
                  
                • OptionalMiniItinerary?: { LNIATA?: string }

                  Used by ATB1 or ATB2 customers to also designate a mini itinerary printer at the same time they are designating their ticket printer.

                  • OptionalLNIATA?: string

                    Used by ATB1 or ATB2 customers to also designate a mini itinerary printer at the same time they are designating their ticket printer.

                    XXXXX9
                    
                • OptionalRemote?: { LNIATA?: string }

                  Used by customers to designate an ATB or ATB2 ticket printer along with a remote printer.

                  • OptionalLNIATA?: string

                    Used by customers to designate an ATB or ATB2 ticket printer along with a remote printer.

                    XXXXX9
                    
            • OptionalProfile?: { Number?: number }

              Used to pass printer profile information.

              • OptionalNumber?: number

                Used to specify a previously established printer number.

                1
                
          • OptionalDiagnostics?: unknown
          • OptionalhaltOnInvalidMCT?: boolean

            Used to specify whether the service should check and stop processing upon encountering an error indicating that minimum connection time between air itinerary segments is not met.

            true
            
          • OptionalhealthCheck?: string

            This is for Sabre internal use only.

            If `true`, the API is queried in health check mode and will return a blank success that does not invoke downstream providers.
            
            false
            
          • Itinerary: { ID: string }

            Used to pass record locator of the reservation to issue tickets from.

            • ID: string

              Used to specify a record locator.

              YYABHF
              
          • OptionalPostProcessing?: {
                acceptNegotiatedFare?: boolean;
                acceptPriceChanges?: boolean;
                actionOnBackDatePrice?: "O" | "R" | "Q";
                actionOnPQExpired?: "O" | "R" | "Q";
                CreditVerificationInterval?: { waitInterval?: number };
                EndTransaction?: {
                    Email?: {
                        eTicket?: { Ind: boolean; PDF?: { Ind: boolean } };
                        Ind: boolean;
                        Invoice?: { Ind: boolean };
                        Itinerary?: {
                            Ind: boolean;
                            PDF?: { Ind: boolean };
                            Segment?: { EndNumber?: number; Number: number }[];
                        };
                        PersonName?: { NameNumber: string };
                    };
                    generateSingleInvoice?: boolean;
                    Source?: { ReceivedFrom: string };
                };
                GhostTicketCheck?: { numAttempts?: number; waitInterval?: number };
                TicketingInterval?: { includeFirst?: boolean; waitInterval?: number };
            }

            Additional ticket issuance options, mostly related to post issuance actions.

            • OptionalacceptNegotiatedFare?: boolean

              Used to accept a negotiated fare when it is not possible to ticket the stored fare.

              true
              
            • OptionalacceptPriceChanges?: boolean

              Used to specify that system should issue a ticket even if price increases while processing.

              true
              
            • OptionalactionOnBackDatePrice?: "O" | "R" | "Q"

              Used to specify appropriate action when Price Quote contains back date price. Available options are "R" - reprice, "Q" Quit, "O" Override. If no action is specified, system will automatically perform the reprice.

              Q
              @enum {string}
            • OptionalactionOnPQExpired?: "O" | "R" | "Q"

              Used to specify appropriate action when Price Quote expires. Available options are "R" - reprice, "Q" Quit, "O" Override.

              O
              @enum {string}
            • OptionalCreditVerificationInterval?: { waitInterval?: number }

              If true, specifies the wait interval before committing the changes to the ticket in the instance of system encountering CREDIT VERIFICATION message.

              • OptionalwaitInterval?: number

                The duration of the wait interval in milliseconds.

                4000
                
            • OptionalEndTransaction?: {
                  Email?: {
                      eTicket?: { Ind: boolean; PDF?: { Ind: boolean } };
                      Ind: boolean;
                      Invoice?: { Ind: boolean };
                      Itinerary?: {
                          Ind: boolean;
                          PDF?: { Ind: boolean };
                          Segment?: { EndNumber?: number; Number: number }[];
                      };
                      PersonName?: { NameNumber: string };
                  };
                  generateSingleInvoice?: boolean;
                  Source?: { ReceivedFrom: string };
              }

              Used to end the transaction and finalize the record.

              • OptionalEmail?: {
                    eTicket?: { Ind: boolean; PDF?: { Ind: boolean } };
                    Ind: boolean;
                    Invoice?: { Ind: boolean };
                    Itinerary?: {
                        Ind: boolean;
                        PDF?: { Ind: boolean };
                        Segment?: { EndNumber?: number; Number: number }[];
                    };
                    PersonName?: { NameNumber: string };
                }

                Used to send an email notification upon end transaction to any email addresses contained within the particular record.

                • OptionaleTicket?: { Ind: boolean; PDF?: { Ind: boolean } }

                  Used to send an email notification containing a text-based copy of the eTicket, it cannot combine with .../Invoice, or .../Itinerary.

                  • Ind: boolean

                    Used to send an email notification containing a text-based copy of the eTicket.

                    true
                    
                  • OptionalPDF?: { Ind: boolean }

                    Used to send an email notification containing a PDF-based copy of the eTicket.

                    • Ind: boolean

                      Used to request a PDF copy of the eTicket.

                      true
                      
                • Ind: boolean

                  Used to send an email notification upon end transaction.

                  true
                  
                • OptionalInvoice?: { Ind: boolean }

                  Used to send an email notification containing a text-based copy of the invoice. It cannot combine with .../eTicket, or .../Itinerary.

                  • Ind: boolean

                    Used to specify containing a text-based copy of the invoice.

                    true
                    
                • OptionalItinerary?: {
                      Ind: boolean;
                      PDF?: { Ind: boolean };
                      Segment?: { EndNumber?: number; Number: number }[];
                  }

                  Used to send an email notification containing a text-based copy of the itinerary. It cannot combine with .../eTicket, or .../Invoice.

                  • Ind: boolean

                    Used to send an email notification containing a text-based copy of the itinerary.

                    true
                    
                  • OptionalPDF?: { Ind: boolean }

                    Used to send an email notification containing a PDF-based copy of the itinerary.

                    • Ind: boolean

                      Used to send an email notification containing a PDF-based copy of the itinerary.

                      true
                      
                  • OptionalSegment?: { EndNumber?: number; Number: number }[]
                • OptionalPersonName?: { NameNumber: string }
                  • NameNumber: string

                    Used to specify a particular passenger name number to send the email notification to. Please note that the email address in the PNR's email field must be name associated to the specified name number.

                    2.1
                    
              • OptionalgenerateSingleInvoice?: boolean

                If true, the API will send a single commit message after issuing multiple tickets.

                This alters the default mechanism in which each ticket is committed to the PNR immediately after issuance.
                
                false
                
              • OptionalSource?: { ReceivedFrom: string }

                Used to receive the record.

                • ReceivedFrom: string

                  Used to receive the record.

                  SWS TESTING
                  
            • OptionalGhostTicketCheck?: { numAttempts?: number; waitInterval?: number }
              • OptionalnumAttempts?: number

                Used to specify how many times GhostTicket will be checked.

                2
                
              • OptionalwaitInterval?: number

                Used to specify interval of time that system will wait.

                1000
                
            • OptionalTicketingInterval?: { includeFirst?: boolean; waitInterval?: number }

              Specifies the wait interval before the second and then to any subsequent ticketing operations. For example, if you send four /Ticketing nodes, the system will perform four ticketing issuance operations. In this case the delay is set after the first, second, and third operation.

              • OptionalincludeFirst?: boolean

                If true, triggers the Ticketing Interval logic for first ticketing transaction.

                true
                
              • OptionalwaitInterval?: number

                Used to specify an interval that the system should wait in milliseconds.

                1000
                
          • OptionaltargetCity?: string

            Used to specify to which city service should change context using ContextChange (AAA) and the rest of the service uses new security. If empty or equals current city the context doesn't change.

            AAAA
            
          • Ticketing: {
                FlightQualifiers?: { VendorPrefs?: { Airline: { Code: string } } };
                FOP_Qualifiers?: {
                    BasicFOP?: {
                        CC_Info?: {
                            PaymentCard: {
                                CardSecurityCode?: string;
                                Code?: string;
                                ExpireDate?: string;
                                ExtendedPayment?: number;
                                ManualApprovalCode?: string;
                                ManualOBFee?: string;
                                Number?: number;
                            };
                            Suppress?: boolean;
                        };
                        CostCenter?: string;
                        Reference?: number;
                        Type?: string;
                        Virtual?: string;
                    };
                    BSP_Ticketing?: {
                        MultipleFOP?: {
                            Fare: { Amount: string };
                            FOP_One: {
                                CC_Info?: {
                                    PaymentCard: {
                                        CardSecurityCode?: string;
                                        Code?: string;
                                        ExpireDate?: string;
                                        ExtendedPayment?: number;
                                        ManualApprovalCode?: string;
                                        ManualOBFee?: string;
                                        Number?: number;
                                    };
                                    Suppress?: boolean;
                                };
                                Reference?: number;
                                Type?: string;
                            };
                            FOP_Two: {
                                CC_Info?: {
                                    PaymentCard: {
                                        CardSecurityCode?: string;
                                        Code?: string;
                                        ExpireDate?: string;
                                        ExtendedPayment?: number;
                                        ManualApprovalCode?: string;
                                        ManualOBFee?: string;
                                        Number?: number;
                                    };
                                    Suppress?: boolean;
                                };
                                Reference?: number;
                                Type?: string;
                            };
                            Taxes?: { Tax: { Amount: string; TaxCode: string }[] };
                        };
                        MultipleMiscFOP?: {
                            Fare: { Amount: string };
                            FOP_One: {
                                CC_Info?: {
                                    PaymentCard: {
                                        Code: string;
                                        ExpireDate: string;
                                        ExtendedPayment?: number;
                                        ManualApprovalCode?: string;
                                        Number: number;
                                    };
                                    Suppress?: boolean;
                                };
                                Reference?: number;
                                Type?: string;
                            };
                            FOP_Two: {
                                ExtendedPayment?: { NumMonths: number };
                                Reference?: number;
                                Type?: string;
                            };
                            Taxes?: { Tax: { Amount: string; TaxCode: string }[] };
                        };
                        PayLaterPlan?: {
                            Fare: { Amount: string };
                            FOP: {
                                CC_Info?: {
                                    PaymentCard: {
                                        Code: string;
                                        ExpireDate: string;
                                        ManualApprovalCode?: string;
                                        Number: number;
                                    };
                                };
                                Reference?: number;
                                Type?: string;
                            };
                            Installment: {
                                Count: string;
                                PayLaterReferenceNumber: string;
                                Value: string;
                            };
                        };
                    };
                    MultipleCC_FOP?: {
                        CC_One: {
                            CC_Info?: {
                                PaymentCard: {
                                    CardSecurityCode?: string;
                                    Code: string;
                                    ExpireDate: string;
                                    ExtendedPayment?: number;
                                    ManualApprovalCode?: string;
                                    ManualOBFee?: string;
                                    Number: number;
                                };
                                Suppress?: boolean;
                            };
                        };
                        CC_Two: {
                            CC_Info?: {
                                PaymentCard: {
                                    CardSecurityCode?: string;
                                    Code: string;
                                    ExpireDate: string;
                                    ExtendedPayment?: number;
                                    ManualApprovalCode?: string;
                                    ManualOBFee?: string;
                                    Number: number;
                                };
                                Suppress?: boolean;
                            };
                        };
                        Fare: { Amount: string };
                    };
                    SabreSonicTicketing?: {
                        BasicFOP?: {
                            CC_Info?: {
                                PaymentCard: {
                                    CardSecurityCode?: number;
                                    Code: string;
                                    ExpireDate: string;
                                    ExtendedPayment?: number;
                                    ManualApprovalCode?: string;
                                    Number: number;
                                };
                                Suppress?: boolean;
                            };
                            ManualApprovalCode?: string;
                            Type?: string;
                        };
                        EnhancedMultipleFOP?: {
                            Fare: { Amount: string };
                            FOP_One: {
                                CC_Info?: {
                                    PaymentCard: {
                                        CardSecurityCode?: string;
                                        Code: string;
                                        ExpireDate: string;
                                        ExtendedPayment?: number;
                                        ManualApprovalCode?: string;
                                        Number: number;
                                    };
                                };
                                Type?: string;
                            };
                            FOP_Two: {
                                CC_Info?: {
                                    PaymentCard: {
                                        CardSecurityCode?: string;
                                        Code: string;
                                        ExpireDate: string;
                                        ExtendedPayment?: number;
                                        ManualApprovalCode?: string;
                                        Number: number;
                                    };
                                };
                                Type?: string;
                            };
                            Taxes: { Tax: { Amount: string; TaxCode: string } };
                        };
                        MultipleFOP?: {
                            Fare: { Amount: string };
                            FOP_One: {
                                CC_Info?: {
                                    PaymentCard: {
                                        Code: string;
                                        ManualApprovalCode?: string;
                                        Number: number;
                                    };
                                };
                                Type?: string;
                            };
                            FOP_Two: {
                                CC_Info?: {
                                    PaymentCard: {
                                        Code: string;
                                        ManualApprovalCode?: string;
                                        Number: number;
                                    };
                                };
                                Type?: string;
                            };
                            Taxes?: { Tax: { Amount: string; TaxCode: string } };
                        };
                    };
                };
                MiscQualifiers?: {
                    AirExtras?: { EndNumber?: number; Number: number }[];
                    BaggageAllowance?: {
                        Number?: string;
                        SegmentSelect?: { EndNumber?: number; Number: number };
                        Weight?: string;
                    }[];
                    Certificate?: { Number: string }[];
                    Commission?: { Amount?: number; Net?: boolean; Percent?: number };
                    DateOfBirth?: string;
                    Discount?: { Code?: string };
                    Endorsement?: { Override?: boolean; Text: string };
                    FutureTicket?: {
                        Line: { EndNumber?: number; NameNumber?: string; Number: number }[];
                    };
                    Invoice?: { ETReceipt?: boolean; Ind?: boolean };
                    MISF?: {
                        Ind?: boolean;
                        Override?: {
                            Amount?: string;
                            BackOfficeInfo?: string;
                            CurrencyCode?: string;
                            CustomerReference?: string;
                            DocumentReferenceCode?: string;
                            ServiceFeeDescription?: string;
                            TicketNumber?: string;
                        };
                    };
                    NeedPrint?: {
                        AuditorCoupon: boolean;
                        Itinerary: boolean;
                        PassengerReceipt: boolean;
                    };
                    NetRemit?: {
                        Amount?: string;
                        ContractAgreementCode?: string;
                        DiscountAmount?: string;
                        NetCreditAmount?: number;
                        SellingFareAmount?: string;
                        TourCode?: string;
                        ValueCode?: string;
                    };
                    Ticket?: { Action?: string; Type?: string };
                    TourCode?: {
                        SuppressFareReplaceWithBT?: { Ind: boolean };
                        SuppressFareReplaceWithIT?: { Ind: boolean };
                        SuppressIT?: { Ind: boolean };
                        SuppressITSupressFare?: { Ind: boolean };
                        Text?: string;
                    };
                };
                PricingQualifiers?: {
                    Brand?: { content?: string; RPH?: number }[];
                    Fare?: { Type: string };
                    FareFocusExclude?: { Ind: boolean };
                    ItineraryOptions?: {
                        SegmentSelect?: { EndNumber?: number; Number: number; RPH?: string }[];
                        SideTrip?: { EndNumber?: number; Number: number };
                    };
                    NameSelect?: { EndNameNumber?: string; NameNumber: string }[];
                    PhaseIV?: {
                        NameSelect?: { EndNameNumber?: string; NameNumber: string }[];
                        Number: number;
                    }[];
                    PriceQuote?: {
                        NameSelect?: { EndNameNumber?: number; NameNumber: number }[];
                        Record?: { EndNumber?: number; Number: number; Reissue?: boolean }[];
                    }[];
                    RefundableBalance?: {
                        Amount: string;
                        Taxes?: { Tax: { Amount: string; Code: string }[] };
                    };
                    SpanishLargeFamilyDiscountLevel?: "1"
                    | "2";
                    SpecificFare?: { FareBasis?: string; RPH?: string }[];
                    SpecificPenalty?: {
                        AdditionalInfo?: boolean;
                        Changeable?: {
                            AfterDeparture?: boolean;
                            Any?: boolean;
                            BeforeDeparture?: boolean;
                            CurrencyCode?: string;
                            MaxPenalty?: string;
                        };
                        EitherOr?: {
                            AfterDeparture?: boolean;
                            Any?: boolean;
                            BeforeDeparture?: boolean;
                            CurrencyCode?: string;
                            MaxPenalty?: string;
                        };
                        Refundable?: {
                            AfterDeparture?: boolean;
                            Any?: boolean;
                            BeforeDeparture?: boolean;
                            CurrencyCode?: string;
                            MaxPenalty?: string;
                        };
                    };
                    Taxes?: { NoTax?: { Ind?: boolean }; TaxExempt?: { Code?: string }[] };
                    ValidityDates?: {
                        NotValidAfter?: string;
                        NotValidBefore?: string;
                        Segment: { EndNumber?: number; Number: number }[];
                    }[];
                };
            }[]

            Used to repeat the node as many times as many tickets/ ticket types/EMDs are to be issued.

          • Optionalversion?: string

            Used to specify API version.

            1.3.0
            
      • body: any

      Returns {
          error?: any;
          response: {
              AirTicketRS?: {
                  ApplicationResults?: {
                      Error?: {
                          SystemSpecificResults?: {
                              DocURL?: string;
                              Element?: string;
                              HostCommand?: { content?: string; LNIATA?: string };
                              Message?: { code?: string; content?: string }[];
                              RecordID?: string;
                              reference?: string;
                              ShortText?: string;
                              timeStamp?: string;
                          }[];
                          timeStamp?: string;
                          type?: "Transport"
                          | "Validation"
                          | "Application"
                          | "BusinessLogic";
                      }[];
                      status: "Complete"
                      | "Incomplete"
                      | "NotProcessed"
                      | "Unknown";
                      Success?: {
                          SystemSpecificResults?: {
                              DocURL?: string;
                              Element?: string;
                              HostCommand?: { content?: string; LNIATA?: string };
                              Message?: { code?: string; content?: string }[];
                              RecordID?: string;
                              reference?: string;
                              ShortText?: string;
                              timeStamp?: string;
                          }[];
                          timeStamp?: string;
                          type?: "Transport"
                          | "Validation"
                          | "Application"
                          | "BusinessLogic";
                      }[];
                      Warning?: {
                          SystemSpecificResults?: {
                              DocURL?: string;
                              Element?: string;
                              HostCommand?: { content?: string; LNIATA?: string };
                              Message?: { code?: string; content?: string }[];
                              RecordID?: string;
                              reference?: string;
                              ShortText?: string;
                              timeStamp?: string;
                          }[];
                          timeStamp?: string;
                          type?: "Transport"
                          | "Validation"
                          | "Application"
                          | "BusinessLogic";
                      }[];
                  };
                  Diagnostics?: {
                      ESSM_Data: {
                          AbacusPrimeHost: boolean;
                          AutoEnd: boolean;
                          AutoEndAndRetrieve: boolean;
                          AutoEndDetected: boolean;
                          InfiniPrimeHost: boolean;
                          PrevSimulChgTty: boolean;
                      };
                  };
                  Summary?: {
                      committed?: boolean;
                      DocumentNumber?: string;
                      DocumentStatus?: string;
                      DocumentType?: string;
                      FirstName?: string;
                      IssuingLocation?: string;
                      LastName?: string;
                      LocalIssueDateTime?: string;
                      Reservation?: {
                          content?: string;
                          createDate?: string;
                          provider?: string;
                          purgeDate?: string;
                      };
                      TotalAmount?: {
                          content?: string;
                          currencyCode?: string;
                          decimalPlace?: number;
                      };
                  }[];
                  version?: string;
              };
              Links?: { href?: string; rel?: string }[];
          };
      }

    • Parameters

      • request: {
            diagnostics?: (
                | "ORDER_VIEW_REQUEST"
                | "ORDER_VIEW_RESPONSE"
                | "OFFER_STORE_ID_REQUEST"
                | "OFFER_STORE_ID_RESPONSE"
                | "OFFER_STORE_PUT_REQUEST"
                | "OFFER_STORE_PUT_RESPONSE"
                | "NDCC_ORDER_RESHOP_REQUEST"
                | "NDCC_ORDER_RESHOP_RESPONSE"
                | "ESSM_RESPONSE"
                | "ESSM_TJR_REQUEST"
                | "ESSM_TJR_RESPONSE"
                | "ESSM_JWT_REQUEST"
                | "ESSM_JWT_RESPONSE"
                | "SPR_REQUEST"
                | "SPR_RESPONSE"
                | "OFFER_STORE_GET_REQUEST"
                | "OFFER_STORE_GET_RESPONSE"
                | "NDCC_ORDER_RESHOP_PROVIDER"
                | "FARE_FOCUS_VALIDATION_REQUEST"
                | "FARE_FOCUS_VALIDATION_RESPONSE"
                | "FARE_FOCUS_FILTER_OFFERS_REQUEST"
                | "FARE_FOCUS_FILTER_OFFERS_RESPONSE"
            )[];
            payloadAttributes?: {
                echoToken?: string;
                timeStamp?: string;
                trxId?: string;
            };
            request: { offerId: string };
        }
        • Optionaldiagnostics?: (
              | "ORDER_VIEW_REQUEST"
              | "ORDER_VIEW_RESPONSE"
              | "OFFER_STORE_ID_REQUEST"
              | "OFFER_STORE_ID_RESPONSE"
              | "OFFER_STORE_PUT_REQUEST"
              | "OFFER_STORE_PUT_RESPONSE"
              | "NDCC_ORDER_RESHOP_REQUEST"
              | "NDCC_ORDER_RESHOP_RESPONSE"
              | "ESSM_RESPONSE"
              | "ESSM_TJR_REQUEST"
              | "ESSM_TJR_RESPONSE"
              | "ESSM_JWT_REQUEST"
              | "ESSM_JWT_RESPONSE"
              | "SPR_REQUEST"
              | "SPR_RESPONSE"
              | "OFFER_STORE_GET_REQUEST"
              | "OFFER_STORE_GET_RESPONSE"
              | "NDCC_ORDER_RESHOP_PROVIDER"
              | "FARE_FOCUS_VALIDATION_REQUEST"
              | "FARE_FOCUS_VALIDATION_RESPONSE"
              | "FARE_FOCUS_FILTER_OFFERS_REQUEST"
              | "FARE_FOCUS_FILTER_OFFERS_RESPONSE"
          )[]

          Lists additional information about a specific part of the shopping flow that is not normally exposed (for example, communication with other services). Use this array to select the part(s) of the orchestration that you would like to see.

        • OptionalpayloadAttributes?: { echoToken?: string; timeStamp?: string; trxId?: string }

          Standard payload parameters.

          • OptionalechoToken?: string

            A string that will be copied from the request to the response.

            7c6d6c52-a277-4539-a7f1-da225470d053
            
          • OptionaltimeStamp?: string

            The date and time the transaction was processed in ISO 8601 format.

          • OptionaltrxId?: string

            A unique client's ID assigned to the transaction.

            1SXXXDBYTXW4O
            
        • request: { offerId: string }

          Body of the main request.

          • offerId: string

            Reshopped offer that needs to be priced.

      • body: any

      Returns {
          error?: any;
          response: {
              diagnostics?: {
                  body?: string;
                  customId?: string;
                  headers?: { [key: string]: string };
                  name?:
                      | "ORDER_VIEW_REQUEST"
                      | "ORDER_VIEW_RESPONSE"
                      | "OFFER_STORE_ID_REQUEST"
                      | "OFFER_STORE_ID_RESPONSE"
                      | "OFFER_STORE_PUT_REQUEST"
                      | "OFFER_STORE_PUT_RESPONSE"
                      | "NDCC_ORDER_RESHOP_REQUEST"
                      | "NDCC_ORDER_RESHOP_RESPONSE"
                      | "ESSM_RESPONSE"
                      | "ESSM_TJR_REQUEST"
                      | "ESSM_TJR_RESPONSE"
                      | "ESSM_JWT_REQUEST"
                      | "ESSM_JWT_RESPONSE"
                      | "SPR_REQUEST"
                      | "SPR_RESPONSE"
                      | "OFFER_STORE_GET_REQUEST"
                      | "OFFER_STORE_GET_RESPONSE"
                      | "NDCC_ORDER_RESHOP_PROVIDER"
                      | "FARE_FOCUS_VALIDATION_REQUEST"
                      | "FARE_FOCUS_VALIDATION_RESPONSE"
                      | "FARE_FOCUS_FILTER_OFFERS_REQUEST"
                      | "FARE_FOCUS_FILTER_OFFERS_RESPONSE";
              }[];
              messages?: {
                  category?: "WARNING"
                  | "ERROR";
                  code?: number;
                  description?: string;
                  service?: string;
                  type?: string;
              }[];
              payloadAttributes: {
                  echoToken?: string;
                  timeStamp?: string;
                  trxId?: string;
              };
              response?: {
                  datalist: {
                      baggages?: {
                          allowanceQuantity?: number;
                          baggageAllowance?: {
                              allowanceCategory?: "Piece"
                              | "Weight"
                              | "Piece and Weight";
                              maximumBagWeightInKilograms?: number;
                              maximumBagWeightInPounds?: number;
                              maximumLengthInCentimeters?: number;
                              maximumLengthInInches?: number;
                              maximumPieces?: number;
                          }[];
                          baggageId: string;
                          descriptions?: string[];
                          typeCode: string;
                      }[];
                      passengers: { passengerId: string; typeCode: string }[];
                      priceClasses?: {
                          code?: string;
                          descriptions?: { description: string; descriptionId?: string }[];
                          name?: string;
                          priceClassId: string;
                      }[];
                      segments: {
                          arrival: {
                              airportCode: string;
                              airportName?: string;
                              arrivalDateTime: string;
                              terminal?: string;
                          };
                          datedOperatingLegs?: {
                              arrival: {
                                  airportCode: string;
                                  airportName?: string;
                                  arrivalDateTime: string;
                                  terminal?: string;
                              };
                              carrierAircraftType?: { code: string; name?: string };
                              departure: {
                                  airportCode: string;
                                  airportName?: string;
                                  departureDateTime: string;
                                  terminal?: string;
                              };
                              isChangeOfGauge?: boolean;
                          }[];
                          departure: {
                              airportCode: string;
                              airportName?: string;
                              departureDateTime: string;
                              terminal?: string;
                          };
                          marketingAirline: { code: string; flightNumber: string; name?: string };
                          operatingAirline?: {
                              code?: string;
                              flightNumber?: string;
                              name?: string;
                          };
                          segmentId: string;
                      }[];
                      voluntaryChangeInformation?: {
                          applicabilityList?: (
                              "No Show"
                              | "Before Departure"
                              | "After Departure"
                          )[];
                          changeId: string;
                          description?: string;
                          feeAmount?: string;
                          feeCurrencyCode?: string;
                          hasFee?: boolean;
                          isAllowed?: boolean;
                          type?: "Refund" | "Cancel" | "Change";
                      }[];
                  };
                  offers: {
                      commission?: {
                          amount?: string;
                          code?: string;
                          currencyCode?: string;
                          description?: string;
                          percentage?: string;
                          percentageAppliedToAmount?: string;
                      };
                      differentialAmountDue?: {
                          balanceDifferentialAmount?: { amount: string; currencyCode: string };
                          differentialAmount: { amount: string; currencyCode: string };
                          taxSummary?: {
                              breakdown?: {
                                  description?: string;
                                  isCollected?: boolean;
                                  isForfeited?: boolean;
                                  isRefundable?: boolean;
                                  nationCode?: string;
                                  taxAmount: { amount: string; currencyCode: string };
                                  taxCode: string;
                                  taxCodeText?: string;
                                  taxPadisCode?: string;
                              }[];
                              totalTaxAmount?: { amount: string; currencyCode: string };
                          };
                      };
                      isSellable: boolean;
                      offerExpirationDateTime: string;
                      offerExpirationInSeconds: number;
                      offerId: string;
                      offerItems: {
                          commission?: {
                              amount?: string;
                              code?: string;
                              currencyCode?: string;
                              description?: string;
                              percentage?: string;
                              percentageAppliedToAmount?: string;
                          };
                          differentialAmountDue: {
                              balanceDifferentialAmount?: {
                                  amount: string;
                                  currencyCode: string;
                              };
                              differentialAmount: { amount: string; currencyCode: string };
                              taxSummary?: {
                                  breakdown?: {
                                      description?: ...;
                                      isCollected?: ...;
                                      isForfeited?: ...;
                                      isRefundable?: ...;
                                      nationCode?: ...;
                                      taxAmount: ...;
                                      taxCode: ...;
                                      taxCodeText?: ...;
                                      taxPadisCode?: ...;
                                  }[];
                                  totalTaxAmount?: { amount: string; currencyCode: string };
                              };
                          };
                          isMandatory: boolean;
                          journeys: { priceClassRefId?: string; segmentRefIds: string[] }[];
                          newOfferItemDifferential?: {
                              differentialAmount: {
                                  amount: string;
                                  currencyCode: string;
                                  type?: "Base" | "Total";
                              };
                              taxSummary?: {
                                  breakdown?: {
                                      description?: ...;
                                      isCollected?: ...;
                                      isForfeited?: ...;
                                      isRefundable?: ...;
                                      nationCode?: ...;
                                      taxAmount: ...;
                                      taxCode: ...;
                                      taxCodeText?: ...;
                                      taxPadisCode?: ...;
                                  }[];
                                  totalTaxAmount?: { amount: string; currencyCode: string };
                              };
                          };
                          offerItemId: string;
                          orderItemRefIds: string[];
                          originalOrderItemDifferential?: {
                              differentialAmount: {
                                  amount: string;
                                  currencyCode: string;
                                  type?: "Base"
                                  | "Total";
                              };
                              taxSummary?: {
                                  breakdown?: {
                                      description?: ...;
                                      isCollected?: ...;
                                      isForfeited?: ...;
                                      isRefundable?: ...;
                                      nationCode?: ...;
                                      taxAmount: ...;
                                      taxCode: ...;
                                      taxCodeText?: ...;
                                      taxPadisCode?: ...;
                                  }[];
                                  totalTaxAmount?: { amount: string; currencyCode: string };
                              };
                          };
                          passengers: {
                              baggages?: { baggageRefId: ...; segmentRefIds?: ... }[];
                              fareComponents?: {
                                  fareBasis?: ...;
                                  priceClassRef?: ...;
                                  segmentRefIds: ...;
                                  voluntaryChangeInformationRefs?: ...;
                              }[];
                              passengerRefId: string;
                              price: {
                                  baseAmount?: { amount: ...; currencyCode: ... };
                                  taxSummary?: { breakdown?: ...; totalTaxAmount?: ... };
                                  totalAmount: { amount: ...; currencyCode: ... };
                              };
                              pricedTypeCode: string;
                          }[];
                          penaltyDifferential?: {
                              differentialAmount: {
                                  amount: string;
                                  currencyCode: string;
                                  type?: "Base"
                                  | "Total";
                              };
                              taxSummary?: {
                                  breakdown?: {
                                      description?: ...;
                                      isCollected?: ...;
                                      isForfeited?: ...;
                                      isRefundable?: ...;
                                      nationCode?: ...;
                                      taxAmount: ...;
                                      taxCode: ...;
                                      taxCodeText?: ...;
                                      taxPadisCode?: ...;
                                  }[];
                                  totalTaxAmount?: { amount: string; currencyCode: string };
                              };
                          };
                          price: {
                              baseAmount?: { amount: string; currencyCode: string };
                              taxSummary?: {
                                  breakdown?: {
                                      description?: ...;
                                      isCollected?: ...;
                                      isForfeited?: ...;
                                      isRefundable?: ...;
                                      nationCode?: ...;
                                      taxAmount: ...;
                                      taxCode: ...;
                                      taxCodeText?: ...;
                                      taxPadisCode?: ...;
                                  }[];
                                  totalTaxAmount?: { amount: string; currencyCode: string };
                              };
                              totalAmount: { amount: string; currencyCode: string };
                          };
                      }[];
                      ownerCode: string;
                      paymentTimeLimitDateTime?: string;
                      paymentTimeLimitText?: string;
                      paymentType?: string;
                      penaltyDifferential?: {
                          differentialAmount: {
                              amount: string;
                              currencyCode: string;
                              type?: "Base"
                              | "Total";
                          };
                          taxSummary?: {
                              breakdown?: {
                                  description?: string;
                                  isCollected?: boolean;
                                  isForfeited?: boolean;
                                  isRefundable?: boolean;
                                  nationCode?: string;
                                  taxAmount: { amount: string; currencyCode: string };
                                  taxCode: string;
                                  taxCodeText?: string;
                                  taxPadisCode?: string;
                              }[];
                              totalTaxAmount?: { amount: string; currencyCode: string };
                          };
                      };
                      source: "NDC";
                      totalPrice: { totalAmount: { amount: string; currencyCode: string } };
                      validatingAirlineCode?: string;
                  }[];
              };
          };
      }

    • Parameters

      • request: {
            diagnostics?: (
                | "ORDER_VIEW_REQUEST"
                | "ORDER_VIEW_RESPONSE"
                | "OFFER_STORE_ID_REQUEST"
                | "OFFER_STORE_ID_RESPONSE"
                | "OFFER_STORE_PUT_REQUEST"
                | "OFFER_STORE_PUT_RESPONSE"
                | "NDCC_ORDER_RESHOP_REQUEST"
                | "NDCC_ORDER_RESHOP_RESPONSE"
                | "ESSM_RESPONSE"
                | "ESSM_TJR_REQUEST"
                | "ESSM_TJR_RESPONSE"
                | "ESSM_JWT_REQUEST"
                | "ESSM_JWT_RESPONSE"
                | "SPR_REQUEST"
                | "SPR_RESPONSE"
                | "OFFER_STORE_GET_REQUEST"
                | "OFFER_STORE_GET_RESPONSE"
                | "NDCC_ORDER_RESHOP_PROVIDER"
                | "FARE_FOCUS_VALIDATION_REQUEST"
                | "FARE_FOCUS_VALIDATION_RESPONSE"
                | "FARE_FOCUS_FILTER_OFFERS_REQUEST"
                | "FARE_FOCUS_FILTER_OFFERS_RESPONSE"
            )[];
            payloadAttributes?: {
                echoToken?: string;
                timeStamp?: string;
                trxId?: string;
            };
            request: {
                orderId: string;
                originDestinations: {
                    newOriginDestination?: {
                        arrivalCode: string;
                        departureCode: string;
                        departureDate: string;
                        departureTime?: string;
                    };
                    retain?: { serviceId: string };
                }[];
            };
        }
        • Optionaldiagnostics?: (
              | "ORDER_VIEW_REQUEST"
              | "ORDER_VIEW_RESPONSE"
              | "OFFER_STORE_ID_REQUEST"
              | "OFFER_STORE_ID_RESPONSE"
              | "OFFER_STORE_PUT_REQUEST"
              | "OFFER_STORE_PUT_RESPONSE"
              | "NDCC_ORDER_RESHOP_REQUEST"
              | "NDCC_ORDER_RESHOP_RESPONSE"
              | "ESSM_RESPONSE"
              | "ESSM_TJR_REQUEST"
              | "ESSM_TJR_RESPONSE"
              | "ESSM_JWT_REQUEST"
              | "ESSM_JWT_RESPONSE"
              | "SPR_REQUEST"
              | "SPR_RESPONSE"
              | "OFFER_STORE_GET_REQUEST"
              | "OFFER_STORE_GET_RESPONSE"
              | "NDCC_ORDER_RESHOP_PROVIDER"
              | "FARE_FOCUS_VALIDATION_REQUEST"
              | "FARE_FOCUS_VALIDATION_RESPONSE"
              | "FARE_FOCUS_FILTER_OFFERS_REQUEST"
              | "FARE_FOCUS_FILTER_OFFERS_RESPONSE"
          )[]

          Lists additional information about a specific part of the shopping flow that isn't normally exposed, like communications with other services. Using this array, select which part(s) of the orchestration you would like to see.

        • OptionalpayloadAttributes?: { echoToken?: string; timeStamp?: string; trxId?: string }

          Standard payload parameters.

          • OptionalechoToken?: string

            A string that will be copied from the request to the response.

            7c6d6c52-a277-4539-a7f1-da225470d053
            
          • OptionaltimeStamp?: string

            The date and time the transaction was processed in ISO 8601 format.

          • OptionaltrxId?: string

            A unique client's ID assigned to the transaction.

            1SXXXDBYTXW4O
            
        • request: {
              orderId: string;
              originDestinations: {
                  newOriginDestination?: {
                      arrivalCode: string;
                      departureCode: string;
                      departureDate: string;
                      departureTime?: string;
                  };
                  retain?: { serviceId: string };
              }[];
          }

          Main request body.

          • orderId: string

            The unique ID assigned to the existing order.

            1SXXXC0ZS1YSD
            
          • originDestinations: {
                newOriginDestination?: {
                    arrivalCode: string;
                    departureCode: string;
                    departureDate: string;
                    departureTime?: string;
                };
                retain?: { serviceId: string };
            }[]

            Lists the segments of an existing order to be retained, and the new origin-destination data to request as part of the exchange.

      • body: any

      Returns {
          error?: any;
          response: {
              diagnostics?: {
                  body?: string;
                  customId?: string;
                  headers?: { [key: string]: string };
                  name?:
                      | "ORDER_VIEW_REQUEST"
                      | "ORDER_VIEW_RESPONSE"
                      | "OFFER_STORE_ID_REQUEST"
                      | "OFFER_STORE_ID_RESPONSE"
                      | "OFFER_STORE_PUT_REQUEST"
                      | "OFFER_STORE_PUT_RESPONSE"
                      | "NDCC_ORDER_RESHOP_REQUEST"
                      | "NDCC_ORDER_RESHOP_RESPONSE"
                      | "ESSM_RESPONSE"
                      | "ESSM_TJR_REQUEST"
                      | "ESSM_TJR_RESPONSE"
                      | "ESSM_JWT_REQUEST"
                      | "ESSM_JWT_RESPONSE"
                      | "SPR_REQUEST"
                      | "SPR_RESPONSE"
                      | "OFFER_STORE_GET_REQUEST"
                      | "OFFER_STORE_GET_RESPONSE"
                      | "NDCC_ORDER_RESHOP_PROVIDER"
                      | "FARE_FOCUS_VALIDATION_REQUEST"
                      | "FARE_FOCUS_VALIDATION_RESPONSE"
                      | "FARE_FOCUS_FILTER_OFFERS_REQUEST"
                      | "FARE_FOCUS_FILTER_OFFERS_RESPONSE";
              }[];
              messages?: {
                  category?: "WARNING"
                  | "ERROR";
                  code?: number;
                  description?: string;
                  service?: string;
                  type?: string;
              }[];
              payloadAttributes: {
                  echoToken?: string;
                  timeStamp?: string;
                  trxId?: string;
              };
              response?: {
                  datalist: {
                      baggages?: {
                          allowanceQuantity?: number;
                          baggageAllowance?: {
                              allowanceCategory?: "Piece"
                              | "Weight"
                              | "Piece and Weight";
                              maximumBagWeightInKilograms?: number;
                              maximumBagWeightInPounds?: number;
                              maximumLengthInCentimeters?: number;
                              maximumLengthInInches?: number;
                              maximumPieces?: number;
                          }[];
                          baggageId: string;
                          descriptions?: string[];
                          typeCode: string;
                      }[];
                      passengers: { passengerId: string; typeCode: string }[];
                      priceClasses?: {
                          code?: string;
                          descriptions?: { description: string; descriptionId?: string }[];
                          name?: string;
                          priceClassId: string;
                      }[];
                      segments: {
                          arrival: {
                              airportCode: string;
                              airportName?: string;
                              arrivalDateTime: string;
                              terminal?: string;
                          };
                          datedOperatingLegs?: {
                              arrival: {
                                  airportCode: string;
                                  airportName?: string;
                                  arrivalDateTime: string;
                                  terminal?: string;
                              };
                              carrierAircraftType?: { code: string; name?: string };
                              departure: {
                                  airportCode: string;
                                  airportName?: string;
                                  departureDateTime: string;
                                  terminal?: string;
                              };
                              isChangeOfGauge?: boolean;
                          }[];
                          departure: {
                              airportCode: string;
                              airportName?: string;
                              departureDateTime: string;
                              terminal?: string;
                          };
                          marketingAirline: { code: string; flightNumber: string; name?: string };
                          operatingAirline?: {
                              code?: string;
                              flightNumber?: string;
                              name?: string;
                          };
                          segmentId: string;
                      }[];
                      voluntaryChangeInformation?: {
                          applicabilityList?: (
                              "No Show"
                              | "Before Departure"
                              | "After Departure"
                          )[];
                          changeId: string;
                          description?: string;
                          feeAmount?: string;
                          feeCurrencyCode?: string;
                          hasFee?: boolean;
                          isAllowed?: boolean;
                          type?: "Refund" | "Cancel" | "Change";
                      }[];
                  };
                  offers: {
                      commission?: {
                          amount?: string;
                          code?: string;
                          currencyCode?: string;
                          description?: string;
                          percentage?: string;
                          percentageAppliedToAmount?: string;
                      };
                      differentialAmountDue?: {
                          balanceDifferentialAmount?: { amount: string; currencyCode: string };
                          differentialAmount: { amount: string; currencyCode: string };
                          taxSummary?: {
                              breakdown?: {
                                  description?: string;
                                  isCollected?: boolean;
                                  isForfeited?: boolean;
                                  isRefundable?: boolean;
                                  nationCode?: string;
                                  taxAmount: { amount: string; currencyCode: string };
                                  taxCode: string;
                                  taxCodeText?: string;
                                  taxPadisCode?: string;
                              }[];
                              totalTaxAmount?: { amount: string; currencyCode: string };
                          };
                      };
                      isSellable: boolean;
                      offerExpirationDateTime: string;
                      offerExpirationInSeconds: number;
                      offerId: string;
                      offerItems: {
                          commission?: {
                              amount?: string;
                              code?: string;
                              currencyCode?: string;
                              description?: string;
                              percentage?: string;
                              percentageAppliedToAmount?: string;
                          };
                          differentialAmountDue: {
                              balanceDifferentialAmount?: {
                                  amount: string;
                                  currencyCode: string;
                              };
                              differentialAmount: { amount: string; currencyCode: string };
                              taxSummary?: {
                                  breakdown?: {
                                      description?: ...;
                                      isCollected?: ...;
                                      isForfeited?: ...;
                                      isRefundable?: ...;
                                      nationCode?: ...;
                                      taxAmount: ...;
                                      taxCode: ...;
                                      taxCodeText?: ...;
                                      taxPadisCode?: ...;
                                  }[];
                                  totalTaxAmount?: { amount: string; currencyCode: string };
                              };
                          };
                          isMandatory: boolean;
                          journeys: { priceClassRefId?: string; segmentRefIds: string[] }[];
                          newOfferItemDifferential?: {
                              differentialAmount: {
                                  amount: string;
                                  currencyCode: string;
                                  type?: "Base" | "Total";
                              };
                              taxSummary?: {
                                  breakdown?: {
                                      description?: ...;
                                      isCollected?: ...;
                                      isForfeited?: ...;
                                      isRefundable?: ...;
                                      nationCode?: ...;
                                      taxAmount: ...;
                                      taxCode: ...;
                                      taxCodeText?: ...;
                                      taxPadisCode?: ...;
                                  }[];
                                  totalTaxAmount?: { amount: string; currencyCode: string };
                              };
                          };
                          offerItemId: string;
                          orderItemRefIds: string[];
                          originalOrderItemDifferential?: {
                              differentialAmount: {
                                  amount: string;
                                  currencyCode: string;
                                  type?: "Base"
                                  | "Total";
                              };
                              taxSummary?: {
                                  breakdown?: {
                                      description?: ...;
                                      isCollected?: ...;
                                      isForfeited?: ...;
                                      isRefundable?: ...;
                                      nationCode?: ...;
                                      taxAmount: ...;
                                      taxCode: ...;
                                      taxCodeText?: ...;
                                      taxPadisCode?: ...;
                                  }[];
                                  totalTaxAmount?: { amount: string; currencyCode: string };
                              };
                          };
                          passengers: {
                              baggages?: { baggageRefId: ...; segmentRefIds?: ... }[];
                              fareComponents?: {
                                  fareBasis?: ...;
                                  priceClassRef?: ...;
                                  segmentRefIds: ...;
                                  voluntaryChangeInformationRefs?: ...;
                              }[];
                              passengerRefId: string;
                              price: {
                                  baseAmount?: { amount: ...; currencyCode: ... };
                                  taxSummary?: { breakdown?: ...; totalTaxAmount?: ... };
                                  totalAmount: { amount: ...; currencyCode: ... };
                              };
                              pricedTypeCode: string;
                          }[];
                          penaltyDifferential?: {
                              differentialAmount: {
                                  amount: string;
                                  currencyCode: string;
                                  type?: "Base"
                                  | "Total";
                              };
                              taxSummary?: {
                                  breakdown?: {
                                      description?: ...;
                                      isCollected?: ...;
                                      isForfeited?: ...;
                                      isRefundable?: ...;
                                      nationCode?: ...;
                                      taxAmount: ...;
                                      taxCode: ...;
                                      taxCodeText?: ...;
                                      taxPadisCode?: ...;
                                  }[];
                                  totalTaxAmount?: { amount: string; currencyCode: string };
                              };
                          };
                          price: {
                              baseAmount?: { amount: string; currencyCode: string };
                              taxSummary?: {
                                  breakdown?: {
                                      description?: ...;
                                      isCollected?: ...;
                                      isForfeited?: ...;
                                      isRefundable?: ...;
                                      nationCode?: ...;
                                      taxAmount: ...;
                                      taxCode: ...;
                                      taxCodeText?: ...;
                                      taxPadisCode?: ...;
                                  }[];
                                  totalTaxAmount?: { amount: string; currencyCode: string };
                              };
                              totalAmount: { amount: string; currencyCode: string };
                          };
                      }[];
                      ownerCode: string;
                      paymentTimeLimitDateTime?: string;
                      paymentTimeLimitText?: string;
                      paymentType?: string;
                      penaltyDifferential?: {
                          differentialAmount: {
                              amount: string;
                              currencyCode: string;
                              type?: "Base"
                              | "Total";
                          };
                          taxSummary?: {
                              breakdown?: {
                                  description?: string;
                                  isCollected?: boolean;
                                  isForfeited?: boolean;
                                  isRefundable?: boolean;
                                  nationCode?: string;
                                  taxAmount: { amount: string; currencyCode: string };
                                  taxCode: string;
                                  taxCodeText?: string;
                                  taxPadisCode?: string;
                              }[];
                              totalTaxAmount?: { amount: string; currencyCode: string };
                          };
                      };
                      source: "NDC";
                      totalPrice: { totalAmount: { amount: string; currencyCode: string } };
                      validatingAirlineCode?: string;
                  }[];
              };
          };
      }

    • Extracts SABRE credentials from sales point

      Parameters

      • salesPoint: any

        Sales point object

      Returns any

      Extracted credentials

    • Fetches sales point with required attributes from database

      Parameters

      • salesPointId: number

        Sales point ID

      • requiredAttributes: string[]

        Required attribute names

      Returns Promise<any>

      Sales point object or null

    • Generates a new authentication token from SABRE

      Parameters

      • salesPoint: any

        Sales point object

      • credentials: any

        Extracted credentials

      • salesPointId: number

        Sales point ID

      Returns Promise<any>

      New token data

    • Checks for a valid cached token

      Parameters

      • salesPointId: number

        Sales point ID

      Returns any

      Cached token data or null

    • SabreService Fournit des méthodes statiques pour communiquer avec Sabre. Les méthodes exposées sont majoritairement des wrappers autour de handleRequest qui gère l'authentification, le logging et le traitement des erreurs.

      Note: toutes les méthodes sont statiques afin de pouvoir être utilisées sans instancier la classe.

      Parameters

      • salesPointId: any

      Returns {
          agenceName: string;
          expireDate: number;
          PCC: string;
          sabreBFMLimit: number;
          sessionToken: string;
          sessionTokenExpireDate: number;
          token: string;
      }

    • Parameters

      • request:
            | Omit<
                {
                    payloadAttributes?: {
                        correlationID?: string;
                        echoTokenText?: string;
                        timeStamp?: string;
                        transactionID?: string;
                    };
                    requestType: string;
                },
                "requestType",
            > & {
                pointOfSale: {
                    agentDutyCode?: string;
                    location: { cityCode: string; countryCode: string };
                };
                request: {
                    offer: { offerId: string };
                    paxes?: {
                        givenName?: string;
                        loyaltyProgramAccount?: {
                            accountNumber: string;
                            airline: string;
                            partnerProgram?: string;
                            tierPriority?: string;
                        }[];
                        paxID: string;
                        surname?: string;
                    }[];
                };
            } & { requestType: "offerId" }
            | Omit<
                {
                    payloadAttributes?: {
                        correlationID?: string;
                        echoTokenText?: string;
                        timeStamp?: string;
                        transactionID?: string;
                    };
                    requestType: string;
                },
                "requestType",
            > & {
                pointOfSale: {
                    agentDutyCode?: string;
                    location: { cityCode: string; countryCode: string };
                };
                request: { order: { orderId: string } };
            } & { requestType: "orderId" }
            | Omit<
                {
                    payloadAttributes?: {
                        correlationID?: string;
                        echoTokenText?: string;
                        timeStamp?: string;
                        transactionID?: string;
                    };
                    requestType: string;
                },
                "requestType",
            > & {
                request: {
                    currency?: string;
                    customAttributes?: { key: string; value: string }[];
                    dataBin?: string;
                    fareComponents?: {
                        brand?: { code: string };
                        fareBasis: { fareBasisCode: string };
                        fareComponentId: string;
                        fareDetail?: {
                            fareIndicator?: number;
                            fareRule?: string;
                            fareTariff?: string;
                            fareType?: string;
                            fareTypeBitmap?: string;
                            privateTariffIndicator?: boolean;
                        };
                        governingCarrier?: string;
                        price?: { amount: number };
                        vendorCode?: string;
                    }[];
                    originDest: {
                        paxJourney: {
                            paxSegments: {
                                arrival: {
                                    aircraftScheduledDate: { date: string };
                                    locationCode: string;
                                };
                                cabinType?: { cabinTypeCode?: string; cabinTypeName?: string };
                                departure: {
                                    aircraftScheduledDate: { date: string };
                                    locationCode: string;
                                };
                                marketingCarrierInfo: {
                                    bookingCode?: string;
                                    carrierCode: string;
                                    carrierFlightNumber: string;
                                };
                                operatingCarrierInfo?: {
                                    bookingCode?: string;
                                    carrierCode: string;
                                    carrierFlightNumber: string;
                                };
                                paxSegmentId: string;
                            }[];
                        };
                    };
                    paxes: {
                        accompaniedByInfant?: boolean;
                        birthday?: string;
                        customAttributes?: { key: string; value: string }[];
                        fareComponentsAndSegmentId?: {
                            fareComponentRefId: string;
                            segmentRefId: string;
                        }[];
                        givenName?: string;
                        loyaltyProgramAccount?: {
                            accountNumber: string;
                            airline: string;
                            partnerProgram?: string;
                            tierPriority?: string;
                        }[];
                        paxID: string;
                        ptc: string;
                        surname?: string;
                    }[];
                    paxSegmentRefIds: string[];
                };
                requestMode?: "BOOKING"
                | "CHECKIN";
            } & { requestType: "payload" }
            | Omit<
                {
                    payloadAttributes?: {
                        correlationID?: string;
                        echoTokenText?: string;
                        timeStamp?: string;
                        transactionID?: string;
                    };
                    requestType: string;
                },
                "requestType",
            > & {
                request: {
                    customAttributes?: { key: string; value: string }[];
                    dataBin?: string;
                    pnrLocator: string;
                };
                requestMode?: "BOOKING"
                | "CHECKIN";
            } & { requestType: "stateless" }
        • Omit<
              {
                  payloadAttributes?: {
                      correlationID?: string;
                      echoTokenText?: string;
                      timeStamp?: string;
                      transactionID?: string;
                  };
                  requestType: string;
              },
              "requestType",
          > & {
              pointOfSale: {
                  agentDutyCode?: string;
                  location: { cityCode: string; countryCode: string };
              };
              request: {
                  offer: { offerId: string };
                  paxes?: {
                      givenName?: string;
                      loyaltyProgramAccount?: {
                          accountNumber: string;
                          airline: string;
                          partnerProgram?: string;
                          tierPriority?: string;
                      }[];
                      paxID: string;
                      surname?: string;
                  }[];
              };
          } & { requestType: "offerId" }
          • pointOfSale: { agentDutyCode?: string; location: { cityCode: string; countryCode: string } }

            Contains point of sale information.

            • OptionalagentDutyCode?: string

              Internally defines the agent authority to request changes.

              read
              
            • location: { cityCode: string; countryCode: string }

              Point of sale location information.

              • cityCode: string

                The three-letter IATA airport or city code. Refer to the IATA Airline Coding Directory for a full list of values.

                TPA
                
              • countryCode: string

                The ISO 3166-1 (two character) country code.

                US
                
          • request: {
                offer: { offerId: string };
                paxes?: {
                    givenName?: string;
                    loyaltyProgramAccount?: {
                        accountNumber: string;
                        airline: string;
                        partnerProgram?: string;
                        tierPriority?: string;
                    }[];
                    paxID: string;
                    surname?: string;
                }[];
            }

            Contains the offer associated with the seat map.

            • offer: { offerId: string }

              Contains the offer ID/offer item ID associated with the seat map.

              • offerId: string

                The unique ID of the NDC Offer associated with the seat maps to return in the offerId request.

            • Optionalpaxes?: {
                  givenName?: string;
                  loyaltyProgramAccount?: {
                      accountNumber: string;
                      airline: string;
                      partnerProgram?: string;
                      tierPriority?: string;
                  }[];
                  paxID: string;
                  surname?: string;
              }[]

              Lists passenger information.

          • requestType: "offerId"

            discriminator enum property added by openapi-typescript

        • Omit<
              {
                  payloadAttributes?: {
                      correlationID?: string;
                      echoTokenText?: string;
                      timeStamp?: string;
                      transactionID?: string;
                  };
                  requestType: string;
              },
              "requestType",
          > & {
              pointOfSale: {
                  agentDutyCode?: string;
                  location: { cityCode: string; countryCode: string };
              };
              request: { order: { orderId: string } };
          } & { requestType: "orderId" }
          • pointOfSale: { agentDutyCode?: string; location: { cityCode: string; countryCode: string } }

            Contains point of sale information.

            • OptionalagentDutyCode?: string

              Internally defines the agent authority to request changes.

              read
              
            • location: { cityCode: string; countryCode: string }

              Point of sale location information.

              • cityCode: string

                The three-letter IATA airport or city code. Refer to the IATA Airline Coding Directory for a full list of values.

                TPA
                
              • countryCode: string

                The ISO 3166-1 (two character) country code.

                US
                
          • request: { order: { orderId: string } }

            Contains the offer associated with the seat map.

            • order: { orderId: string }
              • orderId: string

                The unique ID of the NDC Order associated with the seat maps to return in the orderId request.

          • requestType: "orderId"

            discriminator enum property added by openapi-typescript

        • Omit<
              {
                  payloadAttributes?: {
                      correlationID?: string;
                      echoTokenText?: string;
                      timeStamp?: string;
                      transactionID?: string;
                  };
                  requestType: string;
              },
              "requestType",
          > & {
              request: {
                  currency?: string;
                  customAttributes?: { key: string; value: string }[];
                  dataBin?: string;
                  fareComponents?: {
                      brand?: { code: string };
                      fareBasis: { fareBasisCode: string };
                      fareComponentId: string;
                      fareDetail?: {
                          fareIndicator?: number;
                          fareRule?: string;
                          fareTariff?: string;
                          fareType?: string;
                          fareTypeBitmap?: string;
                          privateTariffIndicator?: boolean;
                      };
                      governingCarrier?: string;
                      price?: { amount: number };
                      vendorCode?: string;
                  }[];
                  originDest: {
                      paxJourney: {
                          paxSegments: {
                              arrival: {
                                  aircraftScheduledDate: { date: string };
                                  locationCode: string;
                              };
                              cabinType?: { cabinTypeCode?: string; cabinTypeName?: string };
                              departure: {
                                  aircraftScheduledDate: { date: string };
                                  locationCode: string;
                              };
                              marketingCarrierInfo: {
                                  bookingCode?: string;
                                  carrierCode: string;
                                  carrierFlightNumber: string;
                              };
                              operatingCarrierInfo?: {
                                  bookingCode?: string;
                                  carrierCode: string;
                                  carrierFlightNumber: string;
                              };
                              paxSegmentId: string;
                          }[];
                      };
                  };
                  paxes: {
                      accompaniedByInfant?: boolean;
                      birthday?: string;
                      customAttributes?: { key: string; value: string }[];
                      fareComponentsAndSegmentId?: {
                          fareComponentRefId: string;
                          segmentRefId: string;
                      }[];
                      givenName?: string;
                      loyaltyProgramAccount?: {
                          accountNumber: string;
                          airline: string;
                          partnerProgram?: string;
                          tierPriority?: string;
                      }[];
                      paxID: string;
                      ptc: string;
                      surname?: string;
                  }[];
                  paxSegmentRefIds: string[];
              };
              requestMode?: "BOOKING"
              | "CHECKIN";
          } & { requestType: "payload" }
          • request: {
                currency?: string;
                customAttributes?: { key: string; value: string }[];
                dataBin?: string;
                fareComponents?: {
                    brand?: { code: string };
                    fareBasis: { fareBasisCode: string };
                    fareComponentId: string;
                    fareDetail?: {
                        fareIndicator?: number;
                        fareRule?: string;
                        fareTariff?: string;
                        fareType?: string;
                        fareTypeBitmap?: string;
                        privateTariffIndicator?: boolean;
                    };
                    governingCarrier?: string;
                    price?: { amount: number };
                    vendorCode?: string;
                }[];
                originDest: {
                    paxJourney: {
                        paxSegments: {
                            arrival: {
                                aircraftScheduledDate: { date: string };
                                locationCode: string;
                            };
                            cabinType?: { cabinTypeCode?: string; cabinTypeName?: string };
                            departure: {
                                aircraftScheduledDate: { date: string };
                                locationCode: string;
                            };
                            marketingCarrierInfo: {
                                bookingCode?: string;
                                carrierCode: string;
                                carrierFlightNumber: string;
                            };
                            operatingCarrierInfo?: {
                                bookingCode?: string;
                                carrierCode: string;
                                carrierFlightNumber: string;
                            };
                            paxSegmentId: string;
                        }[];
                    };
                };
                paxes: {
                    accompaniedByInfant?: boolean;
                    birthday?: string;
                    customAttributes?: { key: string; value: string }[];
                    fareComponentsAndSegmentId?: {
                        fareComponentRefId: string;
                        segmentRefId: string;
                    }[];
                    givenName?: string;
                    loyaltyProgramAccount?: {
                        accountNumber: string;
                        airline: string;
                        partnerProgram?: string;
                        tierPriority?: string;
                    }[];
                    paxID: string;
                    ptc: string;
                    surname?: string;
                }[];
                paxSegmentRefIds: string[];
            }

            Contains itinerary elements required for the payload request type.

            • Optionalcurrency?: string

              Requested search processing and results currency information.

            • OptionalcustomAttributes?: { key: string; value: string }[]

              Lists any custom input attributes.

            • OptionaldataBin?: string
            • OptionalfareComponents?: {
                  brand?: { code: string };
                  fareBasis: { fareBasisCode: string };
                  fareComponentId: string;
                  fareDetail?: {
                      fareIndicator?: number;
                      fareRule?: string;
                      fareTariff?: string;
                      fareType?: string;
                      fareTypeBitmap?: string;
                      privateTariffIndicator?: boolean;
                  };
                  governingCarrier?: string;
                  price?: { amount: number };
                  vendorCode?: string;
              }[]

              Lists fare definitions used for the trip.

            • originDest: {
                  paxJourney: {
                      paxSegments: {
                          arrival: {
                              aircraftScheduledDate: { date: string };
                              locationCode: string;
                          };
                          cabinType?: { cabinTypeCode?: string; cabinTypeName?: string };
                          departure: {
                              aircraftScheduledDate: { date: string };
                              locationCode: string;
                          };
                          marketingCarrierInfo: {
                              bookingCode?: string;
                              carrierCode: string;
                              carrierFlightNumber: string;
                          };
                          operatingCarrierInfo?: {
                              bookingCode?: string;
                              carrierCode: string;
                              carrierFlightNumber: string;
                          };
                          paxSegmentId: string;
                      }[];
                  };
              }

              Contains the origin and destination airport/city pair.

              • paxJourney: {
                    paxSegments: {
                        arrival: {
                            aircraftScheduledDate: { date: string };
                            locationCode: string;
                        };
                        cabinType?: { cabinTypeCode?: string; cabinTypeName?: string };
                        departure: {
                            aircraftScheduledDate: { date: string };
                            locationCode: string;
                        };
                        marketingCarrierInfo: {
                            bookingCode?: string;
                            carrierCode: string;
                            carrierFlightNumber: string;
                        };
                        operatingCarrierInfo?: {
                            bookingCode?: string;
                            carrierCode: string;
                            carrierFlightNumber: string;
                        };
                        paxSegmentId: string;
                    }[];
                }

                The origin and destination airport/city pair for the flight.

                • paxSegments: {
                      arrival: {
                          aircraftScheduledDate: { date: string };
                          locationCode: string;
                      };
                      cabinType?: { cabinTypeCode?: string; cabinTypeName?: string };
                      departure: {
                          aircraftScheduledDate: { date: string };
                          locationCode: string;
                      };
                      marketingCarrierInfo: {
                          bookingCode?: string;
                          carrierCode: string;
                          carrierFlightNumber: string;
                      };
                      operatingCarrierInfo?: {
                          bookingCode?: string;
                          carrierCode: string;
                          carrierFlightNumber: string;
                      };
                      paxSegmentId: string;
                  }[]

                  Lists any segment data definitions.

            • paxes: {
                  accompaniedByInfant?: boolean;
                  birthday?: string;
                  customAttributes?: { key: string; value: string }[];
                  fareComponentsAndSegmentId?: {
                      fareComponentRefId: string;
                      segmentRefId: string;
                  }[];
                  givenName?: string;
                  loyaltyProgramAccount?: {
                      accountNumber: string;
                      airline: string;
                      partnerProgram?: string;
                      tierPriority?: string;
                  }[];
                  paxID: string;
                  ptc: string;
                  surname?: string;
              }[]

              Lists passenger definitions for each seat map to be returned.

            • paxSegmentRefIds: string[]

              Lists passenger segment IDs for a requested seat map.

          • OptionalrequestMode?: "BOOKING" | "CHECKIN"

            Identifies whether the request should be used for booking or for check-in.

          • requestType: "payload"

            discriminator enum property added by openapi-typescript

        • Omit<
              {
                  payloadAttributes?: {
                      correlationID?: string;
                      echoTokenText?: string;
                      timeStamp?: string;
                      transactionID?: string;
                  };
                  requestType: string;
              },
              "requestType",
          > & {
              request: {
                  customAttributes?: { key: string; value: string }[];
                  dataBin?: string;
                  pnrLocator: string;
              };
              requestMode?: "BOOKING"
              | "CHECKIN";
          } & { requestType: "stateless" }
          • request: {
                customAttributes?: { key: string; value: string }[];
                dataBin?: string;
                pnrLocator: string;
            }

            Contains itinerary elements required for the stateless request type.

            • OptionalcustomAttributes?: { key: string; value: string }[]

              Lists any custom input attributes.

            • OptionaldataBin?: string
            • pnrLocator: string

              The PNR locator associated with the seat maps to return in the stateless request.

          • OptionalrequestMode?: "BOOKING" | "CHECKIN"

            Identifies whether the request should be used for booking or for check-in.

          • requestType: "stateless"

            discriminator enum property added by openapi-typescript

      • body: any

      Returns {
          error?: any;
          response: {
              errors?: {
                  code?: string;
                  descriptionText?: string;
                  languageCode?: string;
                  ownerName?: string;
                  statusText?: string;
                  tagText?: string[];
                  typeCode?: string;
                  url?: string;
              }[];
              extensions?: Record<string, never>;
              payloadAttributes?: {
                  correlationID?: string;
                  echoTokenText?: string;
                  timeStamp?: string;
                  transactionID?: string;
              };
              response?: {
                  aLaCarteOffer?: {
                      aLaCarteOfferItems: {
                          eligibility: {
                              flightAssociations?: {
                                  paxJourneyRefID?: string[];
                                  paxSegmentRefID?: string[];
                              };
                              paxRefIDs?: string[];
                              priceClassRefID?: string[];
                          };
                          offerItemID: string;
                          service?: {
                              serviceDefinitionRefID: string;
                              serviceId: string;
                              serviceRefID?: string;
                          };
                          source?: "NDC"
                          | "LCC"
                          | "ATPCO"
                          | "SSG"
                          | "UNKNOWN";
                          unitPrice: {
                              baseAmount?: { amount: number; currencyCode?: string };
                              discount?: {
                                  appText?: string;
                                  descriptionText?: string;
                                  discountAmount?: { amount: number; currencyCode?: string };
                                  discountContext?: { keyWordText?: string; valueText?: string }[];
                                  discountPercent?: number;
                                  preDiscountedAmount?: { amount: number; currencyCode?: string };
                                  ruleId?: string;
                              };
                              equivAmount?: { amount: number; currencyCode?: string };
                              fee?: {
                                  amount?: { amount: number; currencyCode?: string };
                                  description?: string;
                                  designator?: string;
                                  localAmount?: { amount: number; currencyCode?: string };
                                  nature?: string;
                              }[];
                              loyaltyUnitAmount?: { amount: number; currencyCode?: string };
                              loyaltyUnitName?: string;
                              surcharge?: {
                                  breakdown?: {
                                      amount?: ...;
                                      description?: ...;
                                      designator?: ...;
                                      localAmount?: ...;
                                      nature?: ...;
                                  }[];
                                  total?: { amount: number; currencyCode?: string };
                              }[];
                              taxSummary?: {
                                  taxes?: {
                                      amount?: { amount: ...; currencyCode?: ... };
                                      descText?: string;
                                      taxCode?: string;
                                  }[];
                                  totalTaxAmount?: { amount: number; currencyCode?: string };
                              };
                              totalAmount?: { amount: number; currencyCode?: string };
                          };
                      }[];
                      baggageDisclosureRefID?: string[];
                      disclosureRefID?: string;
                      matchAppText?: string;
                      matchPercent?: number;
                      matchType?: string;
                      offerExpirationDateTime?: string;
                      offerId: string;
                      ownerCode: string;
                      ownerTypeCode?: string;
                      paymentTimeLimitDateTime?: string;
                      paymentTimeLimitText?: string;
                      penaltyRefID?: string[];
                      priceGuaranteeTimeLimitDateTime?: string;
                      ptcOfferParameters?: {
                          pricedPaxNumber?: number;
                          ptcPricedCode?: string;
                          ptcRequestedCode?: string;
                          requestedPaxNumber?: number;
                      }[];
                      redemptionIndicator?: boolean;
                      requestedDateIndicator?: boolean;
                      totalPrice?: {
                          baseAmount?: { amount: number; currencyCode?: string };
                          discount?: {
                              appText?: string;
                              descriptionText?: string;
                              discountAmount?: { amount: number; currencyCode?: string };
                              discountContext?: { keyWordText?: string; valueText?: string }[];
                              discountPercent?: number;
                              preDiscountedAmount?: { amount: number; currencyCode?: string };
                              ruleId?: string;
                          };
                          equivAmount?: { amount: number; currencyCode?: string };
                          fee?: {
                              amount?: { amount: number; currencyCode?: string };
                              description?: string;
                              designator?: string;
                              localAmount?: { amount: number; currencyCode?: string };
                              nature?: string;
                          }[];
                          loyaltyUnitAmount?: { amount: number; currencyCode?: string };
                          loyaltyUnitName?: string;
                          surcharge?: {
                              breakdown?: {
                                  amount?: { amount: number; currencyCode?: string };
                                  description?: string;
                                  designator?: string;
                                  localAmount?: { amount: number; currencyCode?: string };
                                  nature?: string;
                              }[];
                              total?: { amount: number; currencyCode?: string };
                          }[];
                          taxSummary?: {
                              taxes?: {
                                  amount?: { amount: number; currencyCode?: string };
                                  descText?: string;
                                  taxCode?: string;
                              }[];
                              totalTaxAmount?: { amount: number; currencyCode?: string };
                          };
                          totalAmount?: { amount: number; currencyCode?: string };
                      };
                      validatingCarrierCode?: string;
                      webAddressURL?: string;
                  };
                  dataLists?: {
                      originDests?: {
                          destCode?: string;
                          originCode?: string;
                          originDestID?: string;
                          paxJourneyRefIDs?: string[];
                      }[];
                      paxJourneys?: {
                          distanceMeasure?: { measure: number; unitCode?: string };
                          duration?: string;
                          paxJourneyID?: string;
                          paxSegmentRefIDs: string[];
                      }[];
                      paxs?: {
                          loyaltyProgramAccount?: {
                              accountNumber?: string;
                              airline?: string;
                              partnerProgram?: string;
                              programCode?: string;
                              programName?: string;
                              providerName?: string;
                              tierPriority?: string;
                          }[];
                          paxID: string;
                          ptc?: string;
                      }[];
                      paxSegments?: {
                          arrival: {
                              aircraftScheduledDateTime?: string;
                              boardingGateID?: string;
                              iataLocationCode?: string;
                              stationName?: string;
                              terminalName?: string;
                          };
                          arrivalUknown?: boolean;
                          cabinType?: { cabinTypeCode?: string; cabinTypeName?: string };
                          datedOperatingLegs?: {
                              arrival: {
                                  aircraftScheduledDateTime?: string;
                                  boardingGateID?: string;
                                  iataLocationCode?: string;
                                  stationName?: string;
                                  terminalName?: string;
                              };
                              carrierAircraftType?: {
                                  carrierAircraftTypeCode?: string;
                                  carrierAircraftTypeName?: string;
                              };
                              datedOperatingLegID: string;
                              departure: {
                                  aircraftScheduledDateTime?: string;
                                  boardingGateID?: string;
                                  iataLocationCode?: string;
                                  stationName?: string;
                                  terminalName?: string;
                              };
                          }[];
                          departure: {
                              aircraftScheduledDateTime?: string;
                              boardingGateID?: string;
                              iataLocationCode?: string;
                              stationName?: string;
                              terminalName?: string;
                          };
                          duration?: string;
                          marketingCarrierInfo: {
                              carrierDesignatorCode: string;
                              carrierName?: string;
                              marketingCarrierFlightNumberText: string;
                              operationalSuffixText?: string;
                              rbdCode?: string;
                          };
                          operatingCarrierInfo?: {
                              carrierDesignationCode?: string;
                              carrierName?: string;
                              operatingCarrierFlightNumberText?: string;
                              operationalSuffixText?: string;
                              rbdCode?: string;
                          };
                          paxSegmentID: string;
                          secureFlight?: boolean;
                          segmentTypeCode?: string;
                          ticketless?: boolean;
                      }[];
                      seatProfiles?: {
                          characteristicCodes?: string[];
                          descriptionText?: string[];
                          marketingInformation?: {
                              descriptionID: string;
                              descriptionText?: string;
                              markupStyleText?: string;
                              url?: string;
                          }[];
                          seatKeywords?: { keyWordText: string; valueText: string }[];
                          seatPitchMeasure?: { measure: number; unitCode?: string };
                          seatProfileId: string;
                          seatWidthMeasure?: { measure: number; unitCode?: string };
                      }[];
                      serviceDefinitions?: {
                          bilateralProcessTimeLimits?: {
                              descriptionText?: string;
                              name: string;
                              timeLimitDateTime?: string;
                          }[];
                          bookingInstructions?: {
                              equipment?: string;
                              method?: string;
                              osiText?: string[];
                              ssrCodes?: string[];
                              text?: string[];
                              upgradeMethod?: { newClass?: string; value: string };
                          };
                          depositTimeLimitDateTime?: string;
                          descriptions: {
                              descriptionID: string;
                              descriptionText?: string;
                              markupStyleText?: string;
                              url?: string;
                          }[];
                          detail?: {
                              serviceCombinations?: {
                                  rule: string;
                                  serviceID?: { objectKey?: ...; owner: ...; value: ... }[];
                                  serviceReference?: string[];
                              }[];
                              serviceCoupon?: {
                                  couponType?: string;
                                  feeBasis?: string;
                                  instantPurchase?: string;
                              };
                              serviceFulfillment?: {
                                  location?: {
                                      airportFulfillmentLocation: { airportCode?: string };
                                      otherFulfillmentLocation?: {
                                          directions?: (...)[];
                                          paymentAddress: { common?: ...; country?: ... };
                                          simpleAddress: { addressLines: ... };
                                          structuredAddress: {
                                              application?: ...;
                                              common?: ...;
                                              countryCode?: ...;
                                              county?: ...;
                                          };
                                      };
                                  };
                                  offerValidDates?: { end?: string; start?: string };
                                  provider?: {
                                      fulfillments?: { location?: ...; offerValidDates?: ... }[];
                                      name?: string;
                                      partnerID: string;
                                      type?: string;
                                  };
                              };
                              serviceItemQuantityRules?: { maximum?: number; minimum?: number };
                          };
                          name: string;
                          namingTimeLimitDateTime?: string;
                          ownerCode?: string;
                          paymentTimeLimitDateTime?: string;
                          serviceDefinitionAssociation?: {
                              seatProfileRefID?: string[];
                              serviceBundle?: {
                                  maxQuantity?: number;
                                  serviceDefinitionRefID: string[];
                              };
                          };
                          serviceDefinitionID: string;
                          ticketingTimeLimitDateTime?: string;
                          validatingCarrierCode?: string;
                      }[];
                  };
                  seatMaps: {
                      cabinCompartments: {
                          cabinLayout?: {
                              authorizedSeatCount?: number;
                              columns: { id: string; position?: string }[];
                              exitRowPosition?: { firstRow: number; lastRow: number }[];
                              facilities?: {
                                  facilityType: string;
                                  location: {
                                      beginRow: ...;
                                      columnPositions: ...;
                                      endRow: ...;
                                      orientation: ...;
                                  };
                              }[];
                              missingRowNumbers?: string[];
                              missingSeatList?: string[];
                              rows: { firstRow: number; lastRow: number };
                              seatCount?: number;
                              wingRowPosition?: { firstRow: number; lastRow: number }[];
                          };
                          cabinType?: { cabinTypeCode?: string; cabinTypeName?: string };
                          columnIDs?: string[];
                          deckCode?: string;
                          firstRow?: number;
                          lastRow?: number;
                          seatRows?: {
                              characteristics?: { code: ...; description?: ... }[];
                              row: number;
                              seats: {
                                  characteristics?: ...;
                                  column: ...;
                                  occupationStatusCode?: ...;
                                  offerItemRefIDs?: ...;
                                  seatProfileRefIDs?: ...;
                              }[];
                          }[];
                      }[];
                      changeOfGaugeNotSupported?: boolean;
                      datedOperatingLegRefID?: string;
                      paxSegmentRefID: string;
                      sellable?: boolean;
                  }[];
                  shoppingResponse?: { ownerCode?: string; shoppingResponseID: string };
              };
              warnings?: { code?: string; descriptionText?: string; ownerName?: string }[];
          };
      }

    • Parameters

      • request: {
            after: {
                agencyCustomerNumber?: string;
                creationDetails?: { agencyIataNumber?: string };
                flights?: { seats?: { number: string; offerItemId?: string }[] }[];
                hotels?: (
                    { itemId: string } & {
                        associatedFlightDetails?: {
                            arrivalAirlineCode?: string;
                            arrivalFlightNumber?: number;
                            arrivalTime?: string;
                            departureAirlineCode?: string;
                            departureFlightNumber?: number;
                            departureTime?: string;
                        };
                        bookingKey?: string;
                        checkInDate?: string;
                        checkOutDate?: string;
                        corporateDiscountCode?: number;
                        formOfPaymentIndex?: number;
                        leadTravelerIndex: number;
                        numberOfGuests: number;
                        paymentPolicy: "DEPOSIT"
                        | "GUARANTEE"
                        | "LATE";
                        room: { productCode?: string; travelerIndices: number[] };
                        specialInstructions?: string;
                    }
                )[];
                payments?: {
                    formsOfPayment?: (
                        {
                            airlinePlanCode?: string;
                            cardNumber?: string;
                            cardSecurityCode?: string;
                            cardTypeCode?: string;
                            expiryDate?: string;
                            extendedPayment?: number;
                            installmentAmount?: string;
                            miscellaneousCreditCode?: string;
                            numberOfInstallments?: number;
                        } & {
                            agencyAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            agencyIataNumber?: string;
                            authentications?: {
                                amount?: string;
                                cardNumberCollectionCode?: string;
                                channelCode?: string;
                                currencyCode?: string;
                                electronicCommerceIndicator?: string;
                                exemptionTypeCode?: string;
                                issueCode?: string;
                                mandateTypeCode?: string;
                                merchantName?: string;
                                originalPaymentReference?: string;
                                resultCode?: string;
                                secureAuthenticationValue?: string;
                                secureTransactionId?: string;
                                tokenAuthenticationValue?: string;
                                updatedDateTime?: string;
                                verificationResultCode?: string;
                                version?: string;
                            }[];
                            cardHolder?: {
                                address?: {
                                    city?: string;
                                    countryCode?: string;
                                    postalCode?: string;
                                    stateProvince?: string;
                                    street?: string;
                                };
                                email?: string;
                                givenName: string;
                                phone?: string;
                                surname: string;
                            };
                            companyAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            corporateId?: string;
                            docketDescription?: string;
                            docketIssuingAgentInitials?: string;
                            docketNumber?: string;
                            docketPrefix?: string;
                            governmentTravelRequestDescription?: string;
                            invoiceDescription?: string;
                            isAgencyPaymentCard?: boolean;
                            manualApproval?: {
                                airlineCode: string;
                                amount: string;
                                code: string;
                                currencyCode: string;
                                expiryDateTime: string;
                                requestDateTime: string;
                            };
                            netBalance?: string;
                            tripType?: | "All"
                            | "Unknown"
                            | "Corporate/Business"
                            | "Leisure"
                            | "Emergency"
                            | "Family"
                            | "Group";
                            tripTypes?: (
                                | "All"
                                | "Unknown"
                                | "Corporate/Business"
                                | "Leisure"
                                | "Emergency"
                                | "Family"
                                | "Group"
                            )[];
                            type: | "INVOICE"
                            | "CORPORATE"
                            | "PAYMENTCARD"
                            | "CASH"
                            | "CHECK"
                            | "MISCELLANEOUS"
                            | "INSTALLMENTS"
                            | "VIRTUAL_CARD"
                            | "AGENCY_NAME"
                            | "AGENCY_IATA"
                            | "COMPANY_NAME"
                            | "VOUCHER"
                            | "DOCKET"
                            | "GOVERNMENT_TRAVEL_REQUEST";
                            useType?: | "All"
                            | "Other"
                            | "Tour"
                            | "Unknown"
                            | "Ancillary"
                            | "Hotel"
                            | "Car"
                            | "Cruise"
                            | "Airline"
                            | "Bus/Ground Transportation"
                            | "Insurance"
                            | "Low-Cost Carrier"
                            | "Rail"
                            | "Specialty Service"
                            | "Interface Record";
                            useTypes?: (
                                | "All"
                                | "Other"
                                | "Tour"
                                | "Unknown"
                                | "Ancillary"
                                | "Hotel"
                                | "Car"
                                | "Cruise"
                                | "Airline"
                                | "Bus/Ground Transportation"
                                | "Insurance"
                                | "Low-Cost Carrier"
                                | "Rail"
                                | "Specialty Service"
                                | "Interface Record"
                            )[];
                            virtualCard?: {
                                agencyEmail?: string;
                                customerAccountCode?: string;
                                hotelFax?: string;
                                hotelName?: string;
                                rateAmount?: { amount: string; currencyCode: string };
                                roomDescription?: string;
                                roomType?: string;
                                virtualCardCharges?: string[];
                            };
                            voucher?: { billingNumber?: string; type?: string };
                        }
                    )[];
                };
                retentionEndDate?: string;
                retentionLabel?: string;
                specialServices?: {
                    code: string;
                    flights?: { itemId: string }[];
                    message?: string;
                    travelerIndices?: number[];
                }[];
                travelers?: {
                    birthDate?: string;
                    emails?: string[];
                    givenName?: string;
                    identityDocuments?: (
                        {
                            birthDate?: string;
                            documentNumber?: string;
                            documentType: | "MILITARY"
                            | "PASSPORT"
                            | "VISA"
                            | "SECURE_FLIGHT_PASSENGER_DATA"
                            | "RESIDENCE_ADDRESS"
                            | "DESTINATION_ADDRESS"
                            | "KNOWN_TRAVELER_NUMBER"
                            | "REDRESS_NUMBER"
                            | "ALIEN_RESIDENT"
                            | "PERMANENT_RESIDENT"
                            | "FACILITATION_DOCUMENT"
                            | "NATIONAL_ID_CARD"
                            | "NEXUS_CARD"
                            | "NATURALIZATION_CERTIFICATE"
                            | "REFUGEE_REENTRY_PERMIT"
                            | "BORDER_CROSSING_CARD"
                            | "FISCAL_ID";
                            expiryDate?: string;
                            gender?: | "FEMALE"
                            | "MALE"
                            | "INFANT_FEMALE"
                            | "INFANT_MALE"
                            | "UNDISCLOSED"
                            | "UNDEFINED";
                            givenName?: string;
                            hostCountryCode?: string;
                            isLapChildDocument?: boolean;
                            isPrimaryDocumentHolder?: boolean;
                            issueDate?: string;
                            issuingCountryCode?: string;
                            middleName?: string;
                            placeOfBirth?: string;
                            placeOfIssue?: string;
                            residenceCountryCode?: string;
                            residenceDestinationAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            };
                            surname?: string;
                        } & { flights?: { itemId: string }[] }
                    )[];
                    isGrouped?: boolean;
                    loyaltyPrograms?: {
                        programNumber: string;
                        programType?:
                            | "FREQUENT_FLYER"
                            | "FREQUENT_RENTER"
                            | "LOYALTY_ID"
                            | "CORPORATE_LOYALTY_ID";
                        receiverCode?: string;
                        supplierCode?: string;
                        tierLevel?: number;
                    }[];
                    middleName?: string;
                    passengerCode?: string;
                    phones?: { label?: string; number: string }[];
                    surname?: string;
                }[];
            };
            before: {
                agencyCustomerNumber?: string;
                creationDetails?: { agencyIataNumber?: string };
                flights?: { seats?: { number: string; offerItemId?: string }[] }[];
                hotels?: (
                    { itemId: string } & {
                        associatedFlightDetails?: {
                            arrivalAirlineCode?: string;
                            arrivalFlightNumber?: number;
                            arrivalTime?: string;
                            departureAirlineCode?: string;
                            departureFlightNumber?: number;
                            departureTime?: string;
                        };
                        bookingKey?: string;
                        checkInDate?: string;
                        checkOutDate?: string;
                        corporateDiscountCode?: number;
                        formOfPaymentIndex?: number;
                        leadTravelerIndex: number;
                        numberOfGuests: number;
                        paymentPolicy: "DEPOSIT"
                        | "GUARANTEE"
                        | "LATE";
                        room: { productCode?: string; travelerIndices: number[] };
                        specialInstructions?: string;
                    }
                )[];
                payments?: {
                    formsOfPayment?: (
                        {
                            airlinePlanCode?: string;
                            cardNumber?: string;
                            cardSecurityCode?: string;
                            cardTypeCode?: string;
                            expiryDate?: string;
                            extendedPayment?: number;
                            installmentAmount?: string;
                            miscellaneousCreditCode?: string;
                            numberOfInstallments?: number;
                        } & {
                            agencyAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            agencyIataNumber?: string;
                            authentications?: {
                                amount?: string;
                                cardNumberCollectionCode?: string;
                                channelCode?: string;
                                currencyCode?: string;
                                electronicCommerceIndicator?: string;
                                exemptionTypeCode?: string;
                                issueCode?: string;
                                mandateTypeCode?: string;
                                merchantName?: string;
                                originalPaymentReference?: string;
                                resultCode?: string;
                                secureAuthenticationValue?: string;
                                secureTransactionId?: string;
                                tokenAuthenticationValue?: string;
                                updatedDateTime?: string;
                                verificationResultCode?: string;
                                version?: string;
                            }[];
                            cardHolder?: {
                                address?: {
                                    city?: string;
                                    countryCode?: string;
                                    postalCode?: string;
                                    stateProvince?: string;
                                    street?: string;
                                };
                                email?: string;
                                givenName: string;
                                phone?: string;
                                surname: string;
                            };
                            companyAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            } & { freeText?: string; name?: string };
                            corporateId?: string;
                            docketDescription?: string;
                            docketIssuingAgentInitials?: string;
                            docketNumber?: string;
                            docketPrefix?: string;
                            governmentTravelRequestDescription?: string;
                            invoiceDescription?: string;
                            isAgencyPaymentCard?: boolean;
                            manualApproval?: {
                                airlineCode: string;
                                amount: string;
                                code: string;
                                currencyCode: string;
                                expiryDateTime: string;
                                requestDateTime: string;
                            };
                            netBalance?: string;
                            tripType?: | "All"
                            | "Unknown"
                            | "Corporate/Business"
                            | "Leisure"
                            | "Emergency"
                            | "Family"
                            | "Group";
                            tripTypes?: (
                                | "All"
                                | "Unknown"
                                | "Corporate/Business"
                                | "Leisure"
                                | "Emergency"
                                | "Family"
                                | "Group"
                            )[];
                            type: | "INVOICE"
                            | "CORPORATE"
                            | "PAYMENTCARD"
                            | "CASH"
                            | "CHECK"
                            | "MISCELLANEOUS"
                            | "INSTALLMENTS"
                            | "VIRTUAL_CARD"
                            | "AGENCY_NAME"
                            | "AGENCY_IATA"
                            | "COMPANY_NAME"
                            | "VOUCHER"
                            | "DOCKET"
                            | "GOVERNMENT_TRAVEL_REQUEST";
                            useType?: | "All"
                            | "Other"
                            | "Tour"
                            | "Unknown"
                            | "Ancillary"
                            | "Hotel"
                            | "Car"
                            | "Cruise"
                            | "Airline"
                            | "Bus/Ground Transportation"
                            | "Insurance"
                            | "Low-Cost Carrier"
                            | "Rail"
                            | "Specialty Service"
                            | "Interface Record";
                            useTypes?: (
                                | "All"
                                | "Other"
                                | "Tour"
                                | "Unknown"
                                | "Ancillary"
                                | "Hotel"
                                | "Car"
                                | "Cruise"
                                | "Airline"
                                | "Bus/Ground Transportation"
                                | "Insurance"
                                | "Low-Cost Carrier"
                                | "Rail"
                                | "Specialty Service"
                                | "Interface Record"
                            )[];
                            virtualCard?: {
                                agencyEmail?: string;
                                customerAccountCode?: string;
                                hotelFax?: string;
                                hotelName?: string;
                                rateAmount?: { amount: string; currencyCode: string };
                                roomDescription?: string;
                                roomType?: string;
                                virtualCardCharges?: string[];
                            };
                            voucher?: { billingNumber?: string; type?: string };
                        }
                    )[];
                };
                retentionEndDate?: string;
                retentionLabel?: string;
                specialServices?: {
                    code: string;
                    flights?: { itemId: string }[];
                    message?: string;
                    travelerIndices?: number[];
                }[];
                travelers?: {
                    birthDate?: string;
                    emails?: string[];
                    givenName?: string;
                    identityDocuments?: (
                        {
                            birthDate?: string;
                            documentNumber?: string;
                            documentType: | "MILITARY"
                            | "PASSPORT"
                            | "VISA"
                            | "SECURE_FLIGHT_PASSENGER_DATA"
                            | "RESIDENCE_ADDRESS"
                            | "DESTINATION_ADDRESS"
                            | "KNOWN_TRAVELER_NUMBER"
                            | "REDRESS_NUMBER"
                            | "ALIEN_RESIDENT"
                            | "PERMANENT_RESIDENT"
                            | "FACILITATION_DOCUMENT"
                            | "NATIONAL_ID_CARD"
                            | "NEXUS_CARD"
                            | "NATURALIZATION_CERTIFICATE"
                            | "REFUGEE_REENTRY_PERMIT"
                            | "BORDER_CROSSING_CARD"
                            | "FISCAL_ID";
                            expiryDate?: string;
                            gender?: | "FEMALE"
                            | "MALE"
                            | "INFANT_FEMALE"
                            | "INFANT_MALE"
                            | "UNDISCLOSED"
                            | "UNDEFINED";
                            givenName?: string;
                            hostCountryCode?: string;
                            isLapChildDocument?: boolean;
                            isPrimaryDocumentHolder?: boolean;
                            issueDate?: string;
                            issuingCountryCode?: string;
                            middleName?: string;
                            placeOfBirth?: string;
                            placeOfIssue?: string;
                            residenceCountryCode?: string;
                            residenceDestinationAddress?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            };
                            surname?: string;
                        } & { flights?: { itemId: string }[] }
                    )[];
                    isGrouped?: boolean;
                    loyaltyPrograms?: {
                        programNumber: string;
                        programType?:
                            | "FREQUENT_FLYER"
                            | "FREQUENT_RENTER"
                            | "LOYALTY_ID"
                            | "CORPORATE_LOYALTY_ID";
                        receiverCode?: string;
                        supplierCode?: string;
                        tierLevel?: number;
                    }[];
                    middleName?: string;
                    passengerCode?: string;
                    phones?: { label?: string; number: string }[];
                    surname?: string;
                }[];
            };
            bookingSignature: string;
            bookingSource?: "SABRE"
            | "SABRE_ORDER";
            confirmationId: string;
            extraFeatures?: {
                returnFiscalId: boolean;
                returnFrequentRenter: boolean;
                returnWalletFormsOfPayment: boolean;
            };
            receivedFrom: string;
            retrieveBooking: boolean;
            targetPcc?: string;
            unmaskPaymentCardNumbers?: boolean;
        }
        • after: {
              agencyCustomerNumber?: string;
              creationDetails?: { agencyIataNumber?: string };
              flights?: { seats?: { number: string; offerItemId?: string }[] }[];
              hotels?: (
                  { itemId: string } & {
                      associatedFlightDetails?: {
                          arrivalAirlineCode?: string;
                          arrivalFlightNumber?: number;
                          arrivalTime?: string;
                          departureAirlineCode?: string;
                          departureFlightNumber?: number;
                          departureTime?: string;
                      };
                      bookingKey?: string;
                      checkInDate?: string;
                      checkOutDate?: string;
                      corporateDiscountCode?: number;
                      formOfPaymentIndex?: number;
                      leadTravelerIndex: number;
                      numberOfGuests: number;
                      paymentPolicy: "DEPOSIT"
                      | "GUARANTEE"
                      | "LATE";
                      room: { productCode?: string; travelerIndices: number[] };
                      specialInstructions?: string;
                  }
              )[];
              payments?: {
                  formsOfPayment?: (
                      {
                          airlinePlanCode?: string;
                          cardNumber?: string;
                          cardSecurityCode?: string;
                          cardTypeCode?: string;
                          expiryDate?: string;
                          extendedPayment?: number;
                          installmentAmount?: string;
                          miscellaneousCreditCode?: string;
                          numberOfInstallments?: number;
                      } & {
                          agencyAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          agencyIataNumber?: string;
                          authentications?: {
                              amount?: string;
                              cardNumberCollectionCode?: string;
                              channelCode?: string;
                              currencyCode?: string;
                              electronicCommerceIndicator?: string;
                              exemptionTypeCode?: string;
                              issueCode?: string;
                              mandateTypeCode?: string;
                              merchantName?: string;
                              originalPaymentReference?: string;
                              resultCode?: string;
                              secureAuthenticationValue?: string;
                              secureTransactionId?: string;
                              tokenAuthenticationValue?: string;
                              updatedDateTime?: string;
                              verificationResultCode?: string;
                              version?: string;
                          }[];
                          cardHolder?: {
                              address?: {
                                  city?: string;
                                  countryCode?: string;
                                  postalCode?: string;
                                  stateProvince?: string;
                                  street?: string;
                              };
                              email?: string;
                              givenName: string;
                              phone?: string;
                              surname: string;
                          };
                          companyAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          corporateId?: string;
                          docketDescription?: string;
                          docketIssuingAgentInitials?: string;
                          docketNumber?: string;
                          docketPrefix?: string;
                          governmentTravelRequestDescription?: string;
                          invoiceDescription?: string;
                          isAgencyPaymentCard?: boolean;
                          manualApproval?: {
                              airlineCode: string;
                              amount: string;
                              code: string;
                              currencyCode: string;
                              expiryDateTime: string;
                              requestDateTime: string;
                          };
                          netBalance?: string;
                          tripType?: | "All"
                          | "Unknown"
                          | "Corporate/Business"
                          | "Leisure"
                          | "Emergency"
                          | "Family"
                          | "Group";
                          tripTypes?: (
                              | "All"
                              | "Unknown"
                              | "Corporate/Business"
                              | "Leisure"
                              | "Emergency"
                              | "Family"
                              | "Group"
                          )[];
                          type: | "INVOICE"
                          | "CORPORATE"
                          | "PAYMENTCARD"
                          | "CASH"
                          | "CHECK"
                          | "MISCELLANEOUS"
                          | "INSTALLMENTS"
                          | "VIRTUAL_CARD"
                          | "AGENCY_NAME"
                          | "AGENCY_IATA"
                          | "COMPANY_NAME"
                          | "VOUCHER"
                          | "DOCKET"
                          | "GOVERNMENT_TRAVEL_REQUEST";
                          useType?: | "All"
                          | "Other"
                          | "Tour"
                          | "Unknown"
                          | "Ancillary"
                          | "Hotel"
                          | "Car"
                          | "Cruise"
                          | "Airline"
                          | "Bus/Ground Transportation"
                          | "Insurance"
                          | "Low-Cost Carrier"
                          | "Rail"
                          | "Specialty Service"
                          | "Interface Record";
                          useTypes?: (
                              | "All"
                              | "Other"
                              | "Tour"
                              | "Unknown"
                              | "Ancillary"
                              | "Hotel"
                              | "Car"
                              | "Cruise"
                              | "Airline"
                              | "Bus/Ground Transportation"
                              | "Insurance"
                              | "Low-Cost Carrier"
                              | "Rail"
                              | "Specialty Service"
                              | "Interface Record"
                          )[];
                          virtualCard?: {
                              agencyEmail?: string;
                              customerAccountCode?: string;
                              hotelFax?: string;
                              hotelName?: string;
                              rateAmount?: { amount: string; currencyCode: string };
                              roomDescription?: string;
                              roomType?: string;
                              virtualCardCharges?: string[];
                          };
                          voucher?: { billingNumber?: string; type?: string };
                      }
                  )[];
              };
              retentionEndDate?: string;
              retentionLabel?: string;
              specialServices?: {
                  code: string;
                  flights?: { itemId: string }[];
                  message?: string;
                  travelerIndices?: number[];
              }[];
              travelers?: {
                  birthDate?: string;
                  emails?: string[];
                  givenName?: string;
                  identityDocuments?: (
                      {
                          birthDate?: string;
                          documentNumber?: string;
                          documentType: | "MILITARY"
                          | "PASSPORT"
                          | "VISA"
                          | "SECURE_FLIGHT_PASSENGER_DATA"
                          | "RESIDENCE_ADDRESS"
                          | "DESTINATION_ADDRESS"
                          | "KNOWN_TRAVELER_NUMBER"
                          | "REDRESS_NUMBER"
                          | "ALIEN_RESIDENT"
                          | "PERMANENT_RESIDENT"
                          | "FACILITATION_DOCUMENT"
                          | "NATIONAL_ID_CARD"
                          | "NEXUS_CARD"
                          | "NATURALIZATION_CERTIFICATE"
                          | "REFUGEE_REENTRY_PERMIT"
                          | "BORDER_CROSSING_CARD"
                          | "FISCAL_ID";
                          expiryDate?: string;
                          gender?: | "FEMALE"
                          | "MALE"
                          | "INFANT_FEMALE"
                          | "INFANT_MALE"
                          | "UNDISCLOSED"
                          | "UNDEFINED";
                          givenName?: string;
                          hostCountryCode?: string;
                          isLapChildDocument?: boolean;
                          isPrimaryDocumentHolder?: boolean;
                          issueDate?: string;
                          issuingCountryCode?: string;
                          middleName?: string;
                          placeOfBirth?: string;
                          placeOfIssue?: string;
                          residenceCountryCode?: string;
                          residenceDestinationAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          surname?: string;
                      } & { flights?: { itemId: string }[] }
                  )[];
                  isGrouped?: boolean;
                  loyaltyPrograms?: {
                      programNumber: string;
                      programType?:
                          | "FREQUENT_FLYER"
                          | "FREQUENT_RENTER"
                          | "LOYALTY_ID"
                          | "CORPORATE_LOYALTY_ID";
                      receiverCode?: string;
                      supplierCode?: string;
                      tierLevel?: number;
                  }[];
                  middleName?: string;
                  passengerCode?: string;
                  phones?: { label?: string; number: string }[];
                  surname?: string;
              }[];
          }
          • OptionalagencyCustomerNumber?: string

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

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

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

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

            Lists all flights associated with the booking in chronological order.

          • Optionalhotels?: (
                { itemId: string } & {
                    associatedFlightDetails?: {
                        arrivalAirlineCode?: string;
                        arrivalFlightNumber?: number;
                        arrivalTime?: string;
                        departureAirlineCode?: string;
                        departureFlightNumber?: number;
                        departureTime?: string;
                    };
                    bookingKey?: string;
                    checkInDate?: string;
                    checkOutDate?: string;
                    corporateDiscountCode?: number;
                    formOfPaymentIndex?: number;
                    leadTravelerIndex: number;
                    numberOfGuests: number;
                    paymentPolicy: "DEPOSIT"
                    | "GUARANTEE"
                    | "LATE";
                    room: { productCode?: string; travelerIndices: number[] };
                    specialInstructions?: string;
                }
            )[]

            Lists the hotels which should be modified.

          • Optionalpayments?: {
                formsOfPayment?: (
                    {
                        airlinePlanCode?: string;
                        cardNumber?: string;
                        cardSecurityCode?: string;
                        cardTypeCode?: string;
                        expiryDate?: string;
                        extendedPayment?: number;
                        installmentAmount?: string;
                        miscellaneousCreditCode?: string;
                        numberOfInstallments?: number;
                    } & {
                        agencyAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        agencyIataNumber?: string;
                        authentications?: {
                            amount?: string;
                            cardNumberCollectionCode?: string;
                            channelCode?: string;
                            currencyCode?: string;
                            electronicCommerceIndicator?: string;
                            exemptionTypeCode?: string;
                            issueCode?: string;
                            mandateTypeCode?: string;
                            merchantName?: string;
                            originalPaymentReference?: string;
                            resultCode?: string;
                            secureAuthenticationValue?: string;
                            secureTransactionId?: string;
                            tokenAuthenticationValue?: string;
                            updatedDateTime?: string;
                            verificationResultCode?: string;
                            version?: string;
                        }[];
                        cardHolder?: {
                            address?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            };
                            email?: string;
                            givenName: string;
                            phone?: string;
                            surname: string;
                        };
                        companyAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        corporateId?: string;
                        docketDescription?: string;
                        docketIssuingAgentInitials?: string;
                        docketNumber?: string;
                        docketPrefix?: string;
                        governmentTravelRequestDescription?: string;
                        invoiceDescription?: string;
                        isAgencyPaymentCard?: boolean;
                        manualApproval?: {
                            airlineCode: string;
                            amount: string;
                            code: string;
                            currencyCode: string;
                            expiryDateTime: string;
                            requestDateTime: string;
                        };
                        netBalance?: string;
                        tripType?: | "All"
                        | "Unknown"
                        | "Corporate/Business"
                        | "Leisure"
                        | "Emergency"
                        | "Family"
                        | "Group";
                        tripTypes?: (
                            | "All"
                            | "Unknown"
                            | "Corporate/Business"
                            | "Leisure"
                            | "Emergency"
                            | "Family"
                            | "Group"
                        )[];
                        type: | "INVOICE"
                        | "CORPORATE"
                        | "PAYMENTCARD"
                        | "CASH"
                        | "CHECK"
                        | "MISCELLANEOUS"
                        | "INSTALLMENTS"
                        | "VIRTUAL_CARD"
                        | "AGENCY_NAME"
                        | "AGENCY_IATA"
                        | "COMPANY_NAME"
                        | "VOUCHER"
                        | "DOCKET"
                        | "GOVERNMENT_TRAVEL_REQUEST";
                        useType?: | "All"
                        | "Other"
                        | "Tour"
                        | "Unknown"
                        | "Ancillary"
                        | "Hotel"
                        | "Car"
                        | "Cruise"
                        | "Airline"
                        | "Bus/Ground Transportation"
                        | "Insurance"
                        | "Low-Cost Carrier"
                        | "Rail"
                        | "Specialty Service"
                        | "Interface Record";
                        useTypes?: (
                            | "All"
                            | "Other"
                            | "Tour"
                            | "Unknown"
                            | "Ancillary"
                            | "Hotel"
                            | "Car"
                            | "Cruise"
                            | "Airline"
                            | "Bus/Ground Transportation"
                            | "Insurance"
                            | "Low-Cost Carrier"
                            | "Rail"
                            | "Specialty Service"
                            | "Interface Record"
                        )[];
                        virtualCard?: {
                            agencyEmail?: string;
                            customerAccountCode?: string;
                            hotelFax?: string;
                            hotelName?: string;
                            rateAmount?: { amount: string; currencyCode: string };
                            roomDescription?: string;
                            roomType?: string;
                            virtualCardCharges?: string[];
                        };
                        voucher?: { billingNumber?: string; type?: string };
                    }
                )[];
            }
            • OptionalformsOfPayment?: (
                  {
                      airlinePlanCode?: string;
                      cardNumber?: string;
                      cardSecurityCode?: string;
                      cardTypeCode?: string;
                      expiryDate?: string;
                      extendedPayment?: number;
                      installmentAmount?: string;
                      miscellaneousCreditCode?: string;
                      numberOfInstallments?: number;
                  } & {
                      agencyAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      agencyIataNumber?: string;
                      authentications?: {
                          amount?: string;
                          cardNumberCollectionCode?: string;
                          channelCode?: string;
                          currencyCode?: string;
                          electronicCommerceIndicator?: string;
                          exemptionTypeCode?: string;
                          issueCode?: string;
                          mandateTypeCode?: string;
                          merchantName?: string;
                          originalPaymentReference?: string;
                          resultCode?: string;
                          secureAuthenticationValue?: string;
                          secureTransactionId?: string;
                          tokenAuthenticationValue?: string;
                          updatedDateTime?: string;
                          verificationResultCode?: string;
                          version?: string;
                      }[];
                      cardHolder?: {
                          address?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          email?: string;
                          givenName: string;
                          phone?: string;
                          surname: string;
                      };
                      companyAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      corporateId?: string;
                      docketDescription?: string;
                      docketIssuingAgentInitials?: string;
                      docketNumber?: string;
                      docketPrefix?: string;
                      governmentTravelRequestDescription?: string;
                      invoiceDescription?: string;
                      isAgencyPaymentCard?: boolean;
                      manualApproval?: {
                          airlineCode: string;
                          amount: string;
                          code: string;
                          currencyCode: string;
                          expiryDateTime: string;
                          requestDateTime: string;
                      };
                      netBalance?: string;
                      tripType?: | "All"
                      | "Unknown"
                      | "Corporate/Business"
                      | "Leisure"
                      | "Emergency"
                      | "Family"
                      | "Group";
                      tripTypes?: (
                          | "All"
                          | "Unknown"
                          | "Corporate/Business"
                          | "Leisure"
                          | "Emergency"
                          | "Family"
                          | "Group"
                      )[];
                      type: | "INVOICE"
                      | "CORPORATE"
                      | "PAYMENTCARD"
                      | "CASH"
                      | "CHECK"
                      | "MISCELLANEOUS"
                      | "INSTALLMENTS"
                      | "VIRTUAL_CARD"
                      | "AGENCY_NAME"
                      | "AGENCY_IATA"
                      | "COMPANY_NAME"
                      | "VOUCHER"
                      | "DOCKET"
                      | "GOVERNMENT_TRAVEL_REQUEST";
                      useType?: | "All"
                      | "Other"
                      | "Tour"
                      | "Unknown"
                      | "Ancillary"
                      | "Hotel"
                      | "Car"
                      | "Cruise"
                      | "Airline"
                      | "Bus/Ground Transportation"
                      | "Insurance"
                      | "Low-Cost Carrier"
                      | "Rail"
                      | "Specialty Service"
                      | "Interface Record";
                      useTypes?: (
                          | "All"
                          | "Other"
                          | "Tour"
                          | "Unknown"
                          | "Ancillary"
                          | "Hotel"
                          | "Car"
                          | "Cruise"
                          | "Airline"
                          | "Bus/Ground Transportation"
                          | "Insurance"
                          | "Low-Cost Carrier"
                          | "Rail"
                          | "Specialty Service"
                          | "Interface Record"
                      )[];
                      virtualCard?: {
                          agencyEmail?: string;
                          customerAccountCode?: string;
                          hotelFax?: string;
                          hotelName?: string;
                          rateAmount?: { amount: string; currencyCode: string };
                          roomDescription?: string;
                          roomType?: string;
                          virtualCardCharges?: string[];
                      };
                      voucher?: { billingNumber?: string; type?: string };
                  }
              )[]

              Lists payment methods associated with the booking.

          • OptionalretentionEndDate?: string

            Format: date

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

            2024-01-30
            
          • OptionalretentionLabel?: string

            The label associated with the retention date.

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

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

          • Optionaltravelers?: {
                birthDate?: string;
                emails?: string[];
                givenName?: string;
                identityDocuments?: (
                    {
                        birthDate?: string;
                        documentNumber?: string;
                        documentType: | "MILITARY"
                        | "PASSPORT"
                        | "VISA"
                        | "SECURE_FLIGHT_PASSENGER_DATA"
                        | "RESIDENCE_ADDRESS"
                        | "DESTINATION_ADDRESS"
                        | "KNOWN_TRAVELER_NUMBER"
                        | "REDRESS_NUMBER"
                        | "ALIEN_RESIDENT"
                        | "PERMANENT_RESIDENT"
                        | "FACILITATION_DOCUMENT"
                        | "NATIONAL_ID_CARD"
                        | "NEXUS_CARD"
                        | "NATURALIZATION_CERTIFICATE"
                        | "REFUGEE_REENTRY_PERMIT"
                        | "BORDER_CROSSING_CARD"
                        | "FISCAL_ID";
                        expiryDate?: string;
                        gender?: | "FEMALE"
                        | "MALE"
                        | "INFANT_FEMALE"
                        | "INFANT_MALE"
                        | "UNDISCLOSED"
                        | "UNDEFINED";
                        givenName?: string;
                        hostCountryCode?: string;
                        isLapChildDocument?: boolean;
                        isPrimaryDocumentHolder?: boolean;
                        issueDate?: string;
                        issuingCountryCode?: string;
                        middleName?: string;
                        placeOfBirth?: string;
                        placeOfIssue?: string;
                        residenceCountryCode?: string;
                        residenceDestinationAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        };
                        surname?: string;
                    } & { flights?: { itemId: string }[] }
                )[];
                isGrouped?: boolean;
                loyaltyPrograms?: {
                    programNumber: string;
                    programType?:
                        | "FREQUENT_FLYER"
                        | "FREQUENT_RENTER"
                        | "LOYALTY_ID"
                        | "CORPORATE_LOYALTY_ID";
                    receiverCode?: string;
                    supplierCode?: string;
                    tierLevel?: number;
                }[];
                middleName?: string;
                passengerCode?: string;
                phones?: { label?: string; number: string }[];
                surname?: string;
            }[]

            Lists personal information of the travelers.

        • before: {
              agencyCustomerNumber?: string;
              creationDetails?: { agencyIataNumber?: string };
              flights?: { seats?: { number: string; offerItemId?: string }[] }[];
              hotels?: (
                  { itemId: string } & {
                      associatedFlightDetails?: {
                          arrivalAirlineCode?: string;
                          arrivalFlightNumber?: number;
                          arrivalTime?: string;
                          departureAirlineCode?: string;
                          departureFlightNumber?: number;
                          departureTime?: string;
                      };
                      bookingKey?: string;
                      checkInDate?: string;
                      checkOutDate?: string;
                      corporateDiscountCode?: number;
                      formOfPaymentIndex?: number;
                      leadTravelerIndex: number;
                      numberOfGuests: number;
                      paymentPolicy: "DEPOSIT"
                      | "GUARANTEE"
                      | "LATE";
                      room: { productCode?: string; travelerIndices: number[] };
                      specialInstructions?: string;
                  }
              )[];
              payments?: {
                  formsOfPayment?: (
                      {
                          airlinePlanCode?: string;
                          cardNumber?: string;
                          cardSecurityCode?: string;
                          cardTypeCode?: string;
                          expiryDate?: string;
                          extendedPayment?: number;
                          installmentAmount?: string;
                          miscellaneousCreditCode?: string;
                          numberOfInstallments?: number;
                      } & {
                          agencyAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          agencyIataNumber?: string;
                          authentications?: {
                              amount?: string;
                              cardNumberCollectionCode?: string;
                              channelCode?: string;
                              currencyCode?: string;
                              electronicCommerceIndicator?: string;
                              exemptionTypeCode?: string;
                              issueCode?: string;
                              mandateTypeCode?: string;
                              merchantName?: string;
                              originalPaymentReference?: string;
                              resultCode?: string;
                              secureAuthenticationValue?: string;
                              secureTransactionId?: string;
                              tokenAuthenticationValue?: string;
                              updatedDateTime?: string;
                              verificationResultCode?: string;
                              version?: string;
                          }[];
                          cardHolder?: {
                              address?: {
                                  city?: string;
                                  countryCode?: string;
                                  postalCode?: string;
                                  stateProvince?: string;
                                  street?: string;
                              };
                              email?: string;
                              givenName: string;
                              phone?: string;
                              surname: string;
                          };
                          companyAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          corporateId?: string;
                          docketDescription?: string;
                          docketIssuingAgentInitials?: string;
                          docketNumber?: string;
                          docketPrefix?: string;
                          governmentTravelRequestDescription?: string;
                          invoiceDescription?: string;
                          isAgencyPaymentCard?: boolean;
                          manualApproval?: {
                              airlineCode: string;
                              amount: string;
                              code: string;
                              currencyCode: string;
                              expiryDateTime: string;
                              requestDateTime: string;
                          };
                          netBalance?: string;
                          tripType?: | "All"
                          | "Unknown"
                          | "Corporate/Business"
                          | "Leisure"
                          | "Emergency"
                          | "Family"
                          | "Group";
                          tripTypes?: (
                              | "All"
                              | "Unknown"
                              | "Corporate/Business"
                              | "Leisure"
                              | "Emergency"
                              | "Family"
                              | "Group"
                          )[];
                          type: | "INVOICE"
                          | "CORPORATE"
                          | "PAYMENTCARD"
                          | "CASH"
                          | "CHECK"
                          | "MISCELLANEOUS"
                          | "INSTALLMENTS"
                          | "VIRTUAL_CARD"
                          | "AGENCY_NAME"
                          | "AGENCY_IATA"
                          | "COMPANY_NAME"
                          | "VOUCHER"
                          | "DOCKET"
                          | "GOVERNMENT_TRAVEL_REQUEST";
                          useType?: | "All"
                          | "Other"
                          | "Tour"
                          | "Unknown"
                          | "Ancillary"
                          | "Hotel"
                          | "Car"
                          | "Cruise"
                          | "Airline"
                          | "Bus/Ground Transportation"
                          | "Insurance"
                          | "Low-Cost Carrier"
                          | "Rail"
                          | "Specialty Service"
                          | "Interface Record";
                          useTypes?: (
                              | "All"
                              | "Other"
                              | "Tour"
                              | "Unknown"
                              | "Ancillary"
                              | "Hotel"
                              | "Car"
                              | "Cruise"
                              | "Airline"
                              | "Bus/Ground Transportation"
                              | "Insurance"
                              | "Low-Cost Carrier"
                              | "Rail"
                              | "Specialty Service"
                              | "Interface Record"
                          )[];
                          virtualCard?: {
                              agencyEmail?: string;
                              customerAccountCode?: string;
                              hotelFax?: string;
                              hotelName?: string;
                              rateAmount?: { amount: string; currencyCode: string };
                              roomDescription?: string;
                              roomType?: string;
                              virtualCardCharges?: string[];
                          };
                          voucher?: { billingNumber?: string; type?: string };
                      }
                  )[];
              };
              retentionEndDate?: string;
              retentionLabel?: string;
              specialServices?: {
                  code: string;
                  flights?: { itemId: string }[];
                  message?: string;
                  travelerIndices?: number[];
              }[];
              travelers?: {
                  birthDate?: string;
                  emails?: string[];
                  givenName?: string;
                  identityDocuments?: (
                      {
                          birthDate?: string;
                          documentNumber?: string;
                          documentType: | "MILITARY"
                          | "PASSPORT"
                          | "VISA"
                          | "SECURE_FLIGHT_PASSENGER_DATA"
                          | "RESIDENCE_ADDRESS"
                          | "DESTINATION_ADDRESS"
                          | "KNOWN_TRAVELER_NUMBER"
                          | "REDRESS_NUMBER"
                          | "ALIEN_RESIDENT"
                          | "PERMANENT_RESIDENT"
                          | "FACILITATION_DOCUMENT"
                          | "NATIONAL_ID_CARD"
                          | "NEXUS_CARD"
                          | "NATURALIZATION_CERTIFICATE"
                          | "REFUGEE_REENTRY_PERMIT"
                          | "BORDER_CROSSING_CARD"
                          | "FISCAL_ID";
                          expiryDate?: string;
                          gender?: | "FEMALE"
                          | "MALE"
                          | "INFANT_FEMALE"
                          | "INFANT_MALE"
                          | "UNDISCLOSED"
                          | "UNDEFINED";
                          givenName?: string;
                          hostCountryCode?: string;
                          isLapChildDocument?: boolean;
                          isPrimaryDocumentHolder?: boolean;
                          issueDate?: string;
                          issuingCountryCode?: string;
                          middleName?: string;
                          placeOfBirth?: string;
                          placeOfIssue?: string;
                          residenceCountryCode?: string;
                          residenceDestinationAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          surname?: string;
                      } & { flights?: { itemId: string }[] }
                  )[];
                  isGrouped?: boolean;
                  loyaltyPrograms?: {
                      programNumber: string;
                      programType?:
                          | "FREQUENT_FLYER"
                          | "FREQUENT_RENTER"
                          | "LOYALTY_ID"
                          | "CORPORATE_LOYALTY_ID";
                      receiverCode?: string;
                      supplierCode?: string;
                      tierLevel?: number;
                  }[];
                  middleName?: string;
                  passengerCode?: string;
                  phones?: { label?: string; number: string }[];
                  surname?: string;
              }[];
          }
          • OptionalagencyCustomerNumber?: string

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

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

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

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

            Lists all flights associated with the booking in chronological order.

          • Optionalhotels?: (
                { itemId: string } & {
                    associatedFlightDetails?: {
                        arrivalAirlineCode?: string;
                        arrivalFlightNumber?: number;
                        arrivalTime?: string;
                        departureAirlineCode?: string;
                        departureFlightNumber?: number;
                        departureTime?: string;
                    };
                    bookingKey?: string;
                    checkInDate?: string;
                    checkOutDate?: string;
                    corporateDiscountCode?: number;
                    formOfPaymentIndex?: number;
                    leadTravelerIndex: number;
                    numberOfGuests: number;
                    paymentPolicy: "DEPOSIT"
                    | "GUARANTEE"
                    | "LATE";
                    room: { productCode?: string; travelerIndices: number[] };
                    specialInstructions?: string;
                }
            )[]

            Lists the hotels which should be modified.

          • Optionalpayments?: {
                formsOfPayment?: (
                    {
                        airlinePlanCode?: string;
                        cardNumber?: string;
                        cardSecurityCode?: string;
                        cardTypeCode?: string;
                        expiryDate?: string;
                        extendedPayment?: number;
                        installmentAmount?: string;
                        miscellaneousCreditCode?: string;
                        numberOfInstallments?: number;
                    } & {
                        agencyAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        agencyIataNumber?: string;
                        authentications?: {
                            amount?: string;
                            cardNumberCollectionCode?: string;
                            channelCode?: string;
                            currencyCode?: string;
                            electronicCommerceIndicator?: string;
                            exemptionTypeCode?: string;
                            issueCode?: string;
                            mandateTypeCode?: string;
                            merchantName?: string;
                            originalPaymentReference?: string;
                            resultCode?: string;
                            secureAuthenticationValue?: string;
                            secureTransactionId?: string;
                            tokenAuthenticationValue?: string;
                            updatedDateTime?: string;
                            verificationResultCode?: string;
                            version?: string;
                        }[];
                        cardHolder?: {
                            address?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            };
                            email?: string;
                            givenName: string;
                            phone?: string;
                            surname: string;
                        };
                        companyAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        corporateId?: string;
                        docketDescription?: string;
                        docketIssuingAgentInitials?: string;
                        docketNumber?: string;
                        docketPrefix?: string;
                        governmentTravelRequestDescription?: string;
                        invoiceDescription?: string;
                        isAgencyPaymentCard?: boolean;
                        manualApproval?: {
                            airlineCode: string;
                            amount: string;
                            code: string;
                            currencyCode: string;
                            expiryDateTime: string;
                            requestDateTime: string;
                        };
                        netBalance?: string;
                        tripType?: | "All"
                        | "Unknown"
                        | "Corporate/Business"
                        | "Leisure"
                        | "Emergency"
                        | "Family"
                        | "Group";
                        tripTypes?: (
                            | "All"
                            | "Unknown"
                            | "Corporate/Business"
                            | "Leisure"
                            | "Emergency"
                            | "Family"
                            | "Group"
                        )[];
                        type: | "INVOICE"
                        | "CORPORATE"
                        | "PAYMENTCARD"
                        | "CASH"
                        | "CHECK"
                        | "MISCELLANEOUS"
                        | "INSTALLMENTS"
                        | "VIRTUAL_CARD"
                        | "AGENCY_NAME"
                        | "AGENCY_IATA"
                        | "COMPANY_NAME"
                        | "VOUCHER"
                        | "DOCKET"
                        | "GOVERNMENT_TRAVEL_REQUEST";
                        useType?: | "All"
                        | "Other"
                        | "Tour"
                        | "Unknown"
                        | "Ancillary"
                        | "Hotel"
                        | "Car"
                        | "Cruise"
                        | "Airline"
                        | "Bus/Ground Transportation"
                        | "Insurance"
                        | "Low-Cost Carrier"
                        | "Rail"
                        | "Specialty Service"
                        | "Interface Record";
                        useTypes?: (
                            | "All"
                            | "Other"
                            | "Tour"
                            | "Unknown"
                            | "Ancillary"
                            | "Hotel"
                            | "Car"
                            | "Cruise"
                            | "Airline"
                            | "Bus/Ground Transportation"
                            | "Insurance"
                            | "Low-Cost Carrier"
                            | "Rail"
                            | "Specialty Service"
                            | "Interface Record"
                        )[];
                        virtualCard?: {
                            agencyEmail?: string;
                            customerAccountCode?: string;
                            hotelFax?: string;
                            hotelName?: string;
                            rateAmount?: { amount: string; currencyCode: string };
                            roomDescription?: string;
                            roomType?: string;
                            virtualCardCharges?: string[];
                        };
                        voucher?: { billingNumber?: string; type?: string };
                    }
                )[];
            }
            • OptionalformsOfPayment?: (
                  {
                      airlinePlanCode?: string;
                      cardNumber?: string;
                      cardSecurityCode?: string;
                      cardTypeCode?: string;
                      expiryDate?: string;
                      extendedPayment?: number;
                      installmentAmount?: string;
                      miscellaneousCreditCode?: string;
                      numberOfInstallments?: number;
                  } & {
                      agencyAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      agencyIataNumber?: string;
                      authentications?: {
                          amount?: string;
                          cardNumberCollectionCode?: string;
                          channelCode?: string;
                          currencyCode?: string;
                          electronicCommerceIndicator?: string;
                          exemptionTypeCode?: string;
                          issueCode?: string;
                          mandateTypeCode?: string;
                          merchantName?: string;
                          originalPaymentReference?: string;
                          resultCode?: string;
                          secureAuthenticationValue?: string;
                          secureTransactionId?: string;
                          tokenAuthenticationValue?: string;
                          updatedDateTime?: string;
                          verificationResultCode?: string;
                          version?: string;
                      }[];
                      cardHolder?: {
                          address?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          email?: string;
                          givenName: string;
                          phone?: string;
                          surname: string;
                      };
                      companyAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      corporateId?: string;
                      docketDescription?: string;
                      docketIssuingAgentInitials?: string;
                      docketNumber?: string;
                      docketPrefix?: string;
                      governmentTravelRequestDescription?: string;
                      invoiceDescription?: string;
                      isAgencyPaymentCard?: boolean;
                      manualApproval?: {
                          airlineCode: string;
                          amount: string;
                          code: string;
                          currencyCode: string;
                          expiryDateTime: string;
                          requestDateTime: string;
                      };
                      netBalance?: string;
                      tripType?: | "All"
                      | "Unknown"
                      | "Corporate/Business"
                      | "Leisure"
                      | "Emergency"
                      | "Family"
                      | "Group";
                      tripTypes?: (
                          | "All"
                          | "Unknown"
                          | "Corporate/Business"
                          | "Leisure"
                          | "Emergency"
                          | "Family"
                          | "Group"
                      )[];
                      type: | "INVOICE"
                      | "CORPORATE"
                      | "PAYMENTCARD"
                      | "CASH"
                      | "CHECK"
                      | "MISCELLANEOUS"
                      | "INSTALLMENTS"
                      | "VIRTUAL_CARD"
                      | "AGENCY_NAME"
                      | "AGENCY_IATA"
                      | "COMPANY_NAME"
                      | "VOUCHER"
                      | "DOCKET"
                      | "GOVERNMENT_TRAVEL_REQUEST";
                      useType?: | "All"
                      | "Other"
                      | "Tour"
                      | "Unknown"
                      | "Ancillary"
                      | "Hotel"
                      | "Car"
                      | "Cruise"
                      | "Airline"
                      | "Bus/Ground Transportation"
                      | "Insurance"
                      | "Low-Cost Carrier"
                      | "Rail"
                      | "Specialty Service"
                      | "Interface Record";
                      useTypes?: (
                          | "All"
                          | "Other"
                          | "Tour"
                          | "Unknown"
                          | "Ancillary"
                          | "Hotel"
                          | "Car"
                          | "Cruise"
                          | "Airline"
                          | "Bus/Ground Transportation"
                          | "Insurance"
                          | "Low-Cost Carrier"
                          | "Rail"
                          | "Specialty Service"
                          | "Interface Record"
                      )[];
                      virtualCard?: {
                          agencyEmail?: string;
                          customerAccountCode?: string;
                          hotelFax?: string;
                          hotelName?: string;
                          rateAmount?: { amount: string; currencyCode: string };
                          roomDescription?: string;
                          roomType?: string;
                          virtualCardCharges?: string[];
                      };
                      voucher?: { billingNumber?: string; type?: string };
                  }
              )[]

              Lists payment methods associated with the booking.

          • OptionalretentionEndDate?: string

            Format: date

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

            2024-01-30
            
          • OptionalretentionLabel?: string

            The label associated with the retention date.

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

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

          • Optionaltravelers?: {
                birthDate?: string;
                emails?: string[];
                givenName?: string;
                identityDocuments?: (
                    {
                        birthDate?: string;
                        documentNumber?: string;
                        documentType: | "MILITARY"
                        | "PASSPORT"
                        | "VISA"
                        | "SECURE_FLIGHT_PASSENGER_DATA"
                        | "RESIDENCE_ADDRESS"
                        | "DESTINATION_ADDRESS"
                        | "KNOWN_TRAVELER_NUMBER"
                        | "REDRESS_NUMBER"
                        | "ALIEN_RESIDENT"
                        | "PERMANENT_RESIDENT"
                        | "FACILITATION_DOCUMENT"
                        | "NATIONAL_ID_CARD"
                        | "NEXUS_CARD"
                        | "NATURALIZATION_CERTIFICATE"
                        | "REFUGEE_REENTRY_PERMIT"
                        | "BORDER_CROSSING_CARD"
                        | "FISCAL_ID";
                        expiryDate?: string;
                        gender?: | "FEMALE"
                        | "MALE"
                        | "INFANT_FEMALE"
                        | "INFANT_MALE"
                        | "UNDISCLOSED"
                        | "UNDEFINED";
                        givenName?: string;
                        hostCountryCode?: string;
                        isLapChildDocument?: boolean;
                        isPrimaryDocumentHolder?: boolean;
                        issueDate?: string;
                        issuingCountryCode?: string;
                        middleName?: string;
                        placeOfBirth?: string;
                        placeOfIssue?: string;
                        residenceCountryCode?: string;
                        residenceDestinationAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        };
                        surname?: string;
                    } & { flights?: { itemId: string }[] }
                )[];
                isGrouped?: boolean;
                loyaltyPrograms?: {
                    programNumber: string;
                    programType?:
                        | "FREQUENT_FLYER"
                        | "FREQUENT_RENTER"
                        | "LOYALTY_ID"
                        | "CORPORATE_LOYALTY_ID";
                    receiverCode?: string;
                    supplierCode?: string;
                    tierLevel?: number;
                }[];
                middleName?: string;
                passengerCode?: string;
                phones?: { label?: string; number: string }[];
                surname?: string;
            }[]

            Lists personal information of the travelers.

        • bookingSignature: string

          The unique identifier of a booking, obtained by the means of the Get Booking method. Used to verify the state of the booking prior to a modification operation.

          76c2817b178cc264fa44cf85df1da5fb9e1b963006b2339aa5edc09129415bba5fcf5bf91a5f
          
        • OptionalbookingSource?: "SABRE" | "SABRE_ORDER"
        • confirmationId: string

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

          GLEBNY
          
        • OptionalextraFeatures?: {
              returnFiscalId: boolean;
              returnFrequentRenter: boolean;
              returnWalletFormsOfPayment: boolean;
          }
          • returnFiscalId: boolean

            If true, the additional identity document FISCAL_ID is supported.

            false
            
          • returnFrequentRenter: boolean

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

            false
            
          • returnWalletFormsOfPayment: boolean

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

            false
            
        • receivedFrom: string

          The entity that authorizes the changes in a booking.

          Modify Booking
          
          Booking Management API testing
          
        • retrieveBooking: boolean

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

          false
          
          true
          
        • OptionaltargetPcc?: string

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

          AAA
          
        • OptionalunmaskPaymentCardNumbers?: boolean

          If true, unmasks payment card information during the bookingSignature verification step. To use unmasked data, the Employee Profile Record (EPR) needs to include the CCVIEW keyword.

          false
          
      • body: any

      Returns {
          error?: any;
          response: {
              booking?: {
                  accountingItems?: {
                      airlineCode?: string;
                      cardNumber?: string;
                      cardTypeCode?: string;
                      commission?: {
                          commissionAmount?: string;
                          commissionPercentage?: string;
                          currencyCode?: string;
                      };
                      creationType?: "Refund"
                      | "Exchange"
                      | "First Issuance";
                      currencyCode?: string;
                      fareAmount?: string;
                      fareApplicationType?:
                          | "Single Traveler"
                          | "All Travelers"
                          | "Each Traveler";
                      formOfPaymentType?: | "Unknown"
                      | "Cash"
                      | "Check"
                      | "Check or Cash"
                      | "Payment Card"
                      | "Masked Payment Card";
                      tariffBasisType?: "Domestic"
                      | "Foreign"
                      | "International";
                      taxAmount?: string;
                      ticketNumber?: string;
                      travelerIndices?: number[];
                  }[];
                  agencyCustomerNumber?: string;
                  allSegments?: (
                      { id: string } & {
                          address?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          date?: string;
                          endAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          endDate?: string;
                          endLocationCode?: string;
                          endTime?: string;
                          locationCode?: string;
                          startAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          startDate?: string;
                          startLocationCode?: string;
                          startTime?: string;
                          text?: string;
                          time?: string;
                          type: string;
                          vendorCode?: string;
                      }
                  )[];
                  bookingId?: string;
                  cars?: (
                      { itemId: string } & {
                          carStatusCode?: string;
                          carStatusName?:
                              | "Unknown"
                              | "Confirmed"
                              | "On Request"
                              | "Pending"
                              | "Cancelled"
                              | "Unconfirmed"
                              | "Waitlisted"
                              | "Infant/No Seat"
                              | "Priority Waitlist"
                              | "Quote"
                              | "Space Available"
                              | "Pending Quote"
                              | "No Seat"
                              | "Standby";
                          collectionAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          collectionSite?: { id?: string; name?: string; phone?: string };
                          confirmationId?: string;
                          deliveryAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          deliverySite?: { id?: string; name?: string; phone?: string };
                          distanceAllowance?: string;
                          dropOffAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          dropOffContactInfo?: { emails?: string[] } & {
                              emergencyPhones?: string[];
                              faxes?: string[];
                              phones?: string[];
                          };
                          dropOffDate: string;
                          dropOffLocationCode?: string;
                          dropOffTime: string;
                          guaranteePaymentNote?: string;
                          isRefundable: boolean;
                          numberOfVehicles?: number;
                          payment?: {
                              currencyCode: string;
                              fees?: string;
                              subtotal?: string;
                              taxes?: string;
                              total: string;
                          };
                          pickUpAddress: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          pickUpContactInfo?: { emails?: string[] } & {
                              emergencyPhones?: string[];
                              faxes?: string[];
                              phones?: string[];
                          };
                          pickUpDate: string;
                          pickUpLocationCode?: string;
                          pickUpTime: string;
                          rateCode?: string;
                          refundPenalties?: {
                              applicableFromDate?: string;
                              applicableToDate?: string;
                              penalty: { amount: string; currencyCode: string };
                          }[];
                          specialInstructions?: string;
                          travelerIndex?: number;
                          vehicleTypeCode?: string;
                          vehicleTypeName?: | "Two/Three Door"
                          | "Two/Four Door"
                          | "Four/Five Door"
                          | "Wagon/Estate"
                          | "Passenger Van"
                          | "Limousine/Sedan"
                          | "Sport"
                          | "Convertible"
                          | "SUV"
                          | "Open Air All Terrain"
                          | "Special"
                          | "Pick up single/extended cab 2 door"
                          | "Pick up double cab 4 door"
                          | "Special Offer Car"
                          | "Coupe"
                          | "Monospace"
                          | "Recreational Vehicle"
                          | "Motor Home"
                          | "Two Wheel Vehicle"
                          | "Roadster"
                          | "Crossover"
                          | "Commercial Van/Truck";
                          vendorCode: string;
                          vendorName: string;
                      }
                  )[];
                  contactInfo?: { emails?: string[] } & {
                      emergencyPhones?: string[];
                      faxes?: string[];
                      phones?: string[];
                  };
                  creationDetails?: {
                      agencyIataNumber?: string;
                      creationDate?: string;
                      creationTime?: string;
                      creationUserSine?: string;
                      primeHostId?: string;
                      purchaseDeadlineDate?: string;
                      purchaseDeadlineTime?: string;
                      userHomePcc?: string;
                      userWorkPcc?: string;
                  };
                  cruises?: (
                      { itemId: string } & {
                          arrivalDate: string;
                          arrivalTime?: string;
                          cabinNumber?: string;
                          confirmationId?: string;
                          cruiseStatusCode?: string;
                          cruiseStatusName?:
                              | "Unknown"
                              | "Confirmed"
                              | "On Request"
                              | "Pending"
                              | "Cancelled"
                              | "Unconfirmed"
                              | "Waitlisted"
                              | "Infant/No Seat"
                              | "Priority Waitlist"
                              | "Quote"
                              | "Space Available"
                              | "Pending Quote"
                              | "No Seat"
                              | "Standby";
                          departureDate: string;
                          departureTime?: string;
                          fromPortCode: string;
                          numberOfGuests?: number;
                          shipCode?: string;
                          shipName?: string;
                          toPortCode?: string;
                          vendorCode: string;
                      }
                  )[];
                  endDate?: string;
                  fareOffers?: {
                      cabinBaggageAllowance?: {
                          baggagePieces?: {
                              fee?: { amount: string; currencyCode: string };
                              isCheckInOnly?: boolean;
                              maximumSizeInCentimeters?: number;
                              maximumSizeInInches?: number;
                              maximumWeightInKilograms?: number;
                              maximumWeightInPounds?: number;
                              numberOfPieces: number;
                              specialItemDescription?: string;
                          }[];
                          maximumPieces?: number;
                          totalWeightInKilograms?: number;
                          totalWeightInPounds?: number;
                      };
                      cabinBaggageCharges?: {
                          fee?: { amount: string; currencyCode: string };
                          isCheckInOnly?: boolean;
                          maximumSizeInCentimeters?: number;
                          maximumSizeInInches?: number;
                          maximumWeightInKilograms?: number;
                          maximumWeightInPounds?: number;
                          numberOfPieces: number;
                          specialItemDescription?: string;
                      }[];
                      checkedBaggageAllowance?: {
                          baggagePieces?: {
                              fee?: { amount: string; currencyCode: string };
                              isCheckInOnly?: boolean;
                              maximumSizeInCentimeters?: number;
                              maximumSizeInInches?: number;
                              maximumWeightInKilograms?: number;
                              maximumWeightInPounds?: number;
                              numberOfPieces: number;
                              specialItemDescription?: string;
                          }[];
                          maximumPieces?: number;
                          totalWeightInKilograms?: number;
                          totalWeightInPounds?: number;
                      };
                      checkedBaggageCharges?: {
                          fee?: { amount: string; currencyCode: string };
                          isCheckInOnly?: boolean;
                          maximumSizeInCentimeters?: number;
                          maximumSizeInInches?: number;
                          maximumWeightInKilograms?: number;
                          maximumWeightInPounds?: number;
                          numberOfPieces: number;
                          specialItemDescription?: string;
                      }[];
                      flights?: { itemId: string }[];
                      travelerIndices?: number[];
                  }[];
                  fareRules?: {
                      destinationAirportCode?: string;
                      exchangePenalties?: {
                          applicability: "BEFORE_DEPARTURE"
                          | "AFTER_DEPARTURE";
                          conditionsApply: boolean;
                          penalty: { amount: string; currencyCode: string };
                      }[];
                      isChangeable?: boolean;
                      isRefundable?: boolean;
                      originAirportCode?: string;
                      owningAirlineCode: string;
                      passengerCode?: string;
                      refundPenalties?: {
                          applicability: "BEFORE_DEPARTURE"
                          | "AFTER_DEPARTURE";
                          conditionsApply: boolean;
                          penalty: { amount: string; currencyCode: string };
                      }[];
                  }[];
                  fares?: {
                      airlineCode?: string;
                      commission?: {
                          commissionAmount?: string;
                          commissionPercentage?: string;
                          currencyCode?: string;
                      };
                      creationDetails?: {
                          agencyIataNumber?: string;
                          creationDate?: string;
                          creationTime?: string;
                          creationUserSine?: string;
                          primeHostId?: string;
                          purchaseDeadlineDate?: string;
                          purchaseDeadlineTime?: string;
                          userHomePcc?: string;
                          userWorkPcc?: string;
                      };
                      fareCalculationLine?: string;
                      fareConstruction?: {
                          baseRate?: { amount: string; currencyCode: string };
                          brandAttributes?: { description?: string; itemId?: string }[];
                          brandFareCode?: string;
                          brandFareName?: string;
                          brandProgramCode?: string;
                          brandProgramName?: string;
                          checkedBaggageAllowance?: {
                              baggagePieces?: {
                                  fee?: { amount: ...; currencyCode: ... };
                                  isCheckInOnly?: boolean;
                                  maximumSizeInCentimeters?: number;
                                  maximumSizeInInches?: number;
                                  maximumWeightInKilograms?: number;
                                  maximumWeightInPounds?: number;
                                  numberOfPieces: number;
                                  specialItemDescription?: string;
                              }[];
                              maximumPieces?: number;
                              totalWeightInKilograms?: number;
                              totalWeightInPounds?: number;
                          };
                          fareBasisCode?: string;
                          flightIndices?: number[];
                          flights?: { itemId: string }[];
                          isCurrentItinerary?: boolean;
                      }[];
                      hasValidPricing: boolean;
                      isNegotiatedFare?: boolean;
                      pricedTravelerType?: string;
                      pricingStatusCode?: "A"
                      | "H";
                      pricingStatusName?: "Active" | "History";
                      pricingTypeCode?: "S" | "A" | "M";
                      pricingTypeName?: "Unknown" | "System" | "Amended" | "Manual";
                      recordId?: string;
                      recordTypeCode?: string;
                      recordTypeName?: string;
                      requestedTravelerType?: string;
                      taxBreakdown?: {
                          taxAmount?: { amount: string; currencyCode: string };
                          taxCode?: string;
                      }[];
                      totals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      };
                      tourCode?: string;
                      travelerIndices?: number[];
                  }[];
                  flights?: (
                      { itemId: string } & {
                          aircraftTypeCode?: string;
                          aircraftTypeName?: string;
                          airlineCode: string;
                          airlineName?: string;
                          arrivalDate: string;
                          arrivalGate?: string;
                          arrivalTerminalName?: string;
                          arrivalTime: string;
                          bookingClass?: string;
                          cabinTypeCode?: string;
                          cabinTypeName?: string;
                          confirmationId?: string;
                          departureDate: string;
                          departureGate?: string;
                          departureTerminalName?: string;
                          departureTime: string;
                          distanceInMiles?: number;
                          durationInMinutes?: number;
                          flightNumber: number;
                          flightStatusCode?: string;
                          flightStatusName?:
                              | "Unknown"
                              | "Confirmed"
                              | "On Request"
                              | "Pending"
                              | "Cancelled"
                              | "Unconfirmed"
                              | "Waitlisted"
                              | "Infant/No Seat"
                              | "Priority Waitlist"
                              | "Quote"
                              | "Space Available"
                              | "Pending Quote"
                              | "No Seat"
                              | "Standby";
                          fromAirportCode: string;
                          hiddenStopAircraftTypeCode?: string;
                          hiddenStopAircraftTypeName?: string;
                          hiddenStopAirportCode?: string;
                          hiddenStopArrivalDate?: string;
                          hiddenStopArrivalTime?: string;
                          hiddenStopDepartureDate?: string;
                          hiddenStopDepartureTime?: string;
                          hiddenStops?: {
                              aircraftTypeCode?: string;
                              aircraftTypeName?: string;
                              airportCode?: string;
                              arrivalDate?: string;
                              arrivalTime?: string;
                              departureDate?: string;
                              departureTime?: string;
                              durationInMinutes?: number;
                          }[];
                          identityDocuments?: {
                              itemId?: string;
                              status?: | "Unknown"
                              | "Confirmed"
                              | "On Request"
                              | "Pending"
                              | "Cancelled"
                              | "Unconfirmed"
                              | "Waitlisted"
                              | "Infant/No Seat"
                              | "Priority Waitlist"
                              | "Quote"
                              | "Space Available"
                              | "Pending Quote"
                              | "No Seat"
                              | "Standby";
                          }[];
                          isPast?: boolean;
                          meals?: {
                              code: string;
                              description: | "Meal"
                              | "Alcoholic beverages for purchase"
                              | "Breakfast"
                              | "Cold meal"
                              | "Complimentary alcoholic beverages"
                              | "Continental breakfast"
                              | "Dinner"
                              | "Food for purchase"
                              | "Food and beverage for purchase"
                              | "Hot meal"
                              | "Lunch"
                              | "No meal service"
                              | "Refreshment"
                              | "Refreshment for purchase"
                              | "Snack";
                          }[];
                          numberOfSeats?: number;
                          operatingAirlineCode?: string;
                          operatingAirlineName?: string;
                          operatingFlightNumber?: number;
                          seats?: {
                              characteristics?: string[];
                              number: string;
                              statusCode?: string;
                              statusName?: | "Unknown"
                              | "Confirmed"
                              | "On Request"
                              | "Pending"
                              | "Cancelled"
                              | "Unconfirmed"
                              | "Waitlisted"
                              | "Infant/No Seat"
                              | "Priority Waitlist"
                              | "Quote"
                              | "Space Available"
                              | "Pending Quote"
                              | "No Seat"
                              | "Standby";
                          }[];
                          sourceType?: "NDC"
                          | "LCC"
                          | "ATPCO";
                          toAirportCode: string;
                          travelerIndices?: number[];
                          updatedArrivalDate?: string;
                          updatedArrivalTime?: string;
                          updatedDepartureDate?: string;
                          updatedDepartureTime?: string;
                      }
                  )[];
                  flightTickets?: {
                      agencyIataNumber?: string;
                      airlineCode: string;
                      allCoupons?: (
                          {
                              couponStatus: | "Airport Control"
                              | "Lifted"
                              | "Checked In"
                              | "Exchanged"
                              | "Flown"
                              | "Not Flown"
                              | "Refunded"
                              | "Voided"
                              | "Printed"
                              | "Okay"
                              | "Reactivated"
                              | "Irregular Operations"
                              | "Print Exchange"
                              | "Paper Ticket"
                              | "Suspended"
                              | "Locked";
                              couponStatusCode: | "AL"
                              | "PE"
                              | "XX"
                              | "S"
                              | "P"
                              | "B"
                              | "E"
                              | "BD"
                              | "CK"
                              | "I"
                              | "RF"
                              | "V"
                              | "PR"
                              | "IO"
                              | "T";
                          } & { itemId?: string }
                      )[];
                      commission?: {
                          commissionAmount?: string;
                          commissionPercentage?: string;
                          currencyCode?: string;
                      };
                      date: string;
                      flightCoupons: (
                          { itemId: string } & {
                              couponStatus:
                                  | "Airport Control"
                                  | "Lifted"
                                  | "Checked In"
                                  | "Exchanged"
                                  | "Flown"
                                  | "Not Flown"
                                  | "Refunded"
                                  | "Voided"
                                  | "Printed"
                                  | "Okay"
                                  | "Reactivated"
                                  | "Irregular Operations"
                                  | "Print Exchange"
                                  | "Paper Ticket"
                                  | "Suspended"
                                  | "Locked";
                              couponStatusCode: | "AL"
                              | "PE"
                              | "XX"
                              | "S"
                              | "P"
                              | "B"
                              | "E"
                              | "BD"
                              | "CK"
                              | "I"
                              | "RF"
                              | "V"
                              | "PR"
                              | "IO"
                              | "T";
                          }
                      )[];
                      number: string;
                      payment: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      };
                      ticketingPcc?: string;
                      ticketStatusCode?: string;
                      ticketStatusName?: "Voided"
                      | "Issued"
                      | "Refunded/Exchanged";
                      travelerIndex: number;
                  }[];
                  futureTicketingPolicy?: {
                      comment?: string;
                      queueNumber?: string;
                      ticketingDate?: string;
                      ticketingPcc?: string;
                      ticketingTime?: string;
                  };
                  hotels?: (
                      { itemId: string } & {
                          address: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string } & { cityCode?: string };
                          associatedFlightDetails?: {
                              arrivalAirlineCode?: string;
                              arrivalFlightNumber?: number;
                              arrivalTime?: string;
                              departureAirlineCode?: string;
                              departureFlightNumber?: number;
                              departureTime?: string;
                          };
                          chainCode?: string;
                          chainName?: string;
                          checkInDate: string;
                          checkInTime: string;
                          checkOutDate: string;
                          checkOutTime: string;
                          confirmationId?: string;
                          contactInfo?: { emails?: string[] } & {
                              emergencyPhones?: string[];
                              faxes?: string[];
                              phones?: string[];
                          };
                          corporateDiscountCode?: number;
                          guaranteePaymentNote?: string;
                          guaranteeTypeCode?: number;
                          guaranteeTypeName?: | "Credit card"
                          | "Travel agency name/address"
                          | "Travel agency IATA number"
                          | "Company name/address"
                          | "Corporate ID/CD number"
                          | "Virtual card";
                          hotelName: string;
                          hotelStatusCode?: string;
                          hotelStatusName?: | "Unknown"
                          | "Confirmed"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Waitlisted"
                          | "Infant/No Seat"
                          | "Priority Waitlist"
                          | "Quote"
                          | "Space Available"
                          | "Pending Quote"
                          | "No Seat"
                          | "Standby";
                          isRefundable: boolean;
                          leadTravelerIndex?: number;
                          numberOfGuests?: number;
                          payment?: {
                              currencyCode: string;
                              fees?: string;
                              subtotal?: string;
                              taxes?: string;
                              total: string;
                          };
                          paymentPolicy?: "DEPOSIT"
                          | "GUARANTEE"
                          | "LATE";
                          propertyId?: string;
                          refundPenalties?: {
                              applicableFromDate?: string;
                              applicableToDate?: string;
                              penalty: { amount: string; currencyCode: string };
                          }[];
                          refundPenaltyPolicyCode?: string;
                          room?: {
                              agencyCommission?: {
                                  commissionAmount?: string;
                                  commissionPercentage?: string;
                                  currencyCode?: string;
                              };
                              description?: string;
                              productCode?: string;
                              quantity: number;
                              roomRate?: { amount: string; currencyCode: string };
                              roomType: string;
                              roomTypeCode?: string;
                              travelerIndices?: number[];
                          };
                          sabrePropertyId?: string;
                          sourceTypeCode?: number;
                          sourceTypeName?: | "Unknown"
                          | "Legacy"
                          | "Sabre GDS"
                          | "Expedia Associate Network"
                          | "HotelBeds.com"
                          | "Booking.com"
                          | "CMNet";
                          specialInstructions?: string;
                      }
                  )[];
                  isCancelable?: boolean;
                  isTicketed?: boolean;
                  journeys?: {
                      departureDate: string;
                      departureTime: string;
                      firstAirportCode: string;
                      lastAirportCode: string;
                      numberOfFlights: number;
                  }[];
                  nonElectronicTickets?: {
                      date?: string;
                      ticketingPcc?: string;
                      ticketingUserCode?: string;
                      ticketNumber?: string;
                      ticketStatus?: "Unknown"
                      | "Active"
                      | "Inactive";
                      time?: string;
                      travelerIndex?: number;
                  }[];
                  otherServices?: {
                      airlineCode?: string;
                      chainCode?: string;
                      serviceMessage?: string;
                      travelerIndex?: number;
                      vendorCode?: string;
                  }[];
                  payments?: {
                      carTotals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      }[];
                      flightCurrentTotals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      }[];
                      flightTotals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      }[];
                      formsOfPayment?: (
                          {
                              airlinePlanCode?: string;
                              cardNumber?: string;
                              cardSecurityCode?: string;
                              cardTypeCode?: string;
                              expiryDate?: string;
                              extendedPayment?: number;
                              installmentAmount?: string;
                              miscellaneousCreditCode?: string;
                              numberOfInstallments?: number;
                          } & {
                              agencyAddress?: {
                                  city?: string;
                                  countryCode?: string;
                                  postalCode?: string;
                                  stateProvince?: string;
                                  street?: string;
                              } & { freeText?: string; name?: string };
                              agencyIataNumber?: string;
                              authentications?: {
                                  amount?: string;
                                  cardNumberCollectionCode?: string;
                                  channelCode?: string;
                                  currencyCode?: string;
                                  electronicCommerceIndicator?: string;
                                  exemptionTypeCode?: string;
                                  issueCode?: string;
                                  mandateTypeCode?: string;
                                  merchantName?: string;
                                  originalPaymentReference?: string;
                                  resultCode?: string;
                                  secureAuthenticationValue?: string;
                                  secureTransactionId?: string;
                                  tokenAuthenticationValue?: string;
                                  updatedDateTime?: string;
                                  verificationResultCode?: string;
                                  version?: string;
                              }[];
                              cardHolder?: {
                                  address?: {
                                      city?: string;
                                      countryCode?: string;
                                      postalCode?: string;
                                      stateProvince?: string;
                                      street?: string;
                                  };
                                  email?: string;
                                  givenName: string;
                                  phone?: string;
                                  surname: string;
                              };
                              companyAddress?: {
                                  city?: string;
                                  countryCode?: string;
                                  postalCode?: string;
                                  stateProvince?: string;
                                  street?: string;
                              } & { freeText?: string; name?: string };
                              corporateId?: string;
                              docketDescription?: string;
                              docketIssuingAgentInitials?: string;
                              docketNumber?: string;
                              docketPrefix?: string;
                              governmentTravelRequestDescription?: string;
                              invoiceDescription?: string;
                              isAgencyPaymentCard?: boolean;
                              manualApproval?: {
                                  airlineCode: string;
                                  amount: string;
                                  code: string;
                                  currencyCode: string;
                                  expiryDateTime: string;
                                  requestDateTime: string;
                              };
                              netBalance?: string;
                              tripType?: | "All"
                              | "Unknown"
                              | "Corporate/Business"
                              | "Leisure"
                              | "Emergency"
                              | "Family"
                              | "Group";
                              tripTypes?: (
                                  | "All"
                                  | "Unknown"
                                  | "Corporate/Business"
                                  | "Leisure"
                                  | "Emergency"
                                  | "Family"
                                  | "Group"
                              )[];
                              type: | "INVOICE"
                              | "CORPORATE"
                              | "PAYMENTCARD"
                              | "CASH"
                              | "CHECK"
                              | "MISCELLANEOUS"
                              | "INSTALLMENTS"
                              | "VIRTUAL_CARD"
                              | "AGENCY_NAME"
                              | "AGENCY_IATA"
                              | "COMPANY_NAME"
                              | "VOUCHER"
                              | "DOCKET"
                              | "GOVERNMENT_TRAVEL_REQUEST";
                              useType?: | "All"
                              | "Other"
                              | "Tour"
                              | "Unknown"
                              | "Ancillary"
                              | "Hotel"
                              | "Car"
                              | "Cruise"
                              | "Airline"
                              | "Bus/Ground Transportation"
                              | "Insurance"
                              | "Low-Cost Carrier"
                              | "Rail"
                              | "Specialty Service"
                              | "Interface Record";
                              useTypes?: (
                                  | "All"
                                  | "Other"
                                  | "Tour"
                                  | "Unknown"
                                  | "Ancillary"
                                  | "Hotel"
                                  | "Car"
                                  | "Cruise"
                                  | "Airline"
                                  | "Bus/Ground Transportation"
                                  | "Insurance"
                                  | "Low-Cost Carrier"
                                  | "Rail"
                                  | "Specialty Service"
                                  | "Interface Record"
                              )[];
                              virtualCard?: {
                                  agencyEmail?: string;
                                  customerAccountCode?: string;
                                  hotelFax?: string;
                                  hotelName?: string;
                                  rateAmount?: { amount: string; currencyCode: string };
                                  roomDescription?: string;
                                  roomType?: string;
                                  virtualCardCharges?: string[];
                              };
                              voucher?: { billingNumber?: string; type?: string };
                          }
                      )[];
                      hotelTotals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      }[];
                      trainTotals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      }[];
                  };
                  remarks?: {
                      alphaCode?: string;
                      text?: string;
                      type?: | "INVOICE"
                      | "ITINERARY"
                      | "GENERAL"
                      | "HISTORICAL"
                      | "CLIENT_ADDRESS"
                      | "ALPHA_CODED"
                      | "DELIVERY_ADDRESS"
                      | "HIDDEN"
                      | "CORPORATE"
                      | "FORM_OF_PAYMENT"
                      | "PRINT_ON_TICKET"
                      | "FILLER_STRIP"
                      | "INTERFACE"
                      | "QUEUE_PLACE";
                  }[];
                  retentionEndDate?: string;
                  retentionLabel?: string;
                  specialServices?: {
                      code?: string;
                      flights?: { itemId: string }[];
                      message?: string;
                      name?: string;
                      statusCode?: string;
                      statusName?:
                          | "Unknown"
                          | "Confirmed"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Waitlisted"
                          | "Infant/No Seat"
                          | "Priority Waitlist"
                          | "Quote"
                          | "Space Available"
                          | "Pending Quote"
                          | "No Seat"
                          | "Standby";
                      travelerIndices?: number[];
                  }[];
                  startDate?: string;
                  trains?: (
                      { itemId: string } & {
                          arrivalDate: string;
                          arrivalTime: string;
                          confirmationId?: string;
                          departureDate: string;
                          departureTime: string;
                          fromStationCode: string;
                          fromStationName?: string;
                          isRefundable?: boolean;
                          operatingVendorCode?: string;
                          operatingVendorName?: string;
                          payment?: {
                              currencyCode: string;
                              fees?: string;
                              subtotal?: string;
                              taxes?: string;
                              total: string;
                          };
                          toStationCode: string;
                          toStationName?: string;
                          trainName?: string;
                          trainNumber: string;
                          trainStatusCode?: string;
                          trainStatusName?: | "Unknown"
                          | "Confirmed"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Waitlisted"
                          | "Infant/No Seat"
                          | "Priority Waitlist"
                          | "Quote"
                          | "Space Available"
                          | "Pending Quote"
                          | "No Seat"
                          | "Standby";
                          vendorCode: string;
                          vendorName?: string;
                      }
                  )[];
                  travelers?: {
                      address?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      ancillaries?: {
                          airlineCode?: string;
                          commercialName?: string;
                          electronicMiscellaneousDocumentNumber?: string;
                          flightApplicabilityType?: "Unknown" | "Single" | "Multiple";
                          flights?: { itemId: string }[];
                          isCommissionable?: boolean;
                          isRefundable?: boolean;
                          itemId?: string;
                          numberOfItems?: number;
                          reasonForIssuanceCode?: string;
                          reasonForIssuanceName?:
                              | "UNKNOWN"
                              | "AIR_TRANSPORTATION"
                              | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                              | "BAGGAGE"
                              | "FINANCIAL_IMPACT"
                              | "AIRPORT_SERVICES"
                              | "MERCHANDISE"
                              | "INFLIGHT_SERVICES"
                              | "INDIVIDUAL_AIRLINE_USE";
                          source?: "ATPCO"
                          | "MERCHANDISING_MANAGER";
                          statusCode?: string;
                          statusName?:
                              | "Confirmed"
                              | "Confirmed with EMD issued"
                              | "On Request"
                              | "Pending"
                              | "Cancelled"
                              | "Unconfirmed"
                              | "Confirmed with pending payment"
                              | "Schedule change";
                          subcode?: string;
                          totals?: {
                              currencyCode: string;
                              fees?: string;
                              subtotal?: string;
                              taxes?: string;
                              total: string;
                          };
                          vendorCode?: string;
                      }[];
                      birthDate?: string;
                      emails?: string[];
                      formOfPaymentIndices?: number[];
                      gender?: | "FEMALE"
                      | "MALE"
                      | "INFANT_FEMALE"
                      | "INFANT_MALE"
                      | "UNDISCLOSED"
                      | "UNDEFINED";
                      givenName: string;
                      identityDocuments?: {
                          birthDate?: string;
                          documentNumber?: string;
                          documentSubType?: "RUC"
                          | "CUIT/CUIL"
                          | "NIT";
                          documentType:
                              | "MILITARY"
                              | "PASSPORT"
                              | "VISA"
                              | "SECURE_FLIGHT_PASSENGER_DATA"
                              | "RESIDENCE_ADDRESS"
                              | "DESTINATION_ADDRESS"
                              | "KNOWN_TRAVELER_NUMBER"
                              | "REDRESS_NUMBER"
                              | "ALIEN_RESIDENT"
                              | "PERMANENT_RESIDENT"
                              | "FACILITATION_DOCUMENT"
                              | "NATIONAL_ID_CARD"
                              | "NEXUS_CARD"
                              | "NATURALIZATION_CERTIFICATE"
                              | "REFUGEE_REENTRY_PERMIT"
                              | "BORDER_CROSSING_CARD"
                              | "FISCAL_ID";
                          expiryDate?: string;
                          flightIndices?: number[];
                          gender?: | "FEMALE"
                          | "MALE"
                          | "INFANT_FEMALE"
                          | "INFANT_MALE"
                          | "UNDISCLOSED"
                          | "UNDEFINED";
                          givenName?: string;
                          hostCountryCode?: string;
                          isLapChildDocument?: boolean;
                          isPrimaryDocumentHolder?: boolean;
                          issueDate?: string;
                          issuingCountryCode?: string;
                          itemId?: string;
                          middleName?: string;
                          placeOfBirth?: string;
                          placeOfIssue?: string;
                          residenceCountryCode?: string;
                          residenceDestinationAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          surname?: string;
                      }[];
                      isGrouped?: boolean;
                      loyaltyPrograms?: {
                          programNumber: string;
                          programType?: | "FREQUENT_FLYER"
                          | "FREQUENT_RENTER"
                          | "LOYALTY_ID"
                          | "CORPORATE_LOYALTY_ID";
                          receiverCode?: string;
                          supplierCode?: string;
                          tierLevel?: number;
                      }[];
                      middleName?: string;
                      nameAssociationId?: string;
                      nameReferenceCode?: string;
                      passengerCode?: string;
                      phones?: { label?: string; number: string }[];
                      remarks?: {
                          alphaCode?: string;
                          text?: string;
                          type?:
                              | "INVOICE"
                              | "ITINERARY"
                              | "GENERAL"
                              | "HISTORICAL"
                              | "CLIENT_ADDRESS"
                              | "ALPHA_CODED"
                              | "DELIVERY_ADDRESS"
                              | "HIDDEN"
                              | "CORPORATE"
                              | "FORM_OF_PAYMENT"
                              | "PRINT_ON_TICKET"
                              | "FILLER_STRIP"
                              | "INTERFACE"
                              | "QUEUE_PLACE";
                      }[];
                      surname: string;
                      type?: | "ADULT"
                      | "AGENT"
                      | "AIRLINE"
                      | "CHILD"
                      | "EDUCATION"
                      | "GOVERNMENT"
                      | "GROUP"
                      | "INFANT"
                      | "MILITARY"
                      | "SENIOR"
                      | "SPECIAL"
                      | "YOUTH";
                  }[];
                  travelersGroup?: {
                      itemId?: string;
                      name?: string;
                      numberOfTravelers?: number;
                      numberOfTravelersRemaining?: number;
                  };
              };
              errors?: {
                  category: string;
                  description?: string;
                  fieldName?: string;
                  fieldPath?: string;
                  fieldValue?: string;
                  type: string;
              }[];
              request?: {
                  after: {
                      agencyCustomerNumber?: string;
                      creationDetails?: { agencyIataNumber?: string };
                      flights?: { seats?: { number: string; offerItemId?: string }[] }[];
                      hotels?: (
                          { itemId: string } & {
                              associatedFlightDetails?: {
                                  arrivalAirlineCode?: string;
                                  arrivalFlightNumber?: number;
                                  arrivalTime?: string;
                                  departureAirlineCode?: string;
                                  departureFlightNumber?: number;
                                  departureTime?: string;
                              };
                              bookingKey?: string;
                              checkInDate?: string;
                              checkOutDate?: string;
                              corporateDiscountCode?: number;
                              formOfPaymentIndex?: number;
                              leadTravelerIndex: number;
                              numberOfGuests: number;
                              paymentPolicy: "DEPOSIT"
                              | "GUARANTEE"
                              | "LATE";
                              room: { productCode?: string; travelerIndices: number[] };
                              specialInstructions?: string;
                          }
                      )[];
                      payments?: {
                          formsOfPayment?: (
                              {
                                  airlinePlanCode?: string;
                                  cardNumber?: string;
                                  cardSecurityCode?: string;
                                  cardTypeCode?: string;
                                  expiryDate?: string;
                                  extendedPayment?: number;
                                  installmentAmount?: string;
                                  miscellaneousCreditCode?: string;
                                  numberOfInstallments?: number;
                              } & {
                                  agencyAddress?: {
                                      city?: string;
                                      countryCode?: string;
                                      postalCode?: string;
                                      stateProvince?: string;
                                      street?: string;
                                  } & { freeText?: string; name?: string };
                                  agencyIataNumber?: string;
                                  authentications?: {
                                      amount?: string;
                                      cardNumberCollectionCode?: string;
                                      channelCode?: string;
                                      currencyCode?: string;
                                      electronicCommerceIndicator?: string;
                                      exemptionTypeCode?: string;
                                      issueCode?: string;
                                      mandateTypeCode?: string;
                                      merchantName?: string;
                                      originalPaymentReference?: string;
                                      resultCode?: string;
                                      secureAuthenticationValue?: string;
                                      secureTransactionId?: string;
                                      tokenAuthenticationValue?: string;
                                      updatedDateTime?: string;
                                      verificationResultCode?: string;
                                      version?: string;
                                  }[];
                                  cardHolder?: {
                                      address?: {
                                          city?: string;
                                          countryCode?: string;
                                          postalCode?: string;
                                          stateProvince?: string;
                                          street?: string;
                                      };
                                      email?: string;
                                      givenName: string;
                                      phone?: string;
                                      surname: string;
                                  };
                                  companyAddress?: {
                                      city?: string;
                                      countryCode?: string;
                                      postalCode?: string;
                                      stateProvince?: string;
                                      street?: string;
                                  } & { freeText?: string; name?: string };
                                  corporateId?: string;
                                  docketDescription?: string;
                                  docketIssuingAgentInitials?: string;
                                  docketNumber?: string;
                                  docketPrefix?: string;
                                  governmentTravelRequestDescription?: string;
                                  invoiceDescription?: string;
                                  isAgencyPaymentCard?: boolean;
                                  manualApproval?: {
                                      airlineCode: string;
                                      amount: string;
                                      code: string;
                                      currencyCode: string;
                                      expiryDateTime: string;
                                      requestDateTime: string;
                                  };
                                  netBalance?: string;
                                  tripType?: | "All"
                                  | "Unknown"
                                  | "Corporate/Business"
                                  | "Leisure"
                                  | "Emergency"
                                  | "Family"
                                  | "Group";
                                  tripTypes?: (
                                      | "All"
                                      | "Unknown"
                                      | "Corporate/Business"
                                      | "Leisure"
                                      | "Emergency"
                                      | "Family"
                                      | "Group"
                                  )[];
                                  type: | "INVOICE"
                                  | "CORPORATE"
                                  | "PAYMENTCARD"
                                  | "CASH"
                                  | "CHECK"
                                  | "MISCELLANEOUS"
                                  | "INSTALLMENTS"
                                  | "VIRTUAL_CARD"
                                  | "AGENCY_NAME"
                                  | "AGENCY_IATA"
                                  | "COMPANY_NAME"
                                  | "VOUCHER"
                                  | "DOCKET"
                                  | "GOVERNMENT_TRAVEL_REQUEST";
                                  useType?: | "All"
                                  | "Other"
                                  | "Tour"
                                  | "Unknown"
                                  | "Ancillary"
                                  | "Hotel"
                                  | "Car"
                                  | "Cruise"
                                  | "Airline"
                                  | "Bus/Ground Transportation"
                                  | "Insurance"
                                  | "Low-Cost Carrier"
                                  | "Rail"
                                  | "Specialty Service"
                                  | "Interface Record";
                                  useTypes?: (
                                      | "All"
                                      | "Other"
                                      | "Tour"
                                      | "Unknown"
                                      | "Ancillary"
                                      | "Hotel"
                                      | "Car"
                                      | "Cruise"
                                      | "Airline"
                                      | "Bus/Ground Transportation"
                                      | "Insurance"
                                      | "Low-Cost Carrier"
                                      | "Rail"
                                      | "Specialty Service"
                                      | "Interface Record"
                                  )[];
                                  virtualCard?: {
                                      agencyEmail?: string;
                                      customerAccountCode?: string;
                                      hotelFax?: string;
                                      hotelName?: string;
                                      rateAmount?: { amount: string; currencyCode: string };
                                      roomDescription?: string;
                                      roomType?: string;
                                      virtualCardCharges?: string[];
                                  };
                                  voucher?: { billingNumber?: string; type?: string };
                              }
                          )[];
                      };
                      retentionEndDate?: string;
                      retentionLabel?: string;
                      specialServices?: {
                          code: string;
                          flights?: { itemId: string }[];
                          message?: string;
                          travelerIndices?: number[];
                      }[];
                      travelers?: {
                          birthDate?: string;
                          emails?: string[];
                          givenName?: string;
                          identityDocuments?: (
                              {
                                  birthDate?: string;
                                  documentNumber?: string;
                                  documentType: | "MILITARY"
                                  | "PASSPORT"
                                  | "VISA"
                                  | "SECURE_FLIGHT_PASSENGER_DATA"
                                  | "RESIDENCE_ADDRESS"
                                  | "DESTINATION_ADDRESS"
                                  | "KNOWN_TRAVELER_NUMBER"
                                  | "REDRESS_NUMBER"
                                  | "ALIEN_RESIDENT"
                                  | "PERMANENT_RESIDENT"
                                  | "FACILITATION_DOCUMENT"
                                  | "NATIONAL_ID_CARD"
                                  | "NEXUS_CARD"
                                  | "NATURALIZATION_CERTIFICATE"
                                  | "REFUGEE_REENTRY_PERMIT"
                                  | "BORDER_CROSSING_CARD"
                                  | "FISCAL_ID";
                                  expiryDate?: string;
                                  gender?: | "FEMALE"
                                  | "MALE"
                                  | "INFANT_FEMALE"
                                  | "INFANT_MALE"
                                  | "UNDISCLOSED"
                                  | "UNDEFINED";
                                  givenName?: string;
                                  hostCountryCode?: string;
                                  isLapChildDocument?: boolean;
                                  isPrimaryDocumentHolder?: boolean;
                                  issueDate?: string;
                                  issuingCountryCode?: string;
                                  middleName?: string;
                                  placeOfBirth?: string;
                                  placeOfIssue?: string;
                                  residenceCountryCode?: string;
                                  residenceDestinationAddress?: {
                                      city?: string;
                                      countryCode?: string;
                                      postalCode?: string;
                                      stateProvince?: string;
                                      street?: string;
                                  };
                                  surname?: string;
                              } & { flights?: { itemId: ... }[] }
                          )[];
                          isGrouped?: boolean;
                          loyaltyPrograms?: {
                              programNumber: string;
                              programType?:
                                  | "FREQUENT_FLYER"
                                  | "FREQUENT_RENTER"
                                  | "LOYALTY_ID"
                                  | "CORPORATE_LOYALTY_ID";
                              receiverCode?: string;
                              supplierCode?: string;
                              tierLevel?: number;
                          }[];
                          middleName?: string;
                          passengerCode?: string;
                          phones?: { label?: string; number: string }[];
                          surname?: string;
                      }[];
                  };
                  before: {
                      agencyCustomerNumber?: string;
                      creationDetails?: { agencyIataNumber?: string };
                      flights?: { seats?: { number: string; offerItemId?: string }[] }[];
                      hotels?: (
                          { itemId: string } & {
                              associatedFlightDetails?: {
                                  arrivalAirlineCode?: string;
                                  arrivalFlightNumber?: number;
                                  arrivalTime?: string;
                                  departureAirlineCode?: string;
                                  departureFlightNumber?: number;
                                  departureTime?: string;
                              };
                              bookingKey?: string;
                              checkInDate?: string;
                              checkOutDate?: string;
                              corporateDiscountCode?: number;
                              formOfPaymentIndex?: number;
                              leadTravelerIndex: number;
                              numberOfGuests: number;
                              paymentPolicy: "DEPOSIT"
                              | "GUARANTEE"
                              | "LATE";
                              room: { productCode?: string; travelerIndices: number[] };
                              specialInstructions?: string;
                          }
                      )[];
                      payments?: {
                          formsOfPayment?: (
                              {
                                  airlinePlanCode?: string;
                                  cardNumber?: string;
                                  cardSecurityCode?: string;
                                  cardTypeCode?: string;
                                  expiryDate?: string;
                                  extendedPayment?: number;
                                  installmentAmount?: string;
                                  miscellaneousCreditCode?: string;
                                  numberOfInstallments?: number;
                              } & {
                                  agencyAddress?: {
                                      city?: string;
                                      countryCode?: string;
                                      postalCode?: string;
                                      stateProvince?: string;
                                      street?: string;
                                  } & { freeText?: string; name?: string };
                                  agencyIataNumber?: string;
                                  authentications?: {
                                      amount?: string;
                                      cardNumberCollectionCode?: string;
                                      channelCode?: string;
                                      currencyCode?: string;
                                      electronicCommerceIndicator?: string;
                                      exemptionTypeCode?: string;
                                      issueCode?: string;
                                      mandateTypeCode?: string;
                                      merchantName?: string;
                                      originalPaymentReference?: string;
                                      resultCode?: string;
                                      secureAuthenticationValue?: string;
                                      secureTransactionId?: string;
                                      tokenAuthenticationValue?: string;
                                      updatedDateTime?: string;
                                      verificationResultCode?: string;
                                      version?: string;
                                  }[];
                                  cardHolder?: {
                                      address?: {
                                          city?: string;
                                          countryCode?: string;
                                          postalCode?: string;
                                          stateProvince?: string;
                                          street?: string;
                                      };
                                      email?: string;
                                      givenName: string;
                                      phone?: string;
                                      surname: string;
                                  };
                                  companyAddress?: {
                                      city?: string;
                                      countryCode?: string;
                                      postalCode?: string;
                                      stateProvince?: string;
                                      street?: string;
                                  } & { freeText?: string; name?: string };
                                  corporateId?: string;
                                  docketDescription?: string;
                                  docketIssuingAgentInitials?: string;
                                  docketNumber?: string;
                                  docketPrefix?: string;
                                  governmentTravelRequestDescription?: string;
                                  invoiceDescription?: string;
                                  isAgencyPaymentCard?: boolean;
                                  manualApproval?: {
                                      airlineCode: string;
                                      amount: string;
                                      code: string;
                                      currencyCode: string;
                                      expiryDateTime: string;
                                      requestDateTime: string;
                                  };
                                  netBalance?: string;
                                  tripType?: | "All"
                                  | "Unknown"
                                  | "Corporate/Business"
                                  | "Leisure"
                                  | "Emergency"
                                  | "Family"
                                  | "Group";
                                  tripTypes?: (
                                      | "All"
                                      | "Unknown"
                                      | "Corporate/Business"
                                      | "Leisure"
                                      | "Emergency"
                                      | "Family"
                                      | "Group"
                                  )[];
                                  type: | "INVOICE"
                                  | "CORPORATE"
                                  | "PAYMENTCARD"
                                  | "CASH"
                                  | "CHECK"
                                  | "MISCELLANEOUS"
                                  | "INSTALLMENTS"
                                  | "VIRTUAL_CARD"
                                  | "AGENCY_NAME"
                                  | "AGENCY_IATA"
                                  | "COMPANY_NAME"
                                  | "VOUCHER"
                                  | "DOCKET"
                                  | "GOVERNMENT_TRAVEL_REQUEST";
                                  useType?: | "All"
                                  | "Other"
                                  | "Tour"
                                  | "Unknown"
                                  | "Ancillary"
                                  | "Hotel"
                                  | "Car"
                                  | "Cruise"
                                  | "Airline"
                                  | "Bus/Ground Transportation"
                                  | "Insurance"
                                  | "Low-Cost Carrier"
                                  | "Rail"
                                  | "Specialty Service"
                                  | "Interface Record";
                                  useTypes?: (
                                      | "All"
                                      | "Other"
                                      | "Tour"
                                      | "Unknown"
                                      | "Ancillary"
                                      | "Hotel"
                                      | "Car"
                                      | "Cruise"
                                      | "Airline"
                                      | "Bus/Ground Transportation"
                                      | "Insurance"
                                      | "Low-Cost Carrier"
                                      | "Rail"
                                      | "Specialty Service"
                                      | "Interface Record"
                                  )[];
                                  virtualCard?: {
                                      agencyEmail?: string;
                                      customerAccountCode?: string;
                                      hotelFax?: string;
                                      hotelName?: string;
                                      rateAmount?: { amount: string; currencyCode: string };
                                      roomDescription?: string;
                                      roomType?: string;
                                      virtualCardCharges?: string[];
                                  };
                                  voucher?: { billingNumber?: string; type?: string };
                              }
                          )[];
                      };
                      retentionEndDate?: string;
                      retentionLabel?: string;
                      specialServices?: {
                          code: string;
                          flights?: { itemId: string }[];
                          message?: string;
                          travelerIndices?: number[];
                      }[];
                      travelers?: {
                          birthDate?: string;
                          emails?: string[];
                          givenName?: string;
                          identityDocuments?: (
                              {
                                  birthDate?: string;
                                  documentNumber?: string;
                                  documentType: | "MILITARY"
                                  | "PASSPORT"
                                  | "VISA"
                                  | "SECURE_FLIGHT_PASSENGER_DATA"
                                  | "RESIDENCE_ADDRESS"
                                  | "DESTINATION_ADDRESS"
                                  | "KNOWN_TRAVELER_NUMBER"
                                  | "REDRESS_NUMBER"
                                  | "ALIEN_RESIDENT"
                                  | "PERMANENT_RESIDENT"
                                  | "FACILITATION_DOCUMENT"
                                  | "NATIONAL_ID_CARD"
                                  | "NEXUS_CARD"
                                  | "NATURALIZATION_CERTIFICATE"
                                  | "REFUGEE_REENTRY_PERMIT"
                                  | "BORDER_CROSSING_CARD"
                                  | "FISCAL_ID";
                                  expiryDate?: string;
                                  gender?: | "FEMALE"
                                  | "MALE"
                                  | "INFANT_FEMALE"
                                  | "INFANT_MALE"
                                  | "UNDISCLOSED"
                                  | "UNDEFINED";
                                  givenName?: string;
                                  hostCountryCode?: string;
                                  isLapChildDocument?: boolean;
                                  isPrimaryDocumentHolder?: boolean;
                                  issueDate?: string;
                                  issuingCountryCode?: string;
                                  middleName?: string;
                                  placeOfBirth?: string;
                                  placeOfIssue?: string;
                                  residenceCountryCode?: string;
                                  residenceDestinationAddress?: {
                                      city?: string;
                                      countryCode?: string;
                                      postalCode?: string;
                                      stateProvince?: string;
                                      street?: string;
                                  };
                                  surname?: string;
                              } & { flights?: { itemId: ... }[] }
                          )[];
                          isGrouped?: boolean;
                          loyaltyPrograms?: {
                              programNumber: string;
                              programType?:
                                  | "FREQUENT_FLYER"
                                  | "FREQUENT_RENTER"
                                  | "LOYALTY_ID"
                                  | "CORPORATE_LOYALTY_ID";
                              receiverCode?: string;
                              supplierCode?: string;
                              tierLevel?: number;
                          }[];
                          middleName?: string;
                          passengerCode?: string;
                          phones?: { label?: string; number: string }[];
                          surname?: string;
                      }[];
                  };
                  bookingSignature: string;
                  bookingSource?: "SABRE"
                  | "SABRE_ORDER";
                  confirmationId: string;
                  extraFeatures?: {
                      returnFiscalId: boolean;
                      returnFrequentRenter: boolean;
                      returnWalletFormsOfPayment: boolean;
                  };
                  receivedFrom: string;
                  retrieveBooking: boolean;
                  targetPcc?: string;
                  unmaskPaymentCardNumbers?: boolean;
              };
              timestamp?: string;
          };
      }

    • Sends an offer price request to the Sabre API and logs the request and response.

      Parameters

      • request: {
            diags?: string[];
            params?: {
                formOfPayment?: {
                    binNumber?: string;
                    cardType?: string;
                    id: string;
                    subCode: string;
                }[];
            };
            passengers?: {
                frequentFlyer?: {
                    accountNumber?: string;
                    airline?: string;
                    programCode?: string;
                    programName?: string;
                    providerName?: string;
                    signInID?: string;
                    tierCode?: string;
                    tierName?: string;
                    tierPriority?: string;
                }[];
                id: string;
                type?: string;
            }[];
            query: {
                formOfPayment: string;
                offerItemId: string[];
                passengerId?: string[];
            }[];
        }
        • Optionaldiags?: string[]

          Contains a list of diagnostics.

        • Optionalparams?: {
              formOfPayment?: {
                  binNumber?: string;
                  cardType?: string;
                  id: string;
                  subCode: string;
              }[];
          }

          Contains the Params schema.

          • OptionalformOfPayment?: { binNumber?: string; cardType?: string; id: string; subCode: string }[]

            Contains form of payment information.

        • Optionalpassengers?: {
              frequentFlyer?: {
                  accountNumber?: string;
                  airline?: string;
                  programCode?: string;
                  programName?: string;
                  providerName?: string;
                  signInID?: string;
                  tierCode?: string;
                  tierName?: string;
                  tierPriority?: string;
              }[];
              id: string;
              type?: string;
          }[]

          Contains passenger information.

        • query: { formOfPayment: string; offerItemId: string[]; passengerId?: string[] }[]

          Contains offer items and services to be repriced.

      • body: any

      Returns {
          error?: any;
          response: {
              id?: string;
              messages?: {
                  code: number;
                  message: string;
                  service: string;
                  system?: string;
                  type: string;
              }[];
              payloadAttributes?: { host?: string; timeStamp?: string; trxID?: string } & {
                  [key: string]: string;
              };
              response?: {
                  offers: {
                      commission?: { amount?: string; percentage?: string };
                      id: string;
                      offerExpirationDateTime: string;
                      offerItems: {
                          id: string;
                          mandatoryInd?: boolean;
                          passengers: {
                              baggage?: {
                                  applicablePartyText?: ...;
                                  details?: ...;
                                  segments?: ...;
                                  totalQty?: ...;
                                  type?: ...;
                              }[];
                              fareComponents?: {
                                  brand?: ...;
                                  fareBasis: ...;
                                  fareRules?: ...;
                                  price: ...;
                                  segments: ...;
                              }[];
                              fees?: {
                                  airline?: ...;
                                  arrivalCity?: ...;
                                  boardCity?: ...;
                                  cardInfo?: ...;
                                  fareAmount: ...;
                                  localAmount?: ...;
                                  maxChargeAmount?: ...;
                                  nature?: ...;
                                  noChargeInd: ...;
                                  percentageAmount?: ...;
                                  surchargeType?: ...;
                              }[];
                              id: string;
                              price?: {
                                  baseAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                  originalAmount?: { amount: ...; curCode: ...; taxable?: ... };
                                  taxes?: { breakdown?: ...; total: ... };
                                  totalAmount?: { amount: ...; curCode: ...; taxable?: ... };
                              };
                              ptc: string;
                              requestedPtc: string;
                              services?: {
                                  name: ...;
                                  reasonForIssuanceSubCode?: ...;
                                  segments?: ...;
                                  serviceCode?: ...;
                              }[];
                          }[];
                      }[];
                      paymentTimeLimitDateTime?: string;
                      price?: {
                          baseAmount?: { amount: string; curCode: string; taxable?: boolean };
                          originalAmount?: { amount: string; curCode: string; taxable?: boolean };
                          taxes?: {
                              breakdown?: {
                                  amount: { amount: string; curCode: string; taxable?: boolean };
                                  description: string;
                                  nation?: string;
                                  taxCode: string;
                              }[];
                              total: { amount: string; curCode: string; taxable?: boolean };
                          };
                          totalAmount?: { amount: string; curCode: string; taxable?: boolean };
                      };
                      purchaseTimeLimitDateTime?: string;
                      source: string;
                      totalPrice: {
                          baseAmount?: { amount: string; curCode: string; taxable?: boolean };
                          equivAmount?: { amount: string; curCode: string; taxable?: boolean };
                          totalAmount: { amount: string; curCode: string; taxable?: boolean };
                          totalTaxes?: { amount: string; curCode: string; taxable?: boolean };
                      };
                      ttl: number;
                  }[];
                  promotions?: {
                      remarks?: string[];
                      rules?: {
                          discount?: {
                              accountCodes?: string;
                              amount?: string;
                              curCode?: string;
                              percent?: string;
                          };
                          id?: string;
                          type?: string;
                      }[];
                      tag?: string;
                      tourCode?: string;
                  }[];
              };
              version: string;
          };
      }

    • Parameters

      Returns {
          error?: any;
          response: {
              booking?: {
                  accountingItems?: {
                      airlineCode?: string;
                      cardNumber?: string;
                      cardTypeCode?: string;
                      commission?: {
                          commissionAmount?: string;
                          commissionPercentage?: string;
                          currencyCode?: string;
                      };
                      creationType?: "Refund"
                      | "Exchange"
                      | "First Issuance";
                      currencyCode?: string;
                      fareAmount?: string;
                      fareApplicationType?:
                          | "Single Traveler"
                          | "All Travelers"
                          | "Each Traveler";
                      formOfPaymentType?: | "Unknown"
                      | "Cash"
                      | "Check"
                      | "Check or Cash"
                      | "Payment Card"
                      | "Masked Payment Card";
                      tariffBasisType?: "Domestic"
                      | "Foreign"
                      | "International";
                      taxAmount?: string;
                      ticketNumber?: string;
                      travelerIndices?: number[];
                  }[];
                  agencyCustomerNumber?: string;
                  allSegments?: (
                      { id: string } & {
                          address?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          date?: string;
                          endAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          endDate?: string;
                          endLocationCode?: string;
                          endTime?: string;
                          locationCode?: string;
                          startAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          startDate?: string;
                          startLocationCode?: string;
                          startTime?: string;
                          text?: string;
                          time?: string;
                          type: string;
                          vendorCode?: string;
                      }
                  )[];
                  bookingId?: string;
                  cars?: (
                      { itemId: string } & {
                          carStatusCode?: string;
                          carStatusName?:
                              | "Unknown"
                              | "Confirmed"
                              | "On Request"
                              | "Pending"
                              | "Cancelled"
                              | "Unconfirmed"
                              | "Waitlisted"
                              | "Infant/No Seat"
                              | "Priority Waitlist"
                              | "Quote"
                              | "Space Available"
                              | "Pending Quote"
                              | "No Seat"
                              | "Standby";
                          collectionAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          collectionSite?: { id?: string; name?: string; phone?: string };
                          confirmationId?: string;
                          deliveryAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          deliverySite?: { id?: string; name?: string; phone?: string };
                          distanceAllowance?: string;
                          dropOffAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          dropOffContactInfo?: { emails?: string[] } & {
                              emergencyPhones?: string[];
                              faxes?: string[];
                              phones?: string[];
                          };
                          dropOffDate: string;
                          dropOffLocationCode?: string;
                          dropOffTime: string;
                          guaranteePaymentNote?: string;
                          isRefundable: boolean;
                          numberOfVehicles?: number;
                          payment?: {
                              currencyCode: string;
                              fees?: string;
                              subtotal?: string;
                              taxes?: string;
                              total: string;
                          };
                          pickUpAddress: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          pickUpContactInfo?: { emails?: string[] } & {
                              emergencyPhones?: string[];
                              faxes?: string[];
                              phones?: string[];
                          };
                          pickUpDate: string;
                          pickUpLocationCode?: string;
                          pickUpTime: string;
                          rateCode?: string;
                          refundPenalties?: {
                              applicableFromDate?: string;
                              applicableToDate?: string;
                              penalty: { amount: string; currencyCode: string };
                          }[];
                          specialInstructions?: string;
                          travelerIndex?: number;
                          vehicleTypeCode?: string;
                          vehicleTypeName?: | "Two/Three Door"
                          | "Two/Four Door"
                          | "Four/Five Door"
                          | "Wagon/Estate"
                          | "Passenger Van"
                          | "Limousine/Sedan"
                          | "Sport"
                          | "Convertible"
                          | "SUV"
                          | "Open Air All Terrain"
                          | "Special"
                          | "Pick up single/extended cab 2 door"
                          | "Pick up double cab 4 door"
                          | "Special Offer Car"
                          | "Coupe"
                          | "Monospace"
                          | "Recreational Vehicle"
                          | "Motor Home"
                          | "Two Wheel Vehicle"
                          | "Roadster"
                          | "Crossover"
                          | "Commercial Van/Truck";
                          vendorCode: string;
                          vendorName: string;
                      }
                  )[];
                  contactInfo?: { emails?: string[] } & {
                      emergencyPhones?: string[];
                      faxes?: string[];
                      phones?: string[];
                  };
                  creationDetails?: {
                      agencyIataNumber?: string;
                      creationDate?: string;
                      creationTime?: string;
                      creationUserSine?: string;
                      primeHostId?: string;
                      purchaseDeadlineDate?: string;
                      purchaseDeadlineTime?: string;
                      userHomePcc?: string;
                      userWorkPcc?: string;
                  };
                  cruises?: (
                      { itemId: string } & {
                          arrivalDate: string;
                          arrivalTime?: string;
                          cabinNumber?: string;
                          confirmationId?: string;
                          cruiseStatusCode?: string;
                          cruiseStatusName?:
                              | "Unknown"
                              | "Confirmed"
                              | "On Request"
                              | "Pending"
                              | "Cancelled"
                              | "Unconfirmed"
                              | "Waitlisted"
                              | "Infant/No Seat"
                              | "Priority Waitlist"
                              | "Quote"
                              | "Space Available"
                              | "Pending Quote"
                              | "No Seat"
                              | "Standby";
                          departureDate: string;
                          departureTime?: string;
                          fromPortCode: string;
                          numberOfGuests?: number;
                          shipCode?: string;
                          shipName?: string;
                          toPortCode?: string;
                          vendorCode: string;
                      }
                  )[];
                  endDate?: string;
                  fareOffers?: {
                      cabinBaggageAllowance?: {
                          baggagePieces?: {
                              fee?: { amount: string; currencyCode: string };
                              isCheckInOnly?: boolean;
                              maximumSizeInCentimeters?: number;
                              maximumSizeInInches?: number;
                              maximumWeightInKilograms?: number;
                              maximumWeightInPounds?: number;
                              numberOfPieces: number;
                              specialItemDescription?: string;
                          }[];
                          maximumPieces?: number;
                          totalWeightInKilograms?: number;
                          totalWeightInPounds?: number;
                      };
                      cabinBaggageCharges?: {
                          fee?: { amount: string; currencyCode: string };
                          isCheckInOnly?: boolean;
                          maximumSizeInCentimeters?: number;
                          maximumSizeInInches?: number;
                          maximumWeightInKilograms?: number;
                          maximumWeightInPounds?: number;
                          numberOfPieces: number;
                          specialItemDescription?: string;
                      }[];
                      checkedBaggageAllowance?: {
                          baggagePieces?: {
                              fee?: { amount: string; currencyCode: string };
                              isCheckInOnly?: boolean;
                              maximumSizeInCentimeters?: number;
                              maximumSizeInInches?: number;
                              maximumWeightInKilograms?: number;
                              maximumWeightInPounds?: number;
                              numberOfPieces: number;
                              specialItemDescription?: string;
                          }[];
                          maximumPieces?: number;
                          totalWeightInKilograms?: number;
                          totalWeightInPounds?: number;
                      };
                      checkedBaggageCharges?: {
                          fee?: { amount: string; currencyCode: string };
                          isCheckInOnly?: boolean;
                          maximumSizeInCentimeters?: number;
                          maximumSizeInInches?: number;
                          maximumWeightInKilograms?: number;
                          maximumWeightInPounds?: number;
                          numberOfPieces: number;
                          specialItemDescription?: string;
                      }[];
                      flights?: { itemId: string }[];
                      travelerIndices?: number[];
                  }[];
                  fareRules?: {
                      destinationAirportCode?: string;
                      exchangePenalties?: {
                          applicability: "BEFORE_DEPARTURE"
                          | "AFTER_DEPARTURE";
                          conditionsApply: boolean;
                          penalty: { amount: string; currencyCode: string };
                      }[];
                      isChangeable?: boolean;
                      isRefundable?: boolean;
                      originAirportCode?: string;
                      owningAirlineCode: string;
                      passengerCode?: string;
                      refundPenalties?: {
                          applicability: "BEFORE_DEPARTURE"
                          | "AFTER_DEPARTURE";
                          conditionsApply: boolean;
                          penalty: { amount: string; currencyCode: string };
                      }[];
                  }[];
                  fares?: {
                      airlineCode?: string;
                      commission?: {
                          commissionAmount?: string;
                          commissionPercentage?: string;
                          currencyCode?: string;
                      };
                      creationDetails?: {
                          agencyIataNumber?: string;
                          creationDate?: string;
                          creationTime?: string;
                          creationUserSine?: string;
                          primeHostId?: string;
                          purchaseDeadlineDate?: string;
                          purchaseDeadlineTime?: string;
                          userHomePcc?: string;
                          userWorkPcc?: string;
                      };
                      fareCalculationLine?: string;
                      fareConstruction?: {
                          baseRate?: { amount: string; currencyCode: string };
                          brandAttributes?: { description?: string; itemId?: string }[];
                          brandFareCode?: string;
                          brandFareName?: string;
                          brandProgramCode?: string;
                          brandProgramName?: string;
                          checkedBaggageAllowance?: {
                              baggagePieces?: {
                                  fee?: { amount: ...; currencyCode: ... };
                                  isCheckInOnly?: boolean;
                                  maximumSizeInCentimeters?: number;
                                  maximumSizeInInches?: number;
                                  maximumWeightInKilograms?: number;
                                  maximumWeightInPounds?: number;
                                  numberOfPieces: number;
                                  specialItemDescription?: string;
                              }[];
                              maximumPieces?: number;
                              totalWeightInKilograms?: number;
                              totalWeightInPounds?: number;
                          };
                          fareBasisCode?: string;
                          flightIndices?: number[];
                          flights?: { itemId: string }[];
                          isCurrentItinerary?: boolean;
                      }[];
                      hasValidPricing: boolean;
                      isNegotiatedFare?: boolean;
                      pricedTravelerType?: string;
                      pricingStatusCode?: "A"
                      | "H";
                      pricingStatusName?: "Active" | "History";
                      pricingTypeCode?: "S" | "A" | "M";
                      pricingTypeName?: "Unknown" | "System" | "Amended" | "Manual";
                      recordId?: string;
                      recordTypeCode?: string;
                      recordTypeName?: string;
                      requestedTravelerType?: string;
                      taxBreakdown?: {
                          taxAmount?: { amount: string; currencyCode: string };
                          taxCode?: string;
                      }[];
                      totals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      };
                      tourCode?: string;
                      travelerIndices?: number[];
                  }[];
                  flights?: (
                      { itemId: string } & {
                          aircraftTypeCode?: string;
                          aircraftTypeName?: string;
                          airlineCode: string;
                          airlineName?: string;
                          arrivalDate: string;
                          arrivalGate?: string;
                          arrivalTerminalName?: string;
                          arrivalTime: string;
                          bookingClass?: string;
                          cabinTypeCode?: string;
                          cabinTypeName?: string;
                          confirmationId?: string;
                          departureDate: string;
                          departureGate?: string;
                          departureTerminalName?: string;
                          departureTime: string;
                          distanceInMiles?: number;
                          durationInMinutes?: number;
                          flightNumber: number;
                          flightStatusCode?: string;
                          flightStatusName?:
                              | "Unknown"
                              | "Confirmed"
                              | "On Request"
                              | "Pending"
                              | "Cancelled"
                              | "Unconfirmed"
                              | "Waitlisted"
                              | "Infant/No Seat"
                              | "Priority Waitlist"
                              | "Quote"
                              | "Space Available"
                              | "Pending Quote"
                              | "No Seat"
                              | "Standby";
                          fromAirportCode: string;
                          hiddenStopAircraftTypeCode?: string;
                          hiddenStopAircraftTypeName?: string;
                          hiddenStopAirportCode?: string;
                          hiddenStopArrivalDate?: string;
                          hiddenStopArrivalTime?: string;
                          hiddenStopDepartureDate?: string;
                          hiddenStopDepartureTime?: string;
                          hiddenStops?: {
                              aircraftTypeCode?: string;
                              aircraftTypeName?: string;
                              airportCode?: string;
                              arrivalDate?: string;
                              arrivalTime?: string;
                              departureDate?: string;
                              departureTime?: string;
                              durationInMinutes?: number;
                          }[];
                          identityDocuments?: {
                              itemId?: string;
                              status?: | "Unknown"
                              | "Confirmed"
                              | "On Request"
                              | "Pending"
                              | "Cancelled"
                              | "Unconfirmed"
                              | "Waitlisted"
                              | "Infant/No Seat"
                              | "Priority Waitlist"
                              | "Quote"
                              | "Space Available"
                              | "Pending Quote"
                              | "No Seat"
                              | "Standby";
                          }[];
                          isPast?: boolean;
                          meals?: {
                              code: string;
                              description: | "Meal"
                              | "Alcoholic beverages for purchase"
                              | "Breakfast"
                              | "Cold meal"
                              | "Complimentary alcoholic beverages"
                              | "Continental breakfast"
                              | "Dinner"
                              | "Food for purchase"
                              | "Food and beverage for purchase"
                              | "Hot meal"
                              | "Lunch"
                              | "No meal service"
                              | "Refreshment"
                              | "Refreshment for purchase"
                              | "Snack";
                          }[];
                          numberOfSeats?: number;
                          operatingAirlineCode?: string;
                          operatingAirlineName?: string;
                          operatingFlightNumber?: number;
                          seats?: {
                              characteristics?: string[];
                              number: string;
                              statusCode?: string;
                              statusName?: | "Unknown"
                              | "Confirmed"
                              | "On Request"
                              | "Pending"
                              | "Cancelled"
                              | "Unconfirmed"
                              | "Waitlisted"
                              | "Infant/No Seat"
                              | "Priority Waitlist"
                              | "Quote"
                              | "Space Available"
                              | "Pending Quote"
                              | "No Seat"
                              | "Standby";
                          }[];
                          sourceType?: "NDC"
                          | "LCC"
                          | "ATPCO";
                          toAirportCode: string;
                          travelerIndices?: number[];
                          updatedArrivalDate?: string;
                          updatedArrivalTime?: string;
                          updatedDepartureDate?: string;
                          updatedDepartureTime?: string;
                      }
                  )[];
                  flightTickets?: {
                      agencyIataNumber?: string;
                      airlineCode: string;
                      allCoupons?: (
                          {
                              couponStatus: | "Airport Control"
                              | "Lifted"
                              | "Checked In"
                              | "Exchanged"
                              | "Flown"
                              | "Not Flown"
                              | "Refunded"
                              | "Voided"
                              | "Printed"
                              | "Okay"
                              | "Reactivated"
                              | "Irregular Operations"
                              | "Print Exchange"
                              | "Paper Ticket"
                              | "Suspended"
                              | "Locked";
                              couponStatusCode: | "AL"
                              | "PE"
                              | "XX"
                              | "S"
                              | "P"
                              | "B"
                              | "E"
                              | "BD"
                              | "CK"
                              | "I"
                              | "RF"
                              | "V"
                              | "PR"
                              | "IO"
                              | "T";
                          } & { itemId?: string }
                      )[];
                      commission?: {
                          commissionAmount?: string;
                          commissionPercentage?: string;
                          currencyCode?: string;
                      };
                      date: string;
                      flightCoupons: (
                          { itemId: string } & {
                              couponStatus:
                                  | "Airport Control"
                                  | "Lifted"
                                  | "Checked In"
                                  | "Exchanged"
                                  | "Flown"
                                  | "Not Flown"
                                  | "Refunded"
                                  | "Voided"
                                  | "Printed"
                                  | "Okay"
                                  | "Reactivated"
                                  | "Irregular Operations"
                                  | "Print Exchange"
                                  | "Paper Ticket"
                                  | "Suspended"
                                  | "Locked";
                              couponStatusCode: | "AL"
                              | "PE"
                              | "XX"
                              | "S"
                              | "P"
                              | "B"
                              | "E"
                              | "BD"
                              | "CK"
                              | "I"
                              | "RF"
                              | "V"
                              | "PR"
                              | "IO"
                              | "T";
                          }
                      )[];
                      number: string;
                      payment: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      };
                      ticketingPcc?: string;
                      ticketStatusCode?: string;
                      ticketStatusName?: "Voided"
                      | "Issued"
                      | "Refunded/Exchanged";
                      travelerIndex: number;
                  }[];
                  futureTicketingPolicy?: {
                      comment?: string;
                      queueNumber?: string;
                      ticketingDate?: string;
                      ticketingPcc?: string;
                      ticketingTime?: string;
                  };
                  hotels?: (
                      { itemId: string } & {
                          address: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string } & { cityCode?: string };
                          associatedFlightDetails?: {
                              arrivalAirlineCode?: string;
                              arrivalFlightNumber?: number;
                              arrivalTime?: string;
                              departureAirlineCode?: string;
                              departureFlightNumber?: number;
                              departureTime?: string;
                          };
                          chainCode?: string;
                          chainName?: string;
                          checkInDate: string;
                          checkInTime: string;
                          checkOutDate: string;
                          checkOutTime: string;
                          confirmationId?: string;
                          contactInfo?: { emails?: string[] } & {
                              emergencyPhones?: string[];
                              faxes?: string[];
                              phones?: string[];
                          };
                          corporateDiscountCode?: number;
                          guaranteePaymentNote?: string;
                          guaranteeTypeCode?: number;
                          guaranteeTypeName?: | "Credit card"
                          | "Travel agency name/address"
                          | "Travel agency IATA number"
                          | "Company name/address"
                          | "Corporate ID/CD number"
                          | "Virtual card";
                          hotelName: string;
                          hotelStatusCode?: string;
                          hotelStatusName?: | "Unknown"
                          | "Confirmed"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Waitlisted"
                          | "Infant/No Seat"
                          | "Priority Waitlist"
                          | "Quote"
                          | "Space Available"
                          | "Pending Quote"
                          | "No Seat"
                          | "Standby";
                          isRefundable: boolean;
                          leadTravelerIndex?: number;
                          numberOfGuests?: number;
                          payment?: {
                              currencyCode: string;
                              fees?: string;
                              subtotal?: string;
                              taxes?: string;
                              total: string;
                          };
                          paymentPolicy?: "DEPOSIT"
                          | "GUARANTEE"
                          | "LATE";
                          propertyId?: string;
                          refundPenalties?: {
                              applicableFromDate?: string;
                              applicableToDate?: string;
                              penalty: { amount: string; currencyCode: string };
                          }[];
                          refundPenaltyPolicyCode?: string;
                          room?: {
                              agencyCommission?: {
                                  commissionAmount?: string;
                                  commissionPercentage?: string;
                                  currencyCode?: string;
                              };
                              description?: string;
                              productCode?: string;
                              quantity: number;
                              roomRate?: { amount: string; currencyCode: string };
                              roomType: string;
                              roomTypeCode?: string;
                              travelerIndices?: number[];
                          };
                          sabrePropertyId?: string;
                          sourceTypeCode?: number;
                          sourceTypeName?: | "Unknown"
                          | "Legacy"
                          | "Sabre GDS"
                          | "Expedia Associate Network"
                          | "HotelBeds.com"
                          | "Booking.com"
                          | "CMNet";
                          specialInstructions?: string;
                      }
                  )[];
                  isCancelable?: boolean;
                  isTicketed?: boolean;
                  journeys?: {
                      departureDate: string;
                      departureTime: string;
                      firstAirportCode: string;
                      lastAirportCode: string;
                      numberOfFlights: number;
                  }[];
                  nonElectronicTickets?: {
                      date?: string;
                      ticketingPcc?: string;
                      ticketingUserCode?: string;
                      ticketNumber?: string;
                      ticketStatus?: "Unknown"
                      | "Active"
                      | "Inactive";
                      time?: string;
                      travelerIndex?: number;
                  }[];
                  otherServices?: {
                      airlineCode?: string;
                      chainCode?: string;
                      serviceMessage?: string;
                      travelerIndex?: number;
                      vendorCode?: string;
                  }[];
                  payments?: {
                      carTotals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      }[];
                      flightCurrentTotals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      }[];
                      flightTotals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      }[];
                      formsOfPayment?: (
                          {
                              airlinePlanCode?: string;
                              cardNumber?: string;
                              cardSecurityCode?: string;
                              cardTypeCode?: string;
                              expiryDate?: string;
                              extendedPayment?: number;
                              installmentAmount?: string;
                              miscellaneousCreditCode?: string;
                              numberOfInstallments?: number;
                          } & {
                              agencyAddress?: {
                                  city?: string;
                                  countryCode?: string;
                                  postalCode?: string;
                                  stateProvince?: string;
                                  street?: string;
                              } & { freeText?: string; name?: string };
                              agencyIataNumber?: string;
                              authentications?: {
                                  amount?: string;
                                  cardNumberCollectionCode?: string;
                                  channelCode?: string;
                                  currencyCode?: string;
                                  electronicCommerceIndicator?: string;
                                  exemptionTypeCode?: string;
                                  issueCode?: string;
                                  mandateTypeCode?: string;
                                  merchantName?: string;
                                  originalPaymentReference?: string;
                                  resultCode?: string;
                                  secureAuthenticationValue?: string;
                                  secureTransactionId?: string;
                                  tokenAuthenticationValue?: string;
                                  updatedDateTime?: string;
                                  verificationResultCode?: string;
                                  version?: string;
                              }[];
                              cardHolder?: {
                                  address?: {
                                      city?: string;
                                      countryCode?: string;
                                      postalCode?: string;
                                      stateProvince?: string;
                                      street?: string;
                                  };
                                  email?: string;
                                  givenName: string;
                                  phone?: string;
                                  surname: string;
                              };
                              companyAddress?: {
                                  city?: string;
                                  countryCode?: string;
                                  postalCode?: string;
                                  stateProvince?: string;
                                  street?: string;
                              } & { freeText?: string; name?: string };
                              corporateId?: string;
                              docketDescription?: string;
                              docketIssuingAgentInitials?: string;
                              docketNumber?: string;
                              docketPrefix?: string;
                              governmentTravelRequestDescription?: string;
                              invoiceDescription?: string;
                              isAgencyPaymentCard?: boolean;
                              manualApproval?: {
                                  airlineCode: string;
                                  amount: string;
                                  code: string;
                                  currencyCode: string;
                                  expiryDateTime: string;
                                  requestDateTime: string;
                              };
                              netBalance?: string;
                              tripType?: | "All"
                              | "Unknown"
                              | "Corporate/Business"
                              | "Leisure"
                              | "Emergency"
                              | "Family"
                              | "Group";
                              tripTypes?: (
                                  | "All"
                                  | "Unknown"
                                  | "Corporate/Business"
                                  | "Leisure"
                                  | "Emergency"
                                  | "Family"
                                  | "Group"
                              )[];
                              type: | "INVOICE"
                              | "CORPORATE"
                              | "PAYMENTCARD"
                              | "CASH"
                              | "CHECK"
                              | "MISCELLANEOUS"
                              | "INSTALLMENTS"
                              | "VIRTUAL_CARD"
                              | "AGENCY_NAME"
                              | "AGENCY_IATA"
                              | "COMPANY_NAME"
                              | "VOUCHER"
                              | "DOCKET"
                              | "GOVERNMENT_TRAVEL_REQUEST";
                              useType?: | "All"
                              | "Other"
                              | "Tour"
                              | "Unknown"
                              | "Ancillary"
                              | "Hotel"
                              | "Car"
                              | "Cruise"
                              | "Airline"
                              | "Bus/Ground Transportation"
                              | "Insurance"
                              | "Low-Cost Carrier"
                              | "Rail"
                              | "Specialty Service"
                              | "Interface Record";
                              useTypes?: (
                                  | "All"
                                  | "Other"
                                  | "Tour"
                                  | "Unknown"
                                  | "Ancillary"
                                  | "Hotel"
                                  | "Car"
                                  | "Cruise"
                                  | "Airline"
                                  | "Bus/Ground Transportation"
                                  | "Insurance"
                                  | "Low-Cost Carrier"
                                  | "Rail"
                                  | "Specialty Service"
                                  | "Interface Record"
                              )[];
                              virtualCard?: {
                                  agencyEmail?: string;
                                  customerAccountCode?: string;
                                  hotelFax?: string;
                                  hotelName?: string;
                                  rateAmount?: { amount: string; currencyCode: string };
                                  roomDescription?: string;
                                  roomType?: string;
                                  virtualCardCharges?: string[];
                              };
                              voucher?: { billingNumber?: string; type?: string };
                          }
                      )[];
                      hotelTotals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      }[];
                      trainTotals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      }[];
                  };
                  remarks?: {
                      alphaCode?: string;
                      text?: string;
                      type?: | "INVOICE"
                      | "ITINERARY"
                      | "GENERAL"
                      | "HISTORICAL"
                      | "CLIENT_ADDRESS"
                      | "ALPHA_CODED"
                      | "DELIVERY_ADDRESS"
                      | "HIDDEN"
                      | "CORPORATE"
                      | "FORM_OF_PAYMENT"
                      | "PRINT_ON_TICKET"
                      | "FILLER_STRIP"
                      | "INTERFACE"
                      | "QUEUE_PLACE";
                  }[];
                  retentionEndDate?: string;
                  retentionLabel?: string;
                  specialServices?: {
                      code?: string;
                      flights?: { itemId: string }[];
                      message?: string;
                      name?: string;
                      statusCode?: string;
                      statusName?:
                          | "Unknown"
                          | "Confirmed"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Waitlisted"
                          | "Infant/No Seat"
                          | "Priority Waitlist"
                          | "Quote"
                          | "Space Available"
                          | "Pending Quote"
                          | "No Seat"
                          | "Standby";
                      travelerIndices?: number[];
                  }[];
                  startDate?: string;
                  trains?: (
                      { itemId: string } & {
                          arrivalDate: string;
                          arrivalTime: string;
                          confirmationId?: string;
                          departureDate: string;
                          departureTime: string;
                          fromStationCode: string;
                          fromStationName?: string;
                          isRefundable?: boolean;
                          operatingVendorCode?: string;
                          operatingVendorName?: string;
                          payment?: {
                              currencyCode: string;
                              fees?: string;
                              subtotal?: string;
                              taxes?: string;
                              total: string;
                          };
                          toStationCode: string;
                          toStationName?: string;
                          trainName?: string;
                          trainNumber: string;
                          trainStatusCode?: string;
                          trainStatusName?: | "Unknown"
                          | "Confirmed"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Waitlisted"
                          | "Infant/No Seat"
                          | "Priority Waitlist"
                          | "Quote"
                          | "Space Available"
                          | "Pending Quote"
                          | "No Seat"
                          | "Standby";
                          vendorCode: string;
                          vendorName?: string;
                      }
                  )[];
                  travelers?: {
                      address?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      ancillaries?: {
                          airlineCode?: string;
                          commercialName?: string;
                          electronicMiscellaneousDocumentNumber?: string;
                          flightApplicabilityType?: "Unknown" | "Single" | "Multiple";
                          flights?: { itemId: string }[];
                          isCommissionable?: boolean;
                          isRefundable?: boolean;
                          itemId?: string;
                          numberOfItems?: number;
                          reasonForIssuanceCode?: string;
                          reasonForIssuanceName?:
                              | "UNKNOWN"
                              | "AIR_TRANSPORTATION"
                              | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                              | "BAGGAGE"
                              | "FINANCIAL_IMPACT"
                              | "AIRPORT_SERVICES"
                              | "MERCHANDISE"
                              | "INFLIGHT_SERVICES"
                              | "INDIVIDUAL_AIRLINE_USE";
                          source?: "ATPCO"
                          | "MERCHANDISING_MANAGER";
                          statusCode?: string;
                          statusName?:
                              | "Confirmed"
                              | "Confirmed with EMD issued"
                              | "On Request"
                              | "Pending"
                              | "Cancelled"
                              | "Unconfirmed"
                              | "Confirmed with pending payment"
                              | "Schedule change";
                          subcode?: string;
                          totals?: {
                              currencyCode: string;
                              fees?: string;
                              subtotal?: string;
                              taxes?: string;
                              total: string;
                          };
                          vendorCode?: string;
                      }[];
                      birthDate?: string;
                      emails?: string[];
                      formOfPaymentIndices?: number[];
                      gender?: | "FEMALE"
                      | "MALE"
                      | "INFANT_FEMALE"
                      | "INFANT_MALE"
                      | "UNDISCLOSED"
                      | "UNDEFINED";
                      givenName: string;
                      identityDocuments?: {
                          birthDate?: string;
                          documentNumber?: string;
                          documentSubType?: "RUC"
                          | "CUIT/CUIL"
                          | "NIT";
                          documentType:
                              | "MILITARY"
                              | "PASSPORT"
                              | "VISA"
                              | "SECURE_FLIGHT_PASSENGER_DATA"
                              | "RESIDENCE_ADDRESS"
                              | "DESTINATION_ADDRESS"
                              | "KNOWN_TRAVELER_NUMBER"
                              | "REDRESS_NUMBER"
                              | "ALIEN_RESIDENT"
                              | "PERMANENT_RESIDENT"
                              | "FACILITATION_DOCUMENT"
                              | "NATIONAL_ID_CARD"
                              | "NEXUS_CARD"
                              | "NATURALIZATION_CERTIFICATE"
                              | "REFUGEE_REENTRY_PERMIT"
                              | "BORDER_CROSSING_CARD"
                              | "FISCAL_ID";
                          expiryDate?: string;
                          flightIndices?: number[];
                          gender?: | "FEMALE"
                          | "MALE"
                          | "INFANT_FEMALE"
                          | "INFANT_MALE"
                          | "UNDISCLOSED"
                          | "UNDEFINED";
                          givenName?: string;
                          hostCountryCode?: string;
                          isLapChildDocument?: boolean;
                          isPrimaryDocumentHolder?: boolean;
                          issueDate?: string;
                          issuingCountryCode?: string;
                          itemId?: string;
                          middleName?: string;
                          placeOfBirth?: string;
                          placeOfIssue?: string;
                          residenceCountryCode?: string;
                          residenceDestinationAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          surname?: string;
                      }[];
                      isGrouped?: boolean;
                      loyaltyPrograms?: {
                          programNumber: string;
                          programType?: | "FREQUENT_FLYER"
                          | "FREQUENT_RENTER"
                          | "LOYALTY_ID"
                          | "CORPORATE_LOYALTY_ID";
                          receiverCode?: string;
                          supplierCode?: string;
                          tierLevel?: number;
                      }[];
                      middleName?: string;
                      nameAssociationId?: string;
                      nameReferenceCode?: string;
                      passengerCode?: string;
                      phones?: { label?: string; number: string }[];
                      remarks?: {
                          alphaCode?: string;
                          text?: string;
                          type?:
                              | "INVOICE"
                              | "ITINERARY"
                              | "GENERAL"
                              | "HISTORICAL"
                              | "CLIENT_ADDRESS"
                              | "ALPHA_CODED"
                              | "DELIVERY_ADDRESS"
                              | "HIDDEN"
                              | "CORPORATE"
                              | "FORM_OF_PAYMENT"
                              | "PRINT_ON_TICKET"
                              | "FILLER_STRIP"
                              | "INTERFACE"
                              | "QUEUE_PLACE";
                      }[];
                      surname: string;
                      type?: | "ADULT"
                      | "AGENT"
                      | "AIRLINE"
                      | "CHILD"
                      | "EDUCATION"
                      | "GOVERNMENT"
                      | "GROUP"
                      | "INFANT"
                      | "MILITARY"
                      | "SENIOR"
                      | "SPECIAL"
                      | "YOUTH";
                  }[];
                  travelersGroup?: {
                      itemId?: string;
                      name?: string;
                      numberOfTravelers?: number;
                      numberOfTravelersRemaining?: number;
                  };
              };
              errors?: {
                  category: string;
                  description?: string;
                  fieldName?: string;
                  fieldPath?: string;
                  fieldValue?: string;
                  type: string;
              }[];
              refundedTickets?: string[];
              request?: {
                  bookingSource?: "SABRE"
                  | "SABRE_ORDER";
                  cancelAll: boolean;
                  cars?: { itemId: string }[];
                  confirmationId: string;
                  cruises?: { itemId: string }[];
                  designatePrinters?: {
                      hardcopy?: { address?: string; spacing?: string };
                      invoiceItinerary?: string;
                      profileNumber?: number;
                      ticket?: { address?: string; countryCode?: string };
                  }[];
                  errorHandlingPolicy?: "HALT_ON_ERROR"
                  | "ALLOW_PARTIAL_CANCEL";
                  flights?: { itemId: string }[];
                  flightTicketOperation?: "VOID" | "REFUND";
                  hotels?: { itemId: string }[];
                  notification?: {
                      email?:
                          | "DEFAULT"
                          | "INVOICE"
                          | "ETICKET"
                          | "ETICKET_PDF"
                          | "ITINERARY"
                          | "ITINERARY_PDF";
                      queuePlacement?: {
                          futureQueuePlacementDate?: string;
                          pcc?: string;
                          prefatoryInstructionCode: number;
                          queueName?: string;
                          queueNumber?: number;
                      }[];
                  };
                  offerItemId?: string;
                  receivedFrom?: string;
                  retentionEndDate?: string;
                  retentionLabel?: string;
                  retrieveBooking: boolean;
                  segments?: { id?: string; sequence?: number }[];
                  targetPcc?: string;
                  trains?: { itemId: string }[];
              };
              tickets?: {
                  exchangePenalties?: (
                      {
                          applicability: "BEFORE_DEPARTURE"
                          | "AFTER_DEPARTURE";
                          conditionsApply: boolean;
                          penalty: { amount: string; currencyCode: string };
                      } & {
                          hasNoShowCost?: boolean;
                          noShowPenalty?: {
                              penalty?: { amount: string; currencyCode: string };
                              source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                          };
                          source?: "Unknown"
                          | "Category 33"
                          | "Category 31"
                          | "Category 16";
                      }
                  )[];
                  isAutomatedRefundsEligible?: boolean;
                  isChangeable?: boolean;
                  isRefundable?: boolean;
                  isVoidable?: boolean;
                  number?: string;
                  refundPenalties?: (
                      {
                          applicability: "BEFORE_DEPARTURE"
                          | "AFTER_DEPARTURE";
                          conditionsApply: boolean;
                          penalty: { amount: string; currencyCode: string };
                      } & {
                          hasNoShowCost?: boolean;
                          noShowPenalty?: {
                              penalty?: { amount: string; currencyCode: string };
                              source?: "Unknown" | "Category 33" | "Category 31" | "Category 16";
                          };
                          source?: "Unknown"
                          | "Category 33"
                          | "Category 31"
                          | "Category 16";
                      }
                  )[];
                  refundTaxes?: { amount: string; taxCode: string }[];
                  refundTotals?: {
                      currencyCode: string;
                      fees?: string;
                      subtotal?: string;
                      taxes?: string;
                      total: string;
                  };
              }[];
              timestamp?: string;
              voidedTickets?: string[];
          };
      }

    • Parameters

      • request: {
            displayPaymentCardNumbers: boolean;
            id: string;
            reshopOfferItemId?: string;
            reshopOfferItemIds?: string[];
        }
        • displayPaymentCardNumbers: boolean

          If true, displays unmasked credit card numbers.

          false
          
          true
          
        • id: string

          The ID of the order.

          542cb260c4114bc1ad51b85efa8118bd
          
        • OptionalreshopOfferItemId?: string

          The unique identifier of the re-shopped offerItem.

          db857d657cb7kdz4rk7es00yq0-1
          
        • OptionalreshopOfferItemIds?: string[]

          Lists the re-shopped offerItem IDs.

      • body: any

      Returns {
          error?: any;
          response: {
              errors?: { code?: string; message?: string }[];
              order?: {
                  airlineRemarks?: {
                      id?: string;
                      passengerRefIds?: string[];
                      text?: string;
                  }[];
                  auxiliaryData?: {
                      pnrNameReferenceNumbers?: {
                          nameReferenceNumber?: string;
                          passengerRefId?: string;
                      }[];
                  };
                  baggageAllowances?: {
                      applicableParty?: string;
                      baggageDeterminingCarrier?: { carrierCode?: string };
                      dimensionAllowances?: {
                          baggageDimensionCategory?: string;
                          maximumMeasure?: { unitCode?: string; value?: string };
                          minimumMeasure?: { unitCode?: string; value?: string };
                      }[];
                      externalId?: string;
                      id?: string;
                      pieceAllowances?: { applicableParty?: string; totalQuantity?: number }[];
                      typeCode?: "CarryOn" | "Checked";
                      weightAllowances?: {
                          maximumMeasure?: { unitCode?: string; value?: string };
                      }[];
                  }[];
                  changeFee?: {
                      differentialAmountDue?: { amount?: string; code?: string };
                      differentialAmountDueTaxSummary?: {
                          allRefundableInd?: boolean;
                          taxes?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalTaxAmount?: { amount?: string; code?: string };
                      };
                      penaltyAmount?: { amount?: string; code?: string };
                      typeCode?: string;
                  };
                  contactInfos?: {
                      contactRefusedIndicator?: boolean;
                      contactType?: string;
                      emailAddresses?: { address?: string; id?: string; label?: string }[];
                      givenName?: string;
                      id?: string;
                      phones?: {
                          cityCode?: string;
                          countryCode?: string;
                          id?: string;
                          label?: string;
                          number?: string;
                      }[];
                      postalAddresses?: {
                          buildingRoom?: string;
                          cityName?: string;
                          countryCode?: string;
                          label?: "AddressAtOrigin"
                          | "AddressAtDestination";
                          postalCode?: string;
                          postOfficeBoxCode?: string;
                          stateProvinceCode?: string;
                          street?: string[];
                      }[];
                      surname?: string;
                  }[];
                  corporateId?: string;
                  countryCode?: string;
                  customerNumber?: { number?: string };
                  externalOrders?: {
                      airSegmentInformations?: {
                          arrivalAirport?: string;
                          arrivalTime?: string;
                          classOfService?: string;
                          departureAirport?: string;
                          departureTime?: string;
                          flightNumber?: number;
                          marketingAirlineCode?: string;
                      }[];
                      bookingReferences?: {
                          carrierCode?: string;
                          createDate?: string;
                          id?: string;
                          typeCode?: string;
                      }[];
                      externalOrderCreateDateTime?: string;
                      externalOrderId?: string;
                      id?: string;
                      systemId?: string;
                      totalPrice?: {
                          baseAmount?: { amount?: string; code?: string };
                          equivAmount?: { amount?: string; code?: string };
                          feeBreakdowns?: {
                              amount?: { amount?: string; code?: string; taxable?: boolean };
                              description?: string;
                              refundable?: boolean;
                          }[];
                          nonRefundableBaseAmount?: { amount?: string; code?: string };
                          surcharges?: {
                              breakdown?: {
                                  amount?: { amount?: ...; code?: ... };
                                  description?: string;
                                  designatorCode?: string;
                                  localAmount?: { amount?: ...; code?: ... };
                                  refundable?: boolean;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                          }[];
                          taxBreakdowns?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                          totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                          totalTaxAmount?: { amount?: string; code?: string };
                      };
                  }[];
                  formsOfPayment?: {
                      amount: { amount?: string; code?: string };
                      id: string;
                      orderItemRefIds?: string[];
                      payer?: {
                          payerEmailAddress?: {
                              address?: string;
                              id?: string;
                              label?: string;
                          };
                          payerName?: {
                              individualName: {
                                  birthdate?: string;
                                  birthplace?: string;
                                  documentNumber?: string;
                                  genderCode?: string;
                                  givenName?: string;
                                  middleName?: string;
                                  suffixName?: string;
                                  surname: string;
                                  titleName?: string;
                              };
                          };
                          payerPhoneNumber?: {
                              cityCode?: string;
                              countryCode?: string;
                              id?: string;
                              label?: string;
                              number?: string;
                          };
                          paymentAddress?: {
                              buildingRoom?: string;
                              cityName?: string;
                              countryCode?: string;
                              label?: "AddressAtOrigin"
                              | "AddressAtDestination";
                              postalCode?: string;
                              postOfficeBoxCode?: string;
                              stateProvinceCode?: string;
                              street?: string[];
                          };
                      };
                      paymentMethod: {
                          paymentAgencyAccount?: {
                              approvalCode?: string;
                              code?: string;
                              supplierTransactionId?: string;
                              transactionId?: string;
                          };
                          paymentCard?: {
                              approvalCode?: string;
                              cardHolderAddress?: {
                                  buildingRoom?: string;
                                  cityName?: string;
                                  countryCode?: string;
                                  label?: "AddressAtOrigin"
                                  | "AddressAtDestination";
                                  postalCode?: string;
                                  postOfficeBoxCode?: string;
                                  stateProvinceCode?: string;
                                  street?: string[];
                              };
                              cardHolderName?: string;
                              cardNumber?: string;
                              cardNumberToken?: string;
                              contactInfoRefId?: string;
                              cvv?: string;
                              cvvToken?: string;
                              expirationDate?: string;
                              securePaymentVersion2?: {
                                  authenticationMerchantName?: string;
                                  authenticationTokenValue?: string;
                                  authenticationValueText?: string;
                                  cardNumberCollectionCode?: string;
                                  directoryServerTrxID?: string;
                                  electronicCommerceIndText?: string;
                                  payerAuthenticationExemptionCode?: string;
                                  payerAuthenticationFailureToCompleteCode?: string;
                                  paymentTrxChannelCode?: string;
                                  programProtocolText?: string;
                                  trxStatusReasonText?: string;
                                  trxStatusText?: string;
                                  verificationResult?: string;
                              };
                              vendorCode?: string;
                          };
                          paymentCash?: Record<string, never>;
                          paymentReferenceFormOfPayment?: {
                              cardHolderAddress?: {
                                  buildingRoom?: string;
                                  cityName?: string;
                                  countryCode?: string;
                                  label?: "AddressAtOrigin" | "AddressAtDestination";
                                  postalCode?: string;
                                  postOfficeBoxCode?: string;
                                  stateProvinceCode?: string;
                                  street?: string[];
                              };
                              cardHolderName?: string;
                              contactInfoRefId?: string;
                              cvv?: string;
                              referenceId?: string;
                              securePaymentVersion2?: {
                                  authenticationMerchantName?: string;
                                  authenticationTokenValue?: string;
                                  authenticationValueText?: string;
                                  cardNumberCollectionCode?: string;
                                  directoryServerTrxID?: string;
                                  electronicCommerceIndText?: string;
                                  payerAuthenticationExemptionCode?: string;
                                  payerAuthenticationFailureToCompleteCode?: string;
                                  paymentTrxChannelCode?: string;
                                  programProtocolText?: string;
                                  trxStatusReasonText?: string;
                                  trxStatusText?: string;
                                  verificationResult?: string;
                              };
                          };
                          paymentTypeCode?: string;
                      };
                      useTypes?: string[];
                  }[];
                  id?: string;
                  itineraryMismatchedWithTickets?: boolean;
                  journeys?: { id?: string; segmentRefIds?: string[] }[];
                  loyaltyProgramAccount?: {
                      accountNumber?: string;
                      carrier?: { carrierCode: string };
                      id?: string;
                      programCode?: string;
                      programName?: string;
                  };
                  nameMismatchedWithTickets?: boolean;
                  offerVendor?: string;
                  orderItems?: {
                      commissions?: {
                          amount?: { amount?: string; code?: string };
                          code?: string;
                          descriptions?: string[];
                          passengerRefIds?: string[];
                          percentage?: number;
                      }[];
                      creationDateTime?: string;
                      externalId?: string;
                      externalOfferItemId?: string;
                      externalOrderRefId?: string;
                      fareDetails?: {
                          fareCalculationLine?: string;
                          fareComponents?: {
                              accountCode?: string;
                              cabinTypeCode?: string;
                              cabinTypeName?: string;
                              fareBasisCityPair?: string;
                              fareBasisCode?: string;
                              fareCode?: string;
                              fareDescription?: string;
                              fareRecognizedType?: | "Other"
                              | "Public"
                              | "Private"
                              | "Negotiated"
                              | "Corporate"
                              | "Unrecognized";
                              fareRules?: { penaltyRefIds?: (...)[] };
                              fareSourceCarrier?: string;
                              fareType?: string;
                              fareVendor?: string;
                              price?: {
                                  baseAmount?: { amount?: ...; code?: ... };
                                  equivAmount?: { amount?: ...; code?: ... };
                                  feeBreakdowns?: (...)[];
                                  nonRefundableBaseAmount?: { amount?: ...; code?: ... };
                                  surcharges?: (...)[];
                                  taxBreakdowns?: (...)[];
                                  totalAmount?: { amount?: ...; code?: ... };
                                  totalFeeAmount?: { amount?: ...; code?: ...; taxable?: ... };
                                  totalTaxAmount?: { amount?: ...; code?: ... };
                              };
                              priceClassRef?: string;
                              ruleNumber?: string;
                              segmentRefIds?: string[];
                              tariffNumber?: string;
                              type?: "O"
                              | "X"
                              | "R";
                          }[];
                          fareIndicatorCode?: string;
                          fareQualifiers?: string[];
                          filedFareInd?: boolean;
                          paxRefIds?: string[];
                          penaltyDifferential?: {
                              baseAmount?: { amount?: string; code?: string };
                              taxSummary?: {
                                  allRefundableInd?: boolean;
                                  taxes?: (...)[];
                                  totalTaxAmount?: { amount?: ...; code?: ... };
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                          };
                          price?: {
                              baseAmount?: { amount?: string; code?: string };
                              equivAmount?: { amount?: string; code?: string };
                              feeBreakdowns?: {
                                  amount?: { amount?: ...; code?: ...; taxable?: ... };
                                  description?: string;
                                  refundable?: boolean;
                              }[];
                              nonRefundableBaseAmount?: { amount?: string; code?: string };
                              surcharges?: {
                                  breakdown?: (...)[];
                                  totalAmount?: { amount?: ...; code?: ... };
                              }[];
                              taxBreakdowns?: {
                                  amount?: { amount?: ...; code?: ... };
                                  collectionInd?: boolean;
                                  countryCode?: string;
                                  description?: string;
                                  refundable?: boolean;
                                  taxCode?: string;
                                  taxTypeCode?: string;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                              totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                              totalTaxAmount?: { amount?: string; code?: string };
                          };
                          priceDifferential?: {
                              diffPrice?: {
                                  price?: {
                                      balanceAmount?: { amount?: ...; code?: ... };
                                      taxAllRefundableInd?: boolean;
                                      taxBreakdowns?: (...)[];
                                      totalAmount?: { amount?: ...; code?: ... };
                                      totalTaxAmount?: { amount?: ...; code?: ... };
                                  };
                              };
                          };
                          remarks?: { displayInd?: boolean; text?: string; type?: string }[];
                          tourCode?: string;
                      }[];
                      fees?: {
                          applied?: boolean;
                          basePrice?: { amount?: string; code?: string };
                          description?: string;
                          passengerRefIds?: string[];
                          percentageValue?: string;
                          price?: { amount?: string; code?: string };
                          refundable?: boolean;
                          serviceCode?: string;
                          subCode?: string;
                          taxBreakdowns?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalTaxAmount?: { amount?: string; code?: string };
                      }[];
                      feeWarnings?: { owner?: string; text?: string }[];
                      id?: string;
                      itemOrigin?: "SELL" | "EXCHANGE" | "SYNCHRONIZATION";
                      offerCustomerInformation?: {
                          agencyInformation?: {
                              agentCityCode?: string;
                              agentDeptCode?: string;
                              agentDuty?: string;
                              agentFunction?: string;
                              carrierCode?: string;
                              mainTravelAgencyPCC?: string;
                          };
                          billingInformation?: {
                              aaaCity?: string;
                              actionCode?: string;
                              agentSineIn?: string;
                              partitionID?: string;
                              pseudoCityCode?: string;
                              userSetAddress?: string;
                          };
                      };
                      offerItemId?: string;
                      origin?: string;
                      originatedFromTicketExchangeInd?: boolean;
                      paymentTimeLimit?: string;
                      paymentTimeLimitText?: string;
                      penaltyDifferential?: {
                          baseAmount?: { amount?: string; code?: string };
                          taxSummary?: {
                              allRefundableInd?: boolean;
                              taxes?: {
                                  amount?: { amount?: ...; code?: ... };
                                  collectionInd?: boolean;
                                  countryCode?: string;
                                  description?: string;
                                  refundable?: boolean;
                                  taxCode?: string;
                                  taxTypeCode?: string;
                              }[];
                              totalTaxAmount?: { amount?: string; code?: string };
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                      };
                      price?: {
                          baseAmount?: { amount?: string; code?: string };
                          equivAmount?: { amount?: string; code?: string };
                          feeBreakdowns?: {
                              amount?: { amount?: string; code?: string; taxable?: boolean };
                              description?: string;
                              refundable?: boolean;
                          }[];
                          nonRefundableBaseAmount?: { amount?: string; code?: string };
                          surcharges?: {
                              breakdown?: {
                                  amount?: { amount?: ...; code?: ... };
                                  description?: string;
                                  designatorCode?: string;
                                  localAmount?: { amount?: ...; code?: ... };
                                  refundable?: boolean;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                          }[];
                          taxBreakdowns?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                          totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                          totalTaxAmount?: { amount?: string; code?: string };
                      };
                      priceDifferential?: {
                          diffPrice?: {
                              price?: {
                                  balanceAmount?: { amount?: string; code?: string };
                                  taxAllRefundableInd?: boolean;
                                  taxBreakdowns?: {
                                      amount?: { amount?: ...; code?: ... };
                                      collectionInd?: boolean;
                                      countryCode?: string;
                                      description?: string;
                                      refundable?: boolean;
                                      taxCode?: string;
                                      taxTypeCode?: string;
                                  }[];
                                  totalAmount?: { amount?: string; code?: string };
                                  totalTaxAmount?: { amount?: string; code?: string };
                              };
                          };
                      };
                      priceGuaranteeTimeLimit?: string;
                      priceGuaranteeTimeLimitText?: string;
                      productRefIds?: string[];
                      sellerFollowUpAction?: { actionCodes?: string[] };
                      services?: {
                          externalId?: string;
                          externalOrderItemId?: string;
                          id?: string;
                          passengerRefId?: string;
                          pnrSegmentNumber?: number;
                          segmentRefId?: string;
                          selectedSeat?: {
                              characteristics?: string[];
                              column?: string;
                              descriptions?: string[];
                              pitchMeasure?: { unitCode?: string; value?: string };
                              row?: string;
                              segmentRefId?: string;
                              widthMeasure?: { unitCode?: string; value?: string };
                          };
                          serviceDefinitionRefId?: string;
                          statusCode?: string;
                      }[];
                      statusCode?: string;
                      validatingCarrierCode?: string;
                  }[];
                  orderOwner?: string;
                  partition?: string;
                  passengers?: {
                      age?: number;
                      ageUnitCode?: string;
                      birthdate?: string;
                      citizenshipCountryCode?: string;
                      contactInfoRefId?: string;
                      contactInfoRefIds?: string[];
                      employer?: {
                          name?: string;
                          taxRegistrationData: {
                              address?: {
                                  cityName?: string;
                                  postalCode?: string;
                                  street?: string[];
                              };
                              countryCode?: string;
                              countrySubDivisionName?: string;
                              emailAddress?: string;
                              phones?: {
                                  cityCode?: string;
                                  countryCode?: string;
                                  id?: string;
                                  label?: string;
                                  number?: string;
                              }[];
                              taxRegistrationId: string;
                          }[];
                      };
                      externalId?: string;
                      genderCode?: string;
                      givenName?: string;
                      id?: string;
                      identityDocuments?: {
                          birthdate?: string;
                          birthplace?: string;
                          citizenshipCountryCode?: string;
                          documentNumber?: string;
                          documentSubTypeCode?: string;
                          documentTypeCode?: string;
                          entryQuantity?: string;
                          expiryDate?: string;
                          genderCode?: string;
                          givenName?: string;
                          id?: string;
                          issueDate?: string;
                          issuingCountryCode?: string;
                          middleName?: string;
                          placeOfIssue?: string;
                          referencedDocumentNumbers?: string[];
                          residenceCountryCode?: string;
                          stayDuration?: string;
                          suffixName?: string;
                          surname?: string;
                          titleName?: string;
                          visaHostCountryCode?: string;
                      }[];
                      loyaltyProgramAccounts?: {
                          accountNumber?: string;
                          carrier?: { carrierCode: string };
                          id?: string;
                          programCode?: string;
                          programName?: string;
                      }[];
                      middleName?: string;
                      passengerReference?: string;
                      remarks?: { id?: string; text?: string; type?: string }[];
                      suffixName?: string;
                      surname?: string;
                      titleName?: string;
                      typeCode?: string;
                  }[];
                  paymentInformation?: {
                      amount: { amount?: string; code?: string };
                      id: string;
                      orderItemRefIds?: string[];
                      payer?: {
                          payerEmailAddress?: {
                              address?: string;
                              id?: string;
                              label?: string;
                          };
                          payerName?: {
                              individualName: {
                                  birthdate?: string;
                                  birthplace?: string;
                                  documentNumber?: string;
                                  genderCode?: string;
                                  givenName?: string;
                                  middleName?: string;
                                  suffixName?: string;
                                  surname: string;
                                  titleName?: string;
                              };
                          };
                          payerPhoneNumber?: {
                              cityCode?: string;
                              countryCode?: string;
                              id?: string;
                              label?: string;
                              number?: string;
                          };
                          paymentAddress?: {
                              buildingRoom?: string;
                              cityName?: string;
                              countryCode?: string;
                              label?: "AddressAtOrigin"
                              | "AddressAtDestination";
                              postalCode?: string;
                              postOfficeBoxCode?: string;
                              stateProvinceCode?: string;
                              street?: string[];
                          };
                      };
                      paymentMethod: {
                          paymentAgencyAccount?: {
                              approvalCode?: string;
                              code?: string;
                              supplierTransactionId?: string;
                              transactionId?: string;
                          };
                          paymentCard?: {
                              approvalCode?: string;
                              cardHolderAddress?: {
                                  buildingRoom?: string;
                                  cityName?: string;
                                  countryCode?: string;
                                  label?: "AddressAtOrigin"
                                  | "AddressAtDestination";
                                  postalCode?: string;
                                  postOfficeBoxCode?: string;
                                  stateProvinceCode?: string;
                                  street?: string[];
                              };
                              cardHolderName?: string;
                              cardNumber?: string;
                              cardNumberToken?: string;
                              contactInfoRefId?: string;
                              cvv?: string;
                              cvvToken?: string;
                              expirationDate?: string;
                              securePaymentVersion2?: {
                                  authenticationMerchantName?: string;
                                  authenticationTokenValue?: string;
                                  authenticationValueText?: string;
                                  cardNumberCollectionCode?: string;
                                  directoryServerTrxID?: string;
                                  electronicCommerceIndText?: string;
                                  payerAuthenticationExemptionCode?: string;
                                  payerAuthenticationFailureToCompleteCode?: string;
                                  paymentTrxChannelCode?: string;
                                  programProtocolText?: string;
                                  trxStatusReasonText?: string;
                                  trxStatusText?: string;
                                  verificationResult?: string;
                              };
                              vendorCode?: string;
                          };
                          paymentCash?: Record<string, never>;
                          paymentReferenceFormOfPayment?: {
                              cardHolderAddress?: {
                                  buildingRoom?: string;
                                  cityName?: string;
                                  countryCode?: string;
                                  label?: "AddressAtOrigin" | "AddressAtDestination";
                                  postalCode?: string;
                                  postOfficeBoxCode?: string;
                                  stateProvinceCode?: string;
                                  street?: string[];
                              };
                              cardHolderName?: string;
                              contactInfoRefId?: string;
                              cvv?: string;
                              referenceId?: string;
                              securePaymentVersion2?: {
                                  authenticationMerchantName?: string;
                                  authenticationTokenValue?: string;
                                  authenticationValueText?: string;
                                  cardNumberCollectionCode?: string;
                                  directoryServerTrxID?: string;
                                  electronicCommerceIndText?: string;
                                  payerAuthenticationExemptionCode?: string;
                                  payerAuthenticationFailureToCompleteCode?: string;
                                  paymentTrxChannelCode?: string;
                                  programProtocolText?: string;
                                  trxStatusReasonText?: string;
                                  trxStatusText?: string;
                                  verificationResult?: string;
                              };
                          };
                          paymentTypeCode?: string;
                      };
                      useTypes?: string[];
                  }[];
                  paymentTimeLimit?: string;
                  paymentTimeLimitText?: string;
                  penalties?: {
                      applicabilityList?: string[];
                      description?: string;
                      feeAmount?: string;
                      feeCurrencyCode?: string;
                      hasFee?: boolean;
                      id?: string;
                      isAllowed?: boolean;
                      type?: string;
                  }[];
                  pnrCreateDate?: string;
                  pnrLocator?: string;
                  priceClasses?: {
                      code?: string;
                      descriptions?: { id?: string; text?: string }[];
                      id?: string;
                      name?: string;
                  }[];
                  primeHost?: string;
                  products?: {
                      airSegment?: {
                          actionCode?: string;
                          arrivalAirport?: string;
                          arrivalDateTime?: string;
                          departureAirport?: string;
                          departureDateTime?: string;
                          legs?: {
                              arrivalAirport?: string;
                              arrivalDateTime?: string;
                              departureAirport?: string;
                              departureDateTime?: string;
                              marketingCarrier?: {
                                  airlineCode?: string;
                                  banner?: string;
                                  bookingClass?: string;
                                  flightNumber?: string;
                                  name?: string;
                              };
                              operatingCarrier?: {
                                  airlineCode?: string;
                                  banner?: string;
                                  bookingClass?: string;
                                  flightNumber?: string;
                                  name?: string;
                              };
                          }[];
                          marketingCarrier?: {
                              airlineCode?: string;
                              banner?: string;
                              bookingClass?: string;
                              flightNumber?: string;
                              name?: string;
                          };
                          operatingCarrier?: {
                              airlineCode?: string;
                              banner?: string;
                              bookingClass?: string;
                              flightNumber?: string;
                              name?: string;
                          };
                      };
                      id?: string;
                  }[];
                  pseudoCityCode?: string;
                  remarks?: { id?: string; text?: string; type?: string }[];
                  segments?: {
                      arnkInd?: boolean;
                      arrival?: {
                          gateId?: string;
                          locationCode?: string;
                          scheduledDateTime?: string;
                          stationName?: string;
                          terminalName?: string;
                      };
                      cabinTypeCode?: string;
                      datedOperatingLegs?: {
                          arrival?: {
                              gateId?: string;
                              locationCode?: string;
                              scheduledDateTime?: string;
                              stationName?: string;
                              terminalName?: string;
                          };
                          carrierAircraftType?: { code?: string; name?: string };
                          changeOfGaugeInd?: boolean;
                          departure?: {
                              gateId?: string;
                              locationCode?: string;
                              scheduledDateTime?: string;
                              stationName?: string;
                              terminalName?: string;
                          };
                          distanceMeasure?: { unitCode?: string; value?: number };
                          onGroundDuration?: string;
                      }[];
                      departure?: {
                          gateId?: string;
                          locationCode?: string;
                          scheduledDateTime?: string;
                          stationName?: string;
                          terminalName?: string;
                      };
                      distanceMeasure?: { unitCode?: string; value?: number };
                      flightDuration?: string;
                      id?: string;
                      marketingCarrier?: {
                          carrierCode?: string;
                          carrierName?: string;
                          classOfService?: string;
                          disclosure?: { id?: string; text?: string[] };
                          flightNumber?: number;
                      };
                      operatingCarrier?: {
                          carrierCode?: string;
                          carrierName?: string;
                          classOfService?: string;
                          disclosure?: { id?: string; text?: string[] };
                          flightNumber?: number;
                      };
                      references?: { id?: string; system?: string }[];
                  }[];
                  serviceDefinitions?: {
                      baggageAllowanceRefId?: string;
                      bookingInstructions?: {
                          productText?: string;
                          productTextDetails?: {
                              description?: string;
                              key: string;
                              value: string;
                          }[];
                          specialServices?: { freeText?: string; specialServiceCode?: string }[];
                      };
                      cabinUpgrade?: {
                          methodCode?: string;
                          reservationBookingDesignator?: string;
                      };
                      descriptions?: { id?: string; text?: string }[];
                      externalId?: string;
                      groupCode?: string;
                      id?: string;
                      name?: string;
                      ownerCode?: string;
                      reasonForIssuanceCode?: string;
                      reasonForIssuanceSubCode?: string;
                      serviceCode?: string;
                      settlementMethodCode?: string;
                  }[];
                  ticketingDocumentInfo?: {
                      document?: {
                          coupons?: {
                              consumedAtIssuanceInd?: boolean;
                              exchangeEligibilityInd?: boolean;
                              inConnectionCouponNumber?: string;
                              inConnectionDocumentNumber?: string;
                              involuntaryIndicatorCode?: string;
                              number?: number;
                              orderItemRefId?: string;
                              presentAt?: string;
                              presentTo?: string;
                              reasonForIssuanceCode?: string;
                              reasonForIssuanceSubCode?: string;
                              segmentInfo?: {
                                  arrivalAirport?: string;
                                  arrivalTime?: string;
                                  classOfService?: string;
                                  departureAirport?: string;
                                  departureTime?: string;
                                  flightNumber?: number;
                                  marketingAirlineCode?: string;
                              };
                              serviceCode?: string;
                              serviceRefId?: string;
                              settlementAuthCode?: string;
                              status?: string;
                          }[];
                          exchangeEligibilityInd?: boolean;
                          inConnectionDocumentNumber?: string;
                          issueDateTime?: string;
                          issueDateTimeComment?: string;
                          issueDateTimeText?: string;
                          number?: string;
                          numberOfBooklets?: number;
                          outOfSyncWithOrderItem?: boolean;
                          primaryDocumentInd?: boolean;
                          remarkText?: string;
                          reportingType?: string;
                          routingCode?: string;
                          ticketingLocation?: string;
                          type?: string;
                          voidEligibilityInd?: boolean;
                          voidPeriodExpirationDateTime?: string;
                      };
                      originalIssueInfo?: {
                          issueDate?: string;
                          issuingAgentId?: string;
                          locationCode?: string;
                          ticketNumber?: string;
                      };
                      paxRefId?: string;
                      price?: {
                          baseAmount?: { amount?: string; code?: string };
                          equivAmount?: { amount?: string; code?: string };
                          feeBreakdowns?: {
                              amount?: { amount?: string; code?: string; taxable?: boolean };
                              description?: string;
                              refundable?: boolean;
                          }[];
                          nonRefundableBaseAmount?: { amount?: string; code?: string };
                          surcharges?: {
                              breakdown?: {
                                  amount?: { amount?: ...; code?: ... };
                                  description?: string;
                                  designatorCode?: string;
                                  localAmount?: { amount?: ...; code?: ... };
                                  refundable?: boolean;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                          }[];
                          taxBreakdowns?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                          totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                          totalTaxAmount?: { amount?: string; code?: string };
                      };
                  }[];
                  totalPrice?: {
                      baseAmount?: { amount?: string; code?: string };
                      equivAmount?: { amount?: string; code?: string };
                      feeBreakdowns?: {
                          amount?: { amount?: string; code?: string; taxable?: boolean };
                          description?: string;
                          refundable?: boolean;
                      }[];
                      nonRefundableBaseAmount?: { amount?: string; code?: string };
                      surcharges?: {
                          breakdown?: {
                              amount?: { amount?: string; code?: string };
                              description?: string;
                              designatorCode?: string;
                              localAmount?: { amount?: string; code?: string };
                              refundable?: boolean;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                      }[];
                      taxBreakdowns?: {
                          amount?: { amount?: string; code?: string };
                          collectionInd?: boolean;
                          countryCode?: string;
                          description?: string;
                          refundable?: boolean;
                          taxCode?: string;
                          taxTypeCode?: string;
                      }[];
                      totalAmount?: { amount?: string; code?: string };
                      totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                      totalTaxAmount?: { amount?: string; code?: string };
                  };
                  type?: string;
              };
              warnings?: { code?: string; message?: string }[];
          };
      }

    • Parameters

      • request: {
            diagnostics?: (
                | "ORDER_VIEW_REQUEST"
                | "ORDER_VIEW_RESPONSE"
                | "OFFER_STORE_ID_REQUEST"
                | "OFFER_STORE_ID_RESPONSE"
                | "OFFER_STORE_PUT_REQUEST"
                | "OFFER_STORE_PUT_RESPONSE"
                | "NDCC_ORDER_RESHOP_REQUEST"
                | "NDCC_ORDER_RESHOP_RESPONSE"
                | "ESSM_RESPONSE"
                | "ESSM_TJR_REQUEST"
                | "ESSM_TJR_RESPONSE"
                | "ESSM_JWT_REQUEST"
                | "ESSM_JWT_RESPONSE"
                | "SPR_REQUEST"
                | "SPR_RESPONSE"
            )[];
            payloadAttributes?: {
                baseline?: string;
                echoToken?: string;
                host?: string;
                timeStamp?: string;
                trxId?: string;
                version?: string;
            };
            request: { orderId: string };
        }
        • Optionaldiagnostics?: (
              | "ORDER_VIEW_REQUEST"
              | "ORDER_VIEW_RESPONSE"
              | "OFFER_STORE_ID_REQUEST"
              | "OFFER_STORE_ID_RESPONSE"
              | "OFFER_STORE_PUT_REQUEST"
              | "OFFER_STORE_PUT_RESPONSE"
              | "NDCC_ORDER_RESHOP_REQUEST"
              | "NDCC_ORDER_RESHOP_RESPONSE"
              | "ESSM_RESPONSE"
              | "ESSM_TJR_REQUEST"
              | "ESSM_TJR_RESPONSE"
              | "ESSM_JWT_REQUEST"
              | "ESSM_JWT_RESPONSE"
              | "SPR_REQUEST"
              | "SPR_RESPONSE"
          )[]

          Lists diagnostic information that assists in debugging and troubleshooting possible processing errors.

        • OptionalpayloadAttributes?: {
              baseline?: string;
              echoToken?: string;
              host?: string;
              timeStamp?: string;
              trxId?: string;
              version?: string;
          }

          Standard payload parameters.

          • Optional Readonlybaseline?: string

            Application baseline.

            PRICINGORCHESTRATOR.2019.12.AE
            
          • OptionalechoToken?: string

            A reference for additional message identification, assigned by the requesting host system. When a request message includes an echo token the corresponding response message MUST include an echo token with an identical value.

            7c6d6c52-a277-4539-a7f1-da225470d053
            
          • Optional Readonlyhost?: string

            The hostname and port of the machine.

            LTXL0651:2470
            
          • OptionaltimeStamp?: string

            Format: date-time

            The date and time the request was processed.

            2024-10-03T12:48:52.968Z
            
          • OptionaltrxId?: string

            A unique ID assigned to the transaction.

            b213e940-c89c-4dbb-96b1-d16a6c0249fb
            
          • Optional Readonlyversion?: string

            The version of the API.

            1.0.0
            
        • request: { orderId: string }

          Main request body.

          • orderId: string

            The unique ID of an existing order that the seller wants to cancel.

            1SXXXC0ZS1YSD
            
      • body: any

      Returns {
          error?: any;
          response: {
              diagnostics?: {
                  body?: string;
                  customId?: string;
                  headers?: { [key: string]: string };
                  name?:
                      | "ORDER_VIEW_REQUEST"
                      | "ORDER_VIEW_RESPONSE"
                      | "OFFER_STORE_ID_REQUEST"
                      | "OFFER_STORE_ID_RESPONSE"
                      | "OFFER_STORE_PUT_REQUEST"
                      | "OFFER_STORE_PUT_RESPONSE"
                      | "NDCC_ORDER_RESHOP_REQUEST"
                      | "NDCC_ORDER_RESHOP_RESPONSE"
                      | "ESSM_RESPONSE"
                      | "ESSM_TJR_REQUEST"
                      | "ESSM_TJR_RESPONSE"
                      | "ESSM_JWT_REQUEST"
                      | "ESSM_JWT_RESPONSE"
                      | "SPR_REQUEST"
                      | "SPR_RESPONSE";
              }[];
              errors?: { code?: string; message?: string; service?: string }[];
              payloadAttributes?: {
                  baseline?: string;
                  echoToken?: string;
                  host?: string;
                  timeStamp?: string;
                  trxId?: string;
                  version?: string;
              };
              response: {
                  reshopOffers?: {
                      offerExpirationDateTime?: string;
                      offerId: string;
                      offerItems?: {
                          differentialAmountDue?: {
                              amount: { amount: string; curCode?: string };
                              taxSummary?: { totalTaxAmount?: { amount: string; curCode?: string } };
                          };
                          mandatoryInd?: boolean;
                          newOfferItemDifferential?: {
                              amount: { amount: string; curCode?: string };
                              taxSummary?: { totalTaxAmount?: { amount: string; curCode?: string } };
                          };
                          offerItemId?: string;
                          originalOrderItemDifferential?: {
                              amount: { amount: string; curCode?: string };
                              taxSummary?: { totalTaxAmount?: { amount: string; curCode?: string } };
                          };
                          penaltyDifferential?: {
                              amount: { amount: string; curCode?: string };
                              taxSummary?: { totalTaxAmount?: { amount: string; curCode?: string } };
                          };
                      }[];
                      offerType?: "VOID"
                      | "REFUND";
                      ownerCode: string;
                  }[];
                  warnings?: { code?: string; message?: string; service?: string }[];
              };
          };
      }

    • Parameters

      • request: {
            actions?: {
                fulfillOrder?: {
                    externalOrderId?: string;
                    orderItemIds?: string[];
                    paymentInfo?: {
                        amount: { amount?: string; code?: string };
                        id: string;
                        orderItemRefIds?: string[];
                        payer?: {
                            payerEmailAddress?: {
                                address?: string;
                                id?: string;
                                label?: string;
                            };
                            payerName?: {
                                individualName: {
                                    birthdate?: string;
                                    birthplace?: string;
                                    documentNumber?: string;
                                    genderCode?: string;
                                    givenName?: string;
                                    middleName?: string;
                                    suffixName?: string;
                                    surname: string;
                                    titleName?: string;
                                };
                            };
                            payerPhoneNumber?: {
                                cityCode?: string;
                                countryCode?: string;
                                id?: string;
                                label?: string;
                                number?: string;
                            };
                            paymentAddress?: {
                                buildingRoom?: string;
                                cityName?: string;
                                countryCode?: string;
                                label?: "AddressAtOrigin"
                                | "AddressAtDestination";
                                postalCode?: string;
                                postOfficeBoxCode?: string;
                                stateProvinceCode?: string;
                                street?: string[];
                            };
                        };
                        paymentMethod: {
                            paymentAgencyAccount?: {
                                approvalCode?: string;
                                code?: string;
                                supplierTransactionId?: string;
                                transactionId?: string;
                            };
                            paymentCard?: {
                                approvalCode?: string;
                                cardHolderAddress?: {
                                    buildingRoom?: string;
                                    cityName?: string;
                                    countryCode?: string;
                                    label?: "AddressAtOrigin"
                                    | "AddressAtDestination";
                                    postalCode?: string;
                                    postOfficeBoxCode?: string;
                                    stateProvinceCode?: string;
                                    street?: string[];
                                };
                                cardHolderName?: string;
                                cardNumber?: string;
                                cardNumberToken?: string;
                                contactInfoRefId?: string;
                                cvv?: string;
                                cvvToken?: string;
                                expirationDate?: string;
                                securePaymentVersion2?: {
                                    authenticationMerchantName?: string;
                                    authenticationTokenValue?: string;
                                    authenticationValueText?: string;
                                    cardNumberCollectionCode?: string;
                                    directoryServerTrxID?: string;
                                    electronicCommerceIndText?: string;
                                    payerAuthenticationExemptionCode?: string;
                                    payerAuthenticationFailureToCompleteCode?: string;
                                    paymentTrxChannelCode?: string;
                                    programProtocolText?: string;
                                    trxStatusReasonText?: string;
                                    trxStatusText?: string;
                                    verificationResult?: string;
                                };
                                vendorCode?: string;
                            };
                            paymentCash?: Record<string, never>;
                            paymentReferenceFormOfPayment?: {
                                cardHolderAddress?: {
                                    buildingRoom?: string;
                                    cityName?: string;
                                    countryCode?: string;
                                    label?: "AddressAtOrigin" | "AddressAtDestination";
                                    postalCode?: string;
                                    postOfficeBoxCode?: string;
                                    stateProvinceCode?: string;
                                    street?: string[];
                                };
                                cardHolderName?: string;
                                contactInfoRefId?: string;
                                cvv?: string;
                                referenceId?: string;
                                securePaymentVersion2?: {
                                    authenticationMerchantName?: string;
                                    authenticationTokenValue?: string;
                                    authenticationValueText?: string;
                                    cardNumberCollectionCode?: string;
                                    directoryServerTrxID?: string;
                                    electronicCommerceIndText?: string;
                                    payerAuthenticationExemptionCode?: string;
                                    payerAuthenticationFailureToCompleteCode?: string;
                                    paymentTrxChannelCode?: string;
                                    programProtocolText?: string;
                                    trxStatusReasonText?: string;
                                    trxStatusText?: string;
                                    verificationResult?: string;
                                };
                            };
                            paymentTypeCode?: string;
                        };
                        useTypes?: string[];
                    };
                };
                id: string;
                nameChangeFollowUp?: { waiverCode?: string };
                scheduleChangeFollowUp?: { waiverCode?: string };
            }[];
            airlineRemarkAdds?: {
                id?: string;
                passengerRefIds?: string[];
                text?: string;
            }[];
            auxiliaryActions?: {
                id?: string;
                nameReferenceNumberUpdate?: {
                    nameReferenceNumber?: string;
                    passengerRefId?: string;
                };
            }[];
            cancelDocumentAndRetainOrder: boolean;
            cancelOrderAndRetainDocument?: boolean;
            cancelWithRetain: boolean;
            contactInformationAdds?: {
                contactType?: string;
                emailAddresses?: { address?: string; id?: string; label?: string }[];
                passengerId: string;
                phones?: {
                    cityCode?: string;
                    countryCode?: string;
                    id?: string;
                    label?: string;
                    number?: string;
                }[];
            }[];
            contactInformationDeletes?: { id: string }[];
            contactInformationUpdates?: {
                contactTypeUpdate?: string;
                emailAddressAdds?: { address?: string; label?: string }[];
                emailAddressDeleteIds?: string[];
                emailAddressUpdates?: { address?: string; id?: string; label?: string }[];
                id?: string;
                phoneAdds?: {
                    cityCode?: string;
                    countryCode?: string;
                    label?: string;
                    number?: string;
                }[];
                phoneDeleteIds?: string[];
                phoneUpdates?: {
                    cityCode?: string;
                    countryCode?: string;
                    id?: string;
                    label?: string;
                    number?: string;
                }[];
                postalAddressesUpdate?: {
                    buildingRoom?: string;
                    cityName?: string;
                    countryCode?: string;
                    label?: "AddressAtOrigin"
                    | "AddressAtDestination";
                    postalCode?: string;
                    postOfficeBoxCode?: string;
                    stateProvinceCode?: string;
                    street?: string[];
                }[];
            }[];
            displayPaymentCardNumbers: boolean;
            id: string;
            identityDocumentAdds?: {
                birthdate?: string;
                birthplace?: string;
                citizenshipCountryCode?: string;
                documentNumber?: string;
                documentSubTypeCode?: string;
                documentTypeCode?: string;
                entryQuantity?: string;
                expiryDate?: string;
                genderCode?: string;
                givenName?: string;
                issueDate?: string;
                issuingCountryCode?: string;
                middleName?: string;
                nameReference?: string;
                placeOfIssue?: string;
                referencedDocumentNumbers?: string[];
                residenceCountryCode?: string;
                stayDuration?: string;
                suffixName?: string;
                surname?: string;
                titleName?: string;
                visaHostCountryCode?: string;
            }[];
            identityDocumentDeletes?: { id?: string }[];
            identityDocumentUpdates?: {
                birthdate?: string;
                birthplace?: string;
                citizenshipCountryCode?: string;
                documentNumber?: string;
                documentTypeCode?: string;
                entryQuantity?: string;
                expiryDate?: string;
                genderCode?: string;
                givenName?: string;
                id?: string;
                issueDate?: string;
                issuingCountryCode?: string;
                middleName?: string;
                nameReference?: string;
                placeOfIssue?: string;
                referencedDocumentNumbers?: string[];
                residenceCountryCode?: string;
                stayDuration?: string;
                suffixName?: string;
                surname?: string;
                titleName?: string;
                visaHostCountryCode?: string;
            }[];
            loyaltyProgramAccountAdds?: {
                accountNumber?: string;
                carrier?: { carrierCode: string };
                nameReference?: string;
                programCode?: string;
                programName?: string;
            }[];
            loyaltyProgramAccountDeletes?: { id?: string }[];
            mode?: "BOOKING" | "CHECKING";
            offerId?: string;
            orderItemDeletes?: { externalOrderId?: string; id?: string }[];
            orderItemUpdates?: {
                acceptOffers: {
                    offerId: string;
                    selectedOfferItems: { id: string; passengerRefIds?: string[] }[];
                }[];
            }[];
            party?: {
                sender?: {
                    travelAgency?: {
                        agencyContact?: {
                            contactRefusedIndicator?: boolean;
                            contactType?: string;
                            emailAddresses?: { address?: string; id?: string; label?: string }[];
                            givenName?: string;
                            id?: string;
                            phones?: {
                                cityCode?: string;
                                countryCode?: string;
                                id?: string;
                                label?: string;
                                number?: string;
                            }[];
                            postalAddresses?: {
                                buildingRoom?: string;
                                cityName?: string;
                                countryCode?: string;
                                label?: "AddressAtOrigin"
                                | "AddressAtDestination";
                                postalCode?: string;
                                postOfficeBoxCode?: string;
                                stateProvinceCode?: string;
                                street?: string[];
                            }[];
                            surname?: string;
                        };
                        agencyEmail?: string;
                        agencyId?: string;
                        iataNumber?: string;
                        name?: string;
                        pseudoCityCode?: string;
                        typeCode?: string;
                    };
                };
            };
            passengerUpdates?: {
                age?: number;
                ageUnitCode?: string;
                birthdate?: string;
                genderCode?: string;
                givenName?: string;
                id: string;
                middleName?: string;
                suffixName?: string;
                surname?: string;
                titleName?: string;
                typeCode?: string;
            }[];
            requestType?: "STATELESS"
            | "STATEFUL";
            seatAdds?: {
                column?: string;
                offerItemId?: string;
                passengerRefs?: string;
                row?: string;
                segmentRefId?: string;
            }[];
            seatDeletes?: { orderItemId?: string }[];
            serviceAdds?: {
                offerItemId: string;
                passengerRefId: string;
                productText?: string;
                productTextDetails?: { [key: string]: string };
                quantity?: number;
                segmentRefId?: string;
            }[];
        }
        • Optionalactions?: {
              fulfillOrder?: {
                  externalOrderId?: string;
                  orderItemIds?: string[];
                  paymentInfo?: {
                      amount: { amount?: string; code?: string };
                      id: string;
                      orderItemRefIds?: string[];
                      payer?: {
                          payerEmailAddress?: { address?: string; id?: string; label?: string };
                          payerName?: {
                              individualName: {
                                  birthdate?: string;
                                  birthplace?: string;
                                  documentNumber?: string;
                                  genderCode?: string;
                                  givenName?: string;
                                  middleName?: string;
                                  suffixName?: string;
                                  surname: string;
                                  titleName?: string;
                              };
                          };
                          payerPhoneNumber?: {
                              cityCode?: string;
                              countryCode?: string;
                              id?: string;
                              label?: string;
                              number?: string;
                          };
                          paymentAddress?: {
                              buildingRoom?: string;
                              cityName?: string;
                              countryCode?: string;
                              label?: "AddressAtOrigin"
                              | "AddressAtDestination";
                              postalCode?: string;
                              postOfficeBoxCode?: string;
                              stateProvinceCode?: string;
                              street?: string[];
                          };
                      };
                      paymentMethod: {
                          paymentAgencyAccount?: {
                              approvalCode?: string;
                              code?: string;
                              supplierTransactionId?: string;
                              transactionId?: string;
                          };
                          paymentCard?: {
                              approvalCode?: string;
                              cardHolderAddress?: {
                                  buildingRoom?: string;
                                  cityName?: string;
                                  countryCode?: string;
                                  label?: "AddressAtOrigin"
                                  | "AddressAtDestination";
                                  postalCode?: string;
                                  postOfficeBoxCode?: string;
                                  stateProvinceCode?: string;
                                  street?: string[];
                              };
                              cardHolderName?: string;
                              cardNumber?: string;
                              cardNumberToken?: string;
                              contactInfoRefId?: string;
                              cvv?: string;
                              cvvToken?: string;
                              expirationDate?: string;
                              securePaymentVersion2?: {
                                  authenticationMerchantName?: string;
                                  authenticationTokenValue?: string;
                                  authenticationValueText?: string;
                                  cardNumberCollectionCode?: string;
                                  directoryServerTrxID?: string;
                                  electronicCommerceIndText?: string;
                                  payerAuthenticationExemptionCode?: string;
                                  payerAuthenticationFailureToCompleteCode?: string;
                                  paymentTrxChannelCode?: string;
                                  programProtocolText?: string;
                                  trxStatusReasonText?: string;
                                  trxStatusText?: string;
                                  verificationResult?: string;
                              };
                              vendorCode?: string;
                          };
                          paymentCash?: Record<string, never>;
                          paymentReferenceFormOfPayment?: {
                              cardHolderAddress?: {
                                  buildingRoom?: string;
                                  cityName?: string;
                                  countryCode?: string;
                                  label?: "AddressAtOrigin" | "AddressAtDestination";
                                  postalCode?: string;
                                  postOfficeBoxCode?: string;
                                  stateProvinceCode?: string;
                                  street?: string[];
                              };
                              cardHolderName?: string;
                              contactInfoRefId?: string;
                              cvv?: string;
                              referenceId?: string;
                              securePaymentVersion2?: {
                                  authenticationMerchantName?: string;
                                  authenticationTokenValue?: string;
                                  authenticationValueText?: string;
                                  cardNumberCollectionCode?: string;
                                  directoryServerTrxID?: string;
                                  electronicCommerceIndText?: string;
                                  payerAuthenticationExemptionCode?: string;
                                  payerAuthenticationFailureToCompleteCode?: string;
                                  paymentTrxChannelCode?: string;
                                  programProtocolText?: string;
                                  trxStatusReasonText?: string;
                                  trxStatusText?: string;
                                  verificationResult?: string;
                              };
                          };
                          paymentTypeCode?: string;
                      };
                      useTypes?: string[];
                  };
              };
              id: string;
              nameChangeFollowUp?: { waiverCode?: string };
              scheduleChangeFollowUp?: { waiverCode?: string };
          }[]

          Contains actions to execute.

        • OptionalairlineRemarkAdds?: { id?: string; passengerRefIds?: string[]; text?: string }[]

          Lists the airline remarks to add.

        • OptionalauxiliaryActions?: {
              id?: string;
              nameReferenceNumberUpdate?: {
                  nameReferenceNumber?: string;
                  passengerRefId?: string;
              };
          }[]

          Lists the order processing auxiliary actions.

        • cancelDocumentAndRetainOrder: boolean

          If true, voids a document while retaining the itinerary for this order.

          false
          
          true
          
        • OptionalcancelOrderAndRetainDocument?: boolean

          If true, retains the documents that have been issued against that order.

          true
          
        • cancelWithRetain: boolean

          If true, retains the documents issued against the order. Replaced by cancelOrderAndRetainDocument.

          false
          
          true
          
        • OptionalcontactInformationAdds?: {
              contactType?: string;
              emailAddresses?: { address?: string; id?: string; label?: string }[];
              passengerId: string;
              phones?: {
                  cityCode?: string;
                  countryCode?: string;
                  id?: string;
                  label?: string;
                  number?: string;
              }[];
          }[]

          Contains data required to add contact information.

        • OptionalcontactInformationDeletes?: { id: string }[]

          Contains data required to delete a contact information.

        • OptionalcontactInformationUpdates?: {
              contactTypeUpdate?: string;
              emailAddressAdds?: { address?: string; label?: string }[];
              emailAddressDeleteIds?: string[];
              emailAddressUpdates?: { address?: string; id?: string; label?: string }[];
              id?: string;
              phoneAdds?: {
                  cityCode?: string;
                  countryCode?: string;
                  label?: string;
                  number?: string;
              }[];
              phoneDeleteIds?: string[];
              phoneUpdates?: {
                  cityCode?: string;
                  countryCode?: string;
                  id?: string;
                  label?: string;
                  number?: string;
              }[];
              postalAddressesUpdate?: {
                  buildingRoom?: string;
                  cityName?: string;
                  countryCode?: string;
                  label?: "AddressAtOrigin"
                  | "AddressAtDestination";
                  postalCode?: string;
                  postOfficeBoxCode?: string;
                  stateProvinceCode?: string;
                  street?: string[];
              }[];
          }[]

          Contains parameters used to update contact information.

        • displayPaymentCardNumbers: boolean

          If true, display unmasked credit card numbers.

          false
          
          true
          
        • id: string

          The unique identifier of an Order within the context of one message.

          XX000ABC99DEF
          
        • OptionalidentityDocumentAdds?: {
              birthdate?: string;
              birthplace?: string;
              citizenshipCountryCode?: string;
              documentNumber?: string;
              documentSubTypeCode?: string;
              documentTypeCode?: string;
              entryQuantity?: string;
              expiryDate?: string;
              genderCode?: string;
              givenName?: string;
              issueDate?: string;
              issuingCountryCode?: string;
              middleName?: string;
              nameReference?: string;
              placeOfIssue?: string;
              referencedDocumentNumbers?: string[];
              residenceCountryCode?: string;
              stayDuration?: string;
              suffixName?: string;
              surname?: string;
              titleName?: string;
              visaHostCountryCode?: string;
          }[]

          Contains actions to add a traveler's identity document.

        • OptionalidentityDocumentDeletes?: { id?: string }[]

          Contains actions to delete the traveler's identity document.

        • OptionalidentityDocumentUpdates?: {
              birthdate?: string;
              birthplace?: string;
              citizenshipCountryCode?: string;
              documentNumber?: string;
              documentTypeCode?: string;
              entryQuantity?: string;
              expiryDate?: string;
              genderCode?: string;
              givenName?: string;
              id?: string;
              issueDate?: string;
              issuingCountryCode?: string;
              middleName?: string;
              nameReference?: string;
              placeOfIssue?: string;
              referencedDocumentNumbers?: string[];
              residenceCountryCode?: string;
              stayDuration?: string;
              suffixName?: string;
              surname?: string;
              titleName?: string;
              visaHostCountryCode?: string;
          }[]

          Contains actions to update the traveler's identity document.

        • OptionalloyaltyProgramAccountAdds?: {
              accountNumber?: string;
              carrier?: { carrierCode: string };
              nameReference?: string;
              programCode?: string;
              programName?: string;
          }[]

          Lists actions to add a traveler's frequent flyer information or corporate loyalty account.

        • OptionalloyaltyProgramAccountDeletes?: { id?: string }[]

          Contains actions to delete a traveler's frequent flyer information.

        • Optionalmode?: "BOOKING" | "CHECKING"

          Identifies the mode of information used when adding ancillary services.

        • OptionalofferId?: string

          The unique identifier of the selected Offer.

          dg7d9d79cd969vpfsk8a2nzsm0
          
        • OptionalorderItemDeletes?: { externalOrderId?: string; id?: string }[]

          Contains actions to delete Order Item and all referenced elements based on provided id.

        • OptionalorderItemUpdates?: {
              acceptOffers: {
                  offerId: string;
                  selectedOfferItems: { id: string; passengerRefIds?: string[] }[];
              }[];
          }[]

          Lists all orderItems to update.

        • Optionalparty?: {
              sender?: {
                  travelAgency?: {
                      agencyContact?: {
                          contactRefusedIndicator?: boolean;
                          contactType?: string;
                          emailAddresses?: { address?: string; id?: string; label?: string }[];
                          givenName?: string;
                          id?: string;
                          phones?: {
                              cityCode?: string;
                              countryCode?: string;
                              id?: string;
                              label?: string;
                              number?: string;
                          }[];
                          postalAddresses?: {
                              buildingRoom?: string;
                              cityName?: string;
                              countryCode?: string;
                              label?: "AddressAtOrigin"
                              | "AddressAtDestination";
                              postalCode?: string;
                              postOfficeBoxCode?: string;
                              stateProvinceCode?: string;
                              street?: string[];
                          }[];
                          surname?: string;
                      };
                      agencyEmail?: string;
                      agencyId?: string;
                      iataNumber?: string;
                      name?: string;
                      pseudoCityCode?: string;
                      typeCode?: string;
                  };
              };
          }

          Contains the sender of the request.

          • Optionalsender?: {
                travelAgency?: {
                    agencyContact?: {
                        contactRefusedIndicator?: boolean;
                        contactType?: string;
                        emailAddresses?: { address?: string; id?: string; label?: string }[];
                        givenName?: string;
                        id?: string;
                        phones?: {
                            cityCode?: string;
                            countryCode?: string;
                            id?: string;
                            label?: string;
                            number?: string;
                        }[];
                        postalAddresses?: {
                            buildingRoom?: string;
                            cityName?: string;
                            countryCode?: string;
                            label?: "AddressAtOrigin"
                            | "AddressAtDestination";
                            postalCode?: string;
                            postOfficeBoxCode?: string;
                            stateProvinceCode?: string;
                            street?: string[];
                        }[];
                        surname?: string;
                    };
                    agencyEmail?: string;
                    agencyId?: string;
                    iataNumber?: string;
                    name?: string;
                    pseudoCityCode?: string;
                    typeCode?: string;
                };
            }

            Contains the travel agency sender.

            • OptionaltravelAgency?: {
                  agencyContact?: {
                      contactRefusedIndicator?: boolean;
                      contactType?: string;
                      emailAddresses?: { address?: string; id?: string; label?: string }[];
                      givenName?: string;
                      id?: string;
                      phones?: {
                          cityCode?: string;
                          countryCode?: string;
                          id?: string;
                          label?: string;
                          number?: string;
                      }[];
                      postalAddresses?: {
                          buildingRoom?: string;
                          cityName?: string;
                          countryCode?: string;
                          label?: "AddressAtOrigin"
                          | "AddressAtDestination";
                          postalCode?: string;
                          postOfficeBoxCode?: string;
                          stateProvinceCode?: string;
                          street?: string[];
                      }[];
                      surname?: string;
                  };
                  agencyEmail?: string;
                  agencyId?: string;
                  iataNumber?: string;
                  name?: string;
                  pseudoCityCode?: string;
                  typeCode?: string;
              }

              Contains details of the travel agency.

              • OptionalagencyContact?: {
                    contactRefusedIndicator?: boolean;
                    contactType?: string;
                    emailAddresses?: { address?: string; id?: string; label?: string }[];
                    givenName?: string;
                    id?: string;
                    phones?: {
                        cityCode?: string;
                        countryCode?: string;
                        id?: string;
                        label?: string;
                        number?: string;
                    }[];
                    postalAddresses?: {
                        buildingRoom?: string;
                        cityName?: string;
                        countryCode?: string;
                        label?: "AddressAtOrigin"
                        | "AddressAtDestination";
                        postalCode?: string;
                        postOfficeBoxCode?: string;
                        stateProvinceCode?: string;
                        street?: string[];
                    }[];
                    surname?: string;
                }

                Contains the travel agency's contact information.

                • OptionalcontactRefusedIndicator?: boolean

                  An indicator which implies that agent refused to provide Contact Info.

                  false
                  
                • OptionalcontactType?: string

                  The passenger's contact type.

                  Notification
                  
                • OptionalemailAddresses?: { address?: string; id?: string; label?: string }[]

                  Contains the email address(es) used for contact purposes.

                • OptionalgivenName?: string

                  The passenger's first name.

                  Martin
                  
                • Optionalid?: string

                  The unique identifier assigned to the contact information within the message.

                  CI-1
                  
                • Optionalphones?: {
                      cityCode?: string;
                      countryCode?: string;
                      id?: string;
                      label?: string;
                      number?: string;
                  }[]

                  Contains telephone contact information.

                • OptionalpostalAddresses?: {
                      buildingRoom?: string;
                      cityName?: string;
                      countryCode?: string;
                      label?: "AddressAtOrigin" | "AddressAtDestination";
                      postalCode?: string;
                      postOfficeBoxCode?: string;
                      stateProvinceCode?: string;
                      street?: string[];
                  }[]

                  Lists the postal address(es) used for contact purposes.

                • Optionalsurname?: string

                  The passenger's surname.

                  Doe
                  
              • OptionalagencyEmail?: string

                Agency e-mail address.

                agency@sabre.com
                
              • OptionalagencyId?: string

                The unique identifier of the travel agency seller.

                CTXX
                
              • OptionaliataNumber?: string

                The Travel agency's assigned IATA number.

                12345678
                
              • Optionalname?: string

                The travel agency seller's name.

                McQueen Travel
                
              • OptionalpseudoCityCode?: string

                The travel agency's pseudo city code (PCC).

                F4X0
                
              • OptionaltypeCode?: string

                Agency type code.

                OnlineTravelAgency
                
        • OptionalpassengerUpdates?: {
              age?: number;
              ageUnitCode?: string;
              birthdate?: string;
              genderCode?: string;
              givenName?: string;
              id: string;
              middleName?: string;
              suffixName?: string;
              surname?: string;
              titleName?: string;
              typeCode?: string;
          }[]

          Contains actions to update a traveler's birthdate or gender code.

        • OptionalrequestType?: "STATELESS" | "STATEFUL"

          Type of request, STATEFUL or STATELESS.

        • OptionalseatAdds?: {
              column?: string;
              offerItemId?: string;
              passengerRefs?: string;
              row?: string;
              segmentRefId?: string;
          }[]

          Lists the information required to book a seat.

        • OptionalseatDeletes?: { orderItemId?: string }[]

          Contains information required to delete a seat.

        • OptionalserviceAdds?: {
              offerItemId: string;
              passengerRefId: string;
              productText?: string;
              productTextDetails?: { [key: string]: string };
              quantity?: number;
              segmentRefId?: string;
          }[]

          Lists the optional services to add.

      • body: any

      Returns {
          error?: any;
          response: {
              errors?: { code?: string; message?: string }[];
              info?: { code?: string; message?: string }[];
              order?: {
                  airlineRemarks?: {
                      id?: string;
                      passengerRefIds?: string[];
                      text?: string;
                  }[];
                  auxiliaryData?: {
                      pnrNameReferenceNumbers?: {
                          nameReferenceNumber?: string;
                          passengerRefId?: string;
                      }[];
                  };
                  baggageAllowances?: {
                      applicableParty?: string;
                      baggageDeterminingCarrier?: { carrierCode?: string };
                      dimensionAllowances?: {
                          baggageDimensionCategory?: string;
                          maximumMeasure?: { unitCode?: string; value?: string };
                          minimumMeasure?: { unitCode?: string; value?: string };
                      }[];
                      externalId?: string;
                      id?: string;
                      pieceAllowances?: { applicableParty?: string; totalQuantity?: number }[];
                      typeCode?: "CarryOn" | "Checked";
                      weightAllowances?: {
                          maximumMeasure?: { unitCode?: string; value?: string };
                      }[];
                  }[];
                  changeFee?: {
                      differentialAmountDue?: { amount?: string; code?: string };
                      differentialAmountDueTaxSummary?: {
                          allRefundableInd?: boolean;
                          taxes?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalTaxAmount?: { amount?: string; code?: string };
                      };
                      penaltyAmount?: { amount?: string; code?: string };
                      typeCode?: string;
                  };
                  contactInfos?: {
                      contactRefusedIndicator?: boolean;
                      contactType?: string;
                      emailAddresses?: { address?: string; id?: string; label?: string }[];
                      givenName?: string;
                      id?: string;
                      phones?: {
                          cityCode?: string;
                          countryCode?: string;
                          id?: string;
                          label?: string;
                          number?: string;
                      }[];
                      postalAddresses?: {
                          buildingRoom?: string;
                          cityName?: string;
                          countryCode?: string;
                          label?: "AddressAtOrigin"
                          | "AddressAtDestination";
                          postalCode?: string;
                          postOfficeBoxCode?: string;
                          stateProvinceCode?: string;
                          street?: string[];
                      }[];
                      surname?: string;
                  }[];
                  corporateId?: string;
                  countryCode?: string;
                  customerNumber?: { number?: string };
                  externalOrders?: {
                      airSegmentInformations?: {
                          arrivalAirport?: string;
                          arrivalTime?: string;
                          classOfService?: string;
                          departureAirport?: string;
                          departureTime?: string;
                          flightNumber?: number;
                          marketingAirlineCode?: string;
                      }[];
                      bookingReferences?: {
                          carrierCode?: string;
                          createDate?: string;
                          id?: string;
                          typeCode?: string;
                      }[];
                      externalOrderCreateDateTime?: string;
                      externalOrderId?: string;
                      id?: string;
                      systemId?: string;
                      totalPrice?: {
                          baseAmount?: { amount?: string; code?: string };
                          equivAmount?: { amount?: string; code?: string };
                          feeBreakdowns?: {
                              amount?: { amount?: string; code?: string; taxable?: boolean };
                              description?: string;
                              refundable?: boolean;
                          }[];
                          nonRefundableBaseAmount?: { amount?: string; code?: string };
                          surcharges?: {
                              breakdown?: {
                                  amount?: { amount?: ...; code?: ... };
                                  description?: string;
                                  designatorCode?: string;
                                  localAmount?: { amount?: ...; code?: ... };
                                  refundable?: boolean;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                          }[];
                          taxBreakdowns?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                          totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                          totalTaxAmount?: { amount?: string; code?: string };
                      };
                  }[];
                  formsOfPayment?: {
                      amount: { amount?: string; code?: string };
                      id: string;
                      orderItemRefIds?: string[];
                      payer?: {
                          payerEmailAddress?: {
                              address?: string;
                              id?: string;
                              label?: string;
                          };
                          payerName?: {
                              individualName: {
                                  birthdate?: string;
                                  birthplace?: string;
                                  documentNumber?: string;
                                  genderCode?: string;
                                  givenName?: string;
                                  middleName?: string;
                                  suffixName?: string;
                                  surname: string;
                                  titleName?: string;
                              };
                          };
                          payerPhoneNumber?: {
                              cityCode?: string;
                              countryCode?: string;
                              id?: string;
                              label?: string;
                              number?: string;
                          };
                          paymentAddress?: {
                              buildingRoom?: string;
                              cityName?: string;
                              countryCode?: string;
                              label?: "AddressAtOrigin"
                              | "AddressAtDestination";
                              postalCode?: string;
                              postOfficeBoxCode?: string;
                              stateProvinceCode?: string;
                              street?: string[];
                          };
                      };
                      paymentMethod: {
                          paymentAgencyAccount?: {
                              approvalCode?: string;
                              code?: string;
                              supplierTransactionId?: string;
                              transactionId?: string;
                          };
                          paymentCard?: {
                              approvalCode?: string;
                              cardHolderAddress?: {
                                  buildingRoom?: string;
                                  cityName?: string;
                                  countryCode?: string;
                                  label?: "AddressAtOrigin"
                                  | "AddressAtDestination";
                                  postalCode?: string;
                                  postOfficeBoxCode?: string;
                                  stateProvinceCode?: string;
                                  street?: string[];
                              };
                              cardHolderName?: string;
                              cardNumber?: string;
                              cardNumberToken?: string;
                              contactInfoRefId?: string;
                              cvv?: string;
                              cvvToken?: string;
                              expirationDate?: string;
                              securePaymentVersion2?: {
                                  authenticationMerchantName?: string;
                                  authenticationTokenValue?: string;
                                  authenticationValueText?: string;
                                  cardNumberCollectionCode?: string;
                                  directoryServerTrxID?: string;
                                  electronicCommerceIndText?: string;
                                  payerAuthenticationExemptionCode?: string;
                                  payerAuthenticationFailureToCompleteCode?: string;
                                  paymentTrxChannelCode?: string;
                                  programProtocolText?: string;
                                  trxStatusReasonText?: string;
                                  trxStatusText?: string;
                                  verificationResult?: string;
                              };
                              vendorCode?: string;
                          };
                          paymentCash?: Record<string, never>;
                          paymentReferenceFormOfPayment?: {
                              cardHolderAddress?: {
                                  buildingRoom?: string;
                                  cityName?: string;
                                  countryCode?: string;
                                  label?: "AddressAtOrigin" | "AddressAtDestination";
                                  postalCode?: string;
                                  postOfficeBoxCode?: string;
                                  stateProvinceCode?: string;
                                  street?: string[];
                              };
                              cardHolderName?: string;
                              contactInfoRefId?: string;
                              cvv?: string;
                              referenceId?: string;
                              securePaymentVersion2?: {
                                  authenticationMerchantName?: string;
                                  authenticationTokenValue?: string;
                                  authenticationValueText?: string;
                                  cardNumberCollectionCode?: string;
                                  directoryServerTrxID?: string;
                                  electronicCommerceIndText?: string;
                                  payerAuthenticationExemptionCode?: string;
                                  payerAuthenticationFailureToCompleteCode?: string;
                                  paymentTrxChannelCode?: string;
                                  programProtocolText?: string;
                                  trxStatusReasonText?: string;
                                  trxStatusText?: string;
                                  verificationResult?: string;
                              };
                          };
                          paymentTypeCode?: string;
                      };
                      useTypes?: string[];
                  }[];
                  id?: string;
                  itineraryMismatchedWithTickets?: boolean;
                  journeys?: { id?: string; segmentRefIds?: string[] }[];
                  loyaltyProgramAccount?: {
                      accountNumber?: string;
                      carrier?: { carrierCode: string };
                      id?: string;
                      programCode?: string;
                      programName?: string;
                  };
                  nameMismatchedWithTickets?: boolean;
                  offerVendor?: string;
                  orderItems?: {
                      commissions?: {
                          amount?: { amount?: string; code?: string };
                          code?: string;
                          descriptions?: string[];
                          passengerRefIds?: string[];
                          percentage?: number;
                      }[];
                      creationDateTime?: string;
                      externalId?: string;
                      externalOfferItemId?: string;
                      externalOrderRefId?: string;
                      fareDetails?: {
                          fareCalculationLine?: string;
                          fareComponents?: {
                              accountCode?: string;
                              cabinTypeCode?: string;
                              cabinTypeName?: string;
                              fareBasisCityPair?: string;
                              fareBasisCode?: string;
                              fareCode?: string;
                              fareDescription?: string;
                              fareRecognizedType?: | "Other"
                              | "Public"
                              | "Private"
                              | "Negotiated"
                              | "Corporate"
                              | "Unrecognized";
                              fareRules?: { penaltyRefIds?: (...)[] };
                              fareSourceCarrier?: string;
                              fareType?: string;
                              fareVendor?: string;
                              price?: {
                                  baseAmount?: { amount?: ...; code?: ... };
                                  equivAmount?: { amount?: ...; code?: ... };
                                  feeBreakdowns?: (...)[];
                                  nonRefundableBaseAmount?: { amount?: ...; code?: ... };
                                  surcharges?: (...)[];
                                  taxBreakdowns?: (...)[];
                                  totalAmount?: { amount?: ...; code?: ... };
                                  totalFeeAmount?: { amount?: ...; code?: ...; taxable?: ... };
                                  totalTaxAmount?: { amount?: ...; code?: ... };
                              };
                              priceClassRef?: string;
                              ruleNumber?: string;
                              segmentRefIds?: string[];
                              tariffNumber?: string;
                              type?: "O"
                              | "X"
                              | "R";
                          }[];
                          fareIndicatorCode?: string;
                          fareQualifiers?: string[];
                          filedFareInd?: boolean;
                          paxRefIds?: string[];
                          penaltyDifferential?: {
                              baseAmount?: { amount?: string; code?: string };
                              taxSummary?: {
                                  allRefundableInd?: boolean;
                                  taxes?: (...)[];
                                  totalTaxAmount?: { amount?: ...; code?: ... };
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                          };
                          price?: {
                              baseAmount?: { amount?: string; code?: string };
                              equivAmount?: { amount?: string; code?: string };
                              feeBreakdowns?: {
                                  amount?: { amount?: ...; code?: ...; taxable?: ... };
                                  description?: string;
                                  refundable?: boolean;
                              }[];
                              nonRefundableBaseAmount?: { amount?: string; code?: string };
                              surcharges?: {
                                  breakdown?: (...)[];
                                  totalAmount?: { amount?: ...; code?: ... };
                              }[];
                              taxBreakdowns?: {
                                  amount?: { amount?: ...; code?: ... };
                                  collectionInd?: boolean;
                                  countryCode?: string;
                                  description?: string;
                                  refundable?: boolean;
                                  taxCode?: string;
                                  taxTypeCode?: string;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                              totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                              totalTaxAmount?: { amount?: string; code?: string };
                          };
                          priceDifferential?: {
                              diffPrice?: {
                                  price?: {
                                      balanceAmount?: { amount?: ...; code?: ... };
                                      taxAllRefundableInd?: boolean;
                                      taxBreakdowns?: (...)[];
                                      totalAmount?: { amount?: ...; code?: ... };
                                      totalTaxAmount?: { amount?: ...; code?: ... };
                                  };
                              };
                          };
                          remarks?: { displayInd?: boolean; text?: string; type?: string }[];
                          tourCode?: string;
                      }[];
                      fees?: {
                          applied?: boolean;
                          basePrice?: { amount?: string; code?: string };
                          description?: string;
                          passengerRefIds?: string[];
                          percentageValue?: string;
                          price?: { amount?: string; code?: string };
                          refundable?: boolean;
                          serviceCode?: string;
                          subCode?: string;
                          taxBreakdowns?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalTaxAmount?: { amount?: string; code?: string };
                      }[];
                      feeWarnings?: { owner?: string; text?: string }[];
                      id?: string;
                      itemOrigin?: "SELL" | "EXCHANGE" | "SYNCHRONIZATION";
                      offerCustomerInformation?: {
                          agencyInformation?: {
                              agentCityCode?: string;
                              agentDeptCode?: string;
                              agentDuty?: string;
                              agentFunction?: string;
                              carrierCode?: string;
                              mainTravelAgencyPCC?: string;
                          };
                          billingInformation?: {
                              aaaCity?: string;
                              actionCode?: string;
                              agentSineIn?: string;
                              partitionID?: string;
                              pseudoCityCode?: string;
                              userSetAddress?: string;
                          };
                      };
                      offerItemId?: string;
                      origin?: string;
                      originatedFromTicketExchangeInd?: boolean;
                      paymentTimeLimit?: string;
                      paymentTimeLimitText?: string;
                      penaltyDifferential?: {
                          baseAmount?: { amount?: string; code?: string };
                          taxSummary?: {
                              allRefundableInd?: boolean;
                              taxes?: {
                                  amount?: { amount?: ...; code?: ... };
                                  collectionInd?: boolean;
                                  countryCode?: string;
                                  description?: string;
                                  refundable?: boolean;
                                  taxCode?: string;
                                  taxTypeCode?: string;
                              }[];
                              totalTaxAmount?: { amount?: string; code?: string };
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                      };
                      price?: {
                          baseAmount?: { amount?: string; code?: string };
                          equivAmount?: { amount?: string; code?: string };
                          feeBreakdowns?: {
                              amount?: { amount?: string; code?: string; taxable?: boolean };
                              description?: string;
                              refundable?: boolean;
                          }[];
                          nonRefundableBaseAmount?: { amount?: string; code?: string };
                          surcharges?: {
                              breakdown?: {
                                  amount?: { amount?: ...; code?: ... };
                                  description?: string;
                                  designatorCode?: string;
                                  localAmount?: { amount?: ...; code?: ... };
                                  refundable?: boolean;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                          }[];
                          taxBreakdowns?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                          totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                          totalTaxAmount?: { amount?: string; code?: string };
                      };
                      priceDifferential?: {
                          diffPrice?: {
                              price?: {
                                  balanceAmount?: { amount?: string; code?: string };
                                  taxAllRefundableInd?: boolean;
                                  taxBreakdowns?: {
                                      amount?: { amount?: ...; code?: ... };
                                      collectionInd?: boolean;
                                      countryCode?: string;
                                      description?: string;
                                      refundable?: boolean;
                                      taxCode?: string;
                                      taxTypeCode?: string;
                                  }[];
                                  totalAmount?: { amount?: string; code?: string };
                                  totalTaxAmount?: { amount?: string; code?: string };
                              };
                          };
                      };
                      priceGuaranteeTimeLimit?: string;
                      priceGuaranteeTimeLimitText?: string;
                      productRefIds?: string[];
                      sellerFollowUpAction?: { actionCodes?: string[] };
                      services?: {
                          externalId?: string;
                          externalOrderItemId?: string;
                          id?: string;
                          passengerRefId?: string;
                          pnrSegmentNumber?: number;
                          segmentRefId?: string;
                          selectedSeat?: {
                              characteristics?: string[];
                              column?: string;
                              descriptions?: string[];
                              pitchMeasure?: { unitCode?: string; value?: string };
                              row?: string;
                              segmentRefId?: string;
                              widthMeasure?: { unitCode?: string; value?: string };
                          };
                          serviceDefinitionRefId?: string;
                          statusCode?: string;
                      }[];
                      statusCode?: string;
                      validatingCarrierCode?: string;
                  }[];
                  orderOwner?: string;
                  partition?: string;
                  passengers?: {
                      age?: number;
                      ageUnitCode?: string;
                      birthdate?: string;
                      citizenshipCountryCode?: string;
                      contactInfoRefId?: string;
                      contactInfoRefIds?: string[];
                      employer?: {
                          name?: string;
                          taxRegistrationData: {
                              address?: {
                                  cityName?: string;
                                  postalCode?: string;
                                  street?: string[];
                              };
                              countryCode?: string;
                              countrySubDivisionName?: string;
                              emailAddress?: string;
                              phones?: {
                                  cityCode?: string;
                                  countryCode?: string;
                                  id?: string;
                                  label?: string;
                                  number?: string;
                              }[];
                              taxRegistrationId: string;
                          }[];
                      };
                      externalId?: string;
                      genderCode?: string;
                      givenName?: string;
                      id?: string;
                      identityDocuments?: {
                          birthdate?: string;
                          birthplace?: string;
                          citizenshipCountryCode?: string;
                          documentNumber?: string;
                          documentSubTypeCode?: string;
                          documentTypeCode?: string;
                          entryQuantity?: string;
                          expiryDate?: string;
                          genderCode?: string;
                          givenName?: string;
                          id?: string;
                          issueDate?: string;
                          issuingCountryCode?: string;
                          middleName?: string;
                          placeOfIssue?: string;
                          referencedDocumentNumbers?: string[];
                          residenceCountryCode?: string;
                          stayDuration?: string;
                          suffixName?: string;
                          surname?: string;
                          titleName?: string;
                          visaHostCountryCode?: string;
                      }[];
                      loyaltyProgramAccounts?: {
                          accountNumber?: string;
                          carrier?: { carrierCode: string };
                          id?: string;
                          programCode?: string;
                          programName?: string;
                      }[];
                      middleName?: string;
                      passengerReference?: string;
                      remarks?: { id?: string; text?: string; type?: string }[];
                      suffixName?: string;
                      surname?: string;
                      titleName?: string;
                      typeCode?: string;
                  }[];
                  paymentInformation?: {
                      amount: { amount?: string; code?: string };
                      id: string;
                      orderItemRefIds?: string[];
                      payer?: {
                          payerEmailAddress?: {
                              address?: string;
                              id?: string;
                              label?: string;
                          };
                          payerName?: {
                              individualName: {
                                  birthdate?: string;
                                  birthplace?: string;
                                  documentNumber?: string;
                                  genderCode?: string;
                                  givenName?: string;
                                  middleName?: string;
                                  suffixName?: string;
                                  surname: string;
                                  titleName?: string;
                              };
                          };
                          payerPhoneNumber?: {
                              cityCode?: string;
                              countryCode?: string;
                              id?: string;
                              label?: string;
                              number?: string;
                          };
                          paymentAddress?: {
                              buildingRoom?: string;
                              cityName?: string;
                              countryCode?: string;
                              label?: "AddressAtOrigin"
                              | "AddressAtDestination";
                              postalCode?: string;
                              postOfficeBoxCode?: string;
                              stateProvinceCode?: string;
                              street?: string[];
                          };
                      };
                      paymentMethod: {
                          paymentAgencyAccount?: {
                              approvalCode?: string;
                              code?: string;
                              supplierTransactionId?: string;
                              transactionId?: string;
                          };
                          paymentCard?: {
                              approvalCode?: string;
                              cardHolderAddress?: {
                                  buildingRoom?: string;
                                  cityName?: string;
                                  countryCode?: string;
                                  label?: "AddressAtOrigin"
                                  | "AddressAtDestination";
                                  postalCode?: string;
                                  postOfficeBoxCode?: string;
                                  stateProvinceCode?: string;
                                  street?: string[];
                              };
                              cardHolderName?: string;
                              cardNumber?: string;
                              cardNumberToken?: string;
                              contactInfoRefId?: string;
                              cvv?: string;
                              cvvToken?: string;
                              expirationDate?: string;
                              securePaymentVersion2?: {
                                  authenticationMerchantName?: string;
                                  authenticationTokenValue?: string;
                                  authenticationValueText?: string;
                                  cardNumberCollectionCode?: string;
                                  directoryServerTrxID?: string;
                                  electronicCommerceIndText?: string;
                                  payerAuthenticationExemptionCode?: string;
                                  payerAuthenticationFailureToCompleteCode?: string;
                                  paymentTrxChannelCode?: string;
                                  programProtocolText?: string;
                                  trxStatusReasonText?: string;
                                  trxStatusText?: string;
                                  verificationResult?: string;
                              };
                              vendorCode?: string;
                          };
                          paymentCash?: Record<string, never>;
                          paymentReferenceFormOfPayment?: {
                              cardHolderAddress?: {
                                  buildingRoom?: string;
                                  cityName?: string;
                                  countryCode?: string;
                                  label?: "AddressAtOrigin" | "AddressAtDestination";
                                  postalCode?: string;
                                  postOfficeBoxCode?: string;
                                  stateProvinceCode?: string;
                                  street?: string[];
                              };
                              cardHolderName?: string;
                              contactInfoRefId?: string;
                              cvv?: string;
                              referenceId?: string;
                              securePaymentVersion2?: {
                                  authenticationMerchantName?: string;
                                  authenticationTokenValue?: string;
                                  authenticationValueText?: string;
                                  cardNumberCollectionCode?: string;
                                  directoryServerTrxID?: string;
                                  electronicCommerceIndText?: string;
                                  payerAuthenticationExemptionCode?: string;
                                  payerAuthenticationFailureToCompleteCode?: string;
                                  paymentTrxChannelCode?: string;
                                  programProtocolText?: string;
                                  trxStatusReasonText?: string;
                                  trxStatusText?: string;
                                  verificationResult?: string;
                              };
                          };
                          paymentTypeCode?: string;
                      };
                      useTypes?: string[];
                  }[];
                  paymentTimeLimit?: string;
                  paymentTimeLimitText?: string;
                  penalties?: {
                      applicabilityList?: string[];
                      description?: string;
                      feeAmount?: string;
                      feeCurrencyCode?: string;
                      hasFee?: boolean;
                      id?: string;
                      isAllowed?: boolean;
                      type?: string;
                  }[];
                  pnrCreateDate?: string;
                  pnrLocator?: string;
                  priceClasses?: {
                      code?: string;
                      descriptions?: { id?: string; text?: string }[];
                      id?: string;
                      name?: string;
                  }[];
                  primeHost?: string;
                  products?: {
                      airSegment?: {
                          actionCode?: string;
                          arrivalAirport?: string;
                          arrivalDateTime?: string;
                          departureAirport?: string;
                          departureDateTime?: string;
                          legs?: {
                              arrivalAirport?: string;
                              arrivalDateTime?: string;
                              departureAirport?: string;
                              departureDateTime?: string;
                              marketingCarrier?: {
                                  airlineCode?: string;
                                  banner?: string;
                                  bookingClass?: string;
                                  flightNumber?: string;
                                  name?: string;
                              };
                              operatingCarrier?: {
                                  airlineCode?: string;
                                  banner?: string;
                                  bookingClass?: string;
                                  flightNumber?: string;
                                  name?: string;
                              };
                          }[];
                          marketingCarrier?: {
                              airlineCode?: string;
                              banner?: string;
                              bookingClass?: string;
                              flightNumber?: string;
                              name?: string;
                          };
                          operatingCarrier?: {
                              airlineCode?: string;
                              banner?: string;
                              bookingClass?: string;
                              flightNumber?: string;
                              name?: string;
                          };
                      };
                      id?: string;
                  }[];
                  pseudoCityCode?: string;
                  remarks?: { id?: string; text?: string; type?: string }[];
                  segments?: {
                      arnkInd?: boolean;
                      arrival?: {
                          gateId?: string;
                          locationCode?: string;
                          scheduledDateTime?: string;
                          stationName?: string;
                          terminalName?: string;
                      };
                      cabinTypeCode?: string;
                      datedOperatingLegs?: {
                          arrival?: {
                              gateId?: string;
                              locationCode?: string;
                              scheduledDateTime?: string;
                              stationName?: string;
                              terminalName?: string;
                          };
                          carrierAircraftType?: { code?: string; name?: string };
                          changeOfGaugeInd?: boolean;
                          departure?: {
                              gateId?: string;
                              locationCode?: string;
                              scheduledDateTime?: string;
                              stationName?: string;
                              terminalName?: string;
                          };
                          distanceMeasure?: { unitCode?: string; value?: number };
                          onGroundDuration?: string;
                      }[];
                      departure?: {
                          gateId?: string;
                          locationCode?: string;
                          scheduledDateTime?: string;
                          stationName?: string;
                          terminalName?: string;
                      };
                      distanceMeasure?: { unitCode?: string; value?: number };
                      flightDuration?: string;
                      id?: string;
                      marketingCarrier?: {
                          carrierCode?: string;
                          carrierName?: string;
                          classOfService?: string;
                          disclosure?: { id?: string; text?: string[] };
                          flightNumber?: number;
                      };
                      operatingCarrier?: {
                          carrierCode?: string;
                          carrierName?: string;
                          classOfService?: string;
                          disclosure?: { id?: string; text?: string[] };
                          flightNumber?: number;
                      };
                      references?: { id?: string; system?: string }[];
                  }[];
                  serviceDefinitions?: {
                      baggageAllowanceRefId?: string;
                      bookingInstructions?: {
                          productText?: string;
                          productTextDetails?: {
                              description?: string;
                              key: string;
                              value: string;
                          }[];
                          specialServices?: { freeText?: string; specialServiceCode?: string }[];
                      };
                      cabinUpgrade?: {
                          methodCode?: string;
                          reservationBookingDesignator?: string;
                      };
                      descriptions?: { id?: string; text?: string }[];
                      externalId?: string;
                      groupCode?: string;
                      id?: string;
                      name?: string;
                      ownerCode?: string;
                      reasonForIssuanceCode?: string;
                      reasonForIssuanceSubCode?: string;
                      serviceCode?: string;
                      settlementMethodCode?: string;
                  }[];
                  ticketingDocumentInfo?: {
                      document?: {
                          coupons?: {
                              consumedAtIssuanceInd?: boolean;
                              exchangeEligibilityInd?: boolean;
                              inConnectionCouponNumber?: string;
                              inConnectionDocumentNumber?: string;
                              involuntaryIndicatorCode?: string;
                              number?: number;
                              orderItemRefId?: string;
                              presentAt?: string;
                              presentTo?: string;
                              reasonForIssuanceCode?: string;
                              reasonForIssuanceSubCode?: string;
                              segmentInfo?: {
                                  arrivalAirport?: string;
                                  arrivalTime?: string;
                                  classOfService?: string;
                                  departureAirport?: string;
                                  departureTime?: string;
                                  flightNumber?: number;
                                  marketingAirlineCode?: string;
                              };
                              serviceCode?: string;
                              serviceRefId?: string;
                              settlementAuthCode?: string;
                              status?: string;
                          }[];
                          exchangeEligibilityInd?: boolean;
                          inConnectionDocumentNumber?: string;
                          issueDateTime?: string;
                          issueDateTimeComment?: string;
                          issueDateTimeText?: string;
                          number?: string;
                          numberOfBooklets?: number;
                          outOfSyncWithOrderItem?: boolean;
                          primaryDocumentInd?: boolean;
                          remarkText?: string;
                          reportingType?: string;
                          routingCode?: string;
                          ticketingLocation?: string;
                          type?: string;
                          voidEligibilityInd?: boolean;
                          voidPeriodExpirationDateTime?: string;
                      };
                      originalIssueInfo?: {
                          issueDate?: string;
                          issuingAgentId?: string;
                          locationCode?: string;
                          ticketNumber?: string;
                      };
                      paxRefId?: string;
                      price?: {
                          baseAmount?: { amount?: string; code?: string };
                          equivAmount?: { amount?: string; code?: string };
                          feeBreakdowns?: {
                              amount?: { amount?: string; code?: string; taxable?: boolean };
                              description?: string;
                              refundable?: boolean;
                          }[];
                          nonRefundableBaseAmount?: { amount?: string; code?: string };
                          surcharges?: {
                              breakdown?: {
                                  amount?: { amount?: ...; code?: ... };
                                  description?: string;
                                  designatorCode?: string;
                                  localAmount?: { amount?: ...; code?: ... };
                                  refundable?: boolean;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                          }[];
                          taxBreakdowns?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                          totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                          totalTaxAmount?: { amount?: string; code?: string };
                      };
                  }[];
                  totalPrice?: {
                      baseAmount?: { amount?: string; code?: string };
                      equivAmount?: { amount?: string; code?: string };
                      feeBreakdowns?: {
                          amount?: { amount?: string; code?: string; taxable?: boolean };
                          description?: string;
                          refundable?: boolean;
                      }[];
                      nonRefundableBaseAmount?: { amount?: string; code?: string };
                      surcharges?: {
                          breakdown?: {
                              amount?: { amount?: string; code?: string };
                              description?: string;
                              designatorCode?: string;
                              localAmount?: { amount?: string; code?: string };
                              refundable?: boolean;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                      }[];
                      taxBreakdowns?: {
                          amount?: { amount?: string; code?: string };
                          collectionInd?: boolean;
                          countryCode?: string;
                          description?: string;
                          refundable?: boolean;
                          taxCode?: string;
                          taxTypeCode?: string;
                      }[];
                      totalAmount?: { amount?: string; code?: string };
                      totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                      totalTaxAmount?: { amount?: string; code?: string };
                  };
                  type?: string;
              };
              processingAlerts?: {
                  paymentAuthentication?: {
                      authenticationUrl?: string;
                      supplierTransactionId?: string;
                      transactionId?: string;
                  };
              }[];
              warnings?: { code?: string; message?: string }[];
          };
      }

    • Parameters

      • request: {
            agency?: {
                address?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string };
                agencyCustomerNumber?: string;
                contactInfo?: { emails?: string[] };
                futureTicketingPolicy?: {
                    comment?: string;
                    queueNumber?: string;
                    ticketingDate?: string;
                    ticketingPcc?: string;
                    ticketingTime?: string;
                };
                ticketingPolicy?: | "TODAY"
                | "ALREADY_TICKETED"
                | "FUTURE_TICKETING"
                | "TICKETING_TIME_LIMIT";
                ticketingTimeLimitPolicy?: {
                    airlineCode?: string;
                    ticketingDate?: string;
                    ticketingTime?: string;
                };
            };
            asynchronousUpdateWaitTime: number;
            car?: {
                bookingKey: string;
                collectionAddress?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                };
                collectionSite?: { id?: string; name?: string; phone?: string };
                deliveryAddress?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                };
                deliverySite?: { id?: string; name?: string; phone?: string };
                emailIndex?: number;
                flightIndex?: number;
                formOfPayment?: number;
                paymentPolicy?: "DEPOSIT" | "GUARANTEE";
                quantity: number;
                specialInstructions?: string;
                travelerIndex?: number;
            };
            contactInfo?: { emails?: string[] } & {
                emergencyPhones?: string[];
                faxes?: string[];
                phones?: string[];
            };
            errorHandlingPolicy?: (
                | "HALT_ON_ERROR"
                | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                | "DO_NOT_HALT_ON_FLIGHT_PRICING_ERROR"
                | "DO_NOT_HALT_ON_HOTEL_BOOKING_ERROR"
                | "DO_NOT_HALT_ON_ANCILLARY_BOOKING_ERROR"
                | "DO_NOT_HALT_ON_SEAT_BOOKING_ERROR"
                | "DO_NOT_HALT_ON_CAR_BOOKING_ERROR"
            )[];
            flightDetails?: {
                flightPricing?: {
                    priceComparisons?: {
                        amount?: string;
                        comparisonType: | "INCREASE_BY_AMOUNT"
                        | "INCREASE_BY_PERCENT"
                        | "DECREASE_BY_AMOUNT"
                        | "DECREASE_BY_PERCENT";
                        desiredAmount: string;
                        percent?: string;
                    }[];
                    qualifiers?: {
                        commissionAmount?: string;
                        commissionPercentage?: string;
                        endorsements?: { description?: string; useOverride?: boolean };
                        excludeFareFocusFares?: boolean;
                        tourCode?: string;
                        tourCodeOverrides?:
                            | "REPLACE_WITH_BT"
                            | "REPLACE_WITH_IT"
                            | "SUPPRESS_IT"
                            | "SUPPRESS_IT_AND_FARE";
                        travelerIndices?: number[];
                        validatingAirlineCode?: string;
                    } & {
                        accountCode?: { accountCodes: string[]; forceAccountCodes?: boolean };
                        adjustedSellingLevel?: {
                            ignore?: boolean;
                            markDownAmount?: string;
                            markUpAmount?: string;
                            returnBreakdown?: boolean;
                        };
                        baggageAllowance?: {
                            baggagePieces?: number;
                            flightIndices?: number[];
                            totalWeightInKilograms?: number;
                        }[];
                        brandedFares?: { brandCode: string; flightIndices?: number[] }[];
                        breakFareFlightIndices?: number[];
                        cabinCode?: string;
                        commissionContractNames?: string[];
                        considerMultiTicket?: boolean;
                        corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                        currencyPricing?: string;
                        exchangePenalties?: {
                            applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                            penaltyAmount?: { amount?: string };
                            restrictionType:
                                | "CHANGEABLE"
                                | "REFUNDABLE"
                                | "CHANGEABLE_AND_REFUNDABLE";
                        };
                        excludeBasicEconomyFares?: string[];
                        exemptTaxes?: string[];
                        flightIndices?: number[];
                        forceConnectionFlightIndices?: number[];
                        forceStopoverFlightIndices?: number[];
                        hemisphereCode?: number;
                        journeyCode?: number;
                        netRemit?: {
                            cashValue?: { amount: string; currencyCode: string };
                            commercialAgreementReferenceCode?: string;
                            creditValue?: { amount: string; currencyCode: string };
                            netRemitCode?: string;
                        };
                        overrideTaxes?: { amount: string; taxCode: string }[];
                        passengersPricing?: {
                            forcePassengerCode?: boolean;
                            numberOfpassengers?: number;
                            passengerCode?: string;
                        }[];
                        passengerStatus?: "RESIDENT"
                        | "NATIONALITY"
                        | "EMPLOYEE";
                        passengerStatusCountryCode?: string;
                        payment?: {
                            amountOnSecondFormOfPayment?: string;
                            primaryFormOfPayment: number;
                            secondaryFormOfPayment?: number;
                        };
                        priceWithTaxes: boolean;
                        rebookLowestFares?: boolean;
                        retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                        settlementMethod?: string;
                        sideTripFlightIndices?: number[];
                        spanishIslandResidentDiscountCode?: string;
                        spanishLargeFamilyDiscountLevel?: number;
                        specificFares?: { fareBasisCode: string; flightIndices?: number[] }[];
                        useExcursionFare?: boolean;
                        useNetFare?: boolean;
                        usePrivateFare?: boolean;
                        usePublicFare?: boolean;
                        useRoundTheWorldFare?: boolean;
                    };
                }[];
                flights?: {
                    airlineCode: string;
                    arrivalDate?: string;
                    arrivalTime?: string;
                    bookingClass: string;
                    confirmationId?: string;
                    departureDate: string;
                    departureTime: string;
                    flightNumber: number;
                    flightStatusCode: string;
                    fromAirportCode: string;
                    isMarriageGroup?: boolean;
                    seats?: {
                        areaPreferences?: (
                            | "AISLE"
                            | "BULKHEAD"
                            | "FRONT"
                            | "LEFT_SIDE"
                            | "RIGHT_SIDE"
                            | "TAIL"
                            | "WINDOW"
                        )[];
                        number?: string;
                        travelerIndex: number;
                    }[];
                    source?: "LCC"
                    | "ATPCO";
                    toAirportCode: string;
                }[];
                haltOnFlightStatusCodes?: (
                    "US"
                    | "NO"
                    | "NN"
                    | "UC"
                    | "UN"
                    | "UU"
                    | "LL"
                    | "HL"
                )[];
                retryBookingUnconfirmedFlights?: boolean;
            };
            flightOffer?: { offerId: string; selectedOfferItems: string[] };
            hotel?: {
                associatedFlightDetails?: {
                    arrivalAirlineCode?: string;
                    arrivalFlightNumber?: number;
                    arrivalTime?: string;
                    departureAirlineCode?: string;
                    departureFlightNumber?: number;
                    departureTime?: string;
                };
                bookingKey: string;
                corporateDiscountCode?: number;
                formOfPayment?: number;
                paymentPolicy?: "DEPOSIT"
                | "GUARANTEE"
                | "LATE";
                rooms?: {
                    bedTypeCode?: number;
                    isSmoking: boolean;
                    physicalDisabilityCode?: number;
                    roomExtras?: { amount?: string; quantity: number; roomExtraType: number }[];
                    travelerIndices?: number[];
                }[];
                specialInstruction?: string;
                useCsl: boolean;
            };
            notification?: {
                email?: | "DEFAULT"
                | "INVOICE"
                | "ETICKET"
                | "ETICKET_PDF"
                | "ITINERARY"
                | "ITINERARY_PDF";
                queuePlacement?: {
                    futureQueuePlacementDate?: string;
                    pcc?: string;
                    prefatoryInstructionCode: number;
                    queueName?: string;
                    queueNumber?: number;
                }[];
            };
            otherServices?: {
                airlineCode?: string;
                chainCode?: string;
                serviceMessage?: string;
                travelerIndex?: number;
                vendorCode?: string;
            }[];
            payment?: {
                billingAddress?: {
                    city?: string;
                    countryCode?: string;
                    postalCode?: string;
                    stateProvince?: string;
                    street?: string;
                } & { freeText?: string; name?: string };
                formsOfPayment?: (
                    {
                        airlinePlanCode?: string;
                        cardNumber?: string;
                        cardSecurityCode?: string;
                        cardTypeCode?: string;
                        expiryDate?: string;
                        extendedPayment?: number;
                        installmentAmount?: string;
                        miscellaneousCreditCode?: string;
                        numberOfInstallments?: number;
                    } & {
                        agencyAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        agencyIataNumber?: string;
                        authentications?: {
                            amount?: string;
                            cardNumberCollectionCode?: string;
                            channelCode?: string;
                            currencyCode?: string;
                            electronicCommerceIndicator?: string;
                            exemptionTypeCode?: string;
                            issueCode?: string;
                            mandateTypeCode?: string;
                            merchantName?: string;
                            originalPaymentReference?: string;
                            resultCode?: string;
                            secureAuthenticationValue?: string;
                            secureTransactionId?: string;
                            tokenAuthenticationValue?: string;
                            updatedDateTime?: string;
                            verificationResultCode?: string;
                            version?: string;
                        }[];
                        cardHolder?: {
                            address?: {
                                city?: string;
                                countryCode?: string;
                                postalCode?: string;
                                stateProvince?: string;
                                street?: string;
                            };
                            email?: string;
                            givenName: string;
                            phone?: string;
                            surname: string;
                        };
                        companyAddress?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        } & { freeText?: string; name?: string };
                        corporateId?: string;
                        docketDescription?: string;
                        docketIssuingAgentInitials?: string;
                        docketNumber?: string;
                        docketPrefix?: string;
                        governmentTravelRequestDescription?: string;
                        invoiceDescription?: string;
                        isAgencyPaymentCard?: boolean;
                        manualApproval?: {
                            airlineCode: string;
                            amount: string;
                            code: string;
                            currencyCode: string;
                            expiryDateTime: string;
                            requestDateTime: string;
                        };
                        netBalance?: string;
                        tripType?: | "All"
                        | "Unknown"
                        | "Corporate/Business"
                        | "Leisure"
                        | "Emergency"
                        | "Family"
                        | "Group";
                        tripTypes?: (
                            | "All"
                            | "Unknown"
                            | "Corporate/Business"
                            | "Leisure"
                            | "Emergency"
                            | "Family"
                            | "Group"
                        )[];
                        type: | "INVOICE"
                        | "CORPORATE"
                        | "PAYMENTCARD"
                        | "CASH"
                        | "CHECK"
                        | "MISCELLANEOUS"
                        | "INSTALLMENTS"
                        | "VIRTUAL_CARD"
                        | "AGENCY_NAME"
                        | "AGENCY_IATA"
                        | "COMPANY_NAME"
                        | "VOUCHER"
                        | "DOCKET"
                        | "GOVERNMENT_TRAVEL_REQUEST";
                        useType?: | "All"
                        | "Other"
                        | "Tour"
                        | "Unknown"
                        | "Ancillary"
                        | "Hotel"
                        | "Car"
                        | "Cruise"
                        | "Airline"
                        | "Bus/Ground Transportation"
                        | "Insurance"
                        | "Low-Cost Carrier"
                        | "Rail"
                        | "Specialty Service"
                        | "Interface Record";
                        useTypes?: (
                            | "All"
                            | "Other"
                            | "Tour"
                            | "Unknown"
                            | "Ancillary"
                            | "Hotel"
                            | "Car"
                            | "Cruise"
                            | "Airline"
                            | "Bus/Ground Transportation"
                            | "Insurance"
                            | "Low-Cost Carrier"
                            | "Rail"
                            | "Specialty Service"
                            | "Interface Record"
                        )[];
                        virtualCard?: {
                            agencyEmail?: string;
                            customerAccountCode?: string;
                            hotelFax?: string;
                            hotelName?: string;
                            rateAmount?: { amount: string; currencyCode: string };
                            roomDescription?: string;
                            roomType?: string;
                            virtualCardCharges?: string[];
                        };
                        voucher?: { billingNumber?: string; type?: string };
                    }
                )[];
            };
            profiles?: {
                domainId: string;
                filterId?: string;
                profileName?: string;
                profileTypeCode: string;
                uniqueId?: string;
            }[];
            receivedFrom: string;
            remarks?: (
                {
                    alphaCode?: string;
                    text?: string;
                    type?: | "INVOICE"
                    | "ITINERARY"
                    | "GENERAL"
                    | "HISTORICAL"
                    | "CLIENT_ADDRESS"
                    | "ALPHA_CODED"
                    | "DELIVERY_ADDRESS"
                    | "HIDDEN"
                    | "CORPORATE"
                    | "FORM_OF_PAYMENT"
                    | "PRINT_ON_TICKET"
                    | "FILLER_STRIP"
                    | "INTERFACE"
                    | "QUEUE_PLACE";
                } & {
                    queuePlacement?: {
                        futureQueuePlacementDate?: string;
                        pcc?: string;
                        prefatoryInstructionCode: number;
                        queueName?: string;
                        queueNumber?: number;
                    };
                }
            )[];
            retentionEndDate?: string;
            retentionLabel?: string;
            targetPcc?: string;
            travelers?: {
                age?: number;
                ancillaries?: {
                    airlineCode: string;
                    basePrice: string;
                    commercialName?: string;
                    currencyCode: string;
                    electronicMiscellaneousDocumentType: | "ETICKET"
                    | "STANDALONE"
                    | "FLIGHT_COUPON_ASSOCIATED"
                    | "STANDALONE_TICKET_ASSOCIATED"
                    | "OTHER_THAN_EMD";
                    firstTravelDate?: string;
                    flightApplicabilityType?: "Unknown"
                    | "Single"
                    | "Multiple";
                    flightIndices: number[];
                    groupCode: string;
                    lastTravelDate?: string;
                    numberOfItems: number;
                    purchaseDateTime?: string;
                    reasonForIssuance?:
                        | "UNKNOWN"
                        | "AIR_TRANSPORTATION"
                        | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                        | "BAGGAGE"
                        | "FINANCIAL_IMPACT"
                        | "AIRPORT_SERVICES"
                        | "MERCHANDISE"
                        | "INFLIGHT_SERVICES"
                        | "INDIVIDUAL_AIRLINE_USE";
                    source?: "ATPCO"
                    | "MERCHANDISING_MANAGER";
                    specialServiceIndex?: number;
                    subcode: string;
                    totalPrice?: string;
                    vendorCode?: string;
                }[];
                birthDate?: string;
                emails?: string[];
                formOfPaymentIndices?: number[];
                gender?: | "FEMALE"
                | "MALE"
                | "INFANT_FEMALE"
                | "INFANT_MALE"
                | "UNDISCLOSED"
                | "UNDEFINED";
                givenName?: string;
                id?: string;
                identityDocuments?: {
                    birthDate?: string;
                    documentNumber?: string;
                    documentSubType?: "RUC"
                    | "CUIT/CUIL"
                    | "NIT";
                    documentType:
                        | "MILITARY"
                        | "PASSPORT"
                        | "VISA"
                        | "SECURE_FLIGHT_PASSENGER_DATA"
                        | "RESIDENCE_ADDRESS"
                        | "DESTINATION_ADDRESS"
                        | "KNOWN_TRAVELER_NUMBER"
                        | "REDRESS_NUMBER"
                        | "ALIEN_RESIDENT"
                        | "PERMANENT_RESIDENT"
                        | "FACILITATION_DOCUMENT"
                        | "NATIONAL_ID_CARD"
                        | "NEXUS_CARD"
                        | "NATURALIZATION_CERTIFICATE"
                        | "REFUGEE_REENTRY_PERMIT"
                        | "BORDER_CROSSING_CARD"
                        | "FISCAL_ID";
                    expiryDate?: string;
                    flightIndices?: number[];
                    gender?: | "FEMALE"
                    | "MALE"
                    | "INFANT_FEMALE"
                    | "INFANT_MALE"
                    | "UNDISCLOSED"
                    | "UNDEFINED";
                    givenName?: string;
                    hostCountryCode?: string;
                    isLapChildDocument?: boolean;
                    isPrimaryDocumentHolder?: boolean;
                    issueDate?: string;
                    issuingCountryCode?: string;
                    middleName?: string;
                    placeOfBirth?: string;
                    placeOfIssue?: string;
                    residenceCountryCode?: string;
                    residenceOrDestinationAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    };
                    surname?: string;
                }[];
                loyaltyPrograms?: {
                    programNumber: string;
                    programType?: | "FREQUENT_FLYER"
                    | "FREQUENT_RENTER"
                    | "LOYALTY_ID"
                    | "CORPORATE_LOYALTY_ID";
                    receiverCode?: string;
                    supplierCode?: string;
                    tierLevel?: number;
                }[];
                nameReferenceCode?: string;
                passengerCode?: string;
                phones?: { label?: string; number: string }[];
                specialServices?: {
                    code: string;
                    flightIndices?: number[];
                    message?: string;
                }[];
                surname?: string;
            }[];
        }
        • Optionalagency?: {
              address?: {
                  city?: string;
                  countryCode?: string;
                  postalCode?: string;
                  stateProvince?: string;
                  street?: string;
              } & { freeText?: string; name?: string };
              agencyCustomerNumber?: string;
              contactInfo?: { emails?: string[] };
              futureTicketingPolicy?: {
                  comment?: string;
                  queueNumber?: string;
                  ticketingDate?: string;
                  ticketingPcc?: string;
                  ticketingTime?: string;
              };
              ticketingPolicy?: | "TODAY"
              | "ALREADY_TICKETED"
              | "FUTURE_TICKETING"
              | "TICKETING_TIME_LIMIT";
              ticketingTimeLimitPolicy?: {
                  airlineCode?: string;
                  ticketingDate?: string;
                  ticketingTime?: string;
              };
          }
          • Optionaladdress?: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string }
          • OptionalagencyCustomerNumber?: string

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

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

              Lists email addresses of travelers or vendors.

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

              Free text comment.

              TICKET BEFORE TUES
              
            • OptionalqueueNumber?: string

              Used to specify a queue number.

              55
              
            • OptionalticketingDate?: string

              Format: date

              The ticketing date.

              2024-07-09
              
            • OptionalticketingPcc?: string

              Used to specify a pseudocity code.

              G7RE
              
            • OptionalticketingTime?: string

              The ticketing time in HH:MM format.

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

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

              AA
              
            • OptionalticketingDate?: string

              Format: date

              The ticketing date.

              2024-07-09
              
            • OptionalticketingTime?: string

              The ticketing time in HH:MM format.

              11:00
              
        • asynchronousUpdateWaitTime: number

          Format: int32

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

          0
          
          3000
          
        • Optionalcar?: {
              bookingKey: string;
              collectionAddress?: {
                  city?: string;
                  countryCode?: string;
                  postalCode?: string;
                  stateProvince?: string;
                  street?: string;
              };
              collectionSite?: { id?: string; name?: string; phone?: string };
              deliveryAddress?: {
                  city?: string;
                  countryCode?: string;
                  postalCode?: string;
                  stateProvince?: string;
                  street?: string;
              };
              deliverySite?: { id?: string; name?: string; phone?: string };
              emailIndex?: number;
              flightIndex?: number;
              formOfPayment?: number;
              paymentPolicy?: "DEPOSIT" | "GUARANTEE";
              quantity: number;
              specialInstructions?: string;
              travelerIndex?: number;
          }
          • bookingKey: string

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

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

              The name of the city.

              Dallas
              
            • OptionalcountryCode?: string

              The two-letter ISO 3166 country code.

              US
              
            • OptionalpostalCode?: string

              The zip or postal code.

              75063
              
            • OptionalstateProvince?: string

              The name or code of the state or province.

              TX
              
            • Optionalstreet?: string

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

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

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

              ABC123
              
            • Optionalname?: string

              The name of the car rental location.

              TEST LOCATION
              
            • Optionalphone?: string

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

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

              The name of the city.

              Dallas
              
            • OptionalcountryCode?: string

              The two-letter ISO 3166 country code.

              US
              
            • OptionalpostalCode?: string

              The zip or postal code.

              75063
              
            • OptionalstateProvince?: string

              The name or code of the state or province.

              TX
              
            • Optionalstreet?: string

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

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

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

              ABC123
              
            • Optionalname?: string

              The name of the car rental location.

              TEST LOCATION
              
            • Optionalphone?: string

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

              8175551212
              
          • OptionalemailIndex?: number

            Format: int32

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

            1
            
          • OptionalflightIndex?: number

            Format: int32

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

            1
            
          • OptionalformOfPayment?: number

            Format: int32

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

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

            Format: int32

            The number of cars to book. Defaults to 1.

            1
            
            1
            
          • OptionalspecialInstructions?: string

            Text-based special instructions provided to the vendor.

            Wants a blue car.
            
          • OptionaltravelerIndex?: number

            Format: int32

            The traveler index that is associated with the car booking.

            1
            
        • OptionalcontactInfo?: { emails?: string[] } & {
              emergencyPhones?: string[];
              faxes?: string[];
              phones?: string[];
          }
        • OptionalerrorHandlingPolicy?: (
              | "HALT_ON_ERROR"
              | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
              | "DO_NOT_HALT_ON_FLIGHT_PRICING_ERROR"
              | "DO_NOT_HALT_ON_HOTEL_BOOKING_ERROR"
              | "DO_NOT_HALT_ON_ANCILLARY_BOOKING_ERROR"
              | "DO_NOT_HALT_ON_SEAT_BOOKING_ERROR"
              | "DO_NOT_HALT_ON_CAR_BOOKING_ERROR"
          )[]

          Lists selected error handling policies to adopt for this request.

        • OptionalflightDetails?: {
              flightPricing?: {
                  priceComparisons?: {
                      amount?: string;
                      comparisonType:
                          | "INCREASE_BY_AMOUNT"
                          | "INCREASE_BY_PERCENT"
                          | "DECREASE_BY_AMOUNT"
                          | "DECREASE_BY_PERCENT";
                      desiredAmount: string;
                      percent?: string;
                  }[];
                  qualifiers?: {
                      commissionAmount?: string;
                      commissionPercentage?: string;
                      endorsements?: { description?: string; useOverride?: boolean };
                      excludeFareFocusFares?: boolean;
                      tourCode?: string;
                      tourCodeOverrides?:
                          | "REPLACE_WITH_BT"
                          | "REPLACE_WITH_IT"
                          | "SUPPRESS_IT"
                          | "SUPPRESS_IT_AND_FARE";
                      travelerIndices?: number[];
                      validatingAirlineCode?: string;
                  } & {
                      accountCode?: { accountCodes: string[]; forceAccountCodes?: boolean };
                      adjustedSellingLevel?: {
                          ignore?: boolean;
                          markDownAmount?: string;
                          markUpAmount?: string;
                          returnBreakdown?: boolean;
                      };
                      baggageAllowance?: {
                          baggagePieces?: number;
                          flightIndices?: number[];
                          totalWeightInKilograms?: number;
                      }[];
                      brandedFares?: { brandCode: string; flightIndices?: number[] }[];
                      breakFareFlightIndices?: number[];
                      cabinCode?: string;
                      commissionContractNames?: string[];
                      considerMultiTicket?: boolean;
                      corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                      currencyPricing?: string;
                      exchangePenalties?: {
                          applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                          penaltyAmount?: { amount?: string };
                          restrictionType:
                              | "CHANGEABLE"
                              | "REFUNDABLE"
                              | "CHANGEABLE_AND_REFUNDABLE";
                      };
                      excludeBasicEconomyFares?: string[];
                      exemptTaxes?: string[];
                      flightIndices?: number[];
                      forceConnectionFlightIndices?: number[];
                      forceStopoverFlightIndices?: number[];
                      hemisphereCode?: number;
                      journeyCode?: number;
                      netRemit?: {
                          cashValue?: { amount: string; currencyCode: string };
                          commercialAgreementReferenceCode?: string;
                          creditValue?: { amount: string; currencyCode: string };
                          netRemitCode?: string;
                      };
                      overrideTaxes?: { amount: string; taxCode: string }[];
                      passengersPricing?: {
                          forcePassengerCode?: boolean;
                          numberOfpassengers?: number;
                          passengerCode?: string;
                      }[];
                      passengerStatus?: "RESIDENT"
                      | "NATIONALITY"
                      | "EMPLOYEE";
                      passengerStatusCountryCode?: string;
                      payment?: {
                          amountOnSecondFormOfPayment?: string;
                          primaryFormOfPayment: number;
                          secondaryFormOfPayment?: number;
                      };
                      priceWithTaxes: boolean;
                      rebookLowestFares?: boolean;
                      retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                      settlementMethod?: string;
                      sideTripFlightIndices?: number[];
                      spanishIslandResidentDiscountCode?: string;
                      spanishLargeFamilyDiscountLevel?: number;
                      specificFares?: { fareBasisCode: string; flightIndices?: number[] }[];
                      useExcursionFare?: boolean;
                      useNetFare?: boolean;
                      usePrivateFare?: boolean;
                      usePublicFare?: boolean;
                      useRoundTheWorldFare?: boolean;
                  };
              }[];
              flights?: {
                  airlineCode: string;
                  arrivalDate?: string;
                  arrivalTime?: string;
                  bookingClass: string;
                  confirmationId?: string;
                  departureDate: string;
                  departureTime: string;
                  flightNumber: number;
                  flightStatusCode: string;
                  fromAirportCode: string;
                  isMarriageGroup?: boolean;
                  seats?: {
                      areaPreferences?: (
                          | "AISLE"
                          | "BULKHEAD"
                          | "FRONT"
                          | "LEFT_SIDE"
                          | "RIGHT_SIDE"
                          | "TAIL"
                          | "WINDOW"
                      )[];
                      number?: string;
                      travelerIndex: number;
                  }[];
                  source?: "LCC"
                  | "ATPCO";
                  toAirportCode: string;
              }[];
              haltOnFlightStatusCodes?: (
                  "US"
                  | "NO"
                  | "NN"
                  | "UC"
                  | "UN"
                  | "UU"
                  | "LL"
                  | "HL"
              )[];
              retryBookingUnconfirmedFlights?: boolean;
          }
          • OptionalflightPricing?: {
                priceComparisons?: {
                    amount?: string;
                    comparisonType:
                        | "INCREASE_BY_AMOUNT"
                        | "INCREASE_BY_PERCENT"
                        | "DECREASE_BY_AMOUNT"
                        | "DECREASE_BY_PERCENT";
                    desiredAmount: string;
                    percent?: string;
                }[];
                qualifiers?: {
                    commissionAmount?: string;
                    commissionPercentage?: string;
                    endorsements?: { description?: string; useOverride?: boolean };
                    excludeFareFocusFares?: boolean;
                    tourCode?: string;
                    tourCodeOverrides?:
                        | "REPLACE_WITH_BT"
                        | "REPLACE_WITH_IT"
                        | "SUPPRESS_IT"
                        | "SUPPRESS_IT_AND_FARE";
                    travelerIndices?: number[];
                    validatingAirlineCode?: string;
                } & {
                    accountCode?: { accountCodes: string[]; forceAccountCodes?: boolean };
                    adjustedSellingLevel?: {
                        ignore?: boolean;
                        markDownAmount?: string;
                        markUpAmount?: string;
                        returnBreakdown?: boolean;
                    };
                    baggageAllowance?: {
                        baggagePieces?: number;
                        flightIndices?: number[];
                        totalWeightInKilograms?: number;
                    }[];
                    brandedFares?: { brandCode: string; flightIndices?: number[] }[];
                    breakFareFlightIndices?: number[];
                    cabinCode?: string;
                    commissionContractNames?: string[];
                    considerMultiTicket?: boolean;
                    corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                    currencyPricing?: string;
                    exchangePenalties?: {
                        applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                        penaltyAmount?: { amount?: string };
                        restrictionType:
                            | "CHANGEABLE"
                            | "REFUNDABLE"
                            | "CHANGEABLE_AND_REFUNDABLE";
                    };
                    excludeBasicEconomyFares?: string[];
                    exemptTaxes?: string[];
                    flightIndices?: number[];
                    forceConnectionFlightIndices?: number[];
                    forceStopoverFlightIndices?: number[];
                    hemisphereCode?: number;
                    journeyCode?: number;
                    netRemit?: {
                        cashValue?: { amount: string; currencyCode: string };
                        commercialAgreementReferenceCode?: string;
                        creditValue?: { amount: string; currencyCode: string };
                        netRemitCode?: string;
                    };
                    overrideTaxes?: { amount: string; taxCode: string }[];
                    passengersPricing?: {
                        forcePassengerCode?: boolean;
                        numberOfpassengers?: number;
                        passengerCode?: string;
                    }[];
                    passengerStatus?: "RESIDENT"
                    | "NATIONALITY"
                    | "EMPLOYEE";
                    passengerStatusCountryCode?: string;
                    payment?: {
                        amountOnSecondFormOfPayment?: string;
                        primaryFormOfPayment: number;
                        secondaryFormOfPayment?: number;
                    };
                    priceWithTaxes: boolean;
                    rebookLowestFares?: boolean;
                    retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                    settlementMethod?: string;
                    sideTripFlightIndices?: number[];
                    spanishIslandResidentDiscountCode?: string;
                    spanishLargeFamilyDiscountLevel?: number;
                    specificFares?: { fareBasisCode: string; flightIndices?: number[] }[];
                    useExcursionFare?: boolean;
                    useNetFare?: boolean;
                    usePrivateFare?: boolean;
                    usePublicFare?: boolean;
                    useRoundTheWorldFare?: boolean;
                };
            }[]

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

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

            Lists individual flights to book.

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

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

          • OptionalretryBookingUnconfirmedFlights?: boolean

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

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

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

            dx369rfr7jt8dnd2i0-1
            
          • selectedOfferItems: string[]

            The offerItem list selected by a specific traveler.

        • Optionalhotel?: {
              associatedFlightDetails?: {
                  arrivalAirlineCode?: string;
                  arrivalFlightNumber?: number;
                  arrivalTime?: string;
                  departureAirlineCode?: string;
                  departureFlightNumber?: number;
                  departureTime?: string;
              };
              bookingKey: string;
              corporateDiscountCode?: number;
              formOfPayment?: number;
              paymentPolicy?: "DEPOSIT"
              | "GUARANTEE"
              | "LATE";
              rooms?: {
                  bedTypeCode?: number;
                  isSmoking: boolean;
                  physicalDisabilityCode?: number;
                  roomExtras?: { amount?: string; quantity: number; roomExtraType: number }[];
                  travelerIndices?: number[];
              }[];
              specialInstruction?: string;
              useCsl: boolean;
          }
          • OptionalassociatedFlightDetails?: {
                arrivalAirlineCode?: string;
                arrivalFlightNumber?: number;
                arrivalTime?: string;
                departureAirlineCode?: string;
                departureFlightNumber?: number;
                departureTime?: string;
            }
            • OptionalarrivalAirlineCode?: string

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

              AA
              
            • OptionalarrivalFlightNumber?: number

              Format: int32

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

              123
              
            • OptionalarrivalTime?: string

              The scheduled time of arrival in HH:MM format.

              12:28
              
            • OptionaldepartureAirlineCode?: string

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

              AA
              
            • OptionaldepartureFlightNumber?: number

              Format: int32

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

              123
              
            • OptionaldepartureTime?: string

              The scheduled time of departure in HH:MM format.

              09:15
              
          • bookingKey: string

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

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

            Format: int32

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

            6878700
            
          • OptionalformOfPayment?: number

            Format: int32

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

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

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

          • OptionalspecialInstruction?: string

            The special instruction provided to the property.

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

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

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

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

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

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

        • Optionalpayment?: {
              billingAddress?: {
                  city?: string;
                  countryCode?: string;
                  postalCode?: string;
                  stateProvince?: string;
                  street?: string;
              } & { freeText?: string; name?: string };
              formsOfPayment?: (
                  {
                      airlinePlanCode?: string;
                      cardNumber?: string;
                      cardSecurityCode?: string;
                      cardTypeCode?: string;
                      expiryDate?: string;
                      extendedPayment?: number;
                      installmentAmount?: string;
                      miscellaneousCreditCode?: string;
                      numberOfInstallments?: number;
                  } & {
                      agencyAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      agencyIataNumber?: string;
                      authentications?: {
                          amount?: string;
                          cardNumberCollectionCode?: string;
                          channelCode?: string;
                          currencyCode?: string;
                          electronicCommerceIndicator?: string;
                          exemptionTypeCode?: string;
                          issueCode?: string;
                          mandateTypeCode?: string;
                          merchantName?: string;
                          originalPaymentReference?: string;
                          resultCode?: string;
                          secureAuthenticationValue?: string;
                          secureTransactionId?: string;
                          tokenAuthenticationValue?: string;
                          updatedDateTime?: string;
                          verificationResultCode?: string;
                          version?: string;
                      }[];
                      cardHolder?: {
                          address?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          email?: string;
                          givenName: string;
                          phone?: string;
                          surname: string;
                      };
                      companyAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      corporateId?: string;
                      docketDescription?: string;
                      docketIssuingAgentInitials?: string;
                      docketNumber?: string;
                      docketPrefix?: string;
                      governmentTravelRequestDescription?: string;
                      invoiceDescription?: string;
                      isAgencyPaymentCard?: boolean;
                      manualApproval?: {
                          airlineCode: string;
                          amount: string;
                          code: string;
                          currencyCode: string;
                          expiryDateTime: string;
                          requestDateTime: string;
                      };
                      netBalance?: string;
                      tripType?: | "All"
                      | "Unknown"
                      | "Corporate/Business"
                      | "Leisure"
                      | "Emergency"
                      | "Family"
                      | "Group";
                      tripTypes?: (
                          | "All"
                          | "Unknown"
                          | "Corporate/Business"
                          | "Leisure"
                          | "Emergency"
                          | "Family"
                          | "Group"
                      )[];
                      type: | "INVOICE"
                      | "CORPORATE"
                      | "PAYMENTCARD"
                      | "CASH"
                      | "CHECK"
                      | "MISCELLANEOUS"
                      | "INSTALLMENTS"
                      | "VIRTUAL_CARD"
                      | "AGENCY_NAME"
                      | "AGENCY_IATA"
                      | "COMPANY_NAME"
                      | "VOUCHER"
                      | "DOCKET"
                      | "GOVERNMENT_TRAVEL_REQUEST";
                      useType?: | "All"
                      | "Other"
                      | "Tour"
                      | "Unknown"
                      | "Ancillary"
                      | "Hotel"
                      | "Car"
                      | "Cruise"
                      | "Airline"
                      | "Bus/Ground Transportation"
                      | "Insurance"
                      | "Low-Cost Carrier"
                      | "Rail"
                      | "Specialty Service"
                      | "Interface Record";
                      useTypes?: (
                          | "All"
                          | "Other"
                          | "Tour"
                          | "Unknown"
                          | "Ancillary"
                          | "Hotel"
                          | "Car"
                          | "Cruise"
                          | "Airline"
                          | "Bus/Ground Transportation"
                          | "Insurance"
                          | "Low-Cost Carrier"
                          | "Rail"
                          | "Specialty Service"
                          | "Interface Record"
                      )[];
                      virtualCard?: {
                          agencyEmail?: string;
                          customerAccountCode?: string;
                          hotelFax?: string;
                          hotelName?: string;
                          rateAmount?: { amount: string; currencyCode: string };
                          roomDescription?: string;
                          roomType?: string;
                          virtualCardCharges?: string[];
                      };
                      voucher?: { billingNumber?: string; type?: string };
                  }
              )[];
          }
          • OptionalbillingAddress?: {
                city?: string;
                countryCode?: string;
                postalCode?: string;
                stateProvince?: string;
                street?: string;
            } & { freeText?: string; name?: string }
          • OptionalformsOfPayment?: (
                {
                    airlinePlanCode?: string;
                    cardNumber?: string;
                    cardSecurityCode?: string;
                    cardTypeCode?: string;
                    expiryDate?: string;
                    extendedPayment?: number;
                    installmentAmount?: string;
                    miscellaneousCreditCode?: string;
                    numberOfInstallments?: number;
                } & {
                    agencyAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    agencyIataNumber?: string;
                    authentications?: {
                        amount?: string;
                        cardNumberCollectionCode?: string;
                        channelCode?: string;
                        currencyCode?: string;
                        electronicCommerceIndicator?: string;
                        exemptionTypeCode?: string;
                        issueCode?: string;
                        mandateTypeCode?: string;
                        merchantName?: string;
                        originalPaymentReference?: string;
                        resultCode?: string;
                        secureAuthenticationValue?: string;
                        secureTransactionId?: string;
                        tokenAuthenticationValue?: string;
                        updatedDateTime?: string;
                        verificationResultCode?: string;
                        version?: string;
                    }[];
                    cardHolder?: {
                        address?: {
                            city?: string;
                            countryCode?: string;
                            postalCode?: string;
                            stateProvince?: string;
                            street?: string;
                        };
                        email?: string;
                        givenName: string;
                        phone?: string;
                        surname: string;
                    };
                    companyAddress?: {
                        city?: string;
                        countryCode?: string;
                        postalCode?: string;
                        stateProvince?: string;
                        street?: string;
                    } & { freeText?: string; name?: string };
                    corporateId?: string;
                    docketDescription?: string;
                    docketIssuingAgentInitials?: string;
                    docketNumber?: string;
                    docketPrefix?: string;
                    governmentTravelRequestDescription?: string;
                    invoiceDescription?: string;
                    isAgencyPaymentCard?: boolean;
                    manualApproval?: {
                        airlineCode: string;
                        amount: string;
                        code: string;
                        currencyCode: string;
                        expiryDateTime: string;
                        requestDateTime: string;
                    };
                    netBalance?: string;
                    tripType?: | "All"
                    | "Unknown"
                    | "Corporate/Business"
                    | "Leisure"
                    | "Emergency"
                    | "Family"
                    | "Group";
                    tripTypes?: (
                        | "All"
                        | "Unknown"
                        | "Corporate/Business"
                        | "Leisure"
                        | "Emergency"
                        | "Family"
                        | "Group"
                    )[];
                    type: | "INVOICE"
                    | "CORPORATE"
                    | "PAYMENTCARD"
                    | "CASH"
                    | "CHECK"
                    | "MISCELLANEOUS"
                    | "INSTALLMENTS"
                    | "VIRTUAL_CARD"
                    | "AGENCY_NAME"
                    | "AGENCY_IATA"
                    | "COMPANY_NAME"
                    | "VOUCHER"
                    | "DOCKET"
                    | "GOVERNMENT_TRAVEL_REQUEST";
                    useType?: | "All"
                    | "Other"
                    | "Tour"
                    | "Unknown"
                    | "Ancillary"
                    | "Hotel"
                    | "Car"
                    | "Cruise"
                    | "Airline"
                    | "Bus/Ground Transportation"
                    | "Insurance"
                    | "Low-Cost Carrier"
                    | "Rail"
                    | "Specialty Service"
                    | "Interface Record";
                    useTypes?: (
                        | "All"
                        | "Other"
                        | "Tour"
                        | "Unknown"
                        | "Ancillary"
                        | "Hotel"
                        | "Car"
                        | "Cruise"
                        | "Airline"
                        | "Bus/Ground Transportation"
                        | "Insurance"
                        | "Low-Cost Carrier"
                        | "Rail"
                        | "Specialty Service"
                        | "Interface Record"
                    )[];
                    virtualCard?: {
                        agencyEmail?: string;
                        customerAccountCode?: string;
                        hotelFax?: string;
                        hotelName?: string;
                        rateAmount?: { amount: string; currencyCode: string };
                        roomDescription?: string;
                        roomType?: string;
                        virtualCardCharges?: string[];
                    };
                    voucher?: { billingNumber?: string; type?: string };
                }
            )[]

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

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

          Lists user profile details.

        • receivedFrom: string

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

          Create Booking
          
          Create Booking
          
        • Optionalremarks?: (
              {
                  alphaCode?: string;
                  text?: string;
                  type?: | "INVOICE"
                  | "ITINERARY"
                  | "GENERAL"
                  | "HISTORICAL"
                  | "CLIENT_ADDRESS"
                  | "ALPHA_CODED"
                  | "DELIVERY_ADDRESS"
                  | "HIDDEN"
                  | "CORPORATE"
                  | "FORM_OF_PAYMENT"
                  | "PRINT_ON_TICKET"
                  | "FILLER_STRIP"
                  | "INTERFACE"
                  | "QUEUE_PLACE";
              } & {
                  queuePlacement?: {
                      futureQueuePlacementDate?: string;
                      pcc?: string;
                      prefatoryInstructionCode: number;
                      queueName?: string;
                      queueNumber?: number;
                  };
              }
          )[]

          Contains remarks to be added to the booking.

        • OptionalretentionEndDate?: string

          Format: date

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

          2024-01-30
          
        • OptionalretentionLabel?: string

          The label associated with the retention date.

          RETENTION DATE
          
        • OptionaltargetPcc?: string

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

          AAA
          
        • Optionaltravelers?: {
              age?: number;
              ancillaries?: {
                  airlineCode: string;
                  basePrice: string;
                  commercialName?: string;
                  currencyCode: string;
                  electronicMiscellaneousDocumentType:
                      | "ETICKET"
                      | "STANDALONE"
                      | "FLIGHT_COUPON_ASSOCIATED"
                      | "STANDALONE_TICKET_ASSOCIATED"
                      | "OTHER_THAN_EMD";
                  firstTravelDate?: string;
                  flightApplicabilityType?: "Unknown"
                  | "Single"
                  | "Multiple";
                  flightIndices: number[];
                  groupCode: string;
                  lastTravelDate?: string;
                  numberOfItems: number;
                  purchaseDateTime?: string;
                  reasonForIssuance?:
                      | "UNKNOWN"
                      | "AIR_TRANSPORTATION"
                      | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                      | "BAGGAGE"
                      | "FINANCIAL_IMPACT"
                      | "AIRPORT_SERVICES"
                      | "MERCHANDISE"
                      | "INFLIGHT_SERVICES"
                      | "INDIVIDUAL_AIRLINE_USE";
                  source?: "ATPCO"
                  | "MERCHANDISING_MANAGER";
                  specialServiceIndex?: number;
                  subcode: string;
                  totalPrice?: string;
                  vendorCode?: string;
              }[];
              birthDate?: string;
              emails?: string[];
              formOfPaymentIndices?: number[];
              gender?: | "FEMALE"
              | "MALE"
              | "INFANT_FEMALE"
              | "INFANT_MALE"
              | "UNDISCLOSED"
              | "UNDEFINED";
              givenName?: string;
              id?: string;
              identityDocuments?: {
                  birthDate?: string;
                  documentNumber?: string;
                  documentSubType?: "RUC"
                  | "CUIT/CUIL"
                  | "NIT";
                  documentType:
                      | "MILITARY"
                      | "PASSPORT"
                      | "VISA"
                      | "SECURE_FLIGHT_PASSENGER_DATA"
                      | "RESIDENCE_ADDRESS"
                      | "DESTINATION_ADDRESS"
                      | "KNOWN_TRAVELER_NUMBER"
                      | "REDRESS_NUMBER"
                      | "ALIEN_RESIDENT"
                      | "PERMANENT_RESIDENT"
                      | "FACILITATION_DOCUMENT"
                      | "NATIONAL_ID_CARD"
                      | "NEXUS_CARD"
                      | "NATURALIZATION_CERTIFICATE"
                      | "REFUGEE_REENTRY_PERMIT"
                      | "BORDER_CROSSING_CARD"
                      | "FISCAL_ID";
                  expiryDate?: string;
                  flightIndices?: number[];
                  gender?: | "FEMALE"
                  | "MALE"
                  | "INFANT_FEMALE"
                  | "INFANT_MALE"
                  | "UNDISCLOSED"
                  | "UNDEFINED";
                  givenName?: string;
                  hostCountryCode?: string;
                  isLapChildDocument?: boolean;
                  isPrimaryDocumentHolder?: boolean;
                  issueDate?: string;
                  issuingCountryCode?: string;
                  middleName?: string;
                  placeOfBirth?: string;
                  placeOfIssue?: string;
                  residenceCountryCode?: string;
                  residenceOrDestinationAddress?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  };
                  surname?: string;
              }[];
              loyaltyPrograms?: {
                  programNumber: string;
                  programType?: | "FREQUENT_FLYER"
                  | "FREQUENT_RENTER"
                  | "LOYALTY_ID"
                  | "CORPORATE_LOYALTY_ID";
                  receiverCode?: string;
                  supplierCode?: string;
                  tierLevel?: number;
              }[];
              nameReferenceCode?: string;
              passengerCode?: string;
              phones?: { label?: string; number: string }[];
              specialServices?: {
                  code: string;
                  flightIndices?: number[];
                  message?: string;
              }[];
              surname?: string;
          }[]

          Lists personal information of the travelers.

      • body: any

      Returns {
          error?: any;
          response: {
              booking?: {
                  accountingItems?: {
                      airlineCode?: string;
                      cardNumber?: string;
                      cardTypeCode?: string;
                      commission?: {
                          commissionAmount?: string;
                          commissionPercentage?: string;
                          currencyCode?: string;
                      };
                      creationType?: "Refund"
                      | "Exchange"
                      | "First Issuance";
                      currencyCode?: string;
                      fareAmount?: string;
                      fareApplicationType?:
                          | "Single Traveler"
                          | "All Travelers"
                          | "Each Traveler";
                      formOfPaymentType?: | "Unknown"
                      | "Cash"
                      | "Check"
                      | "Check or Cash"
                      | "Payment Card"
                      | "Masked Payment Card";
                      tariffBasisType?: "Domestic"
                      | "Foreign"
                      | "International";
                      taxAmount?: string;
                      ticketNumber?: string;
                      travelerIndices?: number[];
                  }[];
                  agencyCustomerNumber?: string;
                  allSegments?: (
                      { id: string } & {
                          address?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          date?: string;
                          endAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          endDate?: string;
                          endLocationCode?: string;
                          endTime?: string;
                          locationCode?: string;
                          startAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          startDate?: string;
                          startLocationCode?: string;
                          startTime?: string;
                          text?: string;
                          time?: string;
                          type: string;
                          vendorCode?: string;
                      }
                  )[];
                  bookingId?: string;
                  cars?: (
                      { itemId: string } & {
                          carStatusCode?: string;
                          carStatusName?:
                              | "Unknown"
                              | "Confirmed"
                              | "On Request"
                              | "Pending"
                              | "Cancelled"
                              | "Unconfirmed"
                              | "Waitlisted"
                              | "Infant/No Seat"
                              | "Priority Waitlist"
                              | "Quote"
                              | "Space Available"
                              | "Pending Quote"
                              | "No Seat"
                              | "Standby";
                          collectionAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          collectionSite?: { id?: string; name?: string; phone?: string };
                          confirmationId?: string;
                          deliveryAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          deliverySite?: { id?: string; name?: string; phone?: string };
                          distanceAllowance?: string;
                          dropOffAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          dropOffContactInfo?: { emails?: string[] } & {
                              emergencyPhones?: string[];
                              faxes?: string[];
                              phones?: string[];
                          };
                          dropOffDate: string;
                          dropOffLocationCode?: string;
                          dropOffTime: string;
                          guaranteePaymentNote?: string;
                          isRefundable: boolean;
                          numberOfVehicles?: number;
                          payment?: {
                              currencyCode: string;
                              fees?: string;
                              subtotal?: string;
                              taxes?: string;
                              total: string;
                          };
                          pickUpAddress: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          pickUpContactInfo?: { emails?: string[] } & {
                              emergencyPhones?: string[];
                              faxes?: string[];
                              phones?: string[];
                          };
                          pickUpDate: string;
                          pickUpLocationCode?: string;
                          pickUpTime: string;
                          rateCode?: string;
                          refundPenalties?: {
                              applicableFromDate?: string;
                              applicableToDate?: string;
                              penalty: { amount: string; currencyCode: string };
                          }[];
                          specialInstructions?: string;
                          travelerIndex?: number;
                          vehicleTypeCode?: string;
                          vehicleTypeName?: | "Two/Three Door"
                          | "Two/Four Door"
                          | "Four/Five Door"
                          | "Wagon/Estate"
                          | "Passenger Van"
                          | "Limousine/Sedan"
                          | "Sport"
                          | "Convertible"
                          | "SUV"
                          | "Open Air All Terrain"
                          | "Special"
                          | "Pick up single/extended cab 2 door"
                          | "Pick up double cab 4 door"
                          | "Special Offer Car"
                          | "Coupe"
                          | "Monospace"
                          | "Recreational Vehicle"
                          | "Motor Home"
                          | "Two Wheel Vehicle"
                          | "Roadster"
                          | "Crossover"
                          | "Commercial Van/Truck";
                          vendorCode: string;
                          vendorName: string;
                      }
                  )[];
                  contactInfo?: { emails?: string[] } & {
                      emergencyPhones?: string[];
                      faxes?: string[];
                      phones?: string[];
                  };
                  creationDetails?: {
                      agencyIataNumber?: string;
                      creationDate?: string;
                      creationTime?: string;
                      creationUserSine?: string;
                      primeHostId?: string;
                      purchaseDeadlineDate?: string;
                      purchaseDeadlineTime?: string;
                      userHomePcc?: string;
                      userWorkPcc?: string;
                  };
                  cruises?: (
                      { itemId: string } & {
                          arrivalDate: string;
                          arrivalTime?: string;
                          cabinNumber?: string;
                          confirmationId?: string;
                          cruiseStatusCode?: string;
                          cruiseStatusName?:
                              | "Unknown"
                              | "Confirmed"
                              | "On Request"
                              | "Pending"
                              | "Cancelled"
                              | "Unconfirmed"
                              | "Waitlisted"
                              | "Infant/No Seat"
                              | "Priority Waitlist"
                              | "Quote"
                              | "Space Available"
                              | "Pending Quote"
                              | "No Seat"
                              | "Standby";
                          departureDate: string;
                          departureTime?: string;
                          fromPortCode: string;
                          numberOfGuests?: number;
                          shipCode?: string;
                          shipName?: string;
                          toPortCode?: string;
                          vendorCode: string;
                      }
                  )[];
                  endDate?: string;
                  fareOffers?: {
                      cabinBaggageAllowance?: {
                          baggagePieces?: {
                              fee?: { amount: string; currencyCode: string };
                              isCheckInOnly?: boolean;
                              maximumSizeInCentimeters?: number;
                              maximumSizeInInches?: number;
                              maximumWeightInKilograms?: number;
                              maximumWeightInPounds?: number;
                              numberOfPieces: number;
                              specialItemDescription?: string;
                          }[];
                          maximumPieces?: number;
                          totalWeightInKilograms?: number;
                          totalWeightInPounds?: number;
                      };
                      cabinBaggageCharges?: {
                          fee?: { amount: string; currencyCode: string };
                          isCheckInOnly?: boolean;
                          maximumSizeInCentimeters?: number;
                          maximumSizeInInches?: number;
                          maximumWeightInKilograms?: number;
                          maximumWeightInPounds?: number;
                          numberOfPieces: number;
                          specialItemDescription?: string;
                      }[];
                      checkedBaggageAllowance?: {
                          baggagePieces?: {
                              fee?: { amount: string; currencyCode: string };
                              isCheckInOnly?: boolean;
                              maximumSizeInCentimeters?: number;
                              maximumSizeInInches?: number;
                              maximumWeightInKilograms?: number;
                              maximumWeightInPounds?: number;
                              numberOfPieces: number;
                              specialItemDescription?: string;
                          }[];
                          maximumPieces?: number;
                          totalWeightInKilograms?: number;
                          totalWeightInPounds?: number;
                      };
                      checkedBaggageCharges?: {
                          fee?: { amount: string; currencyCode: string };
                          isCheckInOnly?: boolean;
                          maximumSizeInCentimeters?: number;
                          maximumSizeInInches?: number;
                          maximumWeightInKilograms?: number;
                          maximumWeightInPounds?: number;
                          numberOfPieces: number;
                          specialItemDescription?: string;
                      }[];
                      flights?: { itemId: string }[];
                      travelerIndices?: number[];
                  }[];
                  fareRules?: {
                      destinationAirportCode?: string;
                      exchangePenalties?: {
                          applicability: "BEFORE_DEPARTURE"
                          | "AFTER_DEPARTURE";
                          conditionsApply: boolean;
                          penalty: { amount: string; currencyCode: string };
                      }[];
                      isChangeable?: boolean;
                      isRefundable?: boolean;
                      originAirportCode?: string;
                      owningAirlineCode: string;
                      passengerCode?: string;
                      refundPenalties?: {
                          applicability: "BEFORE_DEPARTURE"
                          | "AFTER_DEPARTURE";
                          conditionsApply: boolean;
                          penalty: { amount: string; currencyCode: string };
                      }[];
                  }[];
                  fares?: {
                      airlineCode?: string;
                      commission?: {
                          commissionAmount?: string;
                          commissionPercentage?: string;
                          currencyCode?: string;
                      };
                      creationDetails?: {
                          agencyIataNumber?: string;
                          creationDate?: string;
                          creationTime?: string;
                          creationUserSine?: string;
                          primeHostId?: string;
                          purchaseDeadlineDate?: string;
                          purchaseDeadlineTime?: string;
                          userHomePcc?: string;
                          userWorkPcc?: string;
                      };
                      fareCalculationLine?: string;
                      fareConstruction?: {
                          baseRate?: { amount: string; currencyCode: string };
                          brandAttributes?: { description?: string; itemId?: string }[];
                          brandFareCode?: string;
                          brandFareName?: string;
                          brandProgramCode?: string;
                          brandProgramName?: string;
                          checkedBaggageAllowance?: {
                              baggagePieces?: {
                                  fee?: { amount: ...; currencyCode: ... };
                                  isCheckInOnly?: boolean;
                                  maximumSizeInCentimeters?: number;
                                  maximumSizeInInches?: number;
                                  maximumWeightInKilograms?: number;
                                  maximumWeightInPounds?: number;
                                  numberOfPieces: number;
                                  specialItemDescription?: string;
                              }[];
                              maximumPieces?: number;
                              totalWeightInKilograms?: number;
                              totalWeightInPounds?: number;
                          };
                          fareBasisCode?: string;
                          flightIndices?: number[];
                          flights?: { itemId: string }[];
                          isCurrentItinerary?: boolean;
                      }[];
                      hasValidPricing: boolean;
                      isNegotiatedFare?: boolean;
                      pricedTravelerType?: string;
                      pricingStatusCode?: "A"
                      | "H";
                      pricingStatusName?: "Active" | "History";
                      pricingTypeCode?: "S" | "A" | "M";
                      pricingTypeName?: "Unknown" | "System" | "Amended" | "Manual";
                      recordId?: string;
                      recordTypeCode?: string;
                      recordTypeName?: string;
                      requestedTravelerType?: string;
                      taxBreakdown?: {
                          taxAmount?: { amount: string; currencyCode: string };
                          taxCode?: string;
                      }[];
                      totals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      };
                      tourCode?: string;
                      travelerIndices?: number[];
                  }[];
                  flights?: (
                      { itemId: string } & {
                          aircraftTypeCode?: string;
                          aircraftTypeName?: string;
                          airlineCode: string;
                          airlineName?: string;
                          arrivalDate: string;
                          arrivalGate?: string;
                          arrivalTerminalName?: string;
                          arrivalTime: string;
                          bookingClass?: string;
                          cabinTypeCode?: string;
                          cabinTypeName?: string;
                          confirmationId?: string;
                          departureDate: string;
                          departureGate?: string;
                          departureTerminalName?: string;
                          departureTime: string;
                          distanceInMiles?: number;
                          durationInMinutes?: number;
                          flightNumber: number;
                          flightStatusCode?: string;
                          flightStatusName?:
                              | "Unknown"
                              | "Confirmed"
                              | "On Request"
                              | "Pending"
                              | "Cancelled"
                              | "Unconfirmed"
                              | "Waitlisted"
                              | "Infant/No Seat"
                              | "Priority Waitlist"
                              | "Quote"
                              | "Space Available"
                              | "Pending Quote"
                              | "No Seat"
                              | "Standby";
                          fromAirportCode: string;
                          hiddenStopAircraftTypeCode?: string;
                          hiddenStopAircraftTypeName?: string;
                          hiddenStopAirportCode?: string;
                          hiddenStopArrivalDate?: string;
                          hiddenStopArrivalTime?: string;
                          hiddenStopDepartureDate?: string;
                          hiddenStopDepartureTime?: string;
                          hiddenStops?: {
                              aircraftTypeCode?: string;
                              aircraftTypeName?: string;
                              airportCode?: string;
                              arrivalDate?: string;
                              arrivalTime?: string;
                              departureDate?: string;
                              departureTime?: string;
                              durationInMinutes?: number;
                          }[];
                          identityDocuments?: {
                              itemId?: string;
                              status?: | "Unknown"
                              | "Confirmed"
                              | "On Request"
                              | "Pending"
                              | "Cancelled"
                              | "Unconfirmed"
                              | "Waitlisted"
                              | "Infant/No Seat"
                              | "Priority Waitlist"
                              | "Quote"
                              | "Space Available"
                              | "Pending Quote"
                              | "No Seat"
                              | "Standby";
                          }[];
                          isPast?: boolean;
                          meals?: {
                              code: string;
                              description: | "Meal"
                              | "Alcoholic beverages for purchase"
                              | "Breakfast"
                              | "Cold meal"
                              | "Complimentary alcoholic beverages"
                              | "Continental breakfast"
                              | "Dinner"
                              | "Food for purchase"
                              | "Food and beverage for purchase"
                              | "Hot meal"
                              | "Lunch"
                              | "No meal service"
                              | "Refreshment"
                              | "Refreshment for purchase"
                              | "Snack";
                          }[];
                          numberOfSeats?: number;
                          operatingAirlineCode?: string;
                          operatingAirlineName?: string;
                          operatingFlightNumber?: number;
                          seats?: {
                              characteristics?: string[];
                              number: string;
                              statusCode?: string;
                              statusName?: | "Unknown"
                              | "Confirmed"
                              | "On Request"
                              | "Pending"
                              | "Cancelled"
                              | "Unconfirmed"
                              | "Waitlisted"
                              | "Infant/No Seat"
                              | "Priority Waitlist"
                              | "Quote"
                              | "Space Available"
                              | "Pending Quote"
                              | "No Seat"
                              | "Standby";
                          }[];
                          sourceType?: "NDC"
                          | "LCC"
                          | "ATPCO";
                          toAirportCode: string;
                          travelerIndices?: number[];
                          updatedArrivalDate?: string;
                          updatedArrivalTime?: string;
                          updatedDepartureDate?: string;
                          updatedDepartureTime?: string;
                      }
                  )[];
                  flightTickets?: {
                      agencyIataNumber?: string;
                      airlineCode: string;
                      allCoupons?: (
                          {
                              couponStatus: | "Airport Control"
                              | "Lifted"
                              | "Checked In"
                              | "Exchanged"
                              | "Flown"
                              | "Not Flown"
                              | "Refunded"
                              | "Voided"
                              | "Printed"
                              | "Okay"
                              | "Reactivated"
                              | "Irregular Operations"
                              | "Print Exchange"
                              | "Paper Ticket"
                              | "Suspended"
                              | "Locked";
                              couponStatusCode: | "AL"
                              | "PE"
                              | "XX"
                              | "S"
                              | "P"
                              | "B"
                              | "E"
                              | "BD"
                              | "CK"
                              | "I"
                              | "RF"
                              | "V"
                              | "PR"
                              | "IO"
                              | "T";
                          } & { itemId?: string }
                      )[];
                      commission?: {
                          commissionAmount?: string;
                          commissionPercentage?: string;
                          currencyCode?: string;
                      };
                      date: string;
                      flightCoupons: (
                          { itemId: string } & {
                              couponStatus:
                                  | "Airport Control"
                                  | "Lifted"
                                  | "Checked In"
                                  | "Exchanged"
                                  | "Flown"
                                  | "Not Flown"
                                  | "Refunded"
                                  | "Voided"
                                  | "Printed"
                                  | "Okay"
                                  | "Reactivated"
                                  | "Irregular Operations"
                                  | "Print Exchange"
                                  | "Paper Ticket"
                                  | "Suspended"
                                  | "Locked";
                              couponStatusCode: | "AL"
                              | "PE"
                              | "XX"
                              | "S"
                              | "P"
                              | "B"
                              | "E"
                              | "BD"
                              | "CK"
                              | "I"
                              | "RF"
                              | "V"
                              | "PR"
                              | "IO"
                              | "T";
                          }
                      )[];
                      number: string;
                      payment: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      };
                      ticketingPcc?: string;
                      ticketStatusCode?: string;
                      ticketStatusName?: "Voided"
                      | "Issued"
                      | "Refunded/Exchanged";
                      travelerIndex: number;
                  }[];
                  futureTicketingPolicy?: {
                      comment?: string;
                      queueNumber?: string;
                      ticketingDate?: string;
                      ticketingPcc?: string;
                      ticketingTime?: string;
                  };
                  hotels?: (
                      { itemId: string } & {
                          address: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string } & { cityCode?: string };
                          associatedFlightDetails?: {
                              arrivalAirlineCode?: string;
                              arrivalFlightNumber?: number;
                              arrivalTime?: string;
                              departureAirlineCode?: string;
                              departureFlightNumber?: number;
                              departureTime?: string;
                          };
                          chainCode?: string;
                          chainName?: string;
                          checkInDate: string;
                          checkInTime: string;
                          checkOutDate: string;
                          checkOutTime: string;
                          confirmationId?: string;
                          contactInfo?: { emails?: string[] } & {
                              emergencyPhones?: string[];
                              faxes?: string[];
                              phones?: string[];
                          };
                          corporateDiscountCode?: number;
                          guaranteePaymentNote?: string;
                          guaranteeTypeCode?: number;
                          guaranteeTypeName?: | "Credit card"
                          | "Travel agency name/address"
                          | "Travel agency IATA number"
                          | "Company name/address"
                          | "Corporate ID/CD number"
                          | "Virtual card";
                          hotelName: string;
                          hotelStatusCode?: string;
                          hotelStatusName?: | "Unknown"
                          | "Confirmed"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Waitlisted"
                          | "Infant/No Seat"
                          | "Priority Waitlist"
                          | "Quote"
                          | "Space Available"
                          | "Pending Quote"
                          | "No Seat"
                          | "Standby";
                          isRefundable: boolean;
                          leadTravelerIndex?: number;
                          numberOfGuests?: number;
                          payment?: {
                              currencyCode: string;
                              fees?: string;
                              subtotal?: string;
                              taxes?: string;
                              total: string;
                          };
                          paymentPolicy?: "DEPOSIT"
                          | "GUARANTEE"
                          | "LATE";
                          propertyId?: string;
                          refundPenalties?: {
                              applicableFromDate?: string;
                              applicableToDate?: string;
                              penalty: { amount: string; currencyCode: string };
                          }[];
                          refundPenaltyPolicyCode?: string;
                          room?: {
                              agencyCommission?: {
                                  commissionAmount?: string;
                                  commissionPercentage?: string;
                                  currencyCode?: string;
                              };
                              description?: string;
                              productCode?: string;
                              quantity: number;
                              roomRate?: { amount: string; currencyCode: string };
                              roomType: string;
                              roomTypeCode?: string;
                              travelerIndices?: number[];
                          };
                          sabrePropertyId?: string;
                          sourceTypeCode?: number;
                          sourceTypeName?: | "Unknown"
                          | "Legacy"
                          | "Sabre GDS"
                          | "Expedia Associate Network"
                          | "HotelBeds.com"
                          | "Booking.com"
                          | "CMNet";
                          specialInstructions?: string;
                      }
                  )[];
                  isCancelable?: boolean;
                  isTicketed?: boolean;
                  journeys?: {
                      departureDate: string;
                      departureTime: string;
                      firstAirportCode: string;
                      lastAirportCode: string;
                      numberOfFlights: number;
                  }[];
                  nonElectronicTickets?: {
                      date?: string;
                      ticketingPcc?: string;
                      ticketingUserCode?: string;
                      ticketNumber?: string;
                      ticketStatus?: "Unknown"
                      | "Active"
                      | "Inactive";
                      time?: string;
                      travelerIndex?: number;
                  }[];
                  otherServices?: {
                      airlineCode?: string;
                      chainCode?: string;
                      serviceMessage?: string;
                      travelerIndex?: number;
                      vendorCode?: string;
                  }[];
                  payments?: {
                      carTotals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      }[];
                      flightCurrentTotals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      }[];
                      flightTotals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      }[];
                      formsOfPayment?: (
                          {
                              airlinePlanCode?: string;
                              cardNumber?: string;
                              cardSecurityCode?: string;
                              cardTypeCode?: string;
                              expiryDate?: string;
                              extendedPayment?: number;
                              installmentAmount?: string;
                              miscellaneousCreditCode?: string;
                              numberOfInstallments?: number;
                          } & {
                              agencyAddress?: {
                                  city?: string;
                                  countryCode?: string;
                                  postalCode?: string;
                                  stateProvince?: string;
                                  street?: string;
                              } & { freeText?: string; name?: string };
                              agencyIataNumber?: string;
                              authentications?: {
                                  amount?: string;
                                  cardNumberCollectionCode?: string;
                                  channelCode?: string;
                                  currencyCode?: string;
                                  electronicCommerceIndicator?: string;
                                  exemptionTypeCode?: string;
                                  issueCode?: string;
                                  mandateTypeCode?: string;
                                  merchantName?: string;
                                  originalPaymentReference?: string;
                                  resultCode?: string;
                                  secureAuthenticationValue?: string;
                                  secureTransactionId?: string;
                                  tokenAuthenticationValue?: string;
                                  updatedDateTime?: string;
                                  verificationResultCode?: string;
                                  version?: string;
                              }[];
                              cardHolder?: {
                                  address?: {
                                      city?: string;
                                      countryCode?: string;
                                      postalCode?: string;
                                      stateProvince?: string;
                                      street?: string;
                                  };
                                  email?: string;
                                  givenName: string;
                                  phone?: string;
                                  surname: string;
                              };
                              companyAddress?: {
                                  city?: string;
                                  countryCode?: string;
                                  postalCode?: string;
                                  stateProvince?: string;
                                  street?: string;
                              } & { freeText?: string; name?: string };
                              corporateId?: string;
                              docketDescription?: string;
                              docketIssuingAgentInitials?: string;
                              docketNumber?: string;
                              docketPrefix?: string;
                              governmentTravelRequestDescription?: string;
                              invoiceDescription?: string;
                              isAgencyPaymentCard?: boolean;
                              manualApproval?: {
                                  airlineCode: string;
                                  amount: string;
                                  code: string;
                                  currencyCode: string;
                                  expiryDateTime: string;
                                  requestDateTime: string;
                              };
                              netBalance?: string;
                              tripType?: | "All"
                              | "Unknown"
                              | "Corporate/Business"
                              | "Leisure"
                              | "Emergency"
                              | "Family"
                              | "Group";
                              tripTypes?: (
                                  | "All"
                                  | "Unknown"
                                  | "Corporate/Business"
                                  | "Leisure"
                                  | "Emergency"
                                  | "Family"
                                  | "Group"
                              )[];
                              type: | "INVOICE"
                              | "CORPORATE"
                              | "PAYMENTCARD"
                              | "CASH"
                              | "CHECK"
                              | "MISCELLANEOUS"
                              | "INSTALLMENTS"
                              | "VIRTUAL_CARD"
                              | "AGENCY_NAME"
                              | "AGENCY_IATA"
                              | "COMPANY_NAME"
                              | "VOUCHER"
                              | "DOCKET"
                              | "GOVERNMENT_TRAVEL_REQUEST";
                              useType?: | "All"
                              | "Other"
                              | "Tour"
                              | "Unknown"
                              | "Ancillary"
                              | "Hotel"
                              | "Car"
                              | "Cruise"
                              | "Airline"
                              | "Bus/Ground Transportation"
                              | "Insurance"
                              | "Low-Cost Carrier"
                              | "Rail"
                              | "Specialty Service"
                              | "Interface Record";
                              useTypes?: (
                                  | "All"
                                  | "Other"
                                  | "Tour"
                                  | "Unknown"
                                  | "Ancillary"
                                  | "Hotel"
                                  | "Car"
                                  | "Cruise"
                                  | "Airline"
                                  | "Bus/Ground Transportation"
                                  | "Insurance"
                                  | "Low-Cost Carrier"
                                  | "Rail"
                                  | "Specialty Service"
                                  | "Interface Record"
                              )[];
                              virtualCard?: {
                                  agencyEmail?: string;
                                  customerAccountCode?: string;
                                  hotelFax?: string;
                                  hotelName?: string;
                                  rateAmount?: { amount: string; currencyCode: string };
                                  roomDescription?: string;
                                  roomType?: string;
                                  virtualCardCharges?: string[];
                              };
                              voucher?: { billingNumber?: string; type?: string };
                          }
                      )[];
                      hotelTotals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      }[];
                      trainTotals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      }[];
                  };
                  remarks?: {
                      alphaCode?: string;
                      text?: string;
                      type?: | "INVOICE"
                      | "ITINERARY"
                      | "GENERAL"
                      | "HISTORICAL"
                      | "CLIENT_ADDRESS"
                      | "ALPHA_CODED"
                      | "DELIVERY_ADDRESS"
                      | "HIDDEN"
                      | "CORPORATE"
                      | "FORM_OF_PAYMENT"
                      | "PRINT_ON_TICKET"
                      | "FILLER_STRIP"
                      | "INTERFACE"
                      | "QUEUE_PLACE";
                  }[];
                  retentionEndDate?: string;
                  retentionLabel?: string;
                  specialServices?: {
                      code?: string;
                      flights?: { itemId: string }[];
                      message?: string;
                      name?: string;
                      statusCode?: string;
                      statusName?:
                          | "Unknown"
                          | "Confirmed"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Waitlisted"
                          | "Infant/No Seat"
                          | "Priority Waitlist"
                          | "Quote"
                          | "Space Available"
                          | "Pending Quote"
                          | "No Seat"
                          | "Standby";
                      travelerIndices?: number[];
                  }[];
                  startDate?: string;
                  trains?: (
                      { itemId: string } & {
                          arrivalDate: string;
                          arrivalTime: string;
                          confirmationId?: string;
                          departureDate: string;
                          departureTime: string;
                          fromStationCode: string;
                          fromStationName?: string;
                          isRefundable?: boolean;
                          operatingVendorCode?: string;
                          operatingVendorName?: string;
                          payment?: {
                              currencyCode: string;
                              fees?: string;
                              subtotal?: string;
                              taxes?: string;
                              total: string;
                          };
                          toStationCode: string;
                          toStationName?: string;
                          trainName?: string;
                          trainNumber: string;
                          trainStatusCode?: string;
                          trainStatusName?: | "Unknown"
                          | "Confirmed"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Waitlisted"
                          | "Infant/No Seat"
                          | "Priority Waitlist"
                          | "Quote"
                          | "Space Available"
                          | "Pending Quote"
                          | "No Seat"
                          | "Standby";
                          vendorCode: string;
                          vendorName?: string;
                      }
                  )[];
                  travelers?: {
                      address?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      ancillaries?: {
                          airlineCode?: string;
                          commercialName?: string;
                          electronicMiscellaneousDocumentNumber?: string;
                          flightApplicabilityType?: "Unknown" | "Single" | "Multiple";
                          flights?: { itemId: string }[];
                          isCommissionable?: boolean;
                          isRefundable?: boolean;
                          itemId?: string;
                          numberOfItems?: number;
                          reasonForIssuanceCode?: string;
                          reasonForIssuanceName?:
                              | "UNKNOWN"
                              | "AIR_TRANSPORTATION"
                              | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                              | "BAGGAGE"
                              | "FINANCIAL_IMPACT"
                              | "AIRPORT_SERVICES"
                              | "MERCHANDISE"
                              | "INFLIGHT_SERVICES"
                              | "INDIVIDUAL_AIRLINE_USE";
                          source?: "ATPCO"
                          | "MERCHANDISING_MANAGER";
                          statusCode?: string;
                          statusName?:
                              | "Confirmed"
                              | "Confirmed with EMD issued"
                              | "On Request"
                              | "Pending"
                              | "Cancelled"
                              | "Unconfirmed"
                              | "Confirmed with pending payment"
                              | "Schedule change";
                          subcode?: string;
                          totals?: {
                              currencyCode: string;
                              fees?: string;
                              subtotal?: string;
                              taxes?: string;
                              total: string;
                          };
                          vendorCode?: string;
                      }[];
                      birthDate?: string;
                      emails?: string[];
                      formOfPaymentIndices?: number[];
                      gender?: | "FEMALE"
                      | "MALE"
                      | "INFANT_FEMALE"
                      | "INFANT_MALE"
                      | "UNDISCLOSED"
                      | "UNDEFINED";
                      givenName: string;
                      identityDocuments?: {
                          birthDate?: string;
                          documentNumber?: string;
                          documentSubType?: "RUC"
                          | "CUIT/CUIL"
                          | "NIT";
                          documentType:
                              | "MILITARY"
                              | "PASSPORT"
                              | "VISA"
                              | "SECURE_FLIGHT_PASSENGER_DATA"
                              | "RESIDENCE_ADDRESS"
                              | "DESTINATION_ADDRESS"
                              | "KNOWN_TRAVELER_NUMBER"
                              | "REDRESS_NUMBER"
                              | "ALIEN_RESIDENT"
                              | "PERMANENT_RESIDENT"
                              | "FACILITATION_DOCUMENT"
                              | "NATIONAL_ID_CARD"
                              | "NEXUS_CARD"
                              | "NATURALIZATION_CERTIFICATE"
                              | "REFUGEE_REENTRY_PERMIT"
                              | "BORDER_CROSSING_CARD"
                              | "FISCAL_ID";
                          expiryDate?: string;
                          flightIndices?: number[];
                          gender?: | "FEMALE"
                          | "MALE"
                          | "INFANT_FEMALE"
                          | "INFANT_MALE"
                          | "UNDISCLOSED"
                          | "UNDEFINED";
                          givenName?: string;
                          hostCountryCode?: string;
                          isLapChildDocument?: boolean;
                          isPrimaryDocumentHolder?: boolean;
                          issueDate?: string;
                          issuingCountryCode?: string;
                          itemId?: string;
                          middleName?: string;
                          placeOfBirth?: string;
                          placeOfIssue?: string;
                          residenceCountryCode?: string;
                          residenceDestinationAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          surname?: string;
                      }[];
                      isGrouped?: boolean;
                      loyaltyPrograms?: {
                          programNumber: string;
                          programType?: | "FREQUENT_FLYER"
                          | "FREQUENT_RENTER"
                          | "LOYALTY_ID"
                          | "CORPORATE_LOYALTY_ID";
                          receiverCode?: string;
                          supplierCode?: string;
                          tierLevel?: number;
                      }[];
                      middleName?: string;
                      nameAssociationId?: string;
                      nameReferenceCode?: string;
                      passengerCode?: string;
                      phones?: { label?: string; number: string }[];
                      remarks?: {
                          alphaCode?: string;
                          text?: string;
                          type?:
                              | "INVOICE"
                              | "ITINERARY"
                              | "GENERAL"
                              | "HISTORICAL"
                              | "CLIENT_ADDRESS"
                              | "ALPHA_CODED"
                              | "DELIVERY_ADDRESS"
                              | "HIDDEN"
                              | "CORPORATE"
                              | "FORM_OF_PAYMENT"
                              | "PRINT_ON_TICKET"
                              | "FILLER_STRIP"
                              | "INTERFACE"
                              | "QUEUE_PLACE";
                      }[];
                      surname: string;
                      type?: | "ADULT"
                      | "AGENT"
                      | "AIRLINE"
                      | "CHILD"
                      | "EDUCATION"
                      | "GOVERNMENT"
                      | "GROUP"
                      | "INFANT"
                      | "MILITARY"
                      | "SENIOR"
                      | "SPECIAL"
                      | "YOUTH";
                  }[];
                  travelersGroup?: {
                      itemId?: string;
                      name?: string;
                      numberOfTravelers?: number;
                      numberOfTravelersRemaining?: number;
                  };
              };
              confirmationId?: string;
              errors?: {
                  category: string;
                  description?: string;
                  fieldName?: string;
                  fieldPath?: string;
                  fieldValue?: string;
                  type: string;
              }[];
              request?: {
                  agency?: {
                      address?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      agencyCustomerNumber?: string;
                      contactInfo?: { emails?: string[] };
                      futureTicketingPolicy?: {
                          comment?: string;
                          queueNumber?: string;
                          ticketingDate?: string;
                          ticketingPcc?: string;
                          ticketingTime?: string;
                      };
                      ticketingPolicy?: | "TODAY"
                      | "ALREADY_TICKETED"
                      | "FUTURE_TICKETING"
                      | "TICKETING_TIME_LIMIT";
                      ticketingTimeLimitPolicy?: {
                          airlineCode?: string;
                          ticketingDate?: string;
                          ticketingTime?: string;
                      };
                  };
                  asynchronousUpdateWaitTime: number;
                  car?: {
                      bookingKey: string;
                      collectionAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      };
                      collectionSite?: { id?: string; name?: string; phone?: string };
                      deliveryAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      };
                      deliverySite?: { id?: string; name?: string; phone?: string };
                      emailIndex?: number;
                      flightIndex?: number;
                      formOfPayment?: number;
                      paymentPolicy?: "DEPOSIT" | "GUARANTEE";
                      quantity: number;
                      specialInstructions?: string;
                      travelerIndex?: number;
                  };
                  contactInfo?: { emails?: string[] } & {
                      emergencyPhones?: string[];
                      faxes?: string[];
                      phones?: string[];
                  };
                  errorHandlingPolicy?: (
                      | "HALT_ON_ERROR"
                      | "HALT_ON_INVALID_MINIMUM_CONNECTING_TIME_ERROR"
                      | "DO_NOT_HALT_ON_FLIGHT_PRICING_ERROR"
                      | "DO_NOT_HALT_ON_HOTEL_BOOKING_ERROR"
                      | "DO_NOT_HALT_ON_ANCILLARY_BOOKING_ERROR"
                      | "DO_NOT_HALT_ON_SEAT_BOOKING_ERROR"
                      | "DO_NOT_HALT_ON_CAR_BOOKING_ERROR"
                  )[];
                  flightDetails?: {
                      flightPricing?: {
                          priceComparisons?: {
                              amount?: string;
                              comparisonType: | "INCREASE_BY_AMOUNT"
                              | "INCREASE_BY_PERCENT"
                              | "DECREASE_BY_AMOUNT"
                              | "DECREASE_BY_PERCENT";
                              desiredAmount: string;
                              percent?: string;
                          }[];
                          qualifiers?: {
                              commissionAmount?: string;
                              commissionPercentage?: string;
                              endorsements?: { description?: string; useOverride?: boolean };
                              excludeFareFocusFares?: boolean;
                              tourCode?: string;
                              tourCodeOverrides?:
                                  | "REPLACE_WITH_BT"
                                  | "REPLACE_WITH_IT"
                                  | "SUPPRESS_IT"
                                  | "SUPPRESS_IT_AND_FARE";
                              travelerIndices?: number[];
                              validatingAirlineCode?: string;
                          } & {
                              accountCode?: {
                                  accountCodes: string[];
                                  forceAccountCodes?: boolean;
                              };
                              adjustedSellingLevel?: {
                                  ignore?: boolean;
                                  markDownAmount?: string;
                                  markUpAmount?: string;
                                  returnBreakdown?: boolean;
                              };
                              baggageAllowance?: {
                                  baggagePieces?: number;
                                  flightIndices?: (...)[];
                                  totalWeightInKilograms?: number;
                              }[];
                              brandedFares?: { brandCode: string; flightIndices?: (...)[] }[];
                              breakFareFlightIndices?: number[];
                              cabinCode?: string;
                              commissionContractNames?: string[];
                              considerMultiTicket?: boolean;
                              corporateFare?: { corporateIds: string[]; forceCorporateId?: boolean };
                              currencyPricing?: string;
                              exchangePenalties?: {
                                  applicability?: "BEFORE_DEPARTURE" | "AFTER_DEPARTURE";
                                  penaltyAmount?: { amount?: string };
                                  restrictionType:
                                      | "CHANGEABLE"
                                      | "REFUNDABLE"
                                      | "CHANGEABLE_AND_REFUNDABLE";
                              };
                              excludeBasicEconomyFares?: string[];
                              exemptTaxes?: string[];
                              flightIndices?: number[];
                              forceConnectionFlightIndices?: number[];
                              forceStopoverFlightIndices?: number[];
                              hemisphereCode?: number;
                              journeyCode?: number;
                              netRemit?: {
                                  cashValue?: { amount: string; currencyCode: string };
                                  commercialAgreementReferenceCode?: string;
                                  creditValue?: { amount: string; currencyCode: string };
                                  netRemitCode?: string;
                              };
                              overrideTaxes?: { amount: string; taxCode: string }[];
                              passengersPricing?: {
                                  forcePassengerCode?: boolean;
                                  numberOfpassengers?: number;
                                  passengerCode?: string;
                              }[];
                              passengerStatus?: "RESIDENT"
                              | "NATIONALITY"
                              | "EMPLOYEE";
                              passengerStatusCountryCode?: string;
                              payment?: {
                                  amountOnSecondFormOfPayment?: string;
                                  primaryFormOfPayment: number;
                                  secondaryFormOfPayment?: number;
                              };
                              priceWithTaxes: boolean;
                              rebookLowestFares?: boolean;
                              retailerRule?: { forceQualifiers?: boolean; qualifiers: string[] };
                              settlementMethod?: string;
                              sideTripFlightIndices?: number[];
                              spanishIslandResidentDiscountCode?: string;
                              spanishLargeFamilyDiscountLevel?: number;
                              specificFares?: { fareBasisCode: string; flightIndices?: (...)[] }[];
                              useExcursionFare?: boolean;
                              useNetFare?: boolean;
                              usePrivateFare?: boolean;
                              usePublicFare?: boolean;
                              useRoundTheWorldFare?: boolean;
                          };
                      }[];
                      flights?: {
                          airlineCode: string;
                          arrivalDate?: string;
                          arrivalTime?: string;
                          bookingClass: string;
                          confirmationId?: string;
                          departureDate: string;
                          departureTime: string;
                          flightNumber: number;
                          flightStatusCode: string;
                          fromAirportCode: string;
                          isMarriageGroup?: boolean;
                          seats?: {
                              areaPreferences?: (
                                  | "AISLE"
                                  | "BULKHEAD"
                                  | "FRONT"
                                  | "LEFT_SIDE"
                                  | "RIGHT_SIDE"
                                  | "TAIL"
                                  | "WINDOW"
                              )[];
                              number?: string;
                              travelerIndex: number;
                          }[];
                          source?: "LCC"
                          | "ATPCO";
                          toAirportCode: string;
                      }[];
                      haltOnFlightStatusCodes?: (
                          "US"
                          | "NO"
                          | "NN"
                          | "UC"
                          | "UN"
                          | "UU"
                          | "LL"
                          | "HL"
                      )[];
                      retryBookingUnconfirmedFlights?: boolean;
                  };
                  flightOffer?: { offerId: string; selectedOfferItems: string[] };
                  hotel?: {
                      associatedFlightDetails?: {
                          arrivalAirlineCode?: string;
                          arrivalFlightNumber?: number;
                          arrivalTime?: string;
                          departureAirlineCode?: string;
                          departureFlightNumber?: number;
                          departureTime?: string;
                      };
                      bookingKey: string;
                      corporateDiscountCode?: number;
                      formOfPayment?: number;
                      paymentPolicy?: "DEPOSIT"
                      | "GUARANTEE"
                      | "LATE";
                      rooms?: {
                          bedTypeCode?: number;
                          isSmoking: boolean;
                          physicalDisabilityCode?: number;
                          roomExtras?: {
                              amount?: string;
                              quantity: number;
                              roomExtraType: number;
                          }[];
                          travelerIndices?: number[];
                      }[];
                      specialInstruction?: string;
                      useCsl: boolean;
                  };
                  notification?: {
                      email?: | "DEFAULT"
                      | "INVOICE"
                      | "ETICKET"
                      | "ETICKET_PDF"
                      | "ITINERARY"
                      | "ITINERARY_PDF";
                      queuePlacement?: {
                          futureQueuePlacementDate?: string;
                          pcc?: string;
                          prefatoryInstructionCode: number;
                          queueName?: string;
                          queueNumber?: number;
                      }[];
                  };
                  otherServices?: {
                      airlineCode?: string;
                      chainCode?: string;
                      serviceMessage?: string;
                      travelerIndex?: number;
                      vendorCode?: string;
                  }[];
                  payment?: {
                      billingAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      formsOfPayment?: (
                          {
                              airlinePlanCode?: string;
                              cardNumber?: string;
                              cardSecurityCode?: string;
                              cardTypeCode?: string;
                              expiryDate?: string;
                              extendedPayment?: number;
                              installmentAmount?: string;
                              miscellaneousCreditCode?: string;
                              numberOfInstallments?: number;
                          } & {
                              agencyAddress?: {
                                  city?: string;
                                  countryCode?: string;
                                  postalCode?: string;
                                  stateProvince?: string;
                                  street?: string;
                              } & { freeText?: string; name?: string };
                              agencyIataNumber?: string;
                              authentications?: {
                                  amount?: string;
                                  cardNumberCollectionCode?: string;
                                  channelCode?: string;
                                  currencyCode?: string;
                                  electronicCommerceIndicator?: string;
                                  exemptionTypeCode?: string;
                                  issueCode?: string;
                                  mandateTypeCode?: string;
                                  merchantName?: string;
                                  originalPaymentReference?: string;
                                  resultCode?: string;
                                  secureAuthenticationValue?: string;
                                  secureTransactionId?: string;
                                  tokenAuthenticationValue?: string;
                                  updatedDateTime?: string;
                                  verificationResultCode?: string;
                                  version?: string;
                              }[];
                              cardHolder?: {
                                  address?: {
                                      city?: string;
                                      countryCode?: string;
                                      postalCode?: string;
                                      stateProvince?: string;
                                      street?: string;
                                  };
                                  email?: string;
                                  givenName: string;
                                  phone?: string;
                                  surname: string;
                              };
                              companyAddress?: {
                                  city?: string;
                                  countryCode?: string;
                                  postalCode?: string;
                                  stateProvince?: string;
                                  street?: string;
                              } & { freeText?: string; name?: string };
                              corporateId?: string;
                              docketDescription?: string;
                              docketIssuingAgentInitials?: string;
                              docketNumber?: string;
                              docketPrefix?: string;
                              governmentTravelRequestDescription?: string;
                              invoiceDescription?: string;
                              isAgencyPaymentCard?: boolean;
                              manualApproval?: {
                                  airlineCode: string;
                                  amount: string;
                                  code: string;
                                  currencyCode: string;
                                  expiryDateTime: string;
                                  requestDateTime: string;
                              };
                              netBalance?: string;
                              tripType?: | "All"
                              | "Unknown"
                              | "Corporate/Business"
                              | "Leisure"
                              | "Emergency"
                              | "Family"
                              | "Group";
                              tripTypes?: (
                                  | "All"
                                  | "Unknown"
                                  | "Corporate/Business"
                                  | "Leisure"
                                  | "Emergency"
                                  | "Family"
                                  | "Group"
                              )[];
                              type: | "INVOICE"
                              | "CORPORATE"
                              | "PAYMENTCARD"
                              | "CASH"
                              | "CHECK"
                              | "MISCELLANEOUS"
                              | "INSTALLMENTS"
                              | "VIRTUAL_CARD"
                              | "AGENCY_NAME"
                              | "AGENCY_IATA"
                              | "COMPANY_NAME"
                              | "VOUCHER"
                              | "DOCKET"
                              | "GOVERNMENT_TRAVEL_REQUEST";
                              useType?: | "All"
                              | "Other"
                              | "Tour"
                              | "Unknown"
                              | "Ancillary"
                              | "Hotel"
                              | "Car"
                              | "Cruise"
                              | "Airline"
                              | "Bus/Ground Transportation"
                              | "Insurance"
                              | "Low-Cost Carrier"
                              | "Rail"
                              | "Specialty Service"
                              | "Interface Record";
                              useTypes?: (
                                  | "All"
                                  | "Other"
                                  | "Tour"
                                  | "Unknown"
                                  | "Ancillary"
                                  | "Hotel"
                                  | "Car"
                                  | "Cruise"
                                  | "Airline"
                                  | "Bus/Ground Transportation"
                                  | "Insurance"
                                  | "Low-Cost Carrier"
                                  | "Rail"
                                  | "Specialty Service"
                                  | "Interface Record"
                              )[];
                              virtualCard?: {
                                  agencyEmail?: string;
                                  customerAccountCode?: string;
                                  hotelFax?: string;
                                  hotelName?: string;
                                  rateAmount?: { amount: string; currencyCode: string };
                                  roomDescription?: string;
                                  roomType?: string;
                                  virtualCardCharges?: string[];
                              };
                              voucher?: { billingNumber?: string; type?: string };
                          }
                      )[];
                  };
                  profiles?: {
                      domainId: string;
                      filterId?: string;
                      profileName?: string;
                      profileTypeCode: string;
                      uniqueId?: string;
                  }[];
                  receivedFrom: string;
                  remarks?: (
                      {
                          alphaCode?: string;
                          text?: string;
                          type?: | "INVOICE"
                          | "ITINERARY"
                          | "GENERAL"
                          | "HISTORICAL"
                          | "CLIENT_ADDRESS"
                          | "ALPHA_CODED"
                          | "DELIVERY_ADDRESS"
                          | "HIDDEN"
                          | "CORPORATE"
                          | "FORM_OF_PAYMENT"
                          | "PRINT_ON_TICKET"
                          | "FILLER_STRIP"
                          | "INTERFACE"
                          | "QUEUE_PLACE";
                      } & {
                          queuePlacement?: {
                              futureQueuePlacementDate?: string;
                              pcc?: string;
                              prefatoryInstructionCode: number;
                              queueName?: string;
                              queueNumber?: number;
                          };
                      }
                  )[];
                  retentionEndDate?: string;
                  retentionLabel?: string;
                  targetPcc?: string;
                  travelers?: {
                      age?: number;
                      ancillaries?: {
                          airlineCode: string;
                          basePrice: string;
                          commercialName?: string;
                          currencyCode: string;
                          electronicMiscellaneousDocumentType: | "ETICKET"
                          | "STANDALONE"
                          | "FLIGHT_COUPON_ASSOCIATED"
                          | "STANDALONE_TICKET_ASSOCIATED"
                          | "OTHER_THAN_EMD";
                          firstTravelDate?: string;
                          flightApplicabilityType?: "Unknown"
                          | "Single"
                          | "Multiple";
                          flightIndices: number[];
                          groupCode: string;
                          lastTravelDate?: string;
                          numberOfItems: number;
                          purchaseDateTime?: string;
                          reasonForIssuance?:
                              | "UNKNOWN"
                              | "AIR_TRANSPORTATION"
                              | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                              | "BAGGAGE"
                              | "FINANCIAL_IMPACT"
                              | "AIRPORT_SERVICES"
                              | "MERCHANDISE"
                              | "INFLIGHT_SERVICES"
                              | "INDIVIDUAL_AIRLINE_USE";
                          source?: "ATPCO"
                          | "MERCHANDISING_MANAGER";
                          specialServiceIndex?: number;
                          subcode: string;
                          totalPrice?: string;
                          vendorCode?: string;
                      }[];
                      birthDate?: string;
                      emails?: string[];
                      formOfPaymentIndices?: number[];
                      gender?: | "FEMALE"
                      | "MALE"
                      | "INFANT_FEMALE"
                      | "INFANT_MALE"
                      | "UNDISCLOSED"
                      | "UNDEFINED";
                      givenName?: string;
                      id?: string;
                      identityDocuments?: {
                          birthDate?: string;
                          documentNumber?: string;
                          documentSubType?: "RUC"
                          | "CUIT/CUIL"
                          | "NIT";
                          documentType:
                              | "MILITARY"
                              | "PASSPORT"
                              | "VISA"
                              | "SECURE_FLIGHT_PASSENGER_DATA"
                              | "RESIDENCE_ADDRESS"
                              | "DESTINATION_ADDRESS"
                              | "KNOWN_TRAVELER_NUMBER"
                              | "REDRESS_NUMBER"
                              | "ALIEN_RESIDENT"
                              | "PERMANENT_RESIDENT"
                              | "FACILITATION_DOCUMENT"
                              | "NATIONAL_ID_CARD"
                              | "NEXUS_CARD"
                              | "NATURALIZATION_CERTIFICATE"
                              | "REFUGEE_REENTRY_PERMIT"
                              | "BORDER_CROSSING_CARD"
                              | "FISCAL_ID";
                          expiryDate?: string;
                          flightIndices?: number[];
                          gender?: | "FEMALE"
                          | "MALE"
                          | "INFANT_FEMALE"
                          | "INFANT_MALE"
                          | "UNDISCLOSED"
                          | "UNDEFINED";
                          givenName?: string;
                          hostCountryCode?: string;
                          isLapChildDocument?: boolean;
                          isPrimaryDocumentHolder?: boolean;
                          issueDate?: string;
                          issuingCountryCode?: string;
                          middleName?: string;
                          placeOfBirth?: string;
                          placeOfIssue?: string;
                          residenceCountryCode?: string;
                          residenceOrDestinationAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          };
                          surname?: string;
                      }[];
                      loyaltyPrograms?: {
                          programNumber: string;
                          programType?: | "FREQUENT_FLYER"
                          | "FREQUENT_RENTER"
                          | "LOYALTY_ID"
                          | "CORPORATE_LOYALTY_ID";
                          receiverCode?: string;
                          supplierCode?: string;
                          tierLevel?: number;
                      }[];
                      nameReferenceCode?: string;
                      passengerCode?: string;
                      phones?: { label?: string; number: string }[];
                      specialServices?: {
                          code: string;
                          flightIndices?: number[];
                          message?: string;
                      }[];
                      surname?: string;
                  }[];
              };
              timestamp?: string;
          };
      }

    • Parameters

      • request: {
            displayPaymentCardNumbers: boolean;
            orderId: string;
            orderItemUpdates: {
                acceptOffers: {
                    offerId: string;
                    selectedOfferItems: { id: string; passengerRefIds?: string[] }[];
                }[];
            }[];
            party?: {
                sender?: {
                    travelAgency?: {
                        agencyContact?: {
                            contactRefusedIndicator?: boolean;
                            contactType?: string;
                            emailAddresses?: { address?: string; id?: string; label?: string }[];
                            givenName?: string;
                            id?: string;
                            phones?: {
                                cityCode?: string;
                                countryCode?: string;
                                id?: string;
                                label?: string;
                                number?: string;
                            }[];
                            postalAddresses?: {
                                buildingRoom?: string;
                                cityName?: string;
                                countryCode?: string;
                                label?: "AddressAtOrigin"
                                | "AddressAtDestination";
                                postalCode?: string;
                                postOfficeBoxCode?: string;
                                stateProvinceCode?: string;
                                street?: string[];
                            }[];
                            surname?: string;
                        };
                        agencyEmail?: string;
                        agencyId?: string;
                        iataNumber?: string;
                        name?: string;
                        pseudoCityCode?: string;
                        typeCode?: string;
                    };
                };
            };
            paymentInfos?: {
                amount: { amount?: string; code?: string };
                id: string;
                orderItemRefIds?: string[];
                payer?: {
                    payerEmailAddress?: { address?: string; id?: string; label?: string };
                    payerName?: {
                        individualName: {
                            birthdate?: string;
                            birthplace?: string;
                            documentNumber?: string;
                            genderCode?: string;
                            givenName?: string;
                            middleName?: string;
                            suffixName?: string;
                            surname: string;
                            titleName?: string;
                        };
                    };
                    payerPhoneNumber?: {
                        cityCode?: string;
                        countryCode?: string;
                        id?: string;
                        label?: string;
                        number?: string;
                    };
                    paymentAddress?: {
                        buildingRoom?: string;
                        cityName?: string;
                        countryCode?: string;
                        label?: "AddressAtOrigin"
                        | "AddressAtDestination";
                        postalCode?: string;
                        postOfficeBoxCode?: string;
                        stateProvinceCode?: string;
                        street?: string[];
                    };
                };
                paymentMethod: {
                    paymentAgencyAccount?: {
                        approvalCode?: string;
                        code?: string;
                        supplierTransactionId?: string;
                        transactionId?: string;
                    };
                    paymentCard?: {
                        approvalCode?: string;
                        cardHolderAddress?: {
                            buildingRoom?: string;
                            cityName?: string;
                            countryCode?: string;
                            label?: "AddressAtOrigin"
                            | "AddressAtDestination";
                            postalCode?: string;
                            postOfficeBoxCode?: string;
                            stateProvinceCode?: string;
                            street?: string[];
                        };
                        cardHolderName?: string;
                        cardNumber?: string;
                        cardNumberToken?: string;
                        contactInfoRefId?: string;
                        cvv?: string;
                        cvvToken?: string;
                        expirationDate?: string;
                        securePaymentVersion2?: {
                            authenticationMerchantName?: string;
                            authenticationTokenValue?: string;
                            authenticationValueText?: string;
                            cardNumberCollectionCode?: string;
                            directoryServerTrxID?: string;
                            electronicCommerceIndText?: string;
                            payerAuthenticationExemptionCode?: string;
                            payerAuthenticationFailureToCompleteCode?: string;
                            paymentTrxChannelCode?: string;
                            programProtocolText?: string;
                            trxStatusReasonText?: string;
                            trxStatusText?: string;
                            verificationResult?: string;
                        };
                        vendorCode?: string;
                    };
                    paymentCash?: Record<string, never>;
                    paymentReferenceFormOfPayment?: {
                        cardHolderAddress?: {
                            buildingRoom?: string;
                            cityName?: string;
                            countryCode?: string;
                            label?: "AddressAtOrigin" | "AddressAtDestination";
                            postalCode?: string;
                            postOfficeBoxCode?: string;
                            stateProvinceCode?: string;
                            street?: string[];
                        };
                        cardHolderName?: string;
                        contactInfoRefId?: string;
                        cvv?: string;
                        referenceId?: string;
                        securePaymentVersion2?: {
                            authenticationMerchantName?: string;
                            authenticationTokenValue?: string;
                            authenticationValueText?: string;
                            cardNumberCollectionCode?: string;
                            directoryServerTrxID?: string;
                            electronicCommerceIndText?: string;
                            payerAuthenticationExemptionCode?: string;
                            payerAuthenticationFailureToCompleteCode?: string;
                            paymentTrxChannelCode?: string;
                            programProtocolText?: string;
                            trxStatusReasonText?: string;
                            trxStatusText?: string;
                            verificationResult?: string;
                        };
                    };
                    paymentTypeCode?: string;
                };
                useTypes?: string[];
            }[];
        }
        • displayPaymentCardNumbers: boolean

          If true, displays unmasked credit card numbers.

          false
          
          true
          
        • orderId: string

          The unique identifier of an order.

          XX000ABC99DEF
          
        • orderItemUpdates: {
              acceptOffers: {
                  offerId: string;
                  selectedOfferItems: { id: string; passengerRefIds?: string[] }[];
              }[];
          }[]

          Lists all orderItems to update.

        • Optionalparty?: {
              sender?: {
                  travelAgency?: {
                      agencyContact?: {
                          contactRefusedIndicator?: boolean;
                          contactType?: string;
                          emailAddresses?: { address?: string; id?: string; label?: string }[];
                          givenName?: string;
                          id?: string;
                          phones?: {
                              cityCode?: string;
                              countryCode?: string;
                              id?: string;
                              label?: string;
                              number?: string;
                          }[];
                          postalAddresses?: {
                              buildingRoom?: string;
                              cityName?: string;
                              countryCode?: string;
                              label?: "AddressAtOrigin"
                              | "AddressAtDestination";
                              postalCode?: string;
                              postOfficeBoxCode?: string;
                              stateProvinceCode?: string;
                              street?: string[];
                          }[];
                          surname?: string;
                      };
                      agencyEmail?: string;
                      agencyId?: string;
                      iataNumber?: string;
                      name?: string;
                      pseudoCityCode?: string;
                      typeCode?: string;
                  };
              };
          }

          Contains the sender of the request.

          • Optionalsender?: {
                travelAgency?: {
                    agencyContact?: {
                        contactRefusedIndicator?: boolean;
                        contactType?: string;
                        emailAddresses?: { address?: string; id?: string; label?: string }[];
                        givenName?: string;
                        id?: string;
                        phones?: {
                            cityCode?: string;
                            countryCode?: string;
                            id?: string;
                            label?: string;
                            number?: string;
                        }[];
                        postalAddresses?: {
                            buildingRoom?: string;
                            cityName?: string;
                            countryCode?: string;
                            label?: "AddressAtOrigin"
                            | "AddressAtDestination";
                            postalCode?: string;
                            postOfficeBoxCode?: string;
                            stateProvinceCode?: string;
                            street?: string[];
                        }[];
                        surname?: string;
                    };
                    agencyEmail?: string;
                    agencyId?: string;
                    iataNumber?: string;
                    name?: string;
                    pseudoCityCode?: string;
                    typeCode?: string;
                };
            }

            Contains the travel agency sender.

            • OptionaltravelAgency?: {
                  agencyContact?: {
                      contactRefusedIndicator?: boolean;
                      contactType?: string;
                      emailAddresses?: { address?: string; id?: string; label?: string }[];
                      givenName?: string;
                      id?: string;
                      phones?: {
                          cityCode?: string;
                          countryCode?: string;
                          id?: string;
                          label?: string;
                          number?: string;
                      }[];
                      postalAddresses?: {
                          buildingRoom?: string;
                          cityName?: string;
                          countryCode?: string;
                          label?: "AddressAtOrigin"
                          | "AddressAtDestination";
                          postalCode?: string;
                          postOfficeBoxCode?: string;
                          stateProvinceCode?: string;
                          street?: string[];
                      }[];
                      surname?: string;
                  };
                  agencyEmail?: string;
                  agencyId?: string;
                  iataNumber?: string;
                  name?: string;
                  pseudoCityCode?: string;
                  typeCode?: string;
              }

              Contains details of the travel agency.

              • OptionalagencyContact?: {
                    contactRefusedIndicator?: boolean;
                    contactType?: string;
                    emailAddresses?: { address?: string; id?: string; label?: string }[];
                    givenName?: string;
                    id?: string;
                    phones?: {
                        cityCode?: string;
                        countryCode?: string;
                        id?: string;
                        label?: string;
                        number?: string;
                    }[];
                    postalAddresses?: {
                        buildingRoom?: string;
                        cityName?: string;
                        countryCode?: string;
                        label?: "AddressAtOrigin"
                        | "AddressAtDestination";
                        postalCode?: string;
                        postOfficeBoxCode?: string;
                        stateProvinceCode?: string;
                        street?: string[];
                    }[];
                    surname?: string;
                }

                Contains the travel agency's contact information.

                • OptionalcontactRefusedIndicator?: boolean

                  An indicator which implies that agent refused to provide Contact Info.

                  false
                  
                • OptionalcontactType?: string

                  The passenger's contact type.

                  Notification
                  
                • OptionalemailAddresses?: { address?: string; id?: string; label?: string }[]

                  Contains the email address(es) used for contact purposes.

                • OptionalgivenName?: string

                  The passenger's first name.

                  Martin
                  
                • Optionalid?: string

                  The unique identifier assigned to the contact information within the message.

                  CI-1
                  
                • Optionalphones?: {
                      cityCode?: string;
                      countryCode?: string;
                      id?: string;
                      label?: string;
                      number?: string;
                  }[]

                  Contains telephone contact information.

                • OptionalpostalAddresses?: {
                      buildingRoom?: string;
                      cityName?: string;
                      countryCode?: string;
                      label?: "AddressAtOrigin" | "AddressAtDestination";
                      postalCode?: string;
                      postOfficeBoxCode?: string;
                      stateProvinceCode?: string;
                      street?: string[];
                  }[]

                  Lists the postal address(es) used for contact purposes.

                • Optionalsurname?: string

                  The passenger's surname.

                  Doe
                  
              • OptionalagencyEmail?: string

                Agency e-mail address.

                agency@sabre.com
                
              • OptionalagencyId?: string

                The unique identifier of the travel agency seller.

                CTXX
                
              • OptionaliataNumber?: string

                The Travel agency's assigned IATA number.

                12345678
                
              • Optionalname?: string

                The travel agency seller's name.

                McQueen Travel
                
              • OptionalpseudoCityCode?: string

                The travel agency's pseudo city code (PCC).

                F4X0
                
              • OptionaltypeCode?: string

                Agency type code.

                OnlineTravelAgency
                
        • OptionalpaymentInfos?: {
              amount: { amount?: string; code?: string };
              id: string;
              orderItemRefIds?: string[];
              payer?: {
                  payerEmailAddress?: { address?: string; id?: string; label?: string };
                  payerName?: {
                      individualName: {
                          birthdate?: string;
                          birthplace?: string;
                          documentNumber?: string;
                          genderCode?: string;
                          givenName?: string;
                          middleName?: string;
                          suffixName?: string;
                          surname: string;
                          titleName?: string;
                      };
                  };
                  payerPhoneNumber?: {
                      cityCode?: string;
                      countryCode?: string;
                      id?: string;
                      label?: string;
                      number?: string;
                  };
                  paymentAddress?: {
                      buildingRoom?: string;
                      cityName?: string;
                      countryCode?: string;
                      label?: "AddressAtOrigin"
                      | "AddressAtDestination";
                      postalCode?: string;
                      postOfficeBoxCode?: string;
                      stateProvinceCode?: string;
                      street?: string[];
                  };
              };
              paymentMethod: {
                  paymentAgencyAccount?: {
                      approvalCode?: string;
                      code?: string;
                      supplierTransactionId?: string;
                      transactionId?: string;
                  };
                  paymentCard?: {
                      approvalCode?: string;
                      cardHolderAddress?: {
                          buildingRoom?: string;
                          cityName?: string;
                          countryCode?: string;
                          label?: "AddressAtOrigin"
                          | "AddressAtDestination";
                          postalCode?: string;
                          postOfficeBoxCode?: string;
                          stateProvinceCode?: string;
                          street?: string[];
                      };
                      cardHolderName?: string;
                      cardNumber?: string;
                      cardNumberToken?: string;
                      contactInfoRefId?: string;
                      cvv?: string;
                      cvvToken?: string;
                      expirationDate?: string;
                      securePaymentVersion2?: {
                          authenticationMerchantName?: string;
                          authenticationTokenValue?: string;
                          authenticationValueText?: string;
                          cardNumberCollectionCode?: string;
                          directoryServerTrxID?: string;
                          electronicCommerceIndText?: string;
                          payerAuthenticationExemptionCode?: string;
                          payerAuthenticationFailureToCompleteCode?: string;
                          paymentTrxChannelCode?: string;
                          programProtocolText?: string;
                          trxStatusReasonText?: string;
                          trxStatusText?: string;
                          verificationResult?: string;
                      };
                      vendorCode?: string;
                  };
                  paymentCash?: Record<string, never>;
                  paymentReferenceFormOfPayment?: {
                      cardHolderAddress?: {
                          buildingRoom?: string;
                          cityName?: string;
                          countryCode?: string;
                          label?: "AddressAtOrigin" | "AddressAtDestination";
                          postalCode?: string;
                          postOfficeBoxCode?: string;
                          stateProvinceCode?: string;
                          street?: string[];
                      };
                      cardHolderName?: string;
                      contactInfoRefId?: string;
                      cvv?: string;
                      referenceId?: string;
                      securePaymentVersion2?: {
                          authenticationMerchantName?: string;
                          authenticationTokenValue?: string;
                          authenticationValueText?: string;
                          cardNumberCollectionCode?: string;
                          directoryServerTrxID?: string;
                          electronicCommerceIndText?: string;
                          payerAuthenticationExemptionCode?: string;
                          payerAuthenticationFailureToCompleteCode?: string;
                          paymentTrxChannelCode?: string;
                          programProtocolText?: string;
                          trxStatusReasonText?: string;
                          trxStatusText?: string;
                          verificationResult?: string;
                      };
                  };
                  paymentTypeCode?: string;
              };
              useTypes?: string[];
          }[]

          Lists payment information.

      • body: any

      Returns {
          error?: any;
          response: {
              errors?: { code?: string; message?: string }[];
              order?: {
                  airlineRemarks?: {
                      id?: string;
                      passengerRefIds?: string[];
                      text?: string;
                  }[];
                  auxiliaryData?: {
                      pnrNameReferenceNumbers?: {
                          nameReferenceNumber?: string;
                          passengerRefId?: string;
                      }[];
                  };
                  baggageAllowances?: {
                      applicableParty?: string;
                      baggageDeterminingCarrier?: { carrierCode?: string };
                      dimensionAllowances?: {
                          baggageDimensionCategory?: string;
                          maximumMeasure?: { unitCode?: string; value?: string };
                          minimumMeasure?: { unitCode?: string; value?: string };
                      }[];
                      externalId?: string;
                      id?: string;
                      pieceAllowances?: { applicableParty?: string; totalQuantity?: number }[];
                      typeCode?: "CarryOn" | "Checked";
                      weightAllowances?: {
                          maximumMeasure?: { unitCode?: string; value?: string };
                      }[];
                  }[];
                  changeFee?: {
                      differentialAmountDue?: { amount?: string; code?: string };
                      differentialAmountDueTaxSummary?: {
                          allRefundableInd?: boolean;
                          taxes?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalTaxAmount?: { amount?: string; code?: string };
                      };
                      penaltyAmount?: { amount?: string; code?: string };
                      typeCode?: string;
                  };
                  contactInfos?: {
                      contactRefusedIndicator?: boolean;
                      contactType?: string;
                      emailAddresses?: { address?: string; id?: string; label?: string }[];
                      givenName?: string;
                      id?: string;
                      phones?: {
                          cityCode?: string;
                          countryCode?: string;
                          id?: string;
                          label?: string;
                          number?: string;
                      }[];
                      postalAddresses?: {
                          buildingRoom?: string;
                          cityName?: string;
                          countryCode?: string;
                          label?: "AddressAtOrigin"
                          | "AddressAtDestination";
                          postalCode?: string;
                          postOfficeBoxCode?: string;
                          stateProvinceCode?: string;
                          street?: string[];
                      }[];
                      surname?: string;
                  }[];
                  corporateId?: string;
                  countryCode?: string;
                  customerNumber?: { number?: string };
                  externalOrders?: {
                      airSegmentInformations?: {
                          arrivalAirport?: string;
                          arrivalTime?: string;
                          classOfService?: string;
                          departureAirport?: string;
                          departureTime?: string;
                          flightNumber?: number;
                          marketingAirlineCode?: string;
                      }[];
                      bookingReferences?: {
                          carrierCode?: string;
                          createDate?: string;
                          id?: string;
                          typeCode?: string;
                      }[];
                      externalOrderCreateDateTime?: string;
                      externalOrderId?: string;
                      id?: string;
                      systemId?: string;
                      totalPrice?: {
                          baseAmount?: { amount?: string; code?: string };
                          equivAmount?: { amount?: string; code?: string };
                          feeBreakdowns?: {
                              amount?: { amount?: string; code?: string; taxable?: boolean };
                              description?: string;
                              refundable?: boolean;
                          }[];
                          nonRefundableBaseAmount?: { amount?: string; code?: string };
                          surcharges?: {
                              breakdown?: {
                                  amount?: { amount?: ...; code?: ... };
                                  description?: string;
                                  designatorCode?: string;
                                  localAmount?: { amount?: ...; code?: ... };
                                  refundable?: boolean;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                          }[];
                          taxBreakdowns?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                          totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                          totalTaxAmount?: { amount?: string; code?: string };
                      };
                  }[];
                  formsOfPayment?: {
                      amount: { amount?: string; code?: string };
                      id: string;
                      orderItemRefIds?: string[];
                      payer?: {
                          payerEmailAddress?: {
                              address?: string;
                              id?: string;
                              label?: string;
                          };
                          payerName?: {
                              individualName: {
                                  birthdate?: string;
                                  birthplace?: string;
                                  documentNumber?: string;
                                  genderCode?: string;
                                  givenName?: string;
                                  middleName?: string;
                                  suffixName?: string;
                                  surname: string;
                                  titleName?: string;
                              };
                          };
                          payerPhoneNumber?: {
                              cityCode?: string;
                              countryCode?: string;
                              id?: string;
                              label?: string;
                              number?: string;
                          };
                          paymentAddress?: {
                              buildingRoom?: string;
                              cityName?: string;
                              countryCode?: string;
                              label?: "AddressAtOrigin"
                              | "AddressAtDestination";
                              postalCode?: string;
                              postOfficeBoxCode?: string;
                              stateProvinceCode?: string;
                              street?: string[];
                          };
                      };
                      paymentMethod: {
                          paymentAgencyAccount?: {
                              approvalCode?: string;
                              code?: string;
                              supplierTransactionId?: string;
                              transactionId?: string;
                          };
                          paymentCard?: {
                              approvalCode?: string;
                              cardHolderAddress?: {
                                  buildingRoom?: string;
                                  cityName?: string;
                                  countryCode?: string;
                                  label?: "AddressAtOrigin"
                                  | "AddressAtDestination";
                                  postalCode?: string;
                                  postOfficeBoxCode?: string;
                                  stateProvinceCode?: string;
                                  street?: string[];
                              };
                              cardHolderName?: string;
                              cardNumber?: string;
                              cardNumberToken?: string;
                              contactInfoRefId?: string;
                              cvv?: string;
                              cvvToken?: string;
                              expirationDate?: string;
                              securePaymentVersion2?: {
                                  authenticationMerchantName?: string;
                                  authenticationTokenValue?: string;
                                  authenticationValueText?: string;
                                  cardNumberCollectionCode?: string;
                                  directoryServerTrxID?: string;
                                  electronicCommerceIndText?: string;
                                  payerAuthenticationExemptionCode?: string;
                                  payerAuthenticationFailureToCompleteCode?: string;
                                  paymentTrxChannelCode?: string;
                                  programProtocolText?: string;
                                  trxStatusReasonText?: string;
                                  trxStatusText?: string;
                                  verificationResult?: string;
                              };
                              vendorCode?: string;
                          };
                          paymentCash?: Record<string, never>;
                          paymentReferenceFormOfPayment?: {
                              cardHolderAddress?: {
                                  buildingRoom?: string;
                                  cityName?: string;
                                  countryCode?: string;
                                  label?: "AddressAtOrigin" | "AddressAtDestination";
                                  postalCode?: string;
                                  postOfficeBoxCode?: string;
                                  stateProvinceCode?: string;
                                  street?: string[];
                              };
                              cardHolderName?: string;
                              contactInfoRefId?: string;
                              cvv?: string;
                              referenceId?: string;
                              securePaymentVersion2?: {
                                  authenticationMerchantName?: string;
                                  authenticationTokenValue?: string;
                                  authenticationValueText?: string;
                                  cardNumberCollectionCode?: string;
                                  directoryServerTrxID?: string;
                                  electronicCommerceIndText?: string;
                                  payerAuthenticationExemptionCode?: string;
                                  payerAuthenticationFailureToCompleteCode?: string;
                                  paymentTrxChannelCode?: string;
                                  programProtocolText?: string;
                                  trxStatusReasonText?: string;
                                  trxStatusText?: string;
                                  verificationResult?: string;
                              };
                          };
                          paymentTypeCode?: string;
                      };
                      useTypes?: string[];
                  }[];
                  id?: string;
                  itineraryMismatchedWithTickets?: boolean;
                  journeys?: { id?: string; segmentRefIds?: string[] }[];
                  loyaltyProgramAccount?: {
                      accountNumber?: string;
                      carrier?: { carrierCode: string };
                      id?: string;
                      programCode?: string;
                      programName?: string;
                  };
                  nameMismatchedWithTickets?: boolean;
                  offerVendor?: string;
                  orderItems?: {
                      commissions?: {
                          amount?: { amount?: string; code?: string };
                          code?: string;
                          descriptions?: string[];
                          passengerRefIds?: string[];
                          percentage?: number;
                      }[];
                      creationDateTime?: string;
                      externalId?: string;
                      externalOfferItemId?: string;
                      externalOrderRefId?: string;
                      fareDetails?: {
                          fareCalculationLine?: string;
                          fareComponents?: {
                              accountCode?: string;
                              cabinTypeCode?: string;
                              cabinTypeName?: string;
                              fareBasisCityPair?: string;
                              fareBasisCode?: string;
                              fareCode?: string;
                              fareDescription?: string;
                              fareRecognizedType?: | "Other"
                              | "Public"
                              | "Private"
                              | "Negotiated"
                              | "Corporate"
                              | "Unrecognized";
                              fareRules?: { penaltyRefIds?: (...)[] };
                              fareSourceCarrier?: string;
                              fareType?: string;
                              fareVendor?: string;
                              price?: {
                                  baseAmount?: { amount?: ...; code?: ... };
                                  equivAmount?: { amount?: ...; code?: ... };
                                  feeBreakdowns?: (...)[];
                                  nonRefundableBaseAmount?: { amount?: ...; code?: ... };
                                  surcharges?: (...)[];
                                  taxBreakdowns?: (...)[];
                                  totalAmount?: { amount?: ...; code?: ... };
                                  totalFeeAmount?: { amount?: ...; code?: ...; taxable?: ... };
                                  totalTaxAmount?: { amount?: ...; code?: ... };
                              };
                              priceClassRef?: string;
                              ruleNumber?: string;
                              segmentRefIds?: string[];
                              tariffNumber?: string;
                              type?: "O"
                              | "X"
                              | "R";
                          }[];
                          fareIndicatorCode?: string;
                          fareQualifiers?: string[];
                          filedFareInd?: boolean;
                          paxRefIds?: string[];
                          penaltyDifferential?: {
                              baseAmount?: { amount?: string; code?: string };
                              taxSummary?: {
                                  allRefundableInd?: boolean;
                                  taxes?: (...)[];
                                  totalTaxAmount?: { amount?: ...; code?: ... };
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                          };
                          price?: {
                              baseAmount?: { amount?: string; code?: string };
                              equivAmount?: { amount?: string; code?: string };
                              feeBreakdowns?: {
                                  amount?: { amount?: ...; code?: ...; taxable?: ... };
                                  description?: string;
                                  refundable?: boolean;
                              }[];
                              nonRefundableBaseAmount?: { amount?: string; code?: string };
                              surcharges?: {
                                  breakdown?: (...)[];
                                  totalAmount?: { amount?: ...; code?: ... };
                              }[];
                              taxBreakdowns?: {
                                  amount?: { amount?: ...; code?: ... };
                                  collectionInd?: boolean;
                                  countryCode?: string;
                                  description?: string;
                                  refundable?: boolean;
                                  taxCode?: string;
                                  taxTypeCode?: string;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                              totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                              totalTaxAmount?: { amount?: string; code?: string };
                          };
                          priceDifferential?: {
                              diffPrice?: {
                                  price?: {
                                      balanceAmount?: { amount?: ...; code?: ... };
                                      taxAllRefundableInd?: boolean;
                                      taxBreakdowns?: (...)[];
                                      totalAmount?: { amount?: ...; code?: ... };
                                      totalTaxAmount?: { amount?: ...; code?: ... };
                                  };
                              };
                          };
                          remarks?: { displayInd?: boolean; text?: string; type?: string }[];
                          tourCode?: string;
                      }[];
                      fees?: {
                          applied?: boolean;
                          basePrice?: { amount?: string; code?: string };
                          description?: string;
                          passengerRefIds?: string[];
                          percentageValue?: string;
                          price?: { amount?: string; code?: string };
                          refundable?: boolean;
                          serviceCode?: string;
                          subCode?: string;
                          taxBreakdowns?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalTaxAmount?: { amount?: string; code?: string };
                      }[];
                      feeWarnings?: { owner?: string; text?: string }[];
                      id?: string;
                      itemOrigin?: "SELL" | "EXCHANGE" | "SYNCHRONIZATION";
                      offerCustomerInformation?: {
                          agencyInformation?: {
                              agentCityCode?: string;
                              agentDeptCode?: string;
                              agentDuty?: string;
                              agentFunction?: string;
                              carrierCode?: string;
                              mainTravelAgencyPCC?: string;
                          };
                          billingInformation?: {
                              aaaCity?: string;
                              actionCode?: string;
                              agentSineIn?: string;
                              partitionID?: string;
                              pseudoCityCode?: string;
                              userSetAddress?: string;
                          };
                      };
                      offerItemId?: string;
                      origin?: string;
                      originatedFromTicketExchangeInd?: boolean;
                      paymentTimeLimit?: string;
                      paymentTimeLimitText?: string;
                      penaltyDifferential?: {
                          baseAmount?: { amount?: string; code?: string };
                          taxSummary?: {
                              allRefundableInd?: boolean;
                              taxes?: {
                                  amount?: { amount?: ...; code?: ... };
                                  collectionInd?: boolean;
                                  countryCode?: string;
                                  description?: string;
                                  refundable?: boolean;
                                  taxCode?: string;
                                  taxTypeCode?: string;
                              }[];
                              totalTaxAmount?: { amount?: string; code?: string };
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                      };
                      price?: {
                          baseAmount?: { amount?: string; code?: string };
                          equivAmount?: { amount?: string; code?: string };
                          feeBreakdowns?: {
                              amount?: { amount?: string; code?: string; taxable?: boolean };
                              description?: string;
                              refundable?: boolean;
                          }[];
                          nonRefundableBaseAmount?: { amount?: string; code?: string };
                          surcharges?: {
                              breakdown?: {
                                  amount?: { amount?: ...; code?: ... };
                                  description?: string;
                                  designatorCode?: string;
                                  localAmount?: { amount?: ...; code?: ... };
                                  refundable?: boolean;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                          }[];
                          taxBreakdowns?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                          totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                          totalTaxAmount?: { amount?: string; code?: string };
                      };
                      priceDifferential?: {
                          diffPrice?: {
                              price?: {
                                  balanceAmount?: { amount?: string; code?: string };
                                  taxAllRefundableInd?: boolean;
                                  taxBreakdowns?: {
                                      amount?: { amount?: ...; code?: ... };
                                      collectionInd?: boolean;
                                      countryCode?: string;
                                      description?: string;
                                      refundable?: boolean;
                                      taxCode?: string;
                                      taxTypeCode?: string;
                                  }[];
                                  totalAmount?: { amount?: string; code?: string };
                                  totalTaxAmount?: { amount?: string; code?: string };
                              };
                          };
                      };
                      priceGuaranteeTimeLimit?: string;
                      priceGuaranteeTimeLimitText?: string;
                      productRefIds?: string[];
                      sellerFollowUpAction?: { actionCodes?: string[] };
                      services?: {
                          externalId?: string;
                          externalOrderItemId?: string;
                          id?: string;
                          passengerRefId?: string;
                          pnrSegmentNumber?: number;
                          segmentRefId?: string;
                          selectedSeat?: {
                              characteristics?: string[];
                              column?: string;
                              descriptions?: string[];
                              pitchMeasure?: { unitCode?: string; value?: string };
                              row?: string;
                              segmentRefId?: string;
                              widthMeasure?: { unitCode?: string; value?: string };
                          };
                          serviceDefinitionRefId?: string;
                          statusCode?: string;
                      }[];
                      statusCode?: string;
                      validatingCarrierCode?: string;
                  }[];
                  orderOwner?: string;
                  partition?: string;
                  passengers?: {
                      age?: number;
                      ageUnitCode?: string;
                      birthdate?: string;
                      citizenshipCountryCode?: string;
                      contactInfoRefId?: string;
                      contactInfoRefIds?: string[];
                      employer?: {
                          name?: string;
                          taxRegistrationData: {
                              address?: {
                                  cityName?: string;
                                  postalCode?: string;
                                  street?: string[];
                              };
                              countryCode?: string;
                              countrySubDivisionName?: string;
                              emailAddress?: string;
                              phones?: {
                                  cityCode?: string;
                                  countryCode?: string;
                                  id?: string;
                                  label?: string;
                                  number?: string;
                              }[];
                              taxRegistrationId: string;
                          }[];
                      };
                      externalId?: string;
                      genderCode?: string;
                      givenName?: string;
                      id?: string;
                      identityDocuments?: {
                          birthdate?: string;
                          birthplace?: string;
                          citizenshipCountryCode?: string;
                          documentNumber?: string;
                          documentSubTypeCode?: string;
                          documentTypeCode?: string;
                          entryQuantity?: string;
                          expiryDate?: string;
                          genderCode?: string;
                          givenName?: string;
                          id?: string;
                          issueDate?: string;
                          issuingCountryCode?: string;
                          middleName?: string;
                          placeOfIssue?: string;
                          referencedDocumentNumbers?: string[];
                          residenceCountryCode?: string;
                          stayDuration?: string;
                          suffixName?: string;
                          surname?: string;
                          titleName?: string;
                          visaHostCountryCode?: string;
                      }[];
                      loyaltyProgramAccounts?: {
                          accountNumber?: string;
                          carrier?: { carrierCode: string };
                          id?: string;
                          programCode?: string;
                          programName?: string;
                      }[];
                      middleName?: string;
                      passengerReference?: string;
                      remarks?: { id?: string; text?: string; type?: string }[];
                      suffixName?: string;
                      surname?: string;
                      titleName?: string;
                      typeCode?: string;
                  }[];
                  paymentInformation?: {
                      amount: { amount?: string; code?: string };
                      id: string;
                      orderItemRefIds?: string[];
                      payer?: {
                          payerEmailAddress?: {
                              address?: string;
                              id?: string;
                              label?: string;
                          };
                          payerName?: {
                              individualName: {
                                  birthdate?: string;
                                  birthplace?: string;
                                  documentNumber?: string;
                                  genderCode?: string;
                                  givenName?: string;
                                  middleName?: string;
                                  suffixName?: string;
                                  surname: string;
                                  titleName?: string;
                              };
                          };
                          payerPhoneNumber?: {
                              cityCode?: string;
                              countryCode?: string;
                              id?: string;
                              label?: string;
                              number?: string;
                          };
                          paymentAddress?: {
                              buildingRoom?: string;
                              cityName?: string;
                              countryCode?: string;
                              label?: "AddressAtOrigin"
                              | "AddressAtDestination";
                              postalCode?: string;
                              postOfficeBoxCode?: string;
                              stateProvinceCode?: string;
                              street?: string[];
                          };
                      };
                      paymentMethod: {
                          paymentAgencyAccount?: {
                              approvalCode?: string;
                              code?: string;
                              supplierTransactionId?: string;
                              transactionId?: string;
                          };
                          paymentCard?: {
                              approvalCode?: string;
                              cardHolderAddress?: {
                                  buildingRoom?: string;
                                  cityName?: string;
                                  countryCode?: string;
                                  label?: "AddressAtOrigin"
                                  | "AddressAtDestination";
                                  postalCode?: string;
                                  postOfficeBoxCode?: string;
                                  stateProvinceCode?: string;
                                  street?: string[];
                              };
                              cardHolderName?: string;
                              cardNumber?: string;
                              cardNumberToken?: string;
                              contactInfoRefId?: string;
                              cvv?: string;
                              cvvToken?: string;
                              expirationDate?: string;
                              securePaymentVersion2?: {
                                  authenticationMerchantName?: string;
                                  authenticationTokenValue?: string;
                                  authenticationValueText?: string;
                                  cardNumberCollectionCode?: string;
                                  directoryServerTrxID?: string;
                                  electronicCommerceIndText?: string;
                                  payerAuthenticationExemptionCode?: string;
                                  payerAuthenticationFailureToCompleteCode?: string;
                                  paymentTrxChannelCode?: string;
                                  programProtocolText?: string;
                                  trxStatusReasonText?: string;
                                  trxStatusText?: string;
                                  verificationResult?: string;
                              };
                              vendorCode?: string;
                          };
                          paymentCash?: Record<string, never>;
                          paymentReferenceFormOfPayment?: {
                              cardHolderAddress?: {
                                  buildingRoom?: string;
                                  cityName?: string;
                                  countryCode?: string;
                                  label?: "AddressAtOrigin" | "AddressAtDestination";
                                  postalCode?: string;
                                  postOfficeBoxCode?: string;
                                  stateProvinceCode?: string;
                                  street?: string[];
                              };
                              cardHolderName?: string;
                              contactInfoRefId?: string;
                              cvv?: string;
                              referenceId?: string;
                              securePaymentVersion2?: {
                                  authenticationMerchantName?: string;
                                  authenticationTokenValue?: string;
                                  authenticationValueText?: string;
                                  cardNumberCollectionCode?: string;
                                  directoryServerTrxID?: string;
                                  electronicCommerceIndText?: string;
                                  payerAuthenticationExemptionCode?: string;
                                  payerAuthenticationFailureToCompleteCode?: string;
                                  paymentTrxChannelCode?: string;
                                  programProtocolText?: string;
                                  trxStatusReasonText?: string;
                                  trxStatusText?: string;
                                  verificationResult?: string;
                              };
                          };
                          paymentTypeCode?: string;
                      };
                      useTypes?: string[];
                  }[];
                  paymentTimeLimit?: string;
                  paymentTimeLimitText?: string;
                  penalties?: {
                      applicabilityList?: string[];
                      description?: string;
                      feeAmount?: string;
                      feeCurrencyCode?: string;
                      hasFee?: boolean;
                      id?: string;
                      isAllowed?: boolean;
                      type?: string;
                  }[];
                  pnrCreateDate?: string;
                  pnrLocator?: string;
                  priceClasses?: {
                      code?: string;
                      descriptions?: { id?: string; text?: string }[];
                      id?: string;
                      name?: string;
                  }[];
                  primeHost?: string;
                  products?: {
                      airSegment?: {
                          actionCode?: string;
                          arrivalAirport?: string;
                          arrivalDateTime?: string;
                          departureAirport?: string;
                          departureDateTime?: string;
                          legs?: {
                              arrivalAirport?: string;
                              arrivalDateTime?: string;
                              departureAirport?: string;
                              departureDateTime?: string;
                              marketingCarrier?: {
                                  airlineCode?: string;
                                  banner?: string;
                                  bookingClass?: string;
                                  flightNumber?: string;
                                  name?: string;
                              };
                              operatingCarrier?: {
                                  airlineCode?: string;
                                  banner?: string;
                                  bookingClass?: string;
                                  flightNumber?: string;
                                  name?: string;
                              };
                          }[];
                          marketingCarrier?: {
                              airlineCode?: string;
                              banner?: string;
                              bookingClass?: string;
                              flightNumber?: string;
                              name?: string;
                          };
                          operatingCarrier?: {
                              airlineCode?: string;
                              banner?: string;
                              bookingClass?: string;
                              flightNumber?: string;
                              name?: string;
                          };
                      };
                      id?: string;
                  }[];
                  pseudoCityCode?: string;
                  remarks?: { id?: string; text?: string; type?: string }[];
                  segments?: {
                      arnkInd?: boolean;
                      arrival?: {
                          gateId?: string;
                          locationCode?: string;
                          scheduledDateTime?: string;
                          stationName?: string;
                          terminalName?: string;
                      };
                      cabinTypeCode?: string;
                      datedOperatingLegs?: {
                          arrival?: {
                              gateId?: string;
                              locationCode?: string;
                              scheduledDateTime?: string;
                              stationName?: string;
                              terminalName?: string;
                          };
                          carrierAircraftType?: { code?: string; name?: string };
                          changeOfGaugeInd?: boolean;
                          departure?: {
                              gateId?: string;
                              locationCode?: string;
                              scheduledDateTime?: string;
                              stationName?: string;
                              terminalName?: string;
                          };
                          distanceMeasure?: { unitCode?: string; value?: number };
                          onGroundDuration?: string;
                      }[];
                      departure?: {
                          gateId?: string;
                          locationCode?: string;
                          scheduledDateTime?: string;
                          stationName?: string;
                          terminalName?: string;
                      };
                      distanceMeasure?: { unitCode?: string; value?: number };
                      flightDuration?: string;
                      id?: string;
                      marketingCarrier?: {
                          carrierCode?: string;
                          carrierName?: string;
                          classOfService?: string;
                          disclosure?: { id?: string; text?: string[] };
                          flightNumber?: number;
                      };
                      operatingCarrier?: {
                          carrierCode?: string;
                          carrierName?: string;
                          classOfService?: string;
                          disclosure?: { id?: string; text?: string[] };
                          flightNumber?: number;
                      };
                      references?: { id?: string; system?: string }[];
                  }[];
                  serviceDefinitions?: {
                      baggageAllowanceRefId?: string;
                      bookingInstructions?: {
                          productText?: string;
                          productTextDetails?: {
                              description?: string;
                              key: string;
                              value: string;
                          }[];
                          specialServices?: { freeText?: string; specialServiceCode?: string }[];
                      };
                      cabinUpgrade?: {
                          methodCode?: string;
                          reservationBookingDesignator?: string;
                      };
                      descriptions?: { id?: string; text?: string }[];
                      externalId?: string;
                      groupCode?: string;
                      id?: string;
                      name?: string;
                      ownerCode?: string;
                      reasonForIssuanceCode?: string;
                      reasonForIssuanceSubCode?: string;
                      serviceCode?: string;
                      settlementMethodCode?: string;
                  }[];
                  ticketingDocumentInfo?: {
                      document?: {
                          coupons?: {
                              consumedAtIssuanceInd?: boolean;
                              exchangeEligibilityInd?: boolean;
                              inConnectionCouponNumber?: string;
                              inConnectionDocumentNumber?: string;
                              involuntaryIndicatorCode?: string;
                              number?: number;
                              orderItemRefId?: string;
                              presentAt?: string;
                              presentTo?: string;
                              reasonForIssuanceCode?: string;
                              reasonForIssuanceSubCode?: string;
                              segmentInfo?: {
                                  arrivalAirport?: string;
                                  arrivalTime?: string;
                                  classOfService?: string;
                                  departureAirport?: string;
                                  departureTime?: string;
                                  flightNumber?: number;
                                  marketingAirlineCode?: string;
                              };
                              serviceCode?: string;
                              serviceRefId?: string;
                              settlementAuthCode?: string;
                              status?: string;
                          }[];
                          exchangeEligibilityInd?: boolean;
                          inConnectionDocumentNumber?: string;
                          issueDateTime?: string;
                          issueDateTimeComment?: string;
                          issueDateTimeText?: string;
                          number?: string;
                          numberOfBooklets?: number;
                          outOfSyncWithOrderItem?: boolean;
                          primaryDocumentInd?: boolean;
                          remarkText?: string;
                          reportingType?: string;
                          routingCode?: string;
                          ticketingLocation?: string;
                          type?: string;
                          voidEligibilityInd?: boolean;
                          voidPeriodExpirationDateTime?: string;
                      };
                      originalIssueInfo?: {
                          issueDate?: string;
                          issuingAgentId?: string;
                          locationCode?: string;
                          ticketNumber?: string;
                      };
                      paxRefId?: string;
                      price?: {
                          baseAmount?: { amount?: string; code?: string };
                          equivAmount?: { amount?: string; code?: string };
                          feeBreakdowns?: {
                              amount?: { amount?: string; code?: string; taxable?: boolean };
                              description?: string;
                              refundable?: boolean;
                          }[];
                          nonRefundableBaseAmount?: { amount?: string; code?: string };
                          surcharges?: {
                              breakdown?: {
                                  amount?: { amount?: ...; code?: ... };
                                  description?: string;
                                  designatorCode?: string;
                                  localAmount?: { amount?: ...; code?: ... };
                                  refundable?: boolean;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                          }[];
                          taxBreakdowns?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                          totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                          totalTaxAmount?: { amount?: string; code?: string };
                      };
                  }[];
                  totalPrice?: {
                      baseAmount?: { amount?: string; code?: string };
                      equivAmount?: { amount?: string; code?: string };
                      feeBreakdowns?: {
                          amount?: { amount?: string; code?: string; taxable?: boolean };
                          description?: string;
                          refundable?: boolean;
                      }[];
                      nonRefundableBaseAmount?: { amount?: string; code?: string };
                      surcharges?: {
                          breakdown?: {
                              amount?: { amount?: string; code?: string };
                              description?: string;
                              designatorCode?: string;
                              localAmount?: { amount?: string; code?: string };
                              refundable?: boolean;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                      }[];
                      taxBreakdowns?: {
                          amount?: { amount?: string; code?: string };
                          collectionInd?: boolean;
                          countryCode?: string;
                          description?: string;
                          refundable?: boolean;
                          taxCode?: string;
                          taxTypeCode?: string;
                      }[];
                      totalAmount?: { amount?: string; code?: string };
                      totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                      totalTaxAmount?: { amount?: string; code?: string };
                  };
                  type?: string;
              };
              warnings?: { code?: string; message?: string }[];
          };
      }

    • Parameters

      • request: {
            externalOrderId?: string;
            id: string;
            orderItemIds?: string[];
            paymentInfo: {
                amount: { amount?: string; code?: string };
                id: string;
                orderItemRefIds?: string[];
                payer?: {
                    payerEmailAddress?: { address?: string; id?: string; label?: string };
                    payerName?: {
                        individualName: {
                            birthdate?: string;
                            birthplace?: string;
                            documentNumber?: string;
                            genderCode?: string;
                            givenName?: string;
                            middleName?: string;
                            suffixName?: string;
                            surname: string;
                            titleName?: string;
                        };
                    };
                    payerPhoneNumber?: {
                        cityCode?: string;
                        countryCode?: string;
                        id?: string;
                        label?: string;
                        number?: string;
                    };
                    paymentAddress?: {
                        buildingRoom?: string;
                        cityName?: string;
                        countryCode?: string;
                        label?: "AddressAtOrigin"
                        | "AddressAtDestination";
                        postalCode?: string;
                        postOfficeBoxCode?: string;
                        stateProvinceCode?: string;
                        street?: string[];
                    };
                };
                paymentMethod: {
                    paymentAgencyAccount?: {
                        approvalCode?: string;
                        code?: string;
                        supplierTransactionId?: string;
                        transactionId?: string;
                    };
                    paymentCard?: {
                        approvalCode?: string;
                        cardHolderAddress?: {
                            buildingRoom?: string;
                            cityName?: string;
                            countryCode?: string;
                            label?: "AddressAtOrigin"
                            | "AddressAtDestination";
                            postalCode?: string;
                            postOfficeBoxCode?: string;
                            stateProvinceCode?: string;
                            street?: string[];
                        };
                        cardHolderName?: string;
                        cardNumber?: string;
                        cardNumberToken?: string;
                        contactInfoRefId?: string;
                        cvv?: string;
                        cvvToken?: string;
                        expirationDate?: string;
                        securePaymentVersion2?: {
                            authenticationMerchantName?: string;
                            authenticationTokenValue?: string;
                            authenticationValueText?: string;
                            cardNumberCollectionCode?: string;
                            directoryServerTrxID?: string;
                            electronicCommerceIndText?: string;
                            payerAuthenticationExemptionCode?: string;
                            payerAuthenticationFailureToCompleteCode?: string;
                            paymentTrxChannelCode?: string;
                            programProtocolText?: string;
                            trxStatusReasonText?: string;
                            trxStatusText?: string;
                            verificationResult?: string;
                        };
                        vendorCode?: string;
                    };
                    paymentCash?: Record<string, never>;
                    paymentReferenceFormOfPayment?: {
                        cardHolderAddress?: {
                            buildingRoom?: string;
                            cityName?: string;
                            countryCode?: string;
                            label?: "AddressAtOrigin" | "AddressAtDestination";
                            postalCode?: string;
                            postOfficeBoxCode?: string;
                            stateProvinceCode?: string;
                            street?: string[];
                        };
                        cardHolderName?: string;
                        contactInfoRefId?: string;
                        cvv?: string;
                        referenceId?: string;
                        securePaymentVersion2?: {
                            authenticationMerchantName?: string;
                            authenticationTokenValue?: string;
                            authenticationValueText?: string;
                            cardNumberCollectionCode?: string;
                            directoryServerTrxID?: string;
                            electronicCommerceIndText?: string;
                            payerAuthenticationExemptionCode?: string;
                            payerAuthenticationFailureToCompleteCode?: string;
                            paymentTrxChannelCode?: string;
                            programProtocolText?: string;
                            trxStatusReasonText?: string;
                            trxStatusText?: string;
                            verificationResult?: string;
                        };
                    };
                    paymentTypeCode?: string;
                };
                useTypes?: string[];
            };
        }
        • OptionalexternalOrderId?: string

          The unique identifier of the external order reference id.

          XX000ABC99DEF
          
        • id: string

          The unique identifier of an Order within the context of one message.

          XX000ABC99DEF
          
        • OptionalorderItemIds?: string[]

          Lists the identifiers of order items from a provided external order to be fulfilled.

        • paymentInfo: {
              amount: { amount?: string; code?: string };
              id: string;
              orderItemRefIds?: string[];
              payer?: {
                  payerEmailAddress?: { address?: string; id?: string; label?: string };
                  payerName?: {
                      individualName: {
                          birthdate?: string;
                          birthplace?: string;
                          documentNumber?: string;
                          genderCode?: string;
                          givenName?: string;
                          middleName?: string;
                          suffixName?: string;
                          surname: string;
                          titleName?: string;
                      };
                  };
                  payerPhoneNumber?: {
                      cityCode?: string;
                      countryCode?: string;
                      id?: string;
                      label?: string;
                      number?: string;
                  };
                  paymentAddress?: {
                      buildingRoom?: string;
                      cityName?: string;
                      countryCode?: string;
                      label?: "AddressAtOrigin"
                      | "AddressAtDestination";
                      postalCode?: string;
                      postOfficeBoxCode?: string;
                      stateProvinceCode?: string;
                      street?: string[];
                  };
              };
              paymentMethod: {
                  paymentAgencyAccount?: {
                      approvalCode?: string;
                      code?: string;
                      supplierTransactionId?: string;
                      transactionId?: string;
                  };
                  paymentCard?: {
                      approvalCode?: string;
                      cardHolderAddress?: {
                          buildingRoom?: string;
                          cityName?: string;
                          countryCode?: string;
                          label?: "AddressAtOrigin"
                          | "AddressAtDestination";
                          postalCode?: string;
                          postOfficeBoxCode?: string;
                          stateProvinceCode?: string;
                          street?: string[];
                      };
                      cardHolderName?: string;
                      cardNumber?: string;
                      cardNumberToken?: string;
                      contactInfoRefId?: string;
                      cvv?: string;
                      cvvToken?: string;
                      expirationDate?: string;
                      securePaymentVersion2?: {
                          authenticationMerchantName?: string;
                          authenticationTokenValue?: string;
                          authenticationValueText?: string;
                          cardNumberCollectionCode?: string;
                          directoryServerTrxID?: string;
                          electronicCommerceIndText?: string;
                          payerAuthenticationExemptionCode?: string;
                          payerAuthenticationFailureToCompleteCode?: string;
                          paymentTrxChannelCode?: string;
                          programProtocolText?: string;
                          trxStatusReasonText?: string;
                          trxStatusText?: string;
                          verificationResult?: string;
                      };
                      vendorCode?: string;
                  };
                  paymentCash?: Record<string, never>;
                  paymentReferenceFormOfPayment?: {
                      cardHolderAddress?: {
                          buildingRoom?: string;
                          cityName?: string;
                          countryCode?: string;
                          label?: "AddressAtOrigin" | "AddressAtDestination";
                          postalCode?: string;
                          postOfficeBoxCode?: string;
                          stateProvinceCode?: string;
                          street?: string[];
                      };
                      cardHolderName?: string;
                      contactInfoRefId?: string;
                      cvv?: string;
                      referenceId?: string;
                      securePaymentVersion2?: {
                          authenticationMerchantName?: string;
                          authenticationTokenValue?: string;
                          authenticationValueText?: string;
                          cardNumberCollectionCode?: string;
                          directoryServerTrxID?: string;
                          electronicCommerceIndText?: string;
                          payerAuthenticationExemptionCode?: string;
                          payerAuthenticationFailureToCompleteCode?: string;
                          paymentTrxChannelCode?: string;
                          programProtocolText?: string;
                          trxStatusReasonText?: string;
                          trxStatusText?: string;
                          verificationResult?: string;
                      };
                  };
                  paymentTypeCode?: string;
              };
              useTypes?: string[];
          }

          Contains payment details.

          • amount: { amount?: string; code?: string }

            The monetary amount.

            • Optionalamount?: string

              The monetary amount.

              100.00
              
            • Optionalcode?: string

              The three-letter ISO 4217 currency code.

              USD
              
          • id: string

            The PaymentInfo unique identifier.

            FOP1
            
          • OptionalorderItemRefIds?: string[]

            List of OrderItem unique identifiers associated with the payment.

          • Optionalpayer?: {
                payerEmailAddress?: { address?: string; id?: string; label?: string };
                payerName?: {
                    individualName: {
                        birthdate?: string;
                        birthplace?: string;
                        documentNumber?: string;
                        genderCode?: string;
                        givenName?: string;
                        middleName?: string;
                        suffixName?: string;
                        surname: string;
                        titleName?: string;
                    };
                };
                payerPhoneNumber?: {
                    cityCode?: string;
                    countryCode?: string;
                    id?: string;
                    label?: string;
                    number?: string;
                };
                paymentAddress?: {
                    buildingRoom?: string;
                    cityName?: string;
                    countryCode?: string;
                    label?: "AddressAtOrigin"
                    | "AddressAtDestination";
                    postalCode?: string;
                    postOfficeBoxCode?: string;
                    stateProvinceCode?: string;
                    street?: string[];
                };
            }

            Party committing to pay. For example for a credit or debit card, this would be the cardholder.

            • OptionalpayerEmailAddress?: { address?: string; id?: string; label?: string }

              The email address that can be used as a form of contact.

              • Optionaladdress?: string

                The contact email address.

                sabre@sabre.com
                
              • Optionalid?: string

                ID assigned to an email address in a PNR. This ID is required for update purposes.

                4d546b3d
                
              • Optionallabel?: string

                Differentiates multiple email addresses for one contact.

                Payments
                
            • OptionalpayerName?: {
                  individualName: {
                      birthdate?: string;
                      birthplace?: string;
                      documentNumber?: string;
                      genderCode?: string;
                      givenName?: string;
                      middleName?: string;
                      suffixName?: string;
                      surname: string;
                      titleName?: string;
                  };
              }

              The name of the payer.

              • individualName: {
                    birthdate?: string;
                    birthplace?: string;
                    documentNumber?: string;
                    genderCode?: string;
                    givenName?: string;
                    middleName?: string;
                    suffixName?: string;
                    surname: string;
                    titleName?: string;
                }

                A Payer individual is a specialization of the individual type, defined as a single human being distinct from a group, class, or family.

                • Optionalbirthdate?: string

                  Format: date

                  The date on which the payer was born in YYYY-MM-DD format.

                  2024-01-20
                  
                • Optionalbirthplace?: string

                  The payer's birthplace.

                  LONDON
                  
                • OptionaldocumentNumber?: string

                  The payer's identifying document number.

                  AB012456
                  
                • OptionalgenderCode?: string

                  The gender of the individual. Can be M, F, or X for unspecified.

                • OptionalgivenName?: string

                  The payer's first name.

                  JOHN
                  
                • OptionalmiddleName?: string

                  The payer's middle name or initial.

                  GEORGE
                  
                • OptionalsuffixName?: string

                  The payer's name suffix.

                  JR
                  
                • surname: string

                  The payer's last name.

                  DOE
                  
                • OptionaltitleName?: string

                  The title used before the payer's surname.

                  MR
                  
            • OptionalpayerPhoneNumber?: {
                  cityCode?: string;
                  countryCode?: string;
                  id?: string;
                  label?: string;
                  number?: string;
              }

              The full phone number that can be used as a form of contact.

              • OptionalcityCode?: string

                The three-letter IATA city code city code.

                DFW
                
              • OptionalcountryCode?: string

                Numeric telephone dialing prefixes for the member countries of the International Telecommunication Union (ITU).

                44
                
              • Optionalid?: string

                The unique identifier assigned to the phone.

                4d6a453d
                
              • Optionallabel?: string

                Used to differentiate between multiple phone numbers of one contact.

                Agency, Business, Home, Mobile, Cell, Fax, Hotel
                
              • Optionalnumber?: string

                The phone number.

                1123456789
                
            • OptionalpaymentAddress?: {
                  buildingRoom?: string;
                  cityName?: string;
                  countryCode?: string;
                  label?: "AddressAtOrigin" | "AddressAtDestination";
                  postalCode?: string;
                  postOfficeBoxCode?: string;
                  stateProvinceCode?: string;
                  street?: string[];
              }

              A physical address that is associated with payment types, this comprises of a postal address and optional payment verification.

              • OptionalbuildingRoom?: string

                Additional address information including building name, room, apartment or suite number.

                19A
                
              • OptionalcityName?: string

                Name of the city, town, or postal station.

                New York City, London, Sydney, Cairo, Rio de Janeiro
                
              • OptionalcountryCode?: string

                ISO 3166-1 two character country code.

                US, MX, EN, AU, CN, ZA
                
              • Optionallabel?: "AddressAtOrigin" | "AddressAtDestination"

                Label used in ContactInfo to determine type of the address.

              • OptionalpostalCode?: string

                Zip code or postal code.

                12345
                
              • OptionalpostOfficeBoxCode?: string

                Post office box.

                US, MX, EN, AU, CN, ZA
                
              • OptionalstateProvinceCode?: string

                State or province code.

                TX (Texas), JK (England), BJ (Beijing), NSW (New South Wales)
                
              • Optionalstreet?: string[]

                Lists the primary addresses (street and number).

          • paymentMethod: {
                paymentAgencyAccount?: {
                    approvalCode?: string;
                    code?: string;
                    supplierTransactionId?: string;
                    transactionId?: string;
                };
                paymentCard?: {
                    approvalCode?: string;
                    cardHolderAddress?: {
                        buildingRoom?: string;
                        cityName?: string;
                        countryCode?: string;
                        label?: "AddressAtOrigin"
                        | "AddressAtDestination";
                        postalCode?: string;
                        postOfficeBoxCode?: string;
                        stateProvinceCode?: string;
                        street?: string[];
                    };
                    cardHolderName?: string;
                    cardNumber?: string;
                    cardNumberToken?: string;
                    contactInfoRefId?: string;
                    cvv?: string;
                    cvvToken?: string;
                    expirationDate?: string;
                    securePaymentVersion2?: {
                        authenticationMerchantName?: string;
                        authenticationTokenValue?: string;
                        authenticationValueText?: string;
                        cardNumberCollectionCode?: string;
                        directoryServerTrxID?: string;
                        electronicCommerceIndText?: string;
                        payerAuthenticationExemptionCode?: string;
                        payerAuthenticationFailureToCompleteCode?: string;
                        paymentTrxChannelCode?: string;
                        programProtocolText?: string;
                        trxStatusReasonText?: string;
                        trxStatusText?: string;
                        verificationResult?: string;
                    };
                    vendorCode?: string;
                };
                paymentCash?: Record<string, never>;
                paymentReferenceFormOfPayment?: {
                    cardHolderAddress?: {
                        buildingRoom?: string;
                        cityName?: string;
                        countryCode?: string;
                        label?: "AddressAtOrigin" | "AddressAtDestination";
                        postalCode?: string;
                        postOfficeBoxCode?: string;
                        stateProvinceCode?: string;
                        street?: string[];
                    };
                    cardHolderName?: string;
                    contactInfoRefId?: string;
                    cvv?: string;
                    referenceId?: string;
                    securePaymentVersion2?: {
                        authenticationMerchantName?: string;
                        authenticationTokenValue?: string;
                        authenticationValueText?: string;
                        cardNumberCollectionCode?: string;
                        directoryServerTrxID?: string;
                        electronicCommerceIndText?: string;
                        payerAuthenticationExemptionCode?: string;
                        payerAuthenticationFailureToCompleteCode?: string;
                        paymentTrxChannelCode?: string;
                        programProtocolText?: string;
                        trxStatusReasonText?: string;
                        trxStatusText?: string;
                        verificationResult?: string;
                    };
                };
                paymentTypeCode?: string;
            }

            Contains payment method details.

            • OptionalpaymentAgencyAccount?: {
                  approvalCode?: string;
                  code?: string;
                  supplierTransactionId?: string;
                  transactionId?: string;
              }

              Contains cash payment details.

              • OptionalapprovalCode?: string

                The payment agency approval code used for confirmation.

                8684364635643
                
              • Optionalcode?: string

                The agency account code.

                9876543212345124
                
              • OptionalsupplierTransactionId?: string

                The supplier's transaction ID assigned by the OFS system.

                6758932410
                
              • OptionaltransactionId?: string

                Unique transaction ID assigned by the OFS system.

                542615423643
                
            • OptionalpaymentCard?: {
                  approvalCode?: string;
                  cardHolderAddress?: {
                      buildingRoom?: string;
                      cityName?: string;
                      countryCode?: string;
                      label?: "AddressAtOrigin" | "AddressAtDestination";
                      postalCode?: string;
                      postOfficeBoxCode?: string;
                      stateProvinceCode?: string;
                      street?: string[];
                  };
                  cardHolderName?: string;
                  cardNumber?: string;
                  cardNumberToken?: string;
                  contactInfoRefId?: string;
                  cvv?: string;
                  cvvToken?: string;
                  expirationDate?: string;
                  securePaymentVersion2?: {
                      authenticationMerchantName?: string;
                      authenticationTokenValue?: string;
                      authenticationValueText?: string;
                      cardNumberCollectionCode?: string;
                      directoryServerTrxID?: string;
                      electronicCommerceIndText?: string;
                      payerAuthenticationExemptionCode?: string;
                      payerAuthenticationFailureToCompleteCode?: string;
                      paymentTrxChannelCode?: string;
                      programProtocolText?: string;
                      trxStatusReasonText?: string;
                      trxStatusText?: string;
                      verificationResult?: string;
                  };
                  vendorCode?: string;
              }

              Contains credit card information.

              • OptionalapprovalCode?: string

                Payment Approval Code.

                APS5OK
                
              • OptionalcardHolderAddress?: {
                    buildingRoom?: string;
                    cityName?: string;
                    countryCode?: string;
                    label?: "AddressAtOrigin" | "AddressAtDestination";
                    postalCode?: string;
                    postOfficeBoxCode?: string;
                    stateProvinceCode?: string;
                    street?: string[];
                }

                Contains the credit card holder's postal information.

                • OptionalbuildingRoom?: string

                  Additional address information including building name, room, apartment or suite number.

                  19A
                  
                • OptionalcityName?: string

                  Name of the city, town, or postal station.

                  New York City, London, Sydney, Cairo, Rio de Janeiro
                  
                • OptionalcountryCode?: string

                  ISO 3166-1 two character country code.

                  US, MX, EN, AU, CN, ZA
                  
                • Optionallabel?: "AddressAtOrigin" | "AddressAtDestination"

                  Label used in ContactInfo to determine type of the address.

                • OptionalpostalCode?: string

                  Zip code or postal code.

                  12345
                  
                • OptionalpostOfficeBoxCode?: string

                  Post office box.

                  US, MX, EN, AU, CN, ZA
                  
                • OptionalstateProvinceCode?: string

                  State or province code.

                  TX (Texas), JK (England), BJ (Beijing), NSW (New South Wales)
                  
                • Optionalstreet?: string[]

                  Lists the primary addresses (street and number).

              • OptionalcardHolderName?: string

                Name of Payment card holder.

                JOHN SMITH
                
              • OptionalcardNumber?: string

                The credit card number.

                4444333322221111
                
              • OptionalcardNumberToken?: string

                The credit card number token.

                444433ABCDEF1111
                
              • OptionalcontactInfoRefId?: string

                Reference to card holder contact information.

                CI-1
                
              • Optionalcvv?: string

                The credit card CVV 3 or 4 digit verification code.

                1234
                
              • OptionalcvvToken?: string

                The credit card CVV code token.

                ABCD
                
              • OptionalexpirationDate?: string

                The credit card expiration date in MMYY format.

                0119
                
              • OptionalsecurePaymentVersion2?: {
                    authenticationMerchantName?: string;
                    authenticationTokenValue?: string;
                    authenticationValueText?: string;
                    cardNumberCollectionCode?: string;
                    directoryServerTrxID?: string;
                    electronicCommerceIndText?: string;
                    payerAuthenticationExemptionCode?: string;
                    payerAuthenticationFailureToCompleteCode?: string;
                    paymentTrxChannelCode?: string;
                    programProtocolText?: string;
                    trxStatusReasonText?: string;
                    trxStatusText?: string;
                    verificationResult?: string;
                }

                Contains the required fields to process payments through Secure Payment Version 2.

                • OptionalauthenticationMerchantName?: string

                  Authentication merchant name.

                  Merchant ABC
                  
                • OptionalauthenticationTokenValue?: string

                  Contains the Cardholder Authentication Verification Value (CAVV).

                  WTJGeVpHbHVZV3hqYjIxdaTCVYPkchVyAgIAo%3D
                  
                • OptionalauthenticationValueText?: string

                  Authentication value.

                  eJy1mdmzokizwN/5Kzr6e3TOsAtM
                  
                • OptionalcardNumberCollectionCode?: string

                  Card number collection code.

                  K
                  
                • OptionaldirectoryServerTrxID?: string

                  Directory server transaction ID.

                  a28b-4473-a130-3fa5e1c2eef0
                  
                • OptionalelectronicCommerceIndText?: string

                  Contains the Electronic Commerce Indicator (ECI) returned by 3DS2 authentication.

                  vbv
                  
                • OptionalpayerAuthenticationExemptionCode?: string

                  Contains a code used to identify an exemption when performing payer authentication.

                  LV
                  
                • OptionalpayerAuthenticationFailureToCompleteCode?: string

                  Contains a code used to identify any possible pre-defined reasons for failure to complete the payer authentication.

                  NC
                  
                • OptionalpaymentTrxChannelCode?: string

                  Context of the interaction.

                  vbv
                  
                • OptionalprogramProtocolText?: string

                  Contains 3D Secure Payment protocol version.

                  2.1.0
                  
                • OptionaltrxStatusReasonText?: string

                  Transaction status reason.

                  17
                  
                • OptionaltrxStatusText?: string

                  Transaction status.

                  Y
                  
                • OptionalverificationResult?: string

                  Outcome of verification returned with the Secure Payment Version 2 verification from MPI.

                  Y
                  
              • OptionalvendorCode?: string

                The credit card vendor's code.

                VI
                
            • OptionalpaymentCash?: Record<string, never>

              Contains cash payment details.

            • OptionalpaymentReferenceFormOfPayment?: {
                  cardHolderAddress?: {
                      buildingRoom?: string;
                      cityName?: string;
                      countryCode?: string;
                      label?: "AddressAtOrigin" | "AddressAtDestination";
                      postalCode?: string;
                      postOfficeBoxCode?: string;
                      stateProvinceCode?: string;
                      street?: string[];
                  };
                  cardHolderName?: string;
                  contactInfoRefId?: string;
                  cvv?: string;
                  referenceId?: string;
                  securePaymentVersion2?: {
                      authenticationMerchantName?: string;
                      authenticationTokenValue?: string;
                      authenticationValueText?: string;
                      cardNumberCollectionCode?: string;
                      directoryServerTrxID?: string;
                      electronicCommerceIndText?: string;
                      payerAuthenticationExemptionCode?: string;
                      payerAuthenticationFailureToCompleteCode?: string;
                      paymentTrxChannelCode?: string;
                      programProtocolText?: string;
                      trxStatusReasonText?: string;
                      trxStatusText?: string;
                      verificationResult?: string;
                  };
              }

              Contains information about PNR reference Form of Payment.

              • OptionalcardHolderAddress?: {
                    buildingRoom?: string;
                    cityName?: string;
                    countryCode?: string;
                    label?: "AddressAtOrigin" | "AddressAtDestination";
                    postalCode?: string;
                    postOfficeBoxCode?: string;
                    stateProvinceCode?: string;
                    street?: string[];
                }

                Contains the credit card holder's postal information.

                • OptionalbuildingRoom?: string

                  Additional address information including building name, room, apartment or suite number.

                  19A
                  
                • OptionalcityName?: string

                  Name of the city, town, or postal station.

                  New York City, London, Sydney, Cairo, Rio de Janeiro
                  
                • OptionalcountryCode?: string

                  ISO 3166-1 two character country code.

                  US, MX, EN, AU, CN, ZA
                  
                • Optionallabel?: "AddressAtOrigin" | "AddressAtDestination"

                  Label used in ContactInfo to determine type of the address.

                • OptionalpostalCode?: string

                  Zip code or postal code.

                  12345
                  
                • OptionalpostOfficeBoxCode?: string

                  Post office box.

                  US, MX, EN, AU, CN, ZA
                  
                • OptionalstateProvinceCode?: string

                  State or province code.

                  TX (Texas), JK (England), BJ (Beijing), NSW (New South Wales)
                  
                • Optionalstreet?: string[]

                  Lists the primary addresses (street and number).

              • OptionalcardHolderName?: string

                The payment card holder's name.

                JOHN DOE
                
              • OptionalcontactInfoRefId?: string

                Reference to card holder contact information.

                CI-1
                
              • Optionalcvv?: string

                The credit card CVV 3 or 4 digit verification code (Used only for Payment Card form of payment).

                1234
                
              • OptionalreferenceId?: string

                Reference to the Form of Payment defined in the PNR.

                1
                
              • OptionalsecurePaymentVersion2?: {
                    authenticationMerchantName?: string;
                    authenticationTokenValue?: string;
                    authenticationValueText?: string;
                    cardNumberCollectionCode?: string;
                    directoryServerTrxID?: string;
                    electronicCommerceIndText?: string;
                    payerAuthenticationExemptionCode?: string;
                    payerAuthenticationFailureToCompleteCode?: string;
                    paymentTrxChannelCode?: string;
                    programProtocolText?: string;
                    trxStatusReasonText?: string;
                    trxStatusText?: string;
                    verificationResult?: string;
                }

                Contains the required fields to process payments through Secure Payment Version 2.

                • OptionalauthenticationMerchantName?: string

                  Authentication merchant name.

                  Merchant ABC
                  
                • OptionalauthenticationTokenValue?: string

                  Contains the Cardholder Authentication Verification Value (CAVV).

                  WTJGeVpHbHVZV3hqYjIxdaTCVYPkchVyAgIAo%3D
                  
                • OptionalauthenticationValueText?: string

                  Authentication value.

                  eJy1mdmzokizwN/5Kzr6e3TOsAtM
                  
                • OptionalcardNumberCollectionCode?: string

                  Card number collection code.

                  K
                  
                • OptionaldirectoryServerTrxID?: string

                  Directory server transaction ID.

                  a28b-4473-a130-3fa5e1c2eef0
                  
                • OptionalelectronicCommerceIndText?: string

                  Contains the Electronic Commerce Indicator (ECI) returned by 3DS2 authentication.

                  vbv
                  
                • OptionalpayerAuthenticationExemptionCode?: string

                  Contains a code used to identify an exemption when performing payer authentication.

                  LV
                  
                • OptionalpayerAuthenticationFailureToCompleteCode?: string

                  Contains a code used to identify any possible pre-defined reasons for failure to complete the payer authentication.

                  NC
                  
                • OptionalpaymentTrxChannelCode?: string

                  Context of the interaction.

                  vbv
                  
                • OptionalprogramProtocolText?: string

                  Contains 3D Secure Payment protocol version.

                  2.1.0
                  
                • OptionaltrxStatusReasonText?: string

                  Transaction status reason.

                  17
                  
                • OptionaltrxStatusText?: string

                  Transaction status.

                  Y
                  
                • OptionalverificationResult?: string

                  Outcome of verification returned with the Secure Payment Version 2 verification from MPI.

                  Y
                  
            • OptionalpaymentTypeCode?: string

              The code of the payment type used for agency account payments.

              MS
              
          • OptionaluseTypes?: string[]

            Lists payment use type codes.

      • body: any

      Returns {
          errors?: { code?: string; message?: string }[];
          order?: {
              airlineRemarks?: {
                  id?: string;
                  passengerRefIds?: string[];
                  text?: string;
              }[];
              auxiliaryData?: {
                  pnrNameReferenceNumbers?: {
                      nameReferenceNumber?: string;
                      passengerRefId?: string;
                  }[];
              };
              baggageAllowances?: {
                  applicableParty?: string;
                  baggageDeterminingCarrier?: { carrierCode?: string };
                  dimensionAllowances?: {
                      baggageDimensionCategory?: string;
                      maximumMeasure?: { unitCode?: string; value?: string };
                      minimumMeasure?: { unitCode?: string; value?: string };
                  }[];
                  externalId?: string;
                  id?: string;
                  pieceAllowances?: { applicableParty?: string; totalQuantity?: number }[];
                  typeCode?: "CarryOn" | "Checked";
                  weightAllowances?: {
                      maximumMeasure?: { unitCode?: string; value?: string };
                  }[];
              }[];
              changeFee?: {
                  differentialAmountDue?: { amount?: string; code?: string };
                  differentialAmountDueTaxSummary?: {
                      allRefundableInd?: boolean;
                      taxes?: {
                          amount?: { amount?: string; code?: string };
                          collectionInd?: boolean;
                          countryCode?: string;
                          description?: string;
                          refundable?: boolean;
                          taxCode?: string;
                          taxTypeCode?: string;
                      }[];
                      totalTaxAmount?: { amount?: string; code?: string };
                  };
                  penaltyAmount?: { amount?: string; code?: string };
                  typeCode?: string;
              };
              contactInfos?: {
                  contactRefusedIndicator?: boolean;
                  contactType?: string;
                  emailAddresses?: { address?: string; id?: string; label?: string }[];
                  givenName?: string;
                  id?: string;
                  phones?: {
                      cityCode?: string;
                      countryCode?: string;
                      id?: string;
                      label?: string;
                      number?: string;
                  }[];
                  postalAddresses?: {
                      buildingRoom?: string;
                      cityName?: string;
                      countryCode?: string;
                      label?: "AddressAtOrigin"
                      | "AddressAtDestination";
                      postalCode?: string;
                      postOfficeBoxCode?: string;
                      stateProvinceCode?: string;
                      street?: string[];
                  }[];
                  surname?: string;
              }[];
              corporateId?: string;
              countryCode?: string;
              customerNumber?: { number?: string };
              externalOrders?: {
                  airSegmentInformations?: {
                      arrivalAirport?: string;
                      arrivalTime?: string;
                      classOfService?: string;
                      departureAirport?: string;
                      departureTime?: string;
                      flightNumber?: number;
                      marketingAirlineCode?: string;
                  }[];
                  bookingReferences?: {
                      carrierCode?: string;
                      createDate?: string;
                      id?: string;
                      typeCode?: string;
                  }[];
                  externalOrderCreateDateTime?: string;
                  externalOrderId?: string;
                  id?: string;
                  systemId?: string;
                  totalPrice?: {
                      baseAmount?: { amount?: string; code?: string };
                      equivAmount?: { amount?: string; code?: string };
                      feeBreakdowns?: {
                          amount?: { amount?: string; code?: string; taxable?: boolean };
                          description?: string;
                          refundable?: boolean;
                      }[];
                      nonRefundableBaseAmount?: { amount?: string; code?: string };
                      surcharges?: {
                          breakdown?: {
                              amount?: { amount?: string; code?: string };
                              description?: string;
                              designatorCode?: string;
                              localAmount?: { amount?: string; code?: string };
                              refundable?: boolean;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                      }[];
                      taxBreakdowns?: {
                          amount?: { amount?: string; code?: string };
                          collectionInd?: boolean;
                          countryCode?: string;
                          description?: string;
                          refundable?: boolean;
                          taxCode?: string;
                          taxTypeCode?: string;
                      }[];
                      totalAmount?: { amount?: string; code?: string };
                      totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                      totalTaxAmount?: { amount?: string; code?: string };
                  };
              }[];
              formsOfPayment?: {
                  amount: { amount?: string; code?: string };
                  id: string;
                  orderItemRefIds?: string[];
                  payer?: {
                      payerEmailAddress?: { address?: string; id?: string; label?: string };
                      payerName?: {
                          individualName: {
                              birthdate?: string;
                              birthplace?: string;
                              documentNumber?: string;
                              genderCode?: string;
                              givenName?: string;
                              middleName?: string;
                              suffixName?: string;
                              surname: string;
                              titleName?: string;
                          };
                      };
                      payerPhoneNumber?: {
                          cityCode?: string;
                          countryCode?: string;
                          id?: string;
                          label?: string;
                          number?: string;
                      };
                      paymentAddress?: {
                          buildingRoom?: string;
                          cityName?: string;
                          countryCode?: string;
                          label?: "AddressAtOrigin"
                          | "AddressAtDestination";
                          postalCode?: string;
                          postOfficeBoxCode?: string;
                          stateProvinceCode?: string;
                          street?: string[];
                      };
                  };
                  paymentMethod: {
                      paymentAgencyAccount?: {
                          approvalCode?: string;
                          code?: string;
                          supplierTransactionId?: string;
                          transactionId?: string;
                      };
                      paymentCard?: {
                          approvalCode?: string;
                          cardHolderAddress?: {
                              buildingRoom?: string;
                              cityName?: string;
                              countryCode?: string;
                              label?: "AddressAtOrigin"
                              | "AddressAtDestination";
                              postalCode?: string;
                              postOfficeBoxCode?: string;
                              stateProvinceCode?: string;
                              street?: string[];
                          };
                          cardHolderName?: string;
                          cardNumber?: string;
                          cardNumberToken?: string;
                          contactInfoRefId?: string;
                          cvv?: string;
                          cvvToken?: string;
                          expirationDate?: string;
                          securePaymentVersion2?: {
                              authenticationMerchantName?: string;
                              authenticationTokenValue?: string;
                              authenticationValueText?: string;
                              cardNumberCollectionCode?: string;
                              directoryServerTrxID?: string;
                              electronicCommerceIndText?: string;
                              payerAuthenticationExemptionCode?: string;
                              payerAuthenticationFailureToCompleteCode?: string;
                              paymentTrxChannelCode?: string;
                              programProtocolText?: string;
                              trxStatusReasonText?: string;
                              trxStatusText?: string;
                              verificationResult?: string;
                          };
                          vendorCode?: string;
                      };
                      paymentCash?: Record<string, never>;
                      paymentReferenceFormOfPayment?: {
                          cardHolderAddress?: {
                              buildingRoom?: string;
                              cityName?: string;
                              countryCode?: string;
                              label?: "AddressAtOrigin" | "AddressAtDestination";
                              postalCode?: string;
                              postOfficeBoxCode?: string;
                              stateProvinceCode?: string;
                              street?: string[];
                          };
                          cardHolderName?: string;
                          contactInfoRefId?: string;
                          cvv?: string;
                          referenceId?: string;
                          securePaymentVersion2?: {
                              authenticationMerchantName?: string;
                              authenticationTokenValue?: string;
                              authenticationValueText?: string;
                              cardNumberCollectionCode?: string;
                              directoryServerTrxID?: string;
                              electronicCommerceIndText?: string;
                              payerAuthenticationExemptionCode?: string;
                              payerAuthenticationFailureToCompleteCode?: string;
                              paymentTrxChannelCode?: string;
                              programProtocolText?: string;
                              trxStatusReasonText?: string;
                              trxStatusText?: string;
                              verificationResult?: string;
                          };
                      };
                      paymentTypeCode?: string;
                  };
                  useTypes?: string[];
              }[];
              id?: string;
              itineraryMismatchedWithTickets?: boolean;
              journeys?: { id?: string; segmentRefIds?: string[] }[];
              loyaltyProgramAccount?: {
                  accountNumber?: string;
                  carrier?: { carrierCode: string };
                  id?: string;
                  programCode?: string;
                  programName?: string;
              };
              nameMismatchedWithTickets?: boolean;
              offerVendor?: string;
              orderItems?: {
                  commissions?: {
                      amount?: { amount?: string; code?: string };
                      code?: string;
                      descriptions?: string[];
                      passengerRefIds?: string[];
                      percentage?: number;
                  }[];
                  creationDateTime?: string;
                  externalId?: string;
                  externalOfferItemId?: string;
                  externalOrderRefId?: string;
                  fareDetails?: {
                      fareCalculationLine?: string;
                      fareComponents?: {
                          accountCode?: string;
                          cabinTypeCode?: string;
                          cabinTypeName?: string;
                          fareBasisCityPair?: string;
                          fareBasisCode?: string;
                          fareCode?: string;
                          fareDescription?: string;
                          fareRecognizedType?: | "Other"
                          | "Public"
                          | "Private"
                          | "Negotiated"
                          | "Corporate"
                          | "Unrecognized";
                          fareRules?: { penaltyRefIds?: string[] };
                          fareSourceCarrier?: string;
                          fareType?: string;
                          fareVendor?: string;
                          price?: {
                              baseAmount?: { amount?: string; code?: string };
                              equivAmount?: { amount?: string; code?: string };
                              feeBreakdowns?: { amount?: ...; description?: ...; refundable?: ... }[];
                              nonRefundableBaseAmount?: { amount?: string; code?: string };
                              surcharges?: { breakdown?: ...; totalAmount?: ... }[];
                              taxBreakdowns?: {
                                  amount?: ...;
                                  collectionInd?: ...;
                                  countryCode?: ...;
                                  description?: ...;
                                  refundable?: ...;
                                  taxCode?: ...;
                                  taxTypeCode?: ...;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                              totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                              totalTaxAmount?: { amount?: string; code?: string };
                          };
                          priceClassRef?: string;
                          ruleNumber?: string;
                          segmentRefIds?: string[];
                          tariffNumber?: string;
                          type?: "O"
                          | "X"
                          | "R";
                      }[];
                      fareIndicatorCode?: string;
                      fareQualifiers?: string[];
                      filedFareInd?: boolean;
                      paxRefIds?: string[];
                      penaltyDifferential?: {
                          baseAmount?: { amount?: string; code?: string };
                          taxSummary?: {
                              allRefundableInd?: boolean;
                              taxes?: {
                                  amount?: ...;
                                  collectionInd?: ...;
                                  countryCode?: ...;
                                  description?: ...;
                                  refundable?: ...;
                                  taxCode?: ...;
                                  taxTypeCode?: ...;
                              }[];
                              totalTaxAmount?: { amount?: string; code?: string };
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                      };
                      price?: {
                          baseAmount?: { amount?: string; code?: string };
                          equivAmount?: { amount?: string; code?: string };
                          feeBreakdowns?: {
                              amount?: { amount?: string; code?: string; taxable?: boolean };
                              description?: string;
                              refundable?: boolean;
                          }[];
                          nonRefundableBaseAmount?: { amount?: string; code?: string };
                          surcharges?: {
                              breakdown?: {
                                  amount?: ...;
                                  description?: ...;
                                  designatorCode?: ...;
                                  localAmount?: ...;
                                  refundable?: ...;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                          }[];
                          taxBreakdowns?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                          totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                          totalTaxAmount?: { amount?: string; code?: string };
                      };
                      priceDifferential?: {
                          diffPrice?: {
                              price?: {
                                  balanceAmount?: { amount?: string; code?: string };
                                  taxAllRefundableInd?: boolean;
                                  taxBreakdowns?: {
                                      amount?: ...;
                                      collectionInd?: ...;
                                      countryCode?: ...;
                                      description?: ...;
                                      refundable?: ...;
                                      taxCode?: ...;
                                      taxTypeCode?: ...;
                                  }[];
                                  totalAmount?: { amount?: string; code?: string };
                                  totalTaxAmount?: { amount?: string; code?: string };
                              };
                          };
                      };
                      remarks?: { displayInd?: boolean; text?: string; type?: string }[];
                      tourCode?: string;
                  }[];
                  fees?: {
                      applied?: boolean;
                      basePrice?: { amount?: string; code?: string };
                      description?: string;
                      passengerRefIds?: string[];
                      percentageValue?: string;
                      price?: { amount?: string; code?: string };
                      refundable?: boolean;
                      serviceCode?: string;
                      subCode?: string;
                      taxBreakdowns?: {
                          amount?: { amount?: string; code?: string };
                          collectionInd?: boolean;
                          countryCode?: string;
                          description?: string;
                          refundable?: boolean;
                          taxCode?: string;
                          taxTypeCode?: string;
                      }[];
                      totalTaxAmount?: { amount?: string; code?: string };
                  }[];
                  feeWarnings?: { owner?: string; text?: string }[];
                  id?: string;
                  itemOrigin?: "SELL" | "EXCHANGE" | "SYNCHRONIZATION";
                  offerCustomerInformation?: {
                      agencyInformation?: {
                          agentCityCode?: string;
                          agentDeptCode?: string;
                          agentDuty?: string;
                          agentFunction?: string;
                          carrierCode?: string;
                          mainTravelAgencyPCC?: string;
                      };
                      billingInformation?: {
                          aaaCity?: string;
                          actionCode?: string;
                          agentSineIn?: string;
                          partitionID?: string;
                          pseudoCityCode?: string;
                          userSetAddress?: string;
                      };
                  };
                  offerItemId?: string;
                  origin?: string;
                  originatedFromTicketExchangeInd?: boolean;
                  paymentTimeLimit?: string;
                  paymentTimeLimitText?: string;
                  penaltyDifferential?: {
                      baseAmount?: { amount?: string; code?: string };
                      taxSummary?: {
                          allRefundableInd?: boolean;
                          taxes?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalTaxAmount?: { amount?: string; code?: string };
                      }[];
                      totalAmount?: { amount?: string; code?: string };
                  };
                  price?: {
                      baseAmount?: { amount?: string; code?: string };
                      equivAmount?: { amount?: string; code?: string };
                      feeBreakdowns?: {
                          amount?: { amount?: string; code?: string; taxable?: boolean };
                          description?: string;
                          refundable?: boolean;
                      }[];
                      nonRefundableBaseAmount?: { amount?: string; code?: string };
                      surcharges?: {
                          breakdown?: {
                              amount?: { amount?: string; code?: string };
                              description?: string;
                              designatorCode?: string;
                              localAmount?: { amount?: string; code?: string };
                              refundable?: boolean;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                      }[];
                      taxBreakdowns?: {
                          amount?: { amount?: string; code?: string };
                          collectionInd?: boolean;
                          countryCode?: string;
                          description?: string;
                          refundable?: boolean;
                          taxCode?: string;
                          taxTypeCode?: string;
                      }[];
                      totalAmount?: { amount?: string; code?: string };
                      totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                      totalTaxAmount?: { amount?: string; code?: string };
                  };
                  priceDifferential?: {
                      diffPrice?: {
                          price?: {
                              balanceAmount?: { amount?: string; code?: string };
                              taxAllRefundableInd?: boolean;
                              taxBreakdowns?: {
                                  amount?: { amount?: string; code?: string };
                                  collectionInd?: boolean;
                                  countryCode?: string;
                                  description?: string;
                                  refundable?: boolean;
                                  taxCode?: string;
                                  taxTypeCode?: string;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                              totalTaxAmount?: { amount?: string; code?: string };
                          };
                      };
                  };
                  priceGuaranteeTimeLimit?: string;
                  priceGuaranteeTimeLimitText?: string;
                  productRefIds?: string[];
                  sellerFollowUpAction?: { actionCodes?: string[] };
                  services?: {
                      externalId?: string;
                      externalOrderItemId?: string;
                      id?: string;
                      passengerRefId?: string;
                      pnrSegmentNumber?: number;
                      segmentRefId?: string;
                      selectedSeat?: {
                          characteristics?: string[];
                          column?: string;
                          descriptions?: string[];
                          pitchMeasure?: { unitCode?: string; value?: string };
                          row?: string;
                          segmentRefId?: string;
                          widthMeasure?: { unitCode?: string; value?: string };
                      };
                      serviceDefinitionRefId?: string;
                      statusCode?: string;
                  }[];
                  statusCode?: string;
                  validatingCarrierCode?: string;
              }[];
              orderOwner?: string;
              partition?: string;
              passengers?: {
                  age?: number;
                  ageUnitCode?: string;
                  birthdate?: string;
                  citizenshipCountryCode?: string;
                  contactInfoRefId?: string;
                  contactInfoRefIds?: string[];
                  employer?: {
                      name?: string;
                      taxRegistrationData: {
                          address?: {
                              cityName?: string;
                              postalCode?: string;
                              street?: string[];
                          };
                          countryCode?: string;
                          countrySubDivisionName?: string;
                          emailAddress?: string;
                          phones?: {
                              cityCode?: string;
                              countryCode?: string;
                              id?: string;
                              label?: string;
                              number?: string;
                          }[];
                          taxRegistrationId: string;
                      }[];
                  };
                  externalId?: string;
                  genderCode?: string;
                  givenName?: string;
                  id?: string;
                  identityDocuments?: {
                      birthdate?: string;
                      birthplace?: string;
                      citizenshipCountryCode?: string;
                      documentNumber?: string;
                      documentSubTypeCode?: string;
                      documentTypeCode?: string;
                      entryQuantity?: string;
                      expiryDate?: string;
                      genderCode?: string;
                      givenName?: string;
                      id?: string;
                      issueDate?: string;
                      issuingCountryCode?: string;
                      middleName?: string;
                      placeOfIssue?: string;
                      referencedDocumentNumbers?: string[];
                      residenceCountryCode?: string;
                      stayDuration?: string;
                      suffixName?: string;
                      surname?: string;
                      titleName?: string;
                      visaHostCountryCode?: string;
                  }[];
                  loyaltyProgramAccounts?: {
                      accountNumber?: string;
                      carrier?: { carrierCode: string };
                      id?: string;
                      programCode?: string;
                      programName?: string;
                  }[];
                  middleName?: string;
                  passengerReference?: string;
                  remarks?: { id?: string; text?: string; type?: string }[];
                  suffixName?: string;
                  surname?: string;
                  titleName?: string;
                  typeCode?: string;
              }[];
              paymentInformation?: {
                  amount: { amount?: string; code?: string };
                  id: string;
                  orderItemRefIds?: string[];
                  payer?: {
                      payerEmailAddress?: { address?: string; id?: string; label?: string };
                      payerName?: {
                          individualName: {
                              birthdate?: string;
                              birthplace?: string;
                              documentNumber?: string;
                              genderCode?: string;
                              givenName?: string;
                              middleName?: string;
                              suffixName?: string;
                              surname: string;
                              titleName?: string;
                          };
                      };
                      payerPhoneNumber?: {
                          cityCode?: string;
                          countryCode?: string;
                          id?: string;
                          label?: string;
                          number?: string;
                      };
                      paymentAddress?: {
                          buildingRoom?: string;
                          cityName?: string;
                          countryCode?: string;
                          label?: "AddressAtOrigin"
                          | "AddressAtDestination";
                          postalCode?: string;
                          postOfficeBoxCode?: string;
                          stateProvinceCode?: string;
                          street?: string[];
                      };
                  };
                  paymentMethod: {
                      paymentAgencyAccount?: {
                          approvalCode?: string;
                          code?: string;
                          supplierTransactionId?: string;
                          transactionId?: string;
                      };
                      paymentCard?: {
                          approvalCode?: string;
                          cardHolderAddress?: {
                              buildingRoom?: string;
                              cityName?: string;
                              countryCode?: string;
                              label?: "AddressAtOrigin"
                              | "AddressAtDestination";
                              postalCode?: string;
                              postOfficeBoxCode?: string;
                              stateProvinceCode?: string;
                              street?: string[];
                          };
                          cardHolderName?: string;
                          cardNumber?: string;
                          cardNumberToken?: string;
                          contactInfoRefId?: string;
                          cvv?: string;
                          cvvToken?: string;
                          expirationDate?: string;
                          securePaymentVersion2?: {
                              authenticationMerchantName?: string;
                              authenticationTokenValue?: string;
                              authenticationValueText?: string;
                              cardNumberCollectionCode?: string;
                              directoryServerTrxID?: string;
                              electronicCommerceIndText?: string;
                              payerAuthenticationExemptionCode?: string;
                              payerAuthenticationFailureToCompleteCode?: string;
                              paymentTrxChannelCode?: string;
                              programProtocolText?: string;
                              trxStatusReasonText?: string;
                              trxStatusText?: string;
                              verificationResult?: string;
                          };
                          vendorCode?: string;
                      };
                      paymentCash?: Record<string, never>;
                      paymentReferenceFormOfPayment?: {
                          cardHolderAddress?: {
                              buildingRoom?: string;
                              cityName?: string;
                              countryCode?: string;
                              label?: "AddressAtOrigin" | "AddressAtDestination";
                              postalCode?: string;
                              postOfficeBoxCode?: string;
                              stateProvinceCode?: string;
                              street?: string[];
                          };
                          cardHolderName?: string;
                          contactInfoRefId?: string;
                          cvv?: string;
                          referenceId?: string;
                          securePaymentVersion2?: {
                              authenticationMerchantName?: string;
                              authenticationTokenValue?: string;
                              authenticationValueText?: string;
                              cardNumberCollectionCode?: string;
                              directoryServerTrxID?: string;
                              electronicCommerceIndText?: string;
                              payerAuthenticationExemptionCode?: string;
                              payerAuthenticationFailureToCompleteCode?: string;
                              paymentTrxChannelCode?: string;
                              programProtocolText?: string;
                              trxStatusReasonText?: string;
                              trxStatusText?: string;
                              verificationResult?: string;
                          };
                      };
                      paymentTypeCode?: string;
                  };
                  useTypes?: string[];
              }[];
              paymentTimeLimit?: string;
              paymentTimeLimitText?: string;
              penalties?: {
                  applicabilityList?: string[];
                  description?: string;
                  feeAmount?: string;
                  feeCurrencyCode?: string;
                  hasFee?: boolean;
                  id?: string;
                  isAllowed?: boolean;
                  type?: string;
              }[];
              pnrCreateDate?: string;
              pnrLocator?: string;
              priceClasses?: {
                  code?: string;
                  descriptions?: { id?: string; text?: string }[];
                  id?: string;
                  name?: string;
              }[];
              primeHost?: string;
              products?: {
                  airSegment?: {
                      actionCode?: string;
                      arrivalAirport?: string;
                      arrivalDateTime?: string;
                      departureAirport?: string;
                      departureDateTime?: string;
                      legs?: {
                          arrivalAirport?: string;
                          arrivalDateTime?: string;
                          departureAirport?: string;
                          departureDateTime?: string;
                          marketingCarrier?: {
                              airlineCode?: string;
                              banner?: string;
                              bookingClass?: string;
                              flightNumber?: string;
                              name?: string;
                          };
                          operatingCarrier?: {
                              airlineCode?: string;
                              banner?: string;
                              bookingClass?: string;
                              flightNumber?: string;
                              name?: string;
                          };
                      }[];
                      marketingCarrier?: {
                          airlineCode?: string;
                          banner?: string;
                          bookingClass?: string;
                          flightNumber?: string;
                          name?: string;
                      };
                      operatingCarrier?: {
                          airlineCode?: string;
                          banner?: string;
                          bookingClass?: string;
                          flightNumber?: string;
                          name?: string;
                      };
                  };
                  id?: string;
              }[];
              pseudoCityCode?: string;
              remarks?: { id?: string; text?: string; type?: string }[];
              segments?: {
                  arnkInd?: boolean;
                  arrival?: {
                      gateId?: string;
                      locationCode?: string;
                      scheduledDateTime?: string;
                      stationName?: string;
                      terminalName?: string;
                  };
                  cabinTypeCode?: string;
                  datedOperatingLegs?: {
                      arrival?: {
                          gateId?: string;
                          locationCode?: string;
                          scheduledDateTime?: string;
                          stationName?: string;
                          terminalName?: string;
                      };
                      carrierAircraftType?: { code?: string; name?: string };
                      changeOfGaugeInd?: boolean;
                      departure?: {
                          gateId?: string;
                          locationCode?: string;
                          scheduledDateTime?: string;
                          stationName?: string;
                          terminalName?: string;
                      };
                      distanceMeasure?: { unitCode?: string; value?: number };
                      onGroundDuration?: string;
                  }[];
                  departure?: {
                      gateId?: string;
                      locationCode?: string;
                      scheduledDateTime?: string;
                      stationName?: string;
                      terminalName?: string;
                  };
                  distanceMeasure?: { unitCode?: string; value?: number };
                  flightDuration?: string;
                  id?: string;
                  marketingCarrier?: {
                      carrierCode?: string;
                      carrierName?: string;
                      classOfService?: string;
                      disclosure?: { id?: string; text?: string[] };
                      flightNumber?: number;
                  };
                  operatingCarrier?: {
                      carrierCode?: string;
                      carrierName?: string;
                      classOfService?: string;
                      disclosure?: { id?: string; text?: string[] };
                      flightNumber?: number;
                  };
                  references?: { id?: string; system?: string }[];
              }[];
              serviceDefinitions?: {
                  baggageAllowanceRefId?: string;
                  bookingInstructions?: {
                      productText?: string;
                      productTextDetails?: {
                          description?: string;
                          key: string;
                          value: string;
                      }[];
                      specialServices?: { freeText?: string; specialServiceCode?: string }[];
                  };
                  cabinUpgrade?: {
                      methodCode?: string;
                      reservationBookingDesignator?: string;
                  };
                  descriptions?: { id?: string; text?: string }[];
                  externalId?: string;
                  groupCode?: string;
                  id?: string;
                  name?: string;
                  ownerCode?: string;
                  reasonForIssuanceCode?: string;
                  reasonForIssuanceSubCode?: string;
                  serviceCode?: string;
                  settlementMethodCode?: string;
              }[];
              ticketingDocumentInfo?: {
                  document?: {
                      coupons?: {
                          consumedAtIssuanceInd?: boolean;
                          exchangeEligibilityInd?: boolean;
                          inConnectionCouponNumber?: string;
                          inConnectionDocumentNumber?: string;
                          involuntaryIndicatorCode?: string;
                          number?: number;
                          orderItemRefId?: string;
                          presentAt?: string;
                          presentTo?: string;
                          reasonForIssuanceCode?: string;
                          reasonForIssuanceSubCode?: string;
                          segmentInfo?: {
                              arrivalAirport?: string;
                              arrivalTime?: string;
                              classOfService?: string;
                              departureAirport?: string;
                              departureTime?: string;
                              flightNumber?: number;
                              marketingAirlineCode?: string;
                          };
                          serviceCode?: string;
                          serviceRefId?: string;
                          settlementAuthCode?: string;
                          status?: string;
                      }[];
                      exchangeEligibilityInd?: boolean;
                      inConnectionDocumentNumber?: string;
                      issueDateTime?: string;
                      issueDateTimeComment?: string;
                      issueDateTimeText?: string;
                      number?: string;
                      numberOfBooklets?: number;
                      outOfSyncWithOrderItem?: boolean;
                      primaryDocumentInd?: boolean;
                      remarkText?: string;
                      reportingType?: string;
                      routingCode?: string;
                      ticketingLocation?: string;
                      type?: string;
                      voidEligibilityInd?: boolean;
                      voidPeriodExpirationDateTime?: string;
                  };
                  originalIssueInfo?: {
                      issueDate?: string;
                      issuingAgentId?: string;
                      locationCode?: string;
                      ticketNumber?: string;
                  };
                  paxRefId?: string;
                  price?: {
                      baseAmount?: { amount?: string; code?: string };
                      equivAmount?: { amount?: string; code?: string };
                      feeBreakdowns?: {
                          amount?: { amount?: string; code?: string; taxable?: boolean };
                          description?: string;
                          refundable?: boolean;
                      }[];
                      nonRefundableBaseAmount?: { amount?: string; code?: string };
                      surcharges?: {
                          breakdown?: {
                              amount?: { amount?: string; code?: string };
                              description?: string;
                              designatorCode?: string;
                              localAmount?: { amount?: string; code?: string };
                              refundable?: boolean;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                      }[];
                      taxBreakdowns?: {
                          amount?: { amount?: string; code?: string };
                          collectionInd?: boolean;
                          countryCode?: string;
                          description?: string;
                          refundable?: boolean;
                          taxCode?: string;
                          taxTypeCode?: string;
                      }[];
                      totalAmount?: { amount?: string; code?: string };
                      totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                      totalTaxAmount?: { amount?: string; code?: string };
                  };
              }[];
              totalPrice?: {
                  baseAmount?: { amount?: string; code?: string };
                  equivAmount?: { amount?: string; code?: string };
                  feeBreakdowns?: {
                      amount?: { amount?: string; code?: string; taxable?: boolean };
                      description?: string;
                      refundable?: boolean;
                  }[];
                  nonRefundableBaseAmount?: { amount?: string; code?: string };
                  surcharges?: {
                      breakdown?: {
                          amount?: { amount?: string; code?: string };
                          description?: string;
                          designatorCode?: string;
                          localAmount?: { amount?: string; code?: string };
                          refundable?: boolean;
                      }[];
                      totalAmount?: { amount?: string; code?: string };
                  }[];
                  taxBreakdowns?: {
                      amount?: { amount?: string; code?: string };
                      collectionInd?: boolean;
                      countryCode?: string;
                      description?: string;
                      refundable?: boolean;
                      taxCode?: string;
                      taxTypeCode?: string;
                  }[];
                  totalAmount?: { amount?: string; code?: string };
                  totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                  totalTaxAmount?: { amount?: string; code?: string };
              };
              type?: string;
          };
          warnings?: { code?: string; message?: string }[];
      }

      • Optionalerrors?: { code?: string; message?: string }[]

        Contains information related to errors detected during processing of the preceding request.

      • Optionalorder?: {
            airlineRemarks?: {
                id?: string;
                passengerRefIds?: string[];
                text?: string;
            }[];
            auxiliaryData?: {
                pnrNameReferenceNumbers?: {
                    nameReferenceNumber?: string;
                    passengerRefId?: string;
                }[];
            };
            baggageAllowances?: {
                applicableParty?: string;
                baggageDeterminingCarrier?: { carrierCode?: string };
                dimensionAllowances?: {
                    baggageDimensionCategory?: string;
                    maximumMeasure?: { unitCode?: string; value?: string };
                    minimumMeasure?: { unitCode?: string; value?: string };
                }[];
                externalId?: string;
                id?: string;
                pieceAllowances?: { applicableParty?: string; totalQuantity?: number }[];
                typeCode?: "CarryOn" | "Checked";
                weightAllowances?: {
                    maximumMeasure?: { unitCode?: string; value?: string };
                }[];
            }[];
            changeFee?: {
                differentialAmountDue?: { amount?: string; code?: string };
                differentialAmountDueTaxSummary?: {
                    allRefundableInd?: boolean;
                    taxes?: {
                        amount?: { amount?: string; code?: string };
                        collectionInd?: boolean;
                        countryCode?: string;
                        description?: string;
                        refundable?: boolean;
                        taxCode?: string;
                        taxTypeCode?: string;
                    }[];
                    totalTaxAmount?: { amount?: string; code?: string };
                };
                penaltyAmount?: { amount?: string; code?: string };
                typeCode?: string;
            };
            contactInfos?: {
                contactRefusedIndicator?: boolean;
                contactType?: string;
                emailAddresses?: { address?: string; id?: string; label?: string }[];
                givenName?: string;
                id?: string;
                phones?: {
                    cityCode?: string;
                    countryCode?: string;
                    id?: string;
                    label?: string;
                    number?: string;
                }[];
                postalAddresses?: {
                    buildingRoom?: string;
                    cityName?: string;
                    countryCode?: string;
                    label?: "AddressAtOrigin"
                    | "AddressAtDestination";
                    postalCode?: string;
                    postOfficeBoxCode?: string;
                    stateProvinceCode?: string;
                    street?: string[];
                }[];
                surname?: string;
            }[];
            corporateId?: string;
            countryCode?: string;
            customerNumber?: { number?: string };
            externalOrders?: {
                airSegmentInformations?: {
                    arrivalAirport?: string;
                    arrivalTime?: string;
                    classOfService?: string;
                    departureAirport?: string;
                    departureTime?: string;
                    flightNumber?: number;
                    marketingAirlineCode?: string;
                }[];
                bookingReferences?: {
                    carrierCode?: string;
                    createDate?: string;
                    id?: string;
                    typeCode?: string;
                }[];
                externalOrderCreateDateTime?: string;
                externalOrderId?: string;
                id?: string;
                systemId?: string;
                totalPrice?: {
                    baseAmount?: { amount?: string; code?: string };
                    equivAmount?: { amount?: string; code?: string };
                    feeBreakdowns?: {
                        amount?: { amount?: string; code?: string; taxable?: boolean };
                        description?: string;
                        refundable?: boolean;
                    }[];
                    nonRefundableBaseAmount?: { amount?: string; code?: string };
                    surcharges?: {
                        breakdown?: {
                            amount?: { amount?: string; code?: string };
                            description?: string;
                            designatorCode?: string;
                            localAmount?: { amount?: string; code?: string };
                            refundable?: boolean;
                        }[];
                        totalAmount?: { amount?: string; code?: string };
                    }[];
                    taxBreakdowns?: {
                        amount?: { amount?: string; code?: string };
                        collectionInd?: boolean;
                        countryCode?: string;
                        description?: string;
                        refundable?: boolean;
                        taxCode?: string;
                        taxTypeCode?: string;
                    }[];
                    totalAmount?: { amount?: string; code?: string };
                    totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                    totalTaxAmount?: { amount?: string; code?: string };
                };
            }[];
            formsOfPayment?: {
                amount: { amount?: string; code?: string };
                id: string;
                orderItemRefIds?: string[];
                payer?: {
                    payerEmailAddress?: { address?: string; id?: string; label?: string };
                    payerName?: {
                        individualName: {
                            birthdate?: string;
                            birthplace?: string;
                            documentNumber?: string;
                            genderCode?: string;
                            givenName?: string;
                            middleName?: string;
                            suffixName?: string;
                            surname: string;
                            titleName?: string;
                        };
                    };
                    payerPhoneNumber?: {
                        cityCode?: string;
                        countryCode?: string;
                        id?: string;
                        label?: string;
                        number?: string;
                    };
                    paymentAddress?: {
                        buildingRoom?: string;
                        cityName?: string;
                        countryCode?: string;
                        label?: "AddressAtOrigin"
                        | "AddressAtDestination";
                        postalCode?: string;
                        postOfficeBoxCode?: string;
                        stateProvinceCode?: string;
                        street?: string[];
                    };
                };
                paymentMethod: {
                    paymentAgencyAccount?: {
                        approvalCode?: string;
                        code?: string;
                        supplierTransactionId?: string;
                        transactionId?: string;
                    };
                    paymentCard?: {
                        approvalCode?: string;
                        cardHolderAddress?: {
                            buildingRoom?: string;
                            cityName?: string;
                            countryCode?: string;
                            label?: "AddressAtOrigin"
                            | "AddressAtDestination";
                            postalCode?: string;
                            postOfficeBoxCode?: string;
                            stateProvinceCode?: string;
                            street?: string[];
                        };
                        cardHolderName?: string;
                        cardNumber?: string;
                        cardNumberToken?: string;
                        contactInfoRefId?: string;
                        cvv?: string;
                        cvvToken?: string;
                        expirationDate?: string;
                        securePaymentVersion2?: {
                            authenticationMerchantName?: string;
                            authenticationTokenValue?: string;
                            authenticationValueText?: string;
                            cardNumberCollectionCode?: string;
                            directoryServerTrxID?: string;
                            electronicCommerceIndText?: string;
                            payerAuthenticationExemptionCode?: string;
                            payerAuthenticationFailureToCompleteCode?: string;
                            paymentTrxChannelCode?: string;
                            programProtocolText?: string;
                            trxStatusReasonText?: string;
                            trxStatusText?: string;
                            verificationResult?: string;
                        };
                        vendorCode?: string;
                    };
                    paymentCash?: Record<string, never>;
                    paymentReferenceFormOfPayment?: {
                        cardHolderAddress?: {
                            buildingRoom?: string;
                            cityName?: string;
                            countryCode?: string;
                            label?: "AddressAtOrigin" | "AddressAtDestination";
                            postalCode?: string;
                            postOfficeBoxCode?: string;
                            stateProvinceCode?: string;
                            street?: string[];
                        };
                        cardHolderName?: string;
                        contactInfoRefId?: string;
                        cvv?: string;
                        referenceId?: string;
                        securePaymentVersion2?: {
                            authenticationMerchantName?: string;
                            authenticationTokenValue?: string;
                            authenticationValueText?: string;
                            cardNumberCollectionCode?: string;
                            directoryServerTrxID?: string;
                            electronicCommerceIndText?: string;
                            payerAuthenticationExemptionCode?: string;
                            payerAuthenticationFailureToCompleteCode?: string;
                            paymentTrxChannelCode?: string;
                            programProtocolText?: string;
                            trxStatusReasonText?: string;
                            trxStatusText?: string;
                            verificationResult?: string;
                        };
                    };
                    paymentTypeCode?: string;
                };
                useTypes?: string[];
            }[];
            id?: string;
            itineraryMismatchedWithTickets?: boolean;
            journeys?: { id?: string; segmentRefIds?: string[] }[];
            loyaltyProgramAccount?: {
                accountNumber?: string;
                carrier?: { carrierCode: string };
                id?: string;
                programCode?: string;
                programName?: string;
            };
            nameMismatchedWithTickets?: boolean;
            offerVendor?: string;
            orderItems?: {
                commissions?: {
                    amount?: { amount?: string; code?: string };
                    code?: string;
                    descriptions?: string[];
                    passengerRefIds?: string[];
                    percentage?: number;
                }[];
                creationDateTime?: string;
                externalId?: string;
                externalOfferItemId?: string;
                externalOrderRefId?: string;
                fareDetails?: {
                    fareCalculationLine?: string;
                    fareComponents?: {
                        accountCode?: string;
                        cabinTypeCode?: string;
                        cabinTypeName?: string;
                        fareBasisCityPair?: string;
                        fareBasisCode?: string;
                        fareCode?: string;
                        fareDescription?: string;
                        fareRecognizedType?: | "Other"
                        | "Public"
                        | "Private"
                        | "Negotiated"
                        | "Corporate"
                        | "Unrecognized";
                        fareRules?: { penaltyRefIds?: string[] };
                        fareSourceCarrier?: string;
                        fareType?: string;
                        fareVendor?: string;
                        price?: {
                            baseAmount?: { amount?: string; code?: string };
                            equivAmount?: { amount?: string; code?: string };
                            feeBreakdowns?: { amount?: ...; description?: ...; refundable?: ... }[];
                            nonRefundableBaseAmount?: { amount?: string; code?: string };
                            surcharges?: { breakdown?: ...; totalAmount?: ... }[];
                            taxBreakdowns?: {
                                amount?: ...;
                                collectionInd?: ...;
                                countryCode?: ...;
                                description?: ...;
                                refundable?: ...;
                                taxCode?: ...;
                                taxTypeCode?: ...;
                            }[];
                            totalAmount?: { amount?: string; code?: string };
                            totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                            totalTaxAmount?: { amount?: string; code?: string };
                        };
                        priceClassRef?: string;
                        ruleNumber?: string;
                        segmentRefIds?: string[];
                        tariffNumber?: string;
                        type?: "O"
                        | "X"
                        | "R";
                    }[];
                    fareIndicatorCode?: string;
                    fareQualifiers?: string[];
                    filedFareInd?: boolean;
                    paxRefIds?: string[];
                    penaltyDifferential?: {
                        baseAmount?: { amount?: string; code?: string };
                        taxSummary?: {
                            allRefundableInd?: boolean;
                            taxes?: {
                                amount?: ...;
                                collectionInd?: ...;
                                countryCode?: ...;
                                description?: ...;
                                refundable?: ...;
                                taxCode?: ...;
                                taxTypeCode?: ...;
                            }[];
                            totalTaxAmount?: { amount?: string; code?: string };
                        }[];
                        totalAmount?: { amount?: string; code?: string };
                    };
                    price?: {
                        baseAmount?: { amount?: string; code?: string };
                        equivAmount?: { amount?: string; code?: string };
                        feeBreakdowns?: {
                            amount?: { amount?: string; code?: string; taxable?: boolean };
                            description?: string;
                            refundable?: boolean;
                        }[];
                        nonRefundableBaseAmount?: { amount?: string; code?: string };
                        surcharges?: {
                            breakdown?: {
                                amount?: ...;
                                description?: ...;
                                designatorCode?: ...;
                                localAmount?: ...;
                                refundable?: ...;
                            }[];
                            totalAmount?: { amount?: string; code?: string };
                        }[];
                        taxBreakdowns?: {
                            amount?: { amount?: string; code?: string };
                            collectionInd?: boolean;
                            countryCode?: string;
                            description?: string;
                            refundable?: boolean;
                            taxCode?: string;
                            taxTypeCode?: string;
                        }[];
                        totalAmount?: { amount?: string; code?: string };
                        totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                        totalTaxAmount?: { amount?: string; code?: string };
                    };
                    priceDifferential?: {
                        diffPrice?: {
                            price?: {
                                balanceAmount?: { amount?: string; code?: string };
                                taxAllRefundableInd?: boolean;
                                taxBreakdowns?: {
                                    amount?: ...;
                                    collectionInd?: ...;
                                    countryCode?: ...;
                                    description?: ...;
                                    refundable?: ...;
                                    taxCode?: ...;
                                    taxTypeCode?: ...;
                                }[];
                                totalAmount?: { amount?: string; code?: string };
                                totalTaxAmount?: { amount?: string; code?: string };
                            };
                        };
                    };
                    remarks?: { displayInd?: boolean; text?: string; type?: string }[];
                    tourCode?: string;
                }[];
                fees?: {
                    applied?: boolean;
                    basePrice?: { amount?: string; code?: string };
                    description?: string;
                    passengerRefIds?: string[];
                    percentageValue?: string;
                    price?: { amount?: string; code?: string };
                    refundable?: boolean;
                    serviceCode?: string;
                    subCode?: string;
                    taxBreakdowns?: {
                        amount?: { amount?: string; code?: string };
                        collectionInd?: boolean;
                        countryCode?: string;
                        description?: string;
                        refundable?: boolean;
                        taxCode?: string;
                        taxTypeCode?: string;
                    }[];
                    totalTaxAmount?: { amount?: string; code?: string };
                }[];
                feeWarnings?: { owner?: string; text?: string }[];
                id?: string;
                itemOrigin?: "SELL" | "EXCHANGE" | "SYNCHRONIZATION";
                offerCustomerInformation?: {
                    agencyInformation?: {
                        agentCityCode?: string;
                        agentDeptCode?: string;
                        agentDuty?: string;
                        agentFunction?: string;
                        carrierCode?: string;
                        mainTravelAgencyPCC?: string;
                    };
                    billingInformation?: {
                        aaaCity?: string;
                        actionCode?: string;
                        agentSineIn?: string;
                        partitionID?: string;
                        pseudoCityCode?: string;
                        userSetAddress?: string;
                    };
                };
                offerItemId?: string;
                origin?: string;
                originatedFromTicketExchangeInd?: boolean;
                paymentTimeLimit?: string;
                paymentTimeLimitText?: string;
                penaltyDifferential?: {
                    baseAmount?: { amount?: string; code?: string };
                    taxSummary?: {
                        allRefundableInd?: boolean;
                        taxes?: {
                            amount?: { amount?: string; code?: string };
                            collectionInd?: boolean;
                            countryCode?: string;
                            description?: string;
                            refundable?: boolean;
                            taxCode?: string;
                            taxTypeCode?: string;
                        }[];
                        totalTaxAmount?: { amount?: string; code?: string };
                    }[];
                    totalAmount?: { amount?: string; code?: string };
                };
                price?: {
                    baseAmount?: { amount?: string; code?: string };
                    equivAmount?: { amount?: string; code?: string };
                    feeBreakdowns?: {
                        amount?: { amount?: string; code?: string; taxable?: boolean };
                        description?: string;
                        refundable?: boolean;
                    }[];
                    nonRefundableBaseAmount?: { amount?: string; code?: string };
                    surcharges?: {
                        breakdown?: {
                            amount?: { amount?: string; code?: string };
                            description?: string;
                            designatorCode?: string;
                            localAmount?: { amount?: string; code?: string };
                            refundable?: boolean;
                        }[];
                        totalAmount?: { amount?: string; code?: string };
                    }[];
                    taxBreakdowns?: {
                        amount?: { amount?: string; code?: string };
                        collectionInd?: boolean;
                        countryCode?: string;
                        description?: string;
                        refundable?: boolean;
                        taxCode?: string;
                        taxTypeCode?: string;
                    }[];
                    totalAmount?: { amount?: string; code?: string };
                    totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                    totalTaxAmount?: { amount?: string; code?: string };
                };
                priceDifferential?: {
                    diffPrice?: {
                        price?: {
                            balanceAmount?: { amount?: string; code?: string };
                            taxAllRefundableInd?: boolean;
                            taxBreakdowns?: {
                                amount?: { amount?: string; code?: string };
                                collectionInd?: boolean;
                                countryCode?: string;
                                description?: string;
                                refundable?: boolean;
                                taxCode?: string;
                                taxTypeCode?: string;
                            }[];
                            totalAmount?: { amount?: string; code?: string };
                            totalTaxAmount?: { amount?: string; code?: string };
                        };
                    };
                };
                priceGuaranteeTimeLimit?: string;
                priceGuaranteeTimeLimitText?: string;
                productRefIds?: string[];
                sellerFollowUpAction?: { actionCodes?: string[] };
                services?: {
                    externalId?: string;
                    externalOrderItemId?: string;
                    id?: string;
                    passengerRefId?: string;
                    pnrSegmentNumber?: number;
                    segmentRefId?: string;
                    selectedSeat?: {
                        characteristics?: string[];
                        column?: string;
                        descriptions?: string[];
                        pitchMeasure?: { unitCode?: string; value?: string };
                        row?: string;
                        segmentRefId?: string;
                        widthMeasure?: { unitCode?: string; value?: string };
                    };
                    serviceDefinitionRefId?: string;
                    statusCode?: string;
                }[];
                statusCode?: string;
                validatingCarrierCode?: string;
            }[];
            orderOwner?: string;
            partition?: string;
            passengers?: {
                age?: number;
                ageUnitCode?: string;
                birthdate?: string;
                citizenshipCountryCode?: string;
                contactInfoRefId?: string;
                contactInfoRefIds?: string[];
                employer?: {
                    name?: string;
                    taxRegistrationData: {
                        address?: {
                            cityName?: string;
                            postalCode?: string;
                            street?: string[];
                        };
                        countryCode?: string;
                        countrySubDivisionName?: string;
                        emailAddress?: string;
                        phones?: {
                            cityCode?: string;
                            countryCode?: string;
                            id?: string;
                            label?: string;
                            number?: string;
                        }[];
                        taxRegistrationId: string;
                    }[];
                };
                externalId?: string;
                genderCode?: string;
                givenName?: string;
                id?: string;
                identityDocuments?: {
                    birthdate?: string;
                    birthplace?: string;
                    citizenshipCountryCode?: string;
                    documentNumber?: string;
                    documentSubTypeCode?: string;
                    documentTypeCode?: string;
                    entryQuantity?: string;
                    expiryDate?: string;
                    genderCode?: string;
                    givenName?: string;
                    id?: string;
                    issueDate?: string;
                    issuingCountryCode?: string;
                    middleName?: string;
                    placeOfIssue?: string;
                    referencedDocumentNumbers?: string[];
                    residenceCountryCode?: string;
                    stayDuration?: string;
                    suffixName?: string;
                    surname?: string;
                    titleName?: string;
                    visaHostCountryCode?: string;
                }[];
                loyaltyProgramAccounts?: {
                    accountNumber?: string;
                    carrier?: { carrierCode: string };
                    id?: string;
                    programCode?: string;
                    programName?: string;
                }[];
                middleName?: string;
                passengerReference?: string;
                remarks?: { id?: string; text?: string; type?: string }[];
                suffixName?: string;
                surname?: string;
                titleName?: string;
                typeCode?: string;
            }[];
            paymentInformation?: {
                amount: { amount?: string; code?: string };
                id: string;
                orderItemRefIds?: string[];
                payer?: {
                    payerEmailAddress?: { address?: string; id?: string; label?: string };
                    payerName?: {
                        individualName: {
                            birthdate?: string;
                            birthplace?: string;
                            documentNumber?: string;
                            genderCode?: string;
                            givenName?: string;
                            middleName?: string;
                            suffixName?: string;
                            surname: string;
                            titleName?: string;
                        };
                    };
                    payerPhoneNumber?: {
                        cityCode?: string;
                        countryCode?: string;
                        id?: string;
                        label?: string;
                        number?: string;
                    };
                    paymentAddress?: {
                        buildingRoom?: string;
                        cityName?: string;
                        countryCode?: string;
                        label?: "AddressAtOrigin"
                        | "AddressAtDestination";
                        postalCode?: string;
                        postOfficeBoxCode?: string;
                        stateProvinceCode?: string;
                        street?: string[];
                    };
                };
                paymentMethod: {
                    paymentAgencyAccount?: {
                        approvalCode?: string;
                        code?: string;
                        supplierTransactionId?: string;
                        transactionId?: string;
                    };
                    paymentCard?: {
                        approvalCode?: string;
                        cardHolderAddress?: {
                            buildingRoom?: string;
                            cityName?: string;
                            countryCode?: string;
                            label?: "AddressAtOrigin"
                            | "AddressAtDestination";
                            postalCode?: string;
                            postOfficeBoxCode?: string;
                            stateProvinceCode?: string;
                            street?: string[];
                        };
                        cardHolderName?: string;
                        cardNumber?: string;
                        cardNumberToken?: string;
                        contactInfoRefId?: string;
                        cvv?: string;
                        cvvToken?: string;
                        expirationDate?: string;
                        securePaymentVersion2?: {
                            authenticationMerchantName?: string;
                            authenticationTokenValue?: string;
                            authenticationValueText?: string;
                            cardNumberCollectionCode?: string;
                            directoryServerTrxID?: string;
                            electronicCommerceIndText?: string;
                            payerAuthenticationExemptionCode?: string;
                            payerAuthenticationFailureToCompleteCode?: string;
                            paymentTrxChannelCode?: string;
                            programProtocolText?: string;
                            trxStatusReasonText?: string;
                            trxStatusText?: string;
                            verificationResult?: string;
                        };
                        vendorCode?: string;
                    };
                    paymentCash?: Record<string, never>;
                    paymentReferenceFormOfPayment?: {
                        cardHolderAddress?: {
                            buildingRoom?: string;
                            cityName?: string;
                            countryCode?: string;
                            label?: "AddressAtOrigin" | "AddressAtDestination";
                            postalCode?: string;
                            postOfficeBoxCode?: string;
                            stateProvinceCode?: string;
                            street?: string[];
                        };
                        cardHolderName?: string;
                        contactInfoRefId?: string;
                        cvv?: string;
                        referenceId?: string;
                        securePaymentVersion2?: {
                            authenticationMerchantName?: string;
                            authenticationTokenValue?: string;
                            authenticationValueText?: string;
                            cardNumberCollectionCode?: string;
                            directoryServerTrxID?: string;
                            electronicCommerceIndText?: string;
                            payerAuthenticationExemptionCode?: string;
                            payerAuthenticationFailureToCompleteCode?: string;
                            paymentTrxChannelCode?: string;
                            programProtocolText?: string;
                            trxStatusReasonText?: string;
                            trxStatusText?: string;
                            verificationResult?: string;
                        };
                    };
                    paymentTypeCode?: string;
                };
                useTypes?: string[];
            }[];
            paymentTimeLimit?: string;
            paymentTimeLimitText?: string;
            penalties?: {
                applicabilityList?: string[];
                description?: string;
                feeAmount?: string;
                feeCurrencyCode?: string;
                hasFee?: boolean;
                id?: string;
                isAllowed?: boolean;
                type?: string;
            }[];
            pnrCreateDate?: string;
            pnrLocator?: string;
            priceClasses?: {
                code?: string;
                descriptions?: { id?: string; text?: string }[];
                id?: string;
                name?: string;
            }[];
            primeHost?: string;
            products?: {
                airSegment?: {
                    actionCode?: string;
                    arrivalAirport?: string;
                    arrivalDateTime?: string;
                    departureAirport?: string;
                    departureDateTime?: string;
                    legs?: {
                        arrivalAirport?: string;
                        arrivalDateTime?: string;
                        departureAirport?: string;
                        departureDateTime?: string;
                        marketingCarrier?: {
                            airlineCode?: string;
                            banner?: string;
                            bookingClass?: string;
                            flightNumber?: string;
                            name?: string;
                        };
                        operatingCarrier?: {
                            airlineCode?: string;
                            banner?: string;
                            bookingClass?: string;
                            flightNumber?: string;
                            name?: string;
                        };
                    }[];
                    marketingCarrier?: {
                        airlineCode?: string;
                        banner?: string;
                        bookingClass?: string;
                        flightNumber?: string;
                        name?: string;
                    };
                    operatingCarrier?: {
                        airlineCode?: string;
                        banner?: string;
                        bookingClass?: string;
                        flightNumber?: string;
                        name?: string;
                    };
                };
                id?: string;
            }[];
            pseudoCityCode?: string;
            remarks?: { id?: string; text?: string; type?: string }[];
            segments?: {
                arnkInd?: boolean;
                arrival?: {
                    gateId?: string;
                    locationCode?: string;
                    scheduledDateTime?: string;
                    stationName?: string;
                    terminalName?: string;
                };
                cabinTypeCode?: string;
                datedOperatingLegs?: {
                    arrival?: {
                        gateId?: string;
                        locationCode?: string;
                        scheduledDateTime?: string;
                        stationName?: string;
                        terminalName?: string;
                    };
                    carrierAircraftType?: { code?: string; name?: string };
                    changeOfGaugeInd?: boolean;
                    departure?: {
                        gateId?: string;
                        locationCode?: string;
                        scheduledDateTime?: string;
                        stationName?: string;
                        terminalName?: string;
                    };
                    distanceMeasure?: { unitCode?: string; value?: number };
                    onGroundDuration?: string;
                }[];
                departure?: {
                    gateId?: string;
                    locationCode?: string;
                    scheduledDateTime?: string;
                    stationName?: string;
                    terminalName?: string;
                };
                distanceMeasure?: { unitCode?: string; value?: number };
                flightDuration?: string;
                id?: string;
                marketingCarrier?: {
                    carrierCode?: string;
                    carrierName?: string;
                    classOfService?: string;
                    disclosure?: { id?: string; text?: string[] };
                    flightNumber?: number;
                };
                operatingCarrier?: {
                    carrierCode?: string;
                    carrierName?: string;
                    classOfService?: string;
                    disclosure?: { id?: string; text?: string[] };
                    flightNumber?: number;
                };
                references?: { id?: string; system?: string }[];
            }[];
            serviceDefinitions?: {
                baggageAllowanceRefId?: string;
                bookingInstructions?: {
                    productText?: string;
                    productTextDetails?: { description?: string; key: string; value: string }[];
                    specialServices?: { freeText?: string; specialServiceCode?: string }[];
                };
                cabinUpgrade?: {
                    methodCode?: string;
                    reservationBookingDesignator?: string;
                };
                descriptions?: { id?: string; text?: string }[];
                externalId?: string;
                groupCode?: string;
                id?: string;
                name?: string;
                ownerCode?: string;
                reasonForIssuanceCode?: string;
                reasonForIssuanceSubCode?: string;
                serviceCode?: string;
                settlementMethodCode?: string;
            }[];
            ticketingDocumentInfo?: {
                document?: {
                    coupons?: {
                        consumedAtIssuanceInd?: boolean;
                        exchangeEligibilityInd?: boolean;
                        inConnectionCouponNumber?: string;
                        inConnectionDocumentNumber?: string;
                        involuntaryIndicatorCode?: string;
                        number?: number;
                        orderItemRefId?: string;
                        presentAt?: string;
                        presentTo?: string;
                        reasonForIssuanceCode?: string;
                        reasonForIssuanceSubCode?: string;
                        segmentInfo?: {
                            arrivalAirport?: string;
                            arrivalTime?: string;
                            classOfService?: string;
                            departureAirport?: string;
                            departureTime?: string;
                            flightNumber?: number;
                            marketingAirlineCode?: string;
                        };
                        serviceCode?: string;
                        serviceRefId?: string;
                        settlementAuthCode?: string;
                        status?: string;
                    }[];
                    exchangeEligibilityInd?: boolean;
                    inConnectionDocumentNumber?: string;
                    issueDateTime?: string;
                    issueDateTimeComment?: string;
                    issueDateTimeText?: string;
                    number?: string;
                    numberOfBooklets?: number;
                    outOfSyncWithOrderItem?: boolean;
                    primaryDocumentInd?: boolean;
                    remarkText?: string;
                    reportingType?: string;
                    routingCode?: string;
                    ticketingLocation?: string;
                    type?: string;
                    voidEligibilityInd?: boolean;
                    voidPeriodExpirationDateTime?: string;
                };
                originalIssueInfo?: {
                    issueDate?: string;
                    issuingAgentId?: string;
                    locationCode?: string;
                    ticketNumber?: string;
                };
                paxRefId?: string;
                price?: {
                    baseAmount?: { amount?: string; code?: string };
                    equivAmount?: { amount?: string; code?: string };
                    feeBreakdowns?: {
                        amount?: { amount?: string; code?: string; taxable?: boolean };
                        description?: string;
                        refundable?: boolean;
                    }[];
                    nonRefundableBaseAmount?: { amount?: string; code?: string };
                    surcharges?: {
                        breakdown?: {
                            amount?: { amount?: string; code?: string };
                            description?: string;
                            designatorCode?: string;
                            localAmount?: { amount?: string; code?: string };
                            refundable?: boolean;
                        }[];
                        totalAmount?: { amount?: string; code?: string };
                    }[];
                    taxBreakdowns?: {
                        amount?: { amount?: string; code?: string };
                        collectionInd?: boolean;
                        countryCode?: string;
                        description?: string;
                        refundable?: boolean;
                        taxCode?: string;
                        taxTypeCode?: string;
                    }[];
                    totalAmount?: { amount?: string; code?: string };
                    totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                    totalTaxAmount?: { amount?: string; code?: string };
                };
            }[];
            totalPrice?: {
                baseAmount?: { amount?: string; code?: string };
                equivAmount?: { amount?: string; code?: string };
                feeBreakdowns?: {
                    amount?: { amount?: string; code?: string; taxable?: boolean };
                    description?: string;
                    refundable?: boolean;
                }[];
                nonRefundableBaseAmount?: { amount?: string; code?: string };
                surcharges?: {
                    breakdown?: {
                        amount?: { amount?: string; code?: string };
                        description?: string;
                        designatorCode?: string;
                        localAmount?: { amount?: string; code?: string };
                        refundable?: boolean;
                    }[];
                    totalAmount?: { amount?: string; code?: string };
                }[];
                taxBreakdowns?: {
                    amount?: { amount?: string; code?: string };
                    collectionInd?: boolean;
                    countryCode?: string;
                    description?: string;
                    refundable?: boolean;
                    taxCode?: string;
                    taxTypeCode?: string;
                }[];
                totalAmount?: { amount?: string; code?: string };
                totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                totalTaxAmount?: { amount?: string; code?: string };
            };
            type?: string;
        }

        Contains details of an NDC order.

        • OptionalairlineRemarks?: { id?: string; passengerRefIds?: string[]; text?: string }[]

          Lists other service information to be sent to NDC airlines.

        • OptionalauxiliaryData?: {
              pnrNameReferenceNumbers?: {
                  nameReferenceNumber?: string;
                  passengerRefId?: string;
              }[];
          }

          Additional reservation data.

          • OptionalpnrNameReferenceNumbers?: { nameReferenceNumber?: string; passengerRefId?: string }[]

            Lists Sabre PNR name reference update details.

        • OptionalbaggageAllowances?: {
              applicableParty?: string;
              baggageDeterminingCarrier?: { carrierCode?: string };
              dimensionAllowances?: {
                  baggageDimensionCategory?: string;
                  maximumMeasure?: { unitCode?: string; value?: string };
                  minimumMeasure?: { unitCode?: string; value?: string };
              }[];
              externalId?: string;
              id?: string;
              pieceAllowances?: { applicableParty?: string; totalQuantity?: number }[];
              typeCode?: "CarryOn" | "Checked";
              weightAllowances?: {
                  maximumMeasure?: { unitCode?: string; value?: string };
              }[];
          }[]

          Lists checked or carry-on baggage allowance details.

        • OptionalchangeFee?: {
              differentialAmountDue?: { amount?: string; code?: string };
              differentialAmountDueTaxSummary?: {
                  allRefundableInd?: boolean;
                  taxes?: {
                      amount?: { amount?: string; code?: string };
                      collectionInd?: boolean;
                      countryCode?: string;
                      description?: string;
                      refundable?: boolean;
                      taxCode?: string;
                      taxTypeCode?: string;
                  }[];
                  totalTaxAmount?: { amount?: string; code?: string };
              };
              penaltyAmount?: { amount?: string; code?: string };
              typeCode?: string;
          }

          Contains all details regarding a changeFee.

          • OptionaldifferentialAmountDue?: { amount?: string; code?: string }

            The differential amount that is due.

            • Optionalamount?: string

              The monetary amount.

              100.00
              
            • Optionalcode?: string

              The three-letter ISO 4217 currency code.

              USD
              
          • OptionaldifferentialAmountDueTaxSummary?: {
                allRefundableInd?: boolean;
                taxes?: {
                    amount?: { amount?: string; code?: string };
                    collectionInd?: boolean;
                    countryCode?: string;
                    description?: string;
                    refundable?: boolean;
                    taxCode?: string;
                    taxTypeCode?: string;
                }[];
                totalTaxAmount?: { amount?: string; code?: string };
            }

            Summarized information on tax that is due.

            • OptionalallRefundableInd?: boolean

              If true, all tax breakdown amounts are refundable.

              true
              
            • Optionaltaxes?: {
                  amount?: { amount?: string; code?: string };
                  collectionInd?: boolean;
                  countryCode?: string;
                  description?: string;
                  refundable?: boolean;
                  taxCode?: string;
                  taxTypeCode?: string;
              }[]

              Tax breakdown details.

            • OptionaltotalTaxAmount?: { amount?: string; code?: string }

              Contains total tax amount.

              • Optionalamount?: string

                The monetary amount.

                100.00
                
              • Optionalcode?: string

                The three-letter ISO 4217 currency code.

                USD
                
          • OptionalpenaltyAmount?: { amount?: string; code?: string }

            Contains penalty amount.

            • Optionalamount?: string

              The monetary amount.

              100.00
              
            • Optionalcode?: string

              The three-letter ISO 4217 currency code.

              USD
              
          • OptionaltypeCode?: string

            Penalty type information.

            Cancellation
            
        • OptionalcontactInfos?: {
              contactRefusedIndicator?: boolean;
              contactType?: string;
              emailAddresses?: { address?: string; id?: string; label?: string }[];
              givenName?: string;
              id?: string;
              phones?: {
                  cityCode?: string;
                  countryCode?: string;
                  id?: string;
                  label?: string;
                  number?: string;
              }[];
              postalAddresses?: {
                  buildingRoom?: string;
                  cityName?: string;
                  countryCode?: string;
                  label?: "AddressAtOrigin"
                  | "AddressAtDestination";
                  postalCode?: string;
                  postOfficeBoxCode?: string;
                  stateProvinceCode?: string;
                  street?: string[];
              }[];
              surname?: string;
          }[]

          Contains the passenger's contact information.

        • OptionalcorporateId?: string

          Corporate Id value.

          IBM01
          
        • OptionalcountryCode?: string

          Country code of order creator.

          GB
          
        • OptionalcustomerNumber?: { number?: string }

          Contains the customer's DK number.

          • Optionalnumber?: string

            The customer's DK number.

            1234567
            
        • OptionalexternalOrders?: {
              airSegmentInformations?: {
                  arrivalAirport?: string;
                  arrivalTime?: string;
                  classOfService?: string;
                  departureAirport?: string;
                  departureTime?: string;
                  flightNumber?: number;
                  marketingAirlineCode?: string;
              }[];
              bookingReferences?: {
                  carrierCode?: string;
                  createDate?: string;
                  id?: string;
                  typeCode?: string;
              }[];
              externalOrderCreateDateTime?: string;
              externalOrderId?: string;
              id?: string;
              systemId?: string;
              totalPrice?: {
                  baseAmount?: { amount?: string; code?: string };
                  equivAmount?: { amount?: string; code?: string };
                  feeBreakdowns?: {
                      amount?: { amount?: string; code?: string; taxable?: boolean };
                      description?: string;
                      refundable?: boolean;
                  }[];
                  nonRefundableBaseAmount?: { amount?: string; code?: string };
                  surcharges?: {
                      breakdown?: {
                          amount?: { amount?: string; code?: string };
                          description?: string;
                          designatorCode?: string;
                          localAmount?: { amount?: string; code?: string };
                          refundable?: boolean;
                      }[];
                      totalAmount?: { amount?: string; code?: string };
                  }[];
                  taxBreakdowns?: {
                      amount?: { amount?: string; code?: string };
                      collectionInd?: boolean;
                      countryCode?: string;
                      description?: string;
                      refundable?: boolean;
                      taxCode?: string;
                      taxTypeCode?: string;
                  }[];
                  totalAmount?: { amount?: string; code?: string };
                  totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                  totalTaxAmount?: { amount?: string; code?: string };
              };
          }[]

          Contains the details of an external order.

        • OptionalformsOfPayment?: {
              amount: { amount?: string; code?: string };
              id: string;
              orderItemRefIds?: string[];
              payer?: {
                  payerEmailAddress?: { address?: string; id?: string; label?: string };
                  payerName?: {
                      individualName: {
                          birthdate?: string;
                          birthplace?: string;
                          documentNumber?: string;
                          genderCode?: string;
                          givenName?: string;
                          middleName?: string;
                          suffixName?: string;
                          surname: string;
                          titleName?: string;
                      };
                  };
                  payerPhoneNumber?: {
                      cityCode?: string;
                      countryCode?: string;
                      id?: string;
                      label?: string;
                      number?: string;
                  };
                  paymentAddress?: {
                      buildingRoom?: string;
                      cityName?: string;
                      countryCode?: string;
                      label?: "AddressAtOrigin"
                      | "AddressAtDestination";
                      postalCode?: string;
                      postOfficeBoxCode?: string;
                      stateProvinceCode?: string;
                      street?: string[];
                  };
              };
              paymentMethod: {
                  paymentAgencyAccount?: {
                      approvalCode?: string;
                      code?: string;
                      supplierTransactionId?: string;
                      transactionId?: string;
                  };
                  paymentCard?: {
                      approvalCode?: string;
                      cardHolderAddress?: {
                          buildingRoom?: string;
                          cityName?: string;
                          countryCode?: string;
                          label?: "AddressAtOrigin"
                          | "AddressAtDestination";
                          postalCode?: string;
                          postOfficeBoxCode?: string;
                          stateProvinceCode?: string;
                          street?: string[];
                      };
                      cardHolderName?: string;
                      cardNumber?: string;
                      cardNumberToken?: string;
                      contactInfoRefId?: string;
                      cvv?: string;
                      cvvToken?: string;
                      expirationDate?: string;
                      securePaymentVersion2?: {
                          authenticationMerchantName?: string;
                          authenticationTokenValue?: string;
                          authenticationValueText?: string;
                          cardNumberCollectionCode?: string;
                          directoryServerTrxID?: string;
                          electronicCommerceIndText?: string;
                          payerAuthenticationExemptionCode?: string;
                          payerAuthenticationFailureToCompleteCode?: string;
                          paymentTrxChannelCode?: string;
                          programProtocolText?: string;
                          trxStatusReasonText?: string;
                          trxStatusText?: string;
                          verificationResult?: string;
                      };
                      vendorCode?: string;
                  };
                  paymentCash?: Record<string, never>;
                  paymentReferenceFormOfPayment?: {
                      cardHolderAddress?: {
                          buildingRoom?: string;
                          cityName?: string;
                          countryCode?: string;
                          label?: "AddressAtOrigin" | "AddressAtDestination";
                          postalCode?: string;
                          postOfficeBoxCode?: string;
                          stateProvinceCode?: string;
                          street?: string[];
                      };
                      cardHolderName?: string;
                      contactInfoRefId?: string;
                      cvv?: string;
                      referenceId?: string;
                      securePaymentVersion2?: {
                          authenticationMerchantName?: string;
                          authenticationTokenValue?: string;
                          authenticationValueText?: string;
                          cardNumberCollectionCode?: string;
                          directoryServerTrxID?: string;
                          electronicCommerceIndText?: string;
                          payerAuthenticationExemptionCode?: string;
                          payerAuthenticationFailureToCompleteCode?: string;
                          paymentTrxChannelCode?: string;
                          programProtocolText?: string;
                          trxStatusReasonText?: string;
                          trxStatusText?: string;
                          verificationResult?: string;
                      };
                  };
                  paymentTypeCode?: string;
              };
              useTypes?: string[];
          }[]

          Contains form of payment information.

        • Optionalid?: string

          The unique identifier of the order.

          542cb260c4114bc1ad51b85efa8118bd
          
        • OptionalitineraryMismatchedWithTickets?: boolean

          If true, there is a mismatch between ticketing documents and itinerary caused by involuntary schedule change, which requires action.

          true
          
        • Optionaljourneys?: { id?: string; segmentRefIds?: string[] }[]

          Contains all segments as part of the larger journey.

        • OptionalloyaltyProgramAccount?: {
              accountNumber?: string;
              carrier?: { carrierCode: string };
              id?: string;
              programCode?: string;
              programName?: string;
          }

          Contains either the passenger's frequent flyer information or corporate loyalty id.

          • OptionalaccountNumber?: string

            Account number.

            4d6a453d, C507574A123XYZ
            
          • Optionalcarrier?: { carrierCode: string }

            Contains two-letter carrier code.

            • carrierCode: string

              The two-letter IATA airline code.

              XX
              
          • Optionalid?: string

            Uniquely identifies the loyalty program account within the content of a message.

            4d6a453d
            
          • OptionalprogramCode?: string

            Program code mapped to SSR code.

            CLID
            
          • OptionalprogramName?: string

            Descriptive program name.

            Corporate Loyalty ID
            
        • OptionalnameMismatchedWithTickets?: boolean

          If true, a mismatch exists between the ticketing documents and the name due to a post-issuance name change, requiring additional action.

          false
          
        • OptionalofferVendor?: string

          The two-letter IATA airline code.

          XX
          
        • OptionalorderItems?: {
              commissions?: {
                  amount?: { amount?: string; code?: string };
                  code?: string;
                  descriptions?: string[];
                  passengerRefIds?: string[];
                  percentage?: number;
              }[];
              creationDateTime?: string;
              externalId?: string;
              externalOfferItemId?: string;
              externalOrderRefId?: string;
              fareDetails?: {
                  fareCalculationLine?: string;
                  fareComponents?: {
                      accountCode?: string;
                      cabinTypeCode?: string;
                      cabinTypeName?: string;
                      fareBasisCityPair?: string;
                      fareBasisCode?: string;
                      fareCode?: string;
                      fareDescription?: string;
                      fareRecognizedType?: | "Other"
                      | "Public"
                      | "Private"
                      | "Negotiated"
                      | "Corporate"
                      | "Unrecognized";
                      fareRules?: { penaltyRefIds?: string[] };
                      fareSourceCarrier?: string;
                      fareType?: string;
                      fareVendor?: string;
                      price?: {
                          baseAmount?: { amount?: string; code?: string };
                          equivAmount?: { amount?: string; code?: string };
                          feeBreakdowns?: { amount?: ...; description?: ...; refundable?: ... }[];
                          nonRefundableBaseAmount?: { amount?: string; code?: string };
                          surcharges?: { breakdown?: ...; totalAmount?: ... }[];
                          taxBreakdowns?: {
                              amount?: ...;
                              collectionInd?: ...;
                              countryCode?: ...;
                              description?: ...;
                              refundable?: ...;
                              taxCode?: ...;
                              taxTypeCode?: ...;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                          totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                          totalTaxAmount?: { amount?: string; code?: string };
                      };
                      priceClassRef?: string;
                      ruleNumber?: string;
                      segmentRefIds?: string[];
                      tariffNumber?: string;
                      type?: "O"
                      | "X"
                      | "R";
                  }[];
                  fareIndicatorCode?: string;
                  fareQualifiers?: string[];
                  filedFareInd?: boolean;
                  paxRefIds?: string[];
                  penaltyDifferential?: {
                      baseAmount?: { amount?: string; code?: string };
                      taxSummary?: {
                          allRefundableInd?: boolean;
                          taxes?: {
                              amount?: ...;
                              collectionInd?: ...;
                              countryCode?: ...;
                              description?: ...;
                              refundable?: ...;
                              taxCode?: ...;
                              taxTypeCode?: ...;
                          }[];
                          totalTaxAmount?: { amount?: string; code?: string };
                      }[];
                      totalAmount?: { amount?: string; code?: string };
                  };
                  price?: {
                      baseAmount?: { amount?: string; code?: string };
                      equivAmount?: { amount?: string; code?: string };
                      feeBreakdowns?: {
                          amount?: { amount?: string; code?: string; taxable?: boolean };
                          description?: string;
                          refundable?: boolean;
                      }[];
                      nonRefundableBaseAmount?: { amount?: string; code?: string };
                      surcharges?: {
                          breakdown?: {
                              amount?: ...;
                              description?: ...;
                              designatorCode?: ...;
                              localAmount?: ...;
                              refundable?: ...;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                      }[];
                      taxBreakdowns?: {
                          amount?: { amount?: string; code?: string };
                          collectionInd?: boolean;
                          countryCode?: string;
                          description?: string;
                          refundable?: boolean;
                          taxCode?: string;
                          taxTypeCode?: string;
                      }[];
                      totalAmount?: { amount?: string; code?: string };
                      totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                      totalTaxAmount?: { amount?: string; code?: string };
                  };
                  priceDifferential?: {
                      diffPrice?: {
                          price?: {
                              balanceAmount?: { amount?: string; code?: string };
                              taxAllRefundableInd?: boolean;
                              taxBreakdowns?: {
                                  amount?: ...;
                                  collectionInd?: ...;
                                  countryCode?: ...;
                                  description?: ...;
                                  refundable?: ...;
                                  taxCode?: ...;
                                  taxTypeCode?: ...;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                              totalTaxAmount?: { amount?: string; code?: string };
                          };
                      };
                  };
                  remarks?: { displayInd?: boolean; text?: string; type?: string }[];
                  tourCode?: string;
              }[];
              fees?: {
                  applied?: boolean;
                  basePrice?: { amount?: string; code?: string };
                  description?: string;
                  passengerRefIds?: string[];
                  percentageValue?: string;
                  price?: { amount?: string; code?: string };
                  refundable?: boolean;
                  serviceCode?: string;
                  subCode?: string;
                  taxBreakdowns?: {
                      amount?: { amount?: string; code?: string };
                      collectionInd?: boolean;
                      countryCode?: string;
                      description?: string;
                      refundable?: boolean;
                      taxCode?: string;
                      taxTypeCode?: string;
                  }[];
                  totalTaxAmount?: { amount?: string; code?: string };
              }[];
              feeWarnings?: { owner?: string; text?: string }[];
              id?: string;
              itemOrigin?: "SELL" | "EXCHANGE" | "SYNCHRONIZATION";
              offerCustomerInformation?: {
                  agencyInformation?: {
                      agentCityCode?: string;
                      agentDeptCode?: string;
                      agentDuty?: string;
                      agentFunction?: string;
                      carrierCode?: string;
                      mainTravelAgencyPCC?: string;
                  };
                  billingInformation?: {
                      aaaCity?: string;
                      actionCode?: string;
                      agentSineIn?: string;
                      partitionID?: string;
                      pseudoCityCode?: string;
                      userSetAddress?: string;
                  };
              };
              offerItemId?: string;
              origin?: string;
              originatedFromTicketExchangeInd?: boolean;
              paymentTimeLimit?: string;
              paymentTimeLimitText?: string;
              penaltyDifferential?: {
                  baseAmount?: { amount?: string; code?: string };
                  taxSummary?: {
                      allRefundableInd?: boolean;
                      taxes?: {
                          amount?: { amount?: string; code?: string };
                          collectionInd?: boolean;
                          countryCode?: string;
                          description?: string;
                          refundable?: boolean;
                          taxCode?: string;
                          taxTypeCode?: string;
                      }[];
                      totalTaxAmount?: { amount?: string; code?: string };
                  }[];
                  totalAmount?: { amount?: string; code?: string };
              };
              price?: {
                  baseAmount?: { amount?: string; code?: string };
                  equivAmount?: { amount?: string; code?: string };
                  feeBreakdowns?: {
                      amount?: { amount?: string; code?: string; taxable?: boolean };
                      description?: string;
                      refundable?: boolean;
                  }[];
                  nonRefundableBaseAmount?: { amount?: string; code?: string };
                  surcharges?: {
                      breakdown?: {
                          amount?: { amount?: string; code?: string };
                          description?: string;
                          designatorCode?: string;
                          localAmount?: { amount?: string; code?: string };
                          refundable?: boolean;
                      }[];
                      totalAmount?: { amount?: string; code?: string };
                  }[];
                  taxBreakdowns?: {
                      amount?: { amount?: string; code?: string };
                      collectionInd?: boolean;
                      countryCode?: string;
                      description?: string;
                      refundable?: boolean;
                      taxCode?: string;
                      taxTypeCode?: string;
                  }[];
                  totalAmount?: { amount?: string; code?: string };
                  totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                  totalTaxAmount?: { amount?: string; code?: string };
              };
              priceDifferential?: {
                  diffPrice?: {
                      price?: {
                          balanceAmount?: { amount?: string; code?: string };
                          taxAllRefundableInd?: boolean;
                          taxBreakdowns?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                          totalTaxAmount?: { amount?: string; code?: string };
                      };
                  };
              };
              priceGuaranteeTimeLimit?: string;
              priceGuaranteeTimeLimitText?: string;
              productRefIds?: string[];
              sellerFollowUpAction?: { actionCodes?: string[] };
              services?: {
                  externalId?: string;
                  externalOrderItemId?: string;
                  id?: string;
                  passengerRefId?: string;
                  pnrSegmentNumber?: number;
                  segmentRefId?: string;
                  selectedSeat?: {
                      characteristics?: string[];
                      column?: string;
                      descriptions?: string[];
                      pitchMeasure?: { unitCode?: string; value?: string };
                      row?: string;
                      segmentRefId?: string;
                      widthMeasure?: { unitCode?: string; value?: string };
                  };
                  serviceDefinitionRefId?: string;
                  statusCode?: string;
              }[];
              statusCode?: string;
              validatingCarrierCode?: string;
          }[]

          Contains OrderItem details.

        • OptionalorderOwner?: string

          Order owner code, this value can be eg. 1S, 1F or 1B.

          YY
          
        • Optionalpartition?: string

          Internal Sabre order location code.

          AA
          
        • Optionalpassengers?: {
              age?: number;
              ageUnitCode?: string;
              birthdate?: string;
              citizenshipCountryCode?: string;
              contactInfoRefId?: string;
              contactInfoRefIds?: string[];
              employer?: {
                  name?: string;
                  taxRegistrationData: {
                      address?: {
                          cityName?: string;
                          postalCode?: string;
                          street?: string[];
                      };
                      countryCode?: string;
                      countrySubDivisionName?: string;
                      emailAddress?: string;
                      phones?: {
                          cityCode?: string;
                          countryCode?: string;
                          id?: string;
                          label?: string;
                          number?: string;
                      }[];
                      taxRegistrationId: string;
                  }[];
              };
              externalId?: string;
              genderCode?: string;
              givenName?: string;
              id?: string;
              identityDocuments?: {
                  birthdate?: string;
                  birthplace?: string;
                  citizenshipCountryCode?: string;
                  documentNumber?: string;
                  documentSubTypeCode?: string;
                  documentTypeCode?: string;
                  entryQuantity?: string;
                  expiryDate?: string;
                  genderCode?: string;
                  givenName?: string;
                  id?: string;
                  issueDate?: string;
                  issuingCountryCode?: string;
                  middleName?: string;
                  placeOfIssue?: string;
                  referencedDocumentNumbers?: string[];
                  residenceCountryCode?: string;
                  stayDuration?: string;
                  suffixName?: string;
                  surname?: string;
                  titleName?: string;
                  visaHostCountryCode?: string;
              }[];
              loyaltyProgramAccounts?: {
                  accountNumber?: string;
                  carrier?: { carrierCode: string };
                  id?: string;
                  programCode?: string;
                  programName?: string;
              }[];
              middleName?: string;
              passengerReference?: string;
              remarks?: { id?: string; text?: string; type?: string }[];
              suffixName?: string;
              surname?: string;
              titleName?: string;
              typeCode?: string;
          }[]

          Contains passenger details.

        • OptionalpaymentInformation?: {
              amount: { amount?: string; code?: string };
              id: string;
              orderItemRefIds?: string[];
              payer?: {
                  payerEmailAddress?: { address?: string; id?: string; label?: string };
                  payerName?: {
                      individualName: {
                          birthdate?: string;
                          birthplace?: string;
                          documentNumber?: string;
                          genderCode?: string;
                          givenName?: string;
                          middleName?: string;
                          suffixName?: string;
                          surname: string;
                          titleName?: string;
                      };
                  };
                  payerPhoneNumber?: {
                      cityCode?: string;
                      countryCode?: string;
                      id?: string;
                      label?: string;
                      number?: string;
                  };
                  paymentAddress?: {
                      buildingRoom?: string;
                      cityName?: string;
                      countryCode?: string;
                      label?: "AddressAtOrigin"
                      | "AddressAtDestination";
                      postalCode?: string;
                      postOfficeBoxCode?: string;
                      stateProvinceCode?: string;
                      street?: string[];
                  };
              };
              paymentMethod: {
                  paymentAgencyAccount?: {
                      approvalCode?: string;
                      code?: string;
                      supplierTransactionId?: string;
                      transactionId?: string;
                  };
                  paymentCard?: {
                      approvalCode?: string;
                      cardHolderAddress?: {
                          buildingRoom?: string;
                          cityName?: string;
                          countryCode?: string;
                          label?: "AddressAtOrigin"
                          | "AddressAtDestination";
                          postalCode?: string;
                          postOfficeBoxCode?: string;
                          stateProvinceCode?: string;
                          street?: string[];
                      };
                      cardHolderName?: string;
                      cardNumber?: string;
                      cardNumberToken?: string;
                      contactInfoRefId?: string;
                      cvv?: string;
                      cvvToken?: string;
                      expirationDate?: string;
                      securePaymentVersion2?: {
                          authenticationMerchantName?: string;
                          authenticationTokenValue?: string;
                          authenticationValueText?: string;
                          cardNumberCollectionCode?: string;
                          directoryServerTrxID?: string;
                          electronicCommerceIndText?: string;
                          payerAuthenticationExemptionCode?: string;
                          payerAuthenticationFailureToCompleteCode?: string;
                          paymentTrxChannelCode?: string;
                          programProtocolText?: string;
                          trxStatusReasonText?: string;
                          trxStatusText?: string;
                          verificationResult?: string;
                      };
                      vendorCode?: string;
                  };
                  paymentCash?: Record<string, never>;
                  paymentReferenceFormOfPayment?: {
                      cardHolderAddress?: {
                          buildingRoom?: string;
                          cityName?: string;
                          countryCode?: string;
                          label?: "AddressAtOrigin" | "AddressAtDestination";
                          postalCode?: string;
                          postOfficeBoxCode?: string;
                          stateProvinceCode?: string;
                          street?: string[];
                      };
                      cardHolderName?: string;
                      contactInfoRefId?: string;
                      cvv?: string;
                      referenceId?: string;
                      securePaymentVersion2?: {
                          authenticationMerchantName?: string;
                          authenticationTokenValue?: string;
                          authenticationValueText?: string;
                          cardNumberCollectionCode?: string;
                          directoryServerTrxID?: string;
                          electronicCommerceIndText?: string;
                          payerAuthenticationExemptionCode?: string;
                          payerAuthenticationFailureToCompleteCode?: string;
                          paymentTrxChannelCode?: string;
                          programProtocolText?: string;
                          trxStatusReasonText?: string;
                          trxStatusText?: string;
                          verificationResult?: string;
                      };
                  };
                  paymentTypeCode?: string;
              };
              useTypes?: string[];
          }[]

          Info about payment, such as payment method.

        • OptionalpaymentTimeLimit?: string

          Format: date-time

          The date by which a payment must be made for the confirmed items in the order.

          2024-01-13T13:59:38Z
          
        • OptionalpaymentTimeLimitText?: string

          Populated only when the timezone is not known in paymentTimeLimit.

          2024-01-13T13:59:38
          
        • Optionalpenalties?: {
              applicabilityList?: string[];
              description?: string;
              feeAmount?: string;
              feeCurrencyCode?: string;
              hasFee?: boolean;
              id?: string;
              isAllowed?: boolean;
              type?: string;
          }[]

          Contains the imposed fare rules penalties.

        • OptionalpnrCreateDate?: string

          The PNR create date.

          2024-02-14
          
        • OptionalpnrLocator?: string

          The PNR locator.

          IXLFLT
          
        • OptionalpriceClasses?: {
              code?: string;
              descriptions?: { id?: string; text?: string }[];
              id?: string;
              name?: string;
          }[]

          Contains special brand pricing information.

        • OptionalprimeHost?: string

          Order owner code.

          1S
          
        • Optionalproducts?: {
              airSegment?: {
                  actionCode?: string;
                  arrivalAirport?: string;
                  arrivalDateTime?: string;
                  departureAirport?: string;
                  departureDateTime?: string;
                  legs?: {
                      arrivalAirport?: string;
                      arrivalDateTime?: string;
                      departureAirport?: string;
                      departureDateTime?: string;
                      marketingCarrier?: {
                          airlineCode?: string;
                          banner?: string;
                          bookingClass?: string;
                          flightNumber?: string;
                          name?: string;
                      };
                      operatingCarrier?: {
                          airlineCode?: string;
                          banner?: string;
                          bookingClass?: string;
                          flightNumber?: string;
                          name?: string;
                      };
                  }[];
                  marketingCarrier?: {
                      airlineCode?: string;
                      banner?: string;
                      bookingClass?: string;
                      flightNumber?: string;
                      name?: string;
                  };
                  operatingCarrier?: {
                      airlineCode?: string;
                      banner?: string;
                      bookingClass?: string;
                      flightNumber?: string;
                      name?: string;
                  };
              };
              id?: string;
          }[]

          Contains the product associated with a given segment.

        • OptionalpseudoCityCode?: string

          The travel agency's pseudo city code (PCC).

          F4X0
          
        • Optionalremarks?: { id?: string; text?: string; type?: string }[]

          Lists additional supplementary information about the document or service.

        • Optionalsegments?: {
              arnkInd?: boolean;
              arrival?: {
                  gateId?: string;
                  locationCode?: string;
                  scheduledDateTime?: string;
                  stationName?: string;
                  terminalName?: string;
              };
              cabinTypeCode?: string;
              datedOperatingLegs?: {
                  arrival?: {
                      gateId?: string;
                      locationCode?: string;
                      scheduledDateTime?: string;
                      stationName?: string;
                      terminalName?: string;
                  };
                  carrierAircraftType?: { code?: string; name?: string };
                  changeOfGaugeInd?: boolean;
                  departure?: {
                      gateId?: string;
                      locationCode?: string;
                      scheduledDateTime?: string;
                      stationName?: string;
                      terminalName?: string;
                  };
                  distanceMeasure?: { unitCode?: string; value?: number };
                  onGroundDuration?: string;
              }[];
              departure?: {
                  gateId?: string;
                  locationCode?: string;
                  scheduledDateTime?: string;
                  stationName?: string;
                  terminalName?: string;
              };
              distanceMeasure?: { unitCode?: string; value?: number };
              flightDuration?: string;
              id?: string;
              marketingCarrier?: {
                  carrierCode?: string;
                  carrierName?: string;
                  classOfService?: string;
                  disclosure?: { id?: string; text?: string[] };
                  flightNumber?: number;
              };
              operatingCarrier?: {
                  carrierCode?: string;
                  carrierName?: string;
                  classOfService?: string;
                  disclosure?: { id?: string; text?: string[] };
                  flightNumber?: number;
              };
              references?: { id?: string; system?: string }[];
          }[]

          Contains a list of flight segments.

        • OptionalserviceDefinitions?: {
              baggageAllowanceRefId?: string;
              bookingInstructions?: {
                  productText?: string;
                  productTextDetails?: { description?: string; key: string; value: string }[];
                  specialServices?: { freeText?: string; specialServiceCode?: string }[];
              };
              cabinUpgrade?: {
                  methodCode?: string;
                  reservationBookingDesignator?: string;
              };
              descriptions?: { id?: string; text?: string }[];
              externalId?: string;
              groupCode?: string;
              id?: string;
              name?: string;
              ownerCode?: string;
              reasonForIssuanceCode?: string;
              reasonForIssuanceSubCode?: string;
              serviceCode?: string;
              settlementMethodCode?: string;
          }[]

          Lists airline-specific definitions of a product or service (excluding flights) that can be separately sold and delivered. For example, bags, seats, and meals on a flight.

        • OptionalticketingDocumentInfo?: {
              document?: {
                  coupons?: {
                      consumedAtIssuanceInd?: boolean;
                      exchangeEligibilityInd?: boolean;
                      inConnectionCouponNumber?: string;
                      inConnectionDocumentNumber?: string;
                      involuntaryIndicatorCode?: string;
                      number?: number;
                      orderItemRefId?: string;
                      presentAt?: string;
                      presentTo?: string;
                      reasonForIssuanceCode?: string;
                      reasonForIssuanceSubCode?: string;
                      segmentInfo?: {
                          arrivalAirport?: string;
                          arrivalTime?: string;
                          classOfService?: string;
                          departureAirport?: string;
                          departureTime?: string;
                          flightNumber?: number;
                          marketingAirlineCode?: string;
                      };
                      serviceCode?: string;
                      serviceRefId?: string;
                      settlementAuthCode?: string;
                      status?: string;
                  }[];
                  exchangeEligibilityInd?: boolean;
                  inConnectionDocumentNumber?: string;
                  issueDateTime?: string;
                  issueDateTimeComment?: string;
                  issueDateTimeText?: string;
                  number?: string;
                  numberOfBooklets?: number;
                  outOfSyncWithOrderItem?: boolean;
                  primaryDocumentInd?: boolean;
                  remarkText?: string;
                  reportingType?: string;
                  routingCode?: string;
                  ticketingLocation?: string;
                  type?: string;
                  voidEligibilityInd?: boolean;
                  voidPeriodExpirationDateTime?: string;
              };
              originalIssueInfo?: {
                  issueDate?: string;
                  issuingAgentId?: string;
                  locationCode?: string;
                  ticketNumber?: string;
              };
              paxRefId?: string;
              price?: {
                  baseAmount?: { amount?: string; code?: string };
                  equivAmount?: { amount?: string; code?: string };
                  feeBreakdowns?: {
                      amount?: { amount?: string; code?: string; taxable?: boolean };
                      description?: string;
                      refundable?: boolean;
                  }[];
                  nonRefundableBaseAmount?: { amount?: string; code?: string };
                  surcharges?: {
                      breakdown?: {
                          amount?: { amount?: string; code?: string };
                          description?: string;
                          designatorCode?: string;
                          localAmount?: { amount?: string; code?: string };
                          refundable?: boolean;
                      }[];
                      totalAmount?: { amount?: string; code?: string };
                  }[];
                  taxBreakdowns?: {
                      amount?: { amount?: string; code?: string };
                      collectionInd?: boolean;
                      countryCode?: string;
                      description?: string;
                      refundable?: boolean;
                      taxCode?: string;
                      taxTypeCode?: string;
                  }[];
                  totalAmount?: { amount?: string; code?: string };
                  totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                  totalTaxAmount?: { amount?: string; code?: string };
              };
          }[]

          Contains details of the ticketing document.

        • OptionaltotalPrice?: {
              baseAmount?: { amount?: string; code?: string };
              equivAmount?: { amount?: string; code?: string };
              feeBreakdowns?: {
                  amount?: { amount?: string; code?: string; taxable?: boolean };
                  description?: string;
                  refundable?: boolean;
              }[];
              nonRefundableBaseAmount?: { amount?: string; code?: string };
              surcharges?: {
                  breakdown?: {
                      amount?: { amount?: string; code?: string };
                      description?: string;
                      designatorCode?: string;
                      localAmount?: { amount?: string; code?: string };
                      refundable?: boolean;
                  }[];
                  totalAmount?: { amount?: string; code?: string };
              }[];
              taxBreakdowns?: {
                  amount?: { amount?: string; code?: string };
                  collectionInd?: boolean;
                  countryCode?: string;
                  description?: string;
                  refundable?: boolean;
                  taxCode?: string;
                  taxTypeCode?: string;
              }[];
              totalAmount?: { amount?: string; code?: string };
              totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
              totalTaxAmount?: { amount?: string; code?: string };
          }

          The total price of an NDC order.

          • OptionalbaseAmount?: { amount?: string; code?: string }

            Contains base amount of money expected for a fare.

            • Optionalamount?: string

              The monetary amount.

              100.00
              
            • Optionalcode?: string

              The three-letter ISO 4217 currency code.

              USD
              
          • OptionalequivAmount?: { amount?: string; code?: string }

            Contains the base price, but in the amount of a requested currency.

            • Optionalamount?: string

              The monetary amount.

              100.00
              
            • Optionalcode?: string

              The three-letter ISO 4217 currency code.

              USD
              
          • OptionalfeeBreakdowns?: {
                amount?: { amount?: string; code?: string; taxable?: boolean };
                description?: string;
                refundable?: boolean;
            }[]

            Lists fees added to the ticket during fulfillment.

          • OptionalnonRefundableBaseAmount?: { amount?: string; code?: string }

            Contains the amount of base fare which is non refundable.

            • Optionalamount?: string

              The monetary amount.

              100.00
              
            • Optionalcode?: string

              The three-letter ISO 4217 currency code.

              USD
              
          • Optionalsurcharges?: {
                breakdown?: {
                    amount?: { amount?: string; code?: string };
                    description?: string;
                    designatorCode?: string;
                    localAmount?: { amount?: string; code?: string };
                    refundable?: boolean;
                }[];
                totalAmount?: { amount?: string; code?: string };
            }[]

            Lists the amount added to a usual charge for a specific product, purpose, or service.

          • OptionaltaxBreakdowns?: {
                amount?: { amount?: string; code?: string };
                collectionInd?: boolean;
                countryCode?: string;
                description?: string;
                refundable?: boolean;
                taxCode?: string;
                taxTypeCode?: string;
            }[]

            Lists tax breakdown details.

          • OptionaltotalAmount?: { amount?: string; code?: string }

            Contains the total amount expected for NDC order.

            • Optionalamount?: string

              The monetary amount.

              100.00
              
            • Optionalcode?: string

              The three-letter ISO 4217 currency code.

              USD
              
          • OptionaltotalFeeAmount?: { amount?: string; code?: string; taxable?: boolean }

            Contains the total fee amount expected for NDC order.

            • Optionalamount?: string

              The monetary amount.

              100.00
              
            • Optionalcode?: string

              The three-letter ISO 4217 currency code.

              USD
              
            • Optionaltaxable?: boolean

              If true, the amount is taxable.

              true
              
          • OptionaltotalTaxAmount?: { amount?: string; code?: string }

            Contains the total tax amount expected for NDC order.

            • Optionalamount?: string

              The monetary amount.

              100.00
              
            • Optionalcode?: string

              The three-letter ISO 4217 currency code.

              USD
              
        • Optionaltype?: string

          Reservation type.

          PNR or ORDER
          
      • Optionalwarnings?: { code?: string; message?: string }[]

        Lists any warning messages encountered during processing. This is a standard way to indicate the successful processing of an IATA message, but one in which warnings are generated.

    • Récupère les informations de réservation d'une commande en utilisant api Sabre

      Parameters

      Returns {
          error?: any;
          response: {
              accountingItems?: {
                  airlineCode?: string;
                  cardNumber?: string;
                  cardTypeCode?: string;
                  commission?: {
                      commissionAmount?: string;
                      commissionPercentage?: string;
                      currencyCode?: string;
                  };
                  creationType?: "Refund"
                  | "Exchange"
                  | "First Issuance";
                  currencyCode?: string;
                  fareAmount?: string;
                  fareApplicationType?:
                      | "Single Traveler"
                      | "All Travelers"
                      | "Each Traveler";
                  formOfPaymentType?: | "Unknown"
                  | "Cash"
                  | "Check"
                  | "Check or Cash"
                  | "Payment Card"
                  | "Masked Payment Card";
                  tariffBasisType?: "Domestic"
                  | "Foreign"
                  | "International";
                  taxAmount?: string;
                  ticketNumber?: string;
                  travelerIndices?: number[];
              }[];
              agencyCustomerNumber?: string;
              allSegments?: (
                  { id: string } & {
                      address?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      date?: string;
                      endAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      endDate?: string;
                      endLocationCode?: string;
                      endTime?: string;
                      locationCode?: string;
                      startAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      startDate?: string;
                      startLocationCode?: string;
                      startTime?: string;
                      text?: string;
                      time?: string;
                      type: string;
                      vendorCode?: string;
                  }
              )[];
              bookingId?: string;
              cars?: (
                  { itemId: string } & {
                      carStatusCode?: string;
                      carStatusName?:
                          | "Unknown"
                          | "Confirmed"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Waitlisted"
                          | "Infant/No Seat"
                          | "Priority Waitlist"
                          | "Quote"
                          | "Space Available"
                          | "Pending Quote"
                          | "No Seat"
                          | "Standby";
                      collectionAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      };
                      collectionSite?: { id?: string; name?: string; phone?: string };
                      confirmationId?: string;
                      deliveryAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      };
                      deliverySite?: { id?: string; name?: string; phone?: string };
                      distanceAllowance?: string;
                      dropOffAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      dropOffContactInfo?: { emails?: string[] } & {
                          emergencyPhones?: string[];
                          faxes?: string[];
                          phones?: string[];
                      };
                      dropOffDate: string;
                      dropOffLocationCode?: string;
                      dropOffTime: string;
                      guaranteePaymentNote?: string;
                      isRefundable: boolean;
                      numberOfVehicles?: number;
                      payment?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      };
                      pickUpAddress: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string };
                      pickUpContactInfo?: { emails?: string[] } & {
                          emergencyPhones?: string[];
                          faxes?: string[];
                          phones?: string[];
                      };
                      pickUpDate: string;
                      pickUpLocationCode?: string;
                      pickUpTime: string;
                      rateCode?: string;
                      refundPenalties?: {
                          applicableFromDate?: string;
                          applicableToDate?: string;
                          penalty: { amount: string; currencyCode: string };
                      }[];
                      specialInstructions?: string;
                      travelerIndex?: number;
                      vehicleTypeCode?: string;
                      vehicleTypeName?: | "Two/Three Door"
                      | "Two/Four Door"
                      | "Four/Five Door"
                      | "Wagon/Estate"
                      | "Passenger Van"
                      | "Limousine/Sedan"
                      | "Sport"
                      | "Convertible"
                      | "SUV"
                      | "Open Air All Terrain"
                      | "Special"
                      | "Pick up single/extended cab 2 door"
                      | "Pick up double cab 4 door"
                      | "Special Offer Car"
                      | "Coupe"
                      | "Monospace"
                      | "Recreational Vehicle"
                      | "Motor Home"
                      | "Two Wheel Vehicle"
                      | "Roadster"
                      | "Crossover"
                      | "Commercial Van/Truck";
                      vendorCode: string;
                      vendorName: string;
                  }
              )[];
              contactInfo?: { emails?: string[] } & {
                  emergencyPhones?: string[];
                  faxes?: string[];
                  phones?: string[];
              };
              creationDetails?: {
                  agencyIataNumber?: string;
                  creationDate?: string;
                  creationTime?: string;
                  creationUserSine?: string;
                  primeHostId?: string;
                  purchaseDeadlineDate?: string;
                  purchaseDeadlineTime?: string;
                  userHomePcc?: string;
                  userWorkPcc?: string;
              };
              cruises?: (
                  { itemId: string } & {
                      arrivalDate: string;
                      arrivalTime?: string;
                      cabinNumber?: string;
                      confirmationId?: string;
                      cruiseStatusCode?: string;
                      cruiseStatusName?:
                          | "Unknown"
                          | "Confirmed"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Waitlisted"
                          | "Infant/No Seat"
                          | "Priority Waitlist"
                          | "Quote"
                          | "Space Available"
                          | "Pending Quote"
                          | "No Seat"
                          | "Standby";
                      departureDate: string;
                      departureTime?: string;
                      fromPortCode: string;
                      numberOfGuests?: number;
                      shipCode?: string;
                      shipName?: string;
                      toPortCode?: string;
                      vendorCode: string;
                  }
              )[];
              endDate?: string;
              fareOffers?: {
                  cabinBaggageAllowance?: {
                      baggagePieces?: {
                          fee?: { amount: string; currencyCode: string };
                          isCheckInOnly?: boolean;
                          maximumSizeInCentimeters?: number;
                          maximumSizeInInches?: number;
                          maximumWeightInKilograms?: number;
                          maximumWeightInPounds?: number;
                          numberOfPieces: number;
                          specialItemDescription?: string;
                      }[];
                      maximumPieces?: number;
                      totalWeightInKilograms?: number;
                      totalWeightInPounds?: number;
                  };
                  cabinBaggageCharges?: {
                      fee?: { amount: string; currencyCode: string };
                      isCheckInOnly?: boolean;
                      maximumSizeInCentimeters?: number;
                      maximumSizeInInches?: number;
                      maximumWeightInKilograms?: number;
                      maximumWeightInPounds?: number;
                      numberOfPieces: number;
                      specialItemDescription?: string;
                  }[];
                  checkedBaggageAllowance?: {
                      baggagePieces?: {
                          fee?: { amount: string; currencyCode: string };
                          isCheckInOnly?: boolean;
                          maximumSizeInCentimeters?: number;
                          maximumSizeInInches?: number;
                          maximumWeightInKilograms?: number;
                          maximumWeightInPounds?: number;
                          numberOfPieces: number;
                          specialItemDescription?: string;
                      }[];
                      maximumPieces?: number;
                      totalWeightInKilograms?: number;
                      totalWeightInPounds?: number;
                  };
                  checkedBaggageCharges?: {
                      fee?: { amount: string; currencyCode: string };
                      isCheckInOnly?: boolean;
                      maximumSizeInCentimeters?: number;
                      maximumSizeInInches?: number;
                      maximumWeightInKilograms?: number;
                      maximumWeightInPounds?: number;
                      numberOfPieces: number;
                      specialItemDescription?: string;
                  }[];
                  flights?: { itemId: string }[];
                  travelerIndices?: number[];
              }[];
              fareRules?: {
                  destinationAirportCode?: string;
                  exchangePenalties?: {
                      applicability: "BEFORE_DEPARTURE"
                      | "AFTER_DEPARTURE";
                      conditionsApply: boolean;
                      penalty: { amount: string; currencyCode: string };
                  }[];
                  isChangeable?: boolean;
                  isRefundable?: boolean;
                  originAirportCode?: string;
                  owningAirlineCode: string;
                  passengerCode?: string;
                  refundPenalties?: {
                      applicability: "BEFORE_DEPARTURE"
                      | "AFTER_DEPARTURE";
                      conditionsApply: boolean;
                      penalty: { amount: string; currencyCode: string };
                  }[];
              }[];
              fares?: {
                  airlineCode?: string;
                  commission?: {
                      commissionAmount?: string;
                      commissionPercentage?: string;
                      currencyCode?: string;
                  };
                  creationDetails?: {
                      agencyIataNumber?: string;
                      creationDate?: string;
                      creationTime?: string;
                      creationUserSine?: string;
                      primeHostId?: string;
                      purchaseDeadlineDate?: string;
                      purchaseDeadlineTime?: string;
                      userHomePcc?: string;
                      userWorkPcc?: string;
                  };
                  fareCalculationLine?: string;
                  fareConstruction?: {
                      baseRate?: { amount: string; currencyCode: string };
                      brandAttributes?: { description?: string; itemId?: string }[];
                      brandFareCode?: string;
                      brandFareName?: string;
                      brandProgramCode?: string;
                      brandProgramName?: string;
                      checkedBaggageAllowance?: {
                          baggagePieces?: {
                              fee?: { amount: ...; currencyCode: ... };
                              isCheckInOnly?: boolean;
                              maximumSizeInCentimeters?: number;
                              maximumSizeInInches?: number;
                              maximumWeightInKilograms?: number;
                              maximumWeightInPounds?: number;
                              numberOfPieces: number;
                              specialItemDescription?: string;
                          }[];
                          maximumPieces?: number;
                          totalWeightInKilograms?: number;
                          totalWeightInPounds?: number;
                      };
                      fareBasisCode?: string;
                      flightIndices?: number[];
                      flights?: { itemId: string }[];
                      isCurrentItinerary?: boolean;
                  }[];
                  hasValidPricing: boolean;
                  isNegotiatedFare?: boolean;
                  pricedTravelerType?: string;
                  pricingStatusCode?: "A"
                  | "H";
                  pricingStatusName?: "Active" | "History";
                  pricingTypeCode?: "S" | "A" | "M";
                  pricingTypeName?: "Unknown" | "System" | "Amended" | "Manual";
                  recordId?: string;
                  recordTypeCode?: string;
                  recordTypeName?: string;
                  requestedTravelerType?: string;
                  taxBreakdown?: {
                      taxAmount?: { amount: string; currencyCode: string };
                      taxCode?: string;
                  }[];
                  totals?: {
                      currencyCode: string;
                      fees?: string;
                      subtotal?: string;
                      taxes?: string;
                      total: string;
                  };
                  tourCode?: string;
                  travelerIndices?: number[];
              }[];
              flights?: (
                  { itemId: string } & {
                      aircraftTypeCode?: string;
                      aircraftTypeName?: string;
                      airlineCode: string;
                      airlineName?: string;
                      arrivalDate: string;
                      arrivalGate?: string;
                      arrivalTerminalName?: string;
                      arrivalTime: string;
                      bookingClass?: string;
                      cabinTypeCode?: string;
                      cabinTypeName?: string;
                      confirmationId?: string;
                      departureDate: string;
                      departureGate?: string;
                      departureTerminalName?: string;
                      departureTime: string;
                      distanceInMiles?: number;
                      durationInMinutes?: number;
                      flightNumber: number;
                      flightStatusCode?: string;
                      flightStatusName?:
                          | "Unknown"
                          | "Confirmed"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Waitlisted"
                          | "Infant/No Seat"
                          | "Priority Waitlist"
                          | "Quote"
                          | "Space Available"
                          | "Pending Quote"
                          | "No Seat"
                          | "Standby";
                      fromAirportCode: string;
                      hiddenStopAircraftTypeCode?: string;
                      hiddenStopAircraftTypeName?: string;
                      hiddenStopAirportCode?: string;
                      hiddenStopArrivalDate?: string;
                      hiddenStopArrivalTime?: string;
                      hiddenStopDepartureDate?: string;
                      hiddenStopDepartureTime?: string;
                      hiddenStops?: {
                          aircraftTypeCode?: string;
                          aircraftTypeName?: string;
                          airportCode?: string;
                          arrivalDate?: string;
                          arrivalTime?: string;
                          departureDate?: string;
                          departureTime?: string;
                          durationInMinutes?: number;
                      }[];
                      identityDocuments?: {
                          itemId?: string;
                          status?: | "Unknown"
                          | "Confirmed"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Waitlisted"
                          | "Infant/No Seat"
                          | "Priority Waitlist"
                          | "Quote"
                          | "Space Available"
                          | "Pending Quote"
                          | "No Seat"
                          | "Standby";
                      }[];
                      isPast?: boolean;
                      meals?: {
                          code: string;
                          description: | "Meal"
                          | "Alcoholic beverages for purchase"
                          | "Breakfast"
                          | "Cold meal"
                          | "Complimentary alcoholic beverages"
                          | "Continental breakfast"
                          | "Dinner"
                          | "Food for purchase"
                          | "Food and beverage for purchase"
                          | "Hot meal"
                          | "Lunch"
                          | "No meal service"
                          | "Refreshment"
                          | "Refreshment for purchase"
                          | "Snack";
                      }[];
                      numberOfSeats?: number;
                      operatingAirlineCode?: string;
                      operatingAirlineName?: string;
                      operatingFlightNumber?: number;
                      seats?: {
                          characteristics?: string[];
                          number: string;
                          statusCode?: string;
                          statusName?: | "Unknown"
                          | "Confirmed"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Waitlisted"
                          | "Infant/No Seat"
                          | "Priority Waitlist"
                          | "Quote"
                          | "Space Available"
                          | "Pending Quote"
                          | "No Seat"
                          | "Standby";
                      }[];
                      sourceType?: "NDC"
                      | "LCC"
                      | "ATPCO";
                      toAirportCode: string;
                      travelerIndices?: number[];
                      updatedArrivalDate?: string;
                      updatedArrivalTime?: string;
                      updatedDepartureDate?: string;
                      updatedDepartureTime?: string;
                  }
              )[];
              flightTickets?: {
                  agencyIataNumber?: string;
                  airlineCode: string;
                  allCoupons?: (
                      {
                          couponStatus: | "Airport Control"
                          | "Lifted"
                          | "Checked In"
                          | "Exchanged"
                          | "Flown"
                          | "Not Flown"
                          | "Refunded"
                          | "Voided"
                          | "Printed"
                          | "Okay"
                          | "Reactivated"
                          | "Irregular Operations"
                          | "Print Exchange"
                          | "Paper Ticket"
                          | "Suspended"
                          | "Locked";
                          couponStatusCode: | "AL"
                          | "PE"
                          | "XX"
                          | "S"
                          | "P"
                          | "B"
                          | "E"
                          | "BD"
                          | "CK"
                          | "I"
                          | "RF"
                          | "V"
                          | "PR"
                          | "IO"
                          | "T";
                      } & { itemId?: string }
                  )[];
                  commission?: {
                      commissionAmount?: string;
                      commissionPercentage?: string;
                      currencyCode?: string;
                  };
                  date: string;
                  flightCoupons: (
                      { itemId: string } & {
                          couponStatus:
                              | "Airport Control"
                              | "Lifted"
                              | "Checked In"
                              | "Exchanged"
                              | "Flown"
                              | "Not Flown"
                              | "Refunded"
                              | "Voided"
                              | "Printed"
                              | "Okay"
                              | "Reactivated"
                              | "Irregular Operations"
                              | "Print Exchange"
                              | "Paper Ticket"
                              | "Suspended"
                              | "Locked";
                          couponStatusCode: | "AL"
                          | "PE"
                          | "XX"
                          | "S"
                          | "P"
                          | "B"
                          | "E"
                          | "BD"
                          | "CK"
                          | "I"
                          | "RF"
                          | "V"
                          | "PR"
                          | "IO"
                          | "T";
                      }
                  )[];
                  number: string;
                  payment: {
                      currencyCode: string;
                      fees?: string;
                      subtotal?: string;
                      taxes?: string;
                      total: string;
                  };
                  ticketingPcc?: string;
                  ticketStatusCode?: string;
                  ticketStatusName?: "Voided"
                  | "Issued"
                  | "Refunded/Exchanged";
                  travelerIndex: number;
              }[];
              futureTicketingPolicy?: {
                  comment?: string;
                  queueNumber?: string;
                  ticketingDate?: string;
                  ticketingPcc?: string;
                  ticketingTime?: string;
              };
              hotels?: (
                  { itemId: string } & {
                      address: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      } & { freeText?: string; name?: string } & { cityCode?: string };
                      associatedFlightDetails?: {
                          arrivalAirlineCode?: string;
                          arrivalFlightNumber?: number;
                          arrivalTime?: string;
                          departureAirlineCode?: string;
                          departureFlightNumber?: number;
                          departureTime?: string;
                      };
                      chainCode?: string;
                      chainName?: string;
                      checkInDate: string;
                      checkInTime: string;
                      checkOutDate: string;
                      checkOutTime: string;
                      confirmationId?: string;
                      contactInfo?: { emails?: string[] } & {
                          emergencyPhones?: string[];
                          faxes?: string[];
                          phones?: string[];
                      };
                      corporateDiscountCode?: number;
                      guaranteePaymentNote?: string;
                      guaranteeTypeCode?: number;
                      guaranteeTypeName?: | "Credit card"
                      | "Travel agency name/address"
                      | "Travel agency IATA number"
                      | "Company name/address"
                      | "Corporate ID/CD number"
                      | "Virtual card";
                      hotelName: string;
                      hotelStatusCode?: string;
                      hotelStatusName?: | "Unknown"
                      | "Confirmed"
                      | "On Request"
                      | "Pending"
                      | "Cancelled"
                      | "Unconfirmed"
                      | "Waitlisted"
                      | "Infant/No Seat"
                      | "Priority Waitlist"
                      | "Quote"
                      | "Space Available"
                      | "Pending Quote"
                      | "No Seat"
                      | "Standby";
                      isRefundable: boolean;
                      leadTravelerIndex?: number;
                      numberOfGuests?: number;
                      payment?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      };
                      paymentPolicy?: "DEPOSIT"
                      | "GUARANTEE"
                      | "LATE";
                      propertyId?: string;
                      refundPenalties?: {
                          applicableFromDate?: string;
                          applicableToDate?: string;
                          penalty: { amount: string; currencyCode: string };
                      }[];
                      refundPenaltyPolicyCode?: string;
                      room?: {
                          agencyCommission?: {
                              commissionAmount?: string;
                              commissionPercentage?: string;
                              currencyCode?: string;
                          };
                          description?: string;
                          productCode?: string;
                          quantity: number;
                          roomRate?: { amount: string; currencyCode: string };
                          roomType: string;
                          roomTypeCode?: string;
                          travelerIndices?: number[];
                      };
                      sabrePropertyId?: string;
                      sourceTypeCode?: number;
                      sourceTypeName?: | "Unknown"
                      | "Legacy"
                      | "Sabre GDS"
                      | "Expedia Associate Network"
                      | "HotelBeds.com"
                      | "Booking.com"
                      | "CMNet";
                      specialInstructions?: string;
                  }
              )[];
              isCancelable?: boolean;
              isTicketed?: boolean;
              journeys?: {
                  departureDate: string;
                  departureTime: string;
                  firstAirportCode: string;
                  lastAirportCode: string;
                  numberOfFlights: number;
              }[];
              nonElectronicTickets?: {
                  date?: string;
                  ticketingPcc?: string;
                  ticketingUserCode?: string;
                  ticketNumber?: string;
                  ticketStatus?: "Unknown"
                  | "Active"
                  | "Inactive";
                  time?: string;
                  travelerIndex?: number;
              }[];
              otherServices?: {
                  airlineCode?: string;
                  chainCode?: string;
                  serviceMessage?: string;
                  travelerIndex?: number;
                  vendorCode?: string;
              }[];
              payments?: {
                  carTotals?: {
                      currencyCode: string;
                      fees?: string;
                      subtotal?: string;
                      taxes?: string;
                      total: string;
                  }[];
                  flightCurrentTotals?: {
                      currencyCode: string;
                      fees?: string;
                      subtotal?: string;
                      taxes?: string;
                      total: string;
                  }[];
                  flightTotals?: {
                      currencyCode: string;
                      fees?: string;
                      subtotal?: string;
                      taxes?: string;
                      total: string;
                  }[];
                  formsOfPayment?: (
                      {
                          airlinePlanCode?: string;
                          cardNumber?: string;
                          cardSecurityCode?: string;
                          cardTypeCode?: string;
                          expiryDate?: string;
                          extendedPayment?: number;
                          installmentAmount?: string;
                          miscellaneousCreditCode?: string;
                          numberOfInstallments?: number;
                      } & {
                          agencyAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          agencyIataNumber?: string;
                          authentications?: {
                              amount?: string;
                              cardNumberCollectionCode?: string;
                              channelCode?: string;
                              currencyCode?: string;
                              electronicCommerceIndicator?: string;
                              exemptionTypeCode?: string;
                              issueCode?: string;
                              mandateTypeCode?: string;
                              merchantName?: string;
                              originalPaymentReference?: string;
                              resultCode?: string;
                              secureAuthenticationValue?: string;
                              secureTransactionId?: string;
                              tokenAuthenticationValue?: string;
                              updatedDateTime?: string;
                              verificationResultCode?: string;
                              version?: string;
                          }[];
                          cardHolder?: {
                              address?: {
                                  city?: string;
                                  countryCode?: string;
                                  postalCode?: string;
                                  stateProvince?: string;
                                  street?: string;
                              };
                              email?: string;
                              givenName: string;
                              phone?: string;
                              surname: string;
                          };
                          companyAddress?: {
                              city?: string;
                              countryCode?: string;
                              postalCode?: string;
                              stateProvince?: string;
                              street?: string;
                          } & { freeText?: string; name?: string };
                          corporateId?: string;
                          docketDescription?: string;
                          docketIssuingAgentInitials?: string;
                          docketNumber?: string;
                          docketPrefix?: string;
                          governmentTravelRequestDescription?: string;
                          invoiceDescription?: string;
                          isAgencyPaymentCard?: boolean;
                          manualApproval?: {
                              airlineCode: string;
                              amount: string;
                              code: string;
                              currencyCode: string;
                              expiryDateTime: string;
                              requestDateTime: string;
                          };
                          netBalance?: string;
                          tripType?: | "All"
                          | "Unknown"
                          | "Corporate/Business"
                          | "Leisure"
                          | "Emergency"
                          | "Family"
                          | "Group";
                          tripTypes?: (
                              | "All"
                              | "Unknown"
                              | "Corporate/Business"
                              | "Leisure"
                              | "Emergency"
                              | "Family"
                              | "Group"
                          )[];
                          type: | "INVOICE"
                          | "CORPORATE"
                          | "PAYMENTCARD"
                          | "CASH"
                          | "CHECK"
                          | "MISCELLANEOUS"
                          | "INSTALLMENTS"
                          | "VIRTUAL_CARD"
                          | "AGENCY_NAME"
                          | "AGENCY_IATA"
                          | "COMPANY_NAME"
                          | "VOUCHER"
                          | "DOCKET"
                          | "GOVERNMENT_TRAVEL_REQUEST";
                          useType?: | "All"
                          | "Other"
                          | "Tour"
                          | "Unknown"
                          | "Ancillary"
                          | "Hotel"
                          | "Car"
                          | "Cruise"
                          | "Airline"
                          | "Bus/Ground Transportation"
                          | "Insurance"
                          | "Low-Cost Carrier"
                          | "Rail"
                          | "Specialty Service"
                          | "Interface Record";
                          useTypes?: (
                              | "All"
                              | "Other"
                              | "Tour"
                              | "Unknown"
                              | "Ancillary"
                              | "Hotel"
                              | "Car"
                              | "Cruise"
                              | "Airline"
                              | "Bus/Ground Transportation"
                              | "Insurance"
                              | "Low-Cost Carrier"
                              | "Rail"
                              | "Specialty Service"
                              | "Interface Record"
                          )[];
                          virtualCard?: {
                              agencyEmail?: string;
                              customerAccountCode?: string;
                              hotelFax?: string;
                              hotelName?: string;
                              rateAmount?: { amount: string; currencyCode: string };
                              roomDescription?: string;
                              roomType?: string;
                              virtualCardCharges?: string[];
                          };
                          voucher?: { billingNumber?: string; type?: string };
                      }
                  )[];
                  hotelTotals?: {
                      currencyCode: string;
                      fees?: string;
                      subtotal?: string;
                      taxes?: string;
                      total: string;
                  }[];
                  trainTotals?: {
                      currencyCode: string;
                      fees?: string;
                      subtotal?: string;
                      taxes?: string;
                      total: string;
                  }[];
              };
              remarks?: {
                  alphaCode?: string;
                  text?: string;
                  type?: | "INVOICE"
                  | "ITINERARY"
                  | "GENERAL"
                  | "HISTORICAL"
                  | "CLIENT_ADDRESS"
                  | "ALPHA_CODED"
                  | "DELIVERY_ADDRESS"
                  | "HIDDEN"
                  | "CORPORATE"
                  | "FORM_OF_PAYMENT"
                  | "PRINT_ON_TICKET"
                  | "FILLER_STRIP"
                  | "INTERFACE"
                  | "QUEUE_PLACE";
              }[];
              retentionEndDate?: string;
              retentionLabel?: string;
              specialServices?: {
                  code?: string;
                  flights?: { itemId: string }[];
                  message?: string;
                  name?: string;
                  statusCode?: string;
                  statusName?:
                      | "Unknown"
                      | "Confirmed"
                      | "On Request"
                      | "Pending"
                      | "Cancelled"
                      | "Unconfirmed"
                      | "Waitlisted"
                      | "Infant/No Seat"
                      | "Priority Waitlist"
                      | "Quote"
                      | "Space Available"
                      | "Pending Quote"
                      | "No Seat"
                      | "Standby";
                  travelerIndices?: number[];
              }[];
              startDate?: string;
              trains?: (
                  { itemId: string } & {
                      arrivalDate: string;
                      arrivalTime: string;
                      confirmationId?: string;
                      departureDate: string;
                      departureTime: string;
                      fromStationCode: string;
                      fromStationName?: string;
                      isRefundable?: boolean;
                      operatingVendorCode?: string;
                      operatingVendorName?: string;
                      payment?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      };
                      toStationCode: string;
                      toStationName?: string;
                      trainName?: string;
                      trainNumber: string;
                      trainStatusCode?: string;
                      trainStatusName?: | "Unknown"
                      | "Confirmed"
                      | "On Request"
                      | "Pending"
                      | "Cancelled"
                      | "Unconfirmed"
                      | "Waitlisted"
                      | "Infant/No Seat"
                      | "Priority Waitlist"
                      | "Quote"
                      | "Space Available"
                      | "Pending Quote"
                      | "No Seat"
                      | "Standby";
                      vendorCode: string;
                      vendorName?: string;
                  }
              )[];
              travelers?: {
                  address?: {
                      city?: string;
                      countryCode?: string;
                      postalCode?: string;
                      stateProvince?: string;
                      street?: string;
                  } & { freeText?: string; name?: string };
                  ancillaries?: {
                      airlineCode?: string;
                      commercialName?: string;
                      electronicMiscellaneousDocumentNumber?: string;
                      flightApplicabilityType?: "Unknown" | "Single" | "Multiple";
                      flights?: { itemId: string }[];
                      isCommissionable?: boolean;
                      isRefundable?: boolean;
                      itemId?: string;
                      numberOfItems?: number;
                      reasonForIssuanceCode?: string;
                      reasonForIssuanceName?:
                          | "UNKNOWN"
                          | "AIR_TRANSPORTATION"
                          | "SURFACE_TRANSPORTATION_NON_AIR_SERVICES"
                          | "BAGGAGE"
                          | "FINANCIAL_IMPACT"
                          | "AIRPORT_SERVICES"
                          | "MERCHANDISE"
                          | "INFLIGHT_SERVICES"
                          | "INDIVIDUAL_AIRLINE_USE";
                      source?: "ATPCO"
                      | "MERCHANDISING_MANAGER";
                      statusCode?: string;
                      statusName?:
                          | "Confirmed"
                          | "Confirmed with EMD issued"
                          | "On Request"
                          | "Pending"
                          | "Cancelled"
                          | "Unconfirmed"
                          | "Confirmed with pending payment"
                          | "Schedule change";
                      subcode?: string;
                      totals?: {
                          currencyCode: string;
                          fees?: string;
                          subtotal?: string;
                          taxes?: string;
                          total: string;
                      };
                      vendorCode?: string;
                  }[];
                  birthDate?: string;
                  emails?: string[];
                  formOfPaymentIndices?: number[];
                  gender?: | "FEMALE"
                  | "MALE"
                  | "INFANT_FEMALE"
                  | "INFANT_MALE"
                  | "UNDISCLOSED"
                  | "UNDEFINED";
                  givenName: string;
                  identityDocuments?: {
                      birthDate?: string;
                      documentNumber?: string;
                      documentSubType?: "RUC"
                      | "CUIT/CUIL"
                      | "NIT";
                      documentType:
                          | "MILITARY"
                          | "PASSPORT"
                          | "VISA"
                          | "SECURE_FLIGHT_PASSENGER_DATA"
                          | "RESIDENCE_ADDRESS"
                          | "DESTINATION_ADDRESS"
                          | "KNOWN_TRAVELER_NUMBER"
                          | "REDRESS_NUMBER"
                          | "ALIEN_RESIDENT"
                          | "PERMANENT_RESIDENT"
                          | "FACILITATION_DOCUMENT"
                          | "NATIONAL_ID_CARD"
                          | "NEXUS_CARD"
                          | "NATURALIZATION_CERTIFICATE"
                          | "REFUGEE_REENTRY_PERMIT"
                          | "BORDER_CROSSING_CARD"
                          | "FISCAL_ID";
                      expiryDate?: string;
                      flightIndices?: number[];
                      gender?: | "FEMALE"
                      | "MALE"
                      | "INFANT_FEMALE"
                      | "INFANT_MALE"
                      | "UNDISCLOSED"
                      | "UNDEFINED";
                      givenName?: string;
                      hostCountryCode?: string;
                      isLapChildDocument?: boolean;
                      isPrimaryDocumentHolder?: boolean;
                      issueDate?: string;
                      issuingCountryCode?: string;
                      itemId?: string;
                      middleName?: string;
                      placeOfBirth?: string;
                      placeOfIssue?: string;
                      residenceCountryCode?: string;
                      residenceDestinationAddress?: {
                          city?: string;
                          countryCode?: string;
                          postalCode?: string;
                          stateProvince?: string;
                          street?: string;
                      };
                      surname?: string;
                  }[];
                  isGrouped?: boolean;
                  loyaltyPrograms?: {
                      programNumber: string;
                      programType?: | "FREQUENT_FLYER"
                      | "FREQUENT_RENTER"
                      | "LOYALTY_ID"
                      | "CORPORATE_LOYALTY_ID";
                      receiverCode?: string;
                      supplierCode?: string;
                      tierLevel?: number;
                  }[];
                  middleName?: string;
                  nameAssociationId?: string;
                  nameReferenceCode?: string;
                  passengerCode?: string;
                  phones?: { label?: string; number: string }[];
                  remarks?: {
                      alphaCode?: string;
                      text?: string;
                      type?:
                          | "INVOICE"
                          | "ITINERARY"
                          | "GENERAL"
                          | "HISTORICAL"
                          | "CLIENT_ADDRESS"
                          | "ALPHA_CODED"
                          | "DELIVERY_ADDRESS"
                          | "HIDDEN"
                          | "CORPORATE"
                          | "FORM_OF_PAYMENT"
                          | "PRINT_ON_TICKET"
                          | "FILLER_STRIP"
                          | "INTERFACE"
                          | "QUEUE_PLACE";
                  }[];
                  surname: string;
                  type?: | "ADULT"
                  | "AGENT"
                  | "AIRLINE"
                  | "CHILD"
                  | "EDUCATION"
                  | "GOVERNMENT"
                  | "GROUP"
                  | "INFANT"
                  | "MILITARY"
                  | "SENIOR"
                  | "SPECIAL"
                  | "YOUTH";
              }[];
              travelersGroup?: {
                  itemId?: string;
                  name?: string;
                  numberOfTravelers?: number;
                  numberOfTravelersRemaining?: number;
              };
          } & {
              bookingSignature?: string;
              errors?: {
                  category: string;
                  description?: string;
                  fieldName?: string;
                  fieldPath?: string;
                  fieldValue?: string;
                  type: string;
              }[];
              request?: {
                  bookingSource?: "SABRE"
                  | "SABRE_ORDER";
                  confirmationId: string;
                  extraFeatures?: { returnEmptySeatObjects: boolean } & {
                      returnFiscalId: boolean;
                      returnFrequentRenter: boolean;
                      returnWalletFormsOfPayment: boolean;
                  } & Record<string, never>;
                  givenName?: string;
                  middleName?: string;
                  returnOnly?: (
                      | "FLIGHTS"
                      | "FLIGHT_PENALTY"
                      | "BAGGAGE_POLICY"
                      | "JOURNEYS"
                      | "HOTELS"
                      | "HOTEL_ADDRESS"
                      | "CARS"
                      | "CAR_RENTAL_ADDRESS"
                      | "CAR_RENTAL_PENALTY"
                      | "TRAINS"
                      | "CRUISES"
                      | "ALL_SEGMENTS"
                      | "TRAVELERS"
                      | "TICKETS"
                      | "PAYMENTS"
                      | "PENALTIES"
                      | "REMARKS"
                      | "IS_CANCELABLE"
                      | "IS_TICKETED"
                      | "CONTACT_INFO"
                      | "OTHER_SERVICES"
                      | "SPECIAL_SERVICES"
                      | "FARES"
                      | "CREATION_DETAILS"
                      | "ANCILLARIES"
                      | "FORMS_OF_PAYMENT"
                      | "RETENTION_DATE"
                      | "ACCOUNTING_ITEMS"
                      | "NON_ELECTRONIC_TICKETS"
                  )[];
                  surname?: string;
                  targetPcc?: string;
                  unmaskPaymentCardNumbers?: boolean;
              };
              timestamp?: string;
          };
      }

    • Parameters

      • request: {
            checkState: boolean;
            displayPaymentCardNumbers: boolean;
            id: string;
            requestType?: "STATELESS" | "STATEFUL";
            reshop: boolean;
        }
        • checkState: boolean

          If true, Order will return warning if there is uncommitted data.

          false
          
          true
          
        • displayPaymentCardNumbers: boolean

          If true, will display unmasked credit card numbers.

          false
          
          true
          
        • id: string

          Unique identifier of the order or PNR locator.

          542cb260c4114bc1ad51b85efa8118bd
          
        • OptionalrequestType?: "STATELESS" | "STATEFUL"

          Type of request, STATEFUL or STATELESS.

        • reshop: boolean

          If true, retrieves additional data. For example, whether the order is eligible for void or not, or the exact time until void is allowed.

          false
          
          true
          
      • body: any

      Returns {
          error?: any;
          response: {
              errors?: { code?: string; message?: string }[];
              order?: {
                  airlineRemarks?: {
                      id?: string;
                      passengerRefIds?: string[];
                      text?: string;
                  }[];
                  auxiliaryData?: {
                      pnrNameReferenceNumbers?: {
                          nameReferenceNumber?: string;
                          passengerRefId?: string;
                      }[];
                  };
                  baggageAllowances?: {
                      applicableParty?: string;
                      baggageDeterminingCarrier?: { carrierCode?: string };
                      dimensionAllowances?: {
                          baggageDimensionCategory?: string;
                          maximumMeasure?: { unitCode?: string; value?: string };
                          minimumMeasure?: { unitCode?: string; value?: string };
                      }[];
                      externalId?: string;
                      id?: string;
                      pieceAllowances?: { applicableParty?: string; totalQuantity?: number }[];
                      typeCode?: "CarryOn" | "Checked";
                      weightAllowances?: {
                          maximumMeasure?: { unitCode?: string; value?: string };
                      }[];
                  }[];
                  changeFee?: {
                      differentialAmountDue?: { amount?: string; code?: string };
                      differentialAmountDueTaxSummary?: {
                          allRefundableInd?: boolean;
                          taxes?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalTaxAmount?: { amount?: string; code?: string };
                      };
                      penaltyAmount?: { amount?: string; code?: string };
                      typeCode?: string;
                  };
                  contactInfos?: {
                      contactRefusedIndicator?: boolean;
                      contactType?: string;
                      emailAddresses?: { address?: string; id?: string; label?: string }[];
                      givenName?: string;
                      id?: string;
                      phones?: {
                          cityCode?: string;
                          countryCode?: string;
                          id?: string;
                          label?: string;
                          number?: string;
                      }[];
                      postalAddresses?: {
                          buildingRoom?: string;
                          cityName?: string;
                          countryCode?: string;
                          label?: "AddressAtOrigin"
                          | "AddressAtDestination";
                          postalCode?: string;
                          postOfficeBoxCode?: string;
                          stateProvinceCode?: string;
                          street?: string[];
                      }[];
                      surname?: string;
                  }[];
                  corporateId?: string;
                  countryCode?: string;
                  customerNumber?: { number?: string };
                  externalOrders?: {
                      airSegmentInformations?: {
                          arrivalAirport?: string;
                          arrivalTime?: string;
                          classOfService?: string;
                          departureAirport?: string;
                          departureTime?: string;
                          flightNumber?: number;
                          marketingAirlineCode?: string;
                      }[];
                      bookingReferences?: {
                          carrierCode?: string;
                          createDate?: string;
                          id?: string;
                          typeCode?: string;
                      }[];
                      externalOrderCreateDateTime?: string;
                      externalOrderId?: string;
                      id?: string;
                      systemId?: string;
                      totalPrice?: {
                          baseAmount?: { amount?: string; code?: string };
                          equivAmount?: { amount?: string; code?: string };
                          feeBreakdowns?: {
                              amount?: { amount?: string; code?: string; taxable?: boolean };
                              description?: string;
                              refundable?: boolean;
                          }[];
                          nonRefundableBaseAmount?: { amount?: string; code?: string };
                          surcharges?: {
                              breakdown?: {
                                  amount?: { amount?: ...; code?: ... };
                                  description?: string;
                                  designatorCode?: string;
                                  localAmount?: { amount?: ...; code?: ... };
                                  refundable?: boolean;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                          }[];
                          taxBreakdowns?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                          totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                          totalTaxAmount?: { amount?: string; code?: string };
                      };
                  }[];
                  formsOfPayment?: {
                      amount: { amount?: string; code?: string };
                      id: string;
                      orderItemRefIds?: string[];
                      payer?: {
                          payerEmailAddress?: {
                              address?: string;
                              id?: string;
                              label?: string;
                          };
                          payerName?: {
                              individualName: {
                                  birthdate?: string;
                                  birthplace?: string;
                                  documentNumber?: string;
                                  genderCode?: string;
                                  givenName?: string;
                                  middleName?: string;
                                  suffixName?: string;
                                  surname: string;
                                  titleName?: string;
                              };
                          };
                          payerPhoneNumber?: {
                              cityCode?: string;
                              countryCode?: string;
                              id?: string;
                              label?: string;
                              number?: string;
                          };
                          paymentAddress?: {
                              buildingRoom?: string;
                              cityName?: string;
                              countryCode?: string;
                              label?: "AddressAtOrigin"
                              | "AddressAtDestination";
                              postalCode?: string;
                              postOfficeBoxCode?: string;
                              stateProvinceCode?: string;
                              street?: string[];
                          };
                      };
                      paymentMethod: {
                          paymentAgencyAccount?: {
                              approvalCode?: string;
                              code?: string;
                              supplierTransactionId?: string;
                              transactionId?: string;
                          };
                          paymentCard?: {
                              approvalCode?: string;
                              cardHolderAddress?: {
                                  buildingRoom?: string;
                                  cityName?: string;
                                  countryCode?: string;
                                  label?: "AddressAtOrigin"
                                  | "AddressAtDestination";
                                  postalCode?: string;
                                  postOfficeBoxCode?: string;
                                  stateProvinceCode?: string;
                                  street?: string[];
                              };
                              cardHolderName?: string;
                              cardNumber?: string;
                              cardNumberToken?: string;
                              contactInfoRefId?: string;
                              cvv?: string;
                              cvvToken?: string;
                              expirationDate?: string;
                              securePaymentVersion2?: {
                                  authenticationMerchantName?: string;
                                  authenticationTokenValue?: string;
                                  authenticationValueText?: string;
                                  cardNumberCollectionCode?: string;
                                  directoryServerTrxID?: string;
                                  electronicCommerceIndText?: string;
                                  payerAuthenticationExemptionCode?: string;
                                  payerAuthenticationFailureToCompleteCode?: string;
                                  paymentTrxChannelCode?: string;
                                  programProtocolText?: string;
                                  trxStatusReasonText?: string;
                                  trxStatusText?: string;
                                  verificationResult?: string;
                              };
                              vendorCode?: string;
                          };
                          paymentCash?: Record<string, never>;
                          paymentReferenceFormOfPayment?: {
                              cardHolderAddress?: {
                                  buildingRoom?: string;
                                  cityName?: string;
                                  countryCode?: string;
                                  label?: "AddressAtOrigin" | "AddressAtDestination";
                                  postalCode?: string;
                                  postOfficeBoxCode?: string;
                                  stateProvinceCode?: string;
                                  street?: string[];
                              };
                              cardHolderName?: string;
                              contactInfoRefId?: string;
                              cvv?: string;
                              referenceId?: string;
                              securePaymentVersion2?: {
                                  authenticationMerchantName?: string;
                                  authenticationTokenValue?: string;
                                  authenticationValueText?: string;
                                  cardNumberCollectionCode?: string;
                                  directoryServerTrxID?: string;
                                  electronicCommerceIndText?: string;
                                  payerAuthenticationExemptionCode?: string;
                                  payerAuthenticationFailureToCompleteCode?: string;
                                  paymentTrxChannelCode?: string;
                                  programProtocolText?: string;
                                  trxStatusReasonText?: string;
                                  trxStatusText?: string;
                                  verificationResult?: string;
                              };
                          };
                          paymentTypeCode?: string;
                      };
                      useTypes?: string[];
                  }[];
                  id?: string;
                  itineraryMismatchedWithTickets?: boolean;
                  journeys?: { id?: string; segmentRefIds?: string[] }[];
                  loyaltyProgramAccount?: {
                      accountNumber?: string;
                      carrier?: { carrierCode: string };
                      id?: string;
                      programCode?: string;
                      programName?: string;
                  };
                  nameMismatchedWithTickets?: boolean;
                  offerVendor?: string;
                  orderItems?: {
                      commissions?: {
                          amount?: { amount?: string; code?: string };
                          code?: string;
                          descriptions?: string[];
                          passengerRefIds?: string[];
                          percentage?: number;
                      }[];
                      creationDateTime?: string;
                      externalId?: string;
                      externalOfferItemId?: string;
                      externalOrderRefId?: string;
                      fareDetails?: {
                          fareCalculationLine?: string;
                          fareComponents?: {
                              accountCode?: string;
                              cabinTypeCode?: string;
                              cabinTypeName?: string;
                              fareBasisCityPair?: string;
                              fareBasisCode?: string;
                              fareCode?: string;
                              fareDescription?: string;
                              fareRecognizedType?: | "Other"
                              | "Public"
                              | "Private"
                              | "Negotiated"
                              | "Corporate"
                              | "Unrecognized";
                              fareRules?: { penaltyRefIds?: (...)[] };
                              fareSourceCarrier?: string;
                              fareType?: string;
                              fareVendor?: string;
                              price?: {
                                  baseAmount?: { amount?: ...; code?: ... };
                                  equivAmount?: { amount?: ...; code?: ... };
                                  feeBreakdowns?: (...)[];
                                  nonRefundableBaseAmount?: { amount?: ...; code?: ... };
                                  surcharges?: (...)[];
                                  taxBreakdowns?: (...)[];
                                  totalAmount?: { amount?: ...; code?: ... };
                                  totalFeeAmount?: { amount?: ...; code?: ...; taxable?: ... };
                                  totalTaxAmount?: { amount?: ...; code?: ... };
                              };
                              priceClassRef?: string;
                              ruleNumber?: string;
                              segmentRefIds?: string[];
                              tariffNumber?: string;
                              type?: "O"
                              | "X"
                              | "R";
                          }[];
                          fareIndicatorCode?: string;
                          fareQualifiers?: string[];
                          filedFareInd?: boolean;
                          paxRefIds?: string[];
                          penaltyDifferential?: {
                              baseAmount?: { amount?: string; code?: string };
                              taxSummary?: {
                                  allRefundableInd?: boolean;
                                  taxes?: (...)[];
                                  totalTaxAmount?: { amount?: ...; code?: ... };
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                          };
                          price?: {
                              baseAmount?: { amount?: string; code?: string };
                              equivAmount?: { amount?: string; code?: string };
                              feeBreakdowns?: {
                                  amount?: { amount?: ...; code?: ...; taxable?: ... };
                                  description?: string;
                                  refundable?: boolean;
                              }[];
                              nonRefundableBaseAmount?: { amount?: string; code?: string };
                              surcharges?: {
                                  breakdown?: (...)[];
                                  totalAmount?: { amount?: ...; code?: ... };
                              }[];
                              taxBreakdowns?: {
                                  amount?: { amount?: ...; code?: ... };
                                  collectionInd?: boolean;
                                  countryCode?: string;
                                  description?: string;
                                  refundable?: boolean;
                                  taxCode?: string;
                                  taxTypeCode?: string;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                              totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                              totalTaxAmount?: { amount?: string; code?: string };
                          };
                          priceDifferential?: {
                              diffPrice?: {
                                  price?: {
                                      balanceAmount?: { amount?: ...; code?: ... };
                                      taxAllRefundableInd?: boolean;
                                      taxBreakdowns?: (...)[];
                                      totalAmount?: { amount?: ...; code?: ... };
                                      totalTaxAmount?: { amount?: ...; code?: ... };
                                  };
                              };
                          };
                          remarks?: { displayInd?: boolean; text?: string; type?: string }[];
                          tourCode?: string;
                      }[];
                      fees?: {
                          applied?: boolean;
                          basePrice?: { amount?: string; code?: string };
                          description?: string;
                          passengerRefIds?: string[];
                          percentageValue?: string;
                          price?: { amount?: string; code?: string };
                          refundable?: boolean;
                          serviceCode?: string;
                          subCode?: string;
                          taxBreakdowns?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalTaxAmount?: { amount?: string; code?: string };
                      }[];
                      feeWarnings?: { owner?: string; text?: string }[];
                      id?: string;
                      itemOrigin?: "SELL" | "EXCHANGE" | "SYNCHRONIZATION";
                      offerCustomerInformation?: {
                          agencyInformation?: {
                              agentCityCode?: string;
                              agentDeptCode?: string;
                              agentDuty?: string;
                              agentFunction?: string;
                              carrierCode?: string;
                              mainTravelAgencyPCC?: string;
                          };
                          billingInformation?: {
                              aaaCity?: string;
                              actionCode?: string;
                              agentSineIn?: string;
                              partitionID?: string;
                              pseudoCityCode?: string;
                              userSetAddress?: string;
                          };
                      };
                      offerItemId?: string;
                      origin?: string;
                      originatedFromTicketExchangeInd?: boolean;
                      paymentTimeLimit?: string;
                      paymentTimeLimitText?: string;
                      penaltyDifferential?: {
                          baseAmount?: { amount?: string; code?: string };
                          taxSummary?: {
                              allRefundableInd?: boolean;
                              taxes?: {
                                  amount?: { amount?: ...; code?: ... };
                                  collectionInd?: boolean;
                                  countryCode?: string;
                                  description?: string;
                                  refundable?: boolean;
                                  taxCode?: string;
                                  taxTypeCode?: string;
                              }[];
                              totalTaxAmount?: { amount?: string; code?: string };
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                      };
                      price?: {
                          baseAmount?: { amount?: string; code?: string };
                          equivAmount?: { amount?: string; code?: string };
                          feeBreakdowns?: {
                              amount?: { amount?: string; code?: string; taxable?: boolean };
                              description?: string;
                              refundable?: boolean;
                          }[];
                          nonRefundableBaseAmount?: { amount?: string; code?: string };
                          surcharges?: {
                              breakdown?: {
                                  amount?: { amount?: ...; code?: ... };
                                  description?: string;
                                  designatorCode?: string;
                                  localAmount?: { amount?: ...; code?: ... };
                                  refundable?: boolean;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                          }[];
                          taxBreakdowns?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                          totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                          totalTaxAmount?: { amount?: string; code?: string };
                      };
                      priceDifferential?: {
                          diffPrice?: {
                              price?: {
                                  balanceAmount?: { amount?: string; code?: string };
                                  taxAllRefundableInd?: boolean;
                                  taxBreakdowns?: {
                                      amount?: { amount?: ...; code?: ... };
                                      collectionInd?: boolean;
                                      countryCode?: string;
                                      description?: string;
                                      refundable?: boolean;
                                      taxCode?: string;
                                      taxTypeCode?: string;
                                  }[];
                                  totalAmount?: { amount?: string; code?: string };
                                  totalTaxAmount?: { amount?: string; code?: string };
                              };
                          };
                      };
                      priceGuaranteeTimeLimit?: string;
                      priceGuaranteeTimeLimitText?: string;
                      productRefIds?: string[];
                      sellerFollowUpAction?: { actionCodes?: string[] };
                      services?: {
                          externalId?: string;
                          externalOrderItemId?: string;
                          id?: string;
                          passengerRefId?: string;
                          pnrSegmentNumber?: number;
                          segmentRefId?: string;
                          selectedSeat?: {
                              characteristics?: string[];
                              column?: string;
                              descriptions?: string[];
                              pitchMeasure?: { unitCode?: string; value?: string };
                              row?: string;
                              segmentRefId?: string;
                              widthMeasure?: { unitCode?: string; value?: string };
                          };
                          serviceDefinitionRefId?: string;
                          statusCode?: string;
                      }[];
                      statusCode?: string;
                      validatingCarrierCode?: string;
                  }[];
                  orderOwner?: string;
                  partition?: string;
                  passengers?: {
                      age?: number;
                      ageUnitCode?: string;
                      birthdate?: string;
                      citizenshipCountryCode?: string;
                      contactInfoRefId?: string;
                      contactInfoRefIds?: string[];
                      employer?: {
                          name?: string;
                          taxRegistrationData: {
                              address?: {
                                  cityName?: string;
                                  postalCode?: string;
                                  street?: string[];
                              };
                              countryCode?: string;
                              countrySubDivisionName?: string;
                              emailAddress?: string;
                              phones?: {
                                  cityCode?: string;
                                  countryCode?: string;
                                  id?: string;
                                  label?: string;
                                  number?: string;
                              }[];
                              taxRegistrationId: string;
                          }[];
                      };
                      externalId?: string;
                      genderCode?: string;
                      givenName?: string;
                      id?: string;
                      identityDocuments?: {
                          birthdate?: string;
                          birthplace?: string;
                          citizenshipCountryCode?: string;
                          documentNumber?: string;
                          documentSubTypeCode?: string;
                          documentTypeCode?: string;
                          entryQuantity?: string;
                          expiryDate?: string;
                          genderCode?: string;
                          givenName?: string;
                          id?: string;
                          issueDate?: string;
                          issuingCountryCode?: string;
                          middleName?: string;
                          placeOfIssue?: string;
                          referencedDocumentNumbers?: string[];
                          residenceCountryCode?: string;
                          stayDuration?: string;
                          suffixName?: string;
                          surname?: string;
                          titleName?: string;
                          visaHostCountryCode?: string;
                      }[];
                      loyaltyProgramAccounts?: {
                          accountNumber?: string;
                          carrier?: { carrierCode: string };
                          id?: string;
                          programCode?: string;
                          programName?: string;
                      }[];
                      middleName?: string;
                      passengerReference?: string;
                      remarks?: { id?: string; text?: string; type?: string }[];
                      suffixName?: string;
                      surname?: string;
                      titleName?: string;
                      typeCode?: string;
                  }[];
                  paymentInformation?: {
                      amount: { amount?: string; code?: string };
                      id: string;
                      orderItemRefIds?: string[];
                      payer?: {
                          payerEmailAddress?: {
                              address?: string;
                              id?: string;
                              label?: string;
                          };
                          payerName?: {
                              individualName: {
                                  birthdate?: string;
                                  birthplace?: string;
                                  documentNumber?: string;
                                  genderCode?: string;
                                  givenName?: string;
                                  middleName?: string;
                                  suffixName?: string;
                                  surname: string;
                                  titleName?: string;
                              };
                          };
                          payerPhoneNumber?: {
                              cityCode?: string;
                              countryCode?: string;
                              id?: string;
                              label?: string;
                              number?: string;
                          };
                          paymentAddress?: {
                              buildingRoom?: string;
                              cityName?: string;
                              countryCode?: string;
                              label?: "AddressAtOrigin"
                              | "AddressAtDestination";
                              postalCode?: string;
                              postOfficeBoxCode?: string;
                              stateProvinceCode?: string;
                              street?: string[];
                          };
                      };
                      paymentMethod: {
                          paymentAgencyAccount?: {
                              approvalCode?: string;
                              code?: string;
                              supplierTransactionId?: string;
                              transactionId?: string;
                          };
                          paymentCard?: {
                              approvalCode?: string;
                              cardHolderAddress?: {
                                  buildingRoom?: string;
                                  cityName?: string;
                                  countryCode?: string;
                                  label?: "AddressAtOrigin"
                                  | "AddressAtDestination";
                                  postalCode?: string;
                                  postOfficeBoxCode?: string;
                                  stateProvinceCode?: string;
                                  street?: string[];
                              };
                              cardHolderName?: string;
                              cardNumber?: string;
                              cardNumberToken?: string;
                              contactInfoRefId?: string;
                              cvv?: string;
                              cvvToken?: string;
                              expirationDate?: string;
                              securePaymentVersion2?: {
                                  authenticationMerchantName?: string;
                                  authenticationTokenValue?: string;
                                  authenticationValueText?: string;
                                  cardNumberCollectionCode?: string;
                                  directoryServerTrxID?: string;
                                  electronicCommerceIndText?: string;
                                  payerAuthenticationExemptionCode?: string;
                                  payerAuthenticationFailureToCompleteCode?: string;
                                  paymentTrxChannelCode?: string;
                                  programProtocolText?: string;
                                  trxStatusReasonText?: string;
                                  trxStatusText?: string;
                                  verificationResult?: string;
                              };
                              vendorCode?: string;
                          };
                          paymentCash?: Record<string, never>;
                          paymentReferenceFormOfPayment?: {
                              cardHolderAddress?: {
                                  buildingRoom?: string;
                                  cityName?: string;
                                  countryCode?: string;
                                  label?: "AddressAtOrigin" | "AddressAtDestination";
                                  postalCode?: string;
                                  postOfficeBoxCode?: string;
                                  stateProvinceCode?: string;
                                  street?: string[];
                              };
                              cardHolderName?: string;
                              contactInfoRefId?: string;
                              cvv?: string;
                              referenceId?: string;
                              securePaymentVersion2?: {
                                  authenticationMerchantName?: string;
                                  authenticationTokenValue?: string;
                                  authenticationValueText?: string;
                                  cardNumberCollectionCode?: string;
                                  directoryServerTrxID?: string;
                                  electronicCommerceIndText?: string;
                                  payerAuthenticationExemptionCode?: string;
                                  payerAuthenticationFailureToCompleteCode?: string;
                                  paymentTrxChannelCode?: string;
                                  programProtocolText?: string;
                                  trxStatusReasonText?: string;
                                  trxStatusText?: string;
                                  verificationResult?: string;
                              };
                          };
                          paymentTypeCode?: string;
                      };
                      useTypes?: string[];
                  }[];
                  paymentTimeLimit?: string;
                  paymentTimeLimitText?: string;
                  penalties?: {
                      applicabilityList?: string[];
                      description?: string;
                      feeAmount?: string;
                      feeCurrencyCode?: string;
                      hasFee?: boolean;
                      id?: string;
                      isAllowed?: boolean;
                      type?: string;
                  }[];
                  pnrCreateDate?: string;
                  pnrLocator?: string;
                  priceClasses?: {
                      code?: string;
                      descriptions?: { id?: string; text?: string }[];
                      id?: string;
                      name?: string;
                  }[];
                  primeHost?: string;
                  products?: {
                      airSegment?: {
                          actionCode?: string;
                          arrivalAirport?: string;
                          arrivalDateTime?: string;
                          departureAirport?: string;
                          departureDateTime?: string;
                          legs?: {
                              arrivalAirport?: string;
                              arrivalDateTime?: string;
                              departureAirport?: string;
                              departureDateTime?: string;
                              marketingCarrier?: {
                                  airlineCode?: string;
                                  banner?: string;
                                  bookingClass?: string;
                                  flightNumber?: string;
                                  name?: string;
                              };
                              operatingCarrier?: {
                                  airlineCode?: string;
                                  banner?: string;
                                  bookingClass?: string;
                                  flightNumber?: string;
                                  name?: string;
                              };
                          }[];
                          marketingCarrier?: {
                              airlineCode?: string;
                              banner?: string;
                              bookingClass?: string;
                              flightNumber?: string;
                              name?: string;
                          };
                          operatingCarrier?: {
                              airlineCode?: string;
                              banner?: string;
                              bookingClass?: string;
                              flightNumber?: string;
                              name?: string;
                          };
                      };
                      id?: string;
                  }[];
                  pseudoCityCode?: string;
                  remarks?: { id?: string; text?: string; type?: string }[];
                  segments?: {
                      arnkInd?: boolean;
                      arrival?: {
                          gateId?: string;
                          locationCode?: string;
                          scheduledDateTime?: string;
                          stationName?: string;
                          terminalName?: string;
                      };
                      cabinTypeCode?: string;
                      datedOperatingLegs?: {
                          arrival?: {
                              gateId?: string;
                              locationCode?: string;
                              scheduledDateTime?: string;
                              stationName?: string;
                              terminalName?: string;
                          };
                          carrierAircraftType?: { code?: string; name?: string };
                          changeOfGaugeInd?: boolean;
                          departure?: {
                              gateId?: string;
                              locationCode?: string;
                              scheduledDateTime?: string;
                              stationName?: string;
                              terminalName?: string;
                          };
                          distanceMeasure?: { unitCode?: string; value?: number };
                          onGroundDuration?: string;
                      }[];
                      departure?: {
                          gateId?: string;
                          locationCode?: string;
                          scheduledDateTime?: string;
                          stationName?: string;
                          terminalName?: string;
                      };
                      distanceMeasure?: { unitCode?: string; value?: number };
                      flightDuration?: string;
                      id?: string;
                      marketingCarrier?: {
                          carrierCode?: string;
                          carrierName?: string;
                          classOfService?: string;
                          disclosure?: { id?: string; text?: string[] };
                          flightNumber?: number;
                      };
                      operatingCarrier?: {
                          carrierCode?: string;
                          carrierName?: string;
                          classOfService?: string;
                          disclosure?: { id?: string; text?: string[] };
                          flightNumber?: number;
                      };
                      references?: { id?: string; system?: string }[];
                  }[];
                  serviceDefinitions?: {
                      baggageAllowanceRefId?: string;
                      bookingInstructions?: {
                          productText?: string;
                          productTextDetails?: {
                              description?: string;
                              key: string;
                              value: string;
                          }[];
                          specialServices?: { freeText?: string; specialServiceCode?: string }[];
                      };
                      cabinUpgrade?: {
                          methodCode?: string;
                          reservationBookingDesignator?: string;
                      };
                      descriptions?: { id?: string; text?: string }[];
                      externalId?: string;
                      groupCode?: string;
                      id?: string;
                      name?: string;
                      ownerCode?: string;
                      reasonForIssuanceCode?: string;
                      reasonForIssuanceSubCode?: string;
                      serviceCode?: string;
                      settlementMethodCode?: string;
                  }[];
                  ticketingDocumentInfo?: {
                      document?: {
                          coupons?: {
                              consumedAtIssuanceInd?: boolean;
                              exchangeEligibilityInd?: boolean;
                              inConnectionCouponNumber?: string;
                              inConnectionDocumentNumber?: string;
                              involuntaryIndicatorCode?: string;
                              number?: number;
                              orderItemRefId?: string;
                              presentAt?: string;
                              presentTo?: string;
                              reasonForIssuanceCode?: string;
                              reasonForIssuanceSubCode?: string;
                              segmentInfo?: {
                                  arrivalAirport?: string;
                                  arrivalTime?: string;
                                  classOfService?: string;
                                  departureAirport?: string;
                                  departureTime?: string;
                                  flightNumber?: number;
                                  marketingAirlineCode?: string;
                              };
                              serviceCode?: string;
                              serviceRefId?: string;
                              settlementAuthCode?: string;
                              status?: string;
                          }[];
                          exchangeEligibilityInd?: boolean;
                          inConnectionDocumentNumber?: string;
                          issueDateTime?: string;
                          issueDateTimeComment?: string;
                          issueDateTimeText?: string;
                          number?: string;
                          numberOfBooklets?: number;
                          outOfSyncWithOrderItem?: boolean;
                          primaryDocumentInd?: boolean;
                          remarkText?: string;
                          reportingType?: string;
                          routingCode?: string;
                          ticketingLocation?: string;
                          type?: string;
                          voidEligibilityInd?: boolean;
                          voidPeriodExpirationDateTime?: string;
                      };
                      originalIssueInfo?: {
                          issueDate?: string;
                          issuingAgentId?: string;
                          locationCode?: string;
                          ticketNumber?: string;
                      };
                      paxRefId?: string;
                      price?: {
                          baseAmount?: { amount?: string; code?: string };
                          equivAmount?: { amount?: string; code?: string };
                          feeBreakdowns?: {
                              amount?: { amount?: string; code?: string; taxable?: boolean };
                              description?: string;
                              refundable?: boolean;
                          }[];
                          nonRefundableBaseAmount?: { amount?: string; code?: string };
                          surcharges?: {
                              breakdown?: {
                                  amount?: { amount?: ...; code?: ... };
                                  description?: string;
                                  designatorCode?: string;
                                  localAmount?: { amount?: ...; code?: ... };
                                  refundable?: boolean;
                              }[];
                              totalAmount?: { amount?: string; code?: string };
                          }[];
                          taxBreakdowns?: {
                              amount?: { amount?: string; code?: string };
                              collectionInd?: boolean;
                              countryCode?: string;
                              description?: string;
                              refundable?: boolean;
                              taxCode?: string;
                              taxTypeCode?: string;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                          totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                          totalTaxAmount?: { amount?: string; code?: string };
                      };
                  }[];
                  totalPrice?: {
                      baseAmount?: { amount?: string; code?: string };
                      equivAmount?: { amount?: string; code?: string };
                      feeBreakdowns?: {
                          amount?: { amount?: string; code?: string; taxable?: boolean };
                          description?: string;
                          refundable?: boolean;
                      }[];
                      nonRefundableBaseAmount?: { amount?: string; code?: string };
                      surcharges?: {
                          breakdown?: {
                              amount?: { amount?: string; code?: string };
                              description?: string;
                              designatorCode?: string;
                              localAmount?: { amount?: string; code?: string };
                              refundable?: boolean;
                          }[];
                          totalAmount?: { amount?: string; code?: string };
                      }[];
                      taxBreakdowns?: {
                          amount?: { amount?: string; code?: string };
                          collectionInd?: boolean;
                          countryCode?: string;
                          description?: string;
                          refundable?: boolean;
                          taxCode?: string;
                          taxTypeCode?: string;
                      }[];
                      totalAmount?: { amount?: string; code?: string };
                      totalFeeAmount?: { amount?: string; code?: string; taxable?: boolean };
                      totalTaxAmount?: { amount?: string; code?: string };
                  };
                  type?: string;
              };
              warnings?: { code?: string; message?: string }[];
          };
      }

    • Parameters

      • request: { agenceInfo?: { id_sales_point: number }; salesPointId: number }

      Returns Promise<any>

    • Validates that all required attributes are present

      Parameters

      • salesPoint: any

        Sales point object

      Returns any

      Validation result with error if validation fails

    • Sends a request to Sabre API (using the SABRE_CMD_URL) and logs the request and response. The request can either be a ProfileSearchRQ or a ProfileRetrieveRQ or any XML request.

      Parameters

      • dataToSend: string
      • type: string = "ProfileSearch"

      Returns string