hybridge
    Preparing search index...

    Function adjustParameters

    • Parameters

      • searchInfo: {
            allTrips?: {
                availableNearbyCities?: any[];
                nextAvailableDate?: string;
                results: any;
            }[];
            currency: string;
            departureDate: string;
            fromCity: City;
            leadTimeOutbound?: number;
            leadTimeReturn?: number;
            products: { [key: string]: number };
            returnDate?: string | null;
            stations: Stations;
            toCity: City;
        }
      • trip: Trip

      Returns {
          _valueToSum: string;
          fb_checkin_date: string;
          fb_checkout_date?: string | null;
          fb_city: string;
          fb_content_id: string;
          fb_content_type: "[\"hotel\", \"product\"]";
          fb_country: string;
          fb_currency: string;
          fb_num_adults: string;
          fb_region: string;
          fb_travel_end?: string | null;
          fb_travel_start: string;
      }

      • _valueToSum: string

        Product value, as a string

      • fb_checkin_date: string

        Departure date

      • Optionalfb_checkout_date?: string | null

        Return ride date, if presented

      • fb_city: string

        City of destination

      • fb_content_id: string

        ["from_city_id#to_city_id"]

      • fb_content_type: "[\"hotel\", \"product\"]"

        ["hotel", "product"]

      • fb_country: string

        Country code of destination

      • fb_currency: string

        Product currency

      • fb_num_adults: string

        Number of tickets, as a string

      • fb_region: string

        City of destination

      • Optionalfb_travel_end?: string | null

        Return ride date, if presented

      • fb_travel_start: string

        Departure date