Optionalquery: FilterQuery<BaseItineraryRecommendation>The query to filter documents.
A promise that resolves to the count of matching documents.
Creates a new itinerary recommendation.
The input data for creating a new itinerary recommendation.
A promise that resolves to the saved itinerary recommendation.
Finds an itinerary recommendation by its ID.
The ID of the itinerary recommendation to find.
OptionallistQueryOptions: ListQueryOptions<SavedItineraryRecommendation>Additional options to customize the query.
A promise that resolves to the found itinerary recommendation, or null if not found.
Finds one itinerary recommendation based on the provided query.
The query to filter documents.
Optionalfields: SelectQuery<BaseItineraryRecommendation>[]Optional fields to select.
A promise that resolves to the found itinerary recommendation, or null if not found.
Get itinerary recommendations based on the provided query and options.
OptionalhostUserId: stringThe ID of the host user.
Optionalmonths: (The months to filter recommendations.
Optionallimit: numberThe maximum number of recommendations to return.
A promise that resolves to the saved itinerary recommendation.
Lists itinerary recommendations based on the provided query and options.
Optionalquery: FilterQuery<BaseItineraryRecommendation>The query to filter documents.
OptionallistQueryOptions: ListQueryOptions<BaseItineraryRecommendation>Additional options for listing documents.
A promise that resolves to an array of matching itinerary recommendations.
List itinerary recommendations from data warehouse based on the provided options.
Optionalinput: AutomaticRecommendationsInputThe input data for fetching automatic itinerary recommendations.
A promise that resolves to an array of matching itinerary recommendations.
Lists itinerary recommendations recommended to a specific entity based on the provided options.
The ID of the entity to which recommendations are made.
OptionallistQueryOptions: ListQueryOptions<BaseItineraryRecommendation>Additional options for listing documents.
A promise that resolves to an array of matching itinerary recommendations.
List itinerary recommendations for sorting based on the provided options.
Optionalinput: RecommendationsForSortingInputThe input data for fetching itinerary recommendations for sorting.
A promise that resolves to an array of matching itinerary recommendations.
List itinerary recommendations from data warehouse based on the provided options and return only the top results.
Optionalinput: AutomaticRecommendationsInputThe input data for fetching automatic itinerary recommendations.
A promise that resolves to an array of matching itinerary recommendations.
Updates an existing itinerary recommendation.
The ID of the itinerary recommendation to update.
The input data for updating an itinerary recommendation.
A promise that resolves to the updated itinerary recommendation, or null if not found.
Counts the number of documents matching the given query.