Adds one or more sources to a given ListUser
this param is used to locate the correct marketing list for the given host
the list user to be added to the host marketing list
Persists a new List instance of confirmed traveler type, and creates a list on mailgun
this param is used to build the identifier for the mailgunListId
Persists a new List instance of host marketing type, and creates a list on mailgun
this param is used to build the identifier for the mailgunListId, and is also the owner of the list
Persists a new List instance of pending traveler type, and creates a list on mailgun
this param is used to build the identifier for the mailgunListId
Persists a new List instance of waitlisted traveler type, and creates a list on mailgun
this param is used to build the identifier for the mailgunListId
Deletes a ListUser setting its deleted flag to true
Deletes one or more ListUsers by their user emails
the tripId to get the email lists
the user emails from the list users to delete
the number of ListUsers deleted
Deletes one or more ListUsers by their user ids
the tripId to get the email lists
the user ids from the list users to delete
the number of ListUsers deleted
Export the host marketing list to a csv file.
the id of the host.
OptionalextendedData: booleanwhether to include extended data in the export.
OptionaljobId: stringthe id of the job that triggered the export.
Retrieves a List by its id
OptionallistQueryOptions: ListQueryOptions<BaseList>Retrieves a ListUser by its id
Retrieves a list of ListUser finding by a given query
The opposite of suppress booked travelers. Adds the contacts from the pending and confirmed travelers list to the host marketing list.
the id of the trips host.
the id of the trip.
Remove the emails on the trip's pending and confirmed travelers list from the host marketing list. The listUsers are not deleted, only the emails are removed from the email service.
This isn't great. But it's a workaround.
the id of the trips host.
the id of the trip to suppress.
Update a list user
the id of the list user to update
the fields to update
Updates a ListUser updating its referenced list
Update all list users by the specified normalized email.
the normalized email to search for.
list user properties to update ListUsersUpdateParams.
Persists an instance of ListUser