package org.embulk.input.marketo; import com.fasterxml.jackson.databind.node.ObjectNode; import org.embulk.input.marketo.model.MarketoField; import java.io.File; import java.util.Date; import java.util.List; /** * Created by tai.khuu on 9/6/17. */ public interface MarketoService { List describeLead(); File extractLead(Date startTime, Date endTime, List extractedFields, String filterField, int pollingTimeIntervalSecond, int bulkJobTimeoutSecond); File extractAllActivity(Date startTime, Date endTime, int pollingTimeIntervalSecond, int bulkJobTimeoutSecond); Iterable getAllListLead(List extractFields); Iterable getAllProgramLead(List extractFields); Iterable getCampaign(); Iterable getPrograms(); Iterable getProgramsByTag(String tagType, String tagValue); Iterable getProgramsByDateRange(Date earliestUpdatedAt, Date latestUpdatedAt, String filterType, List filterValues); Iterable getCustomObject(String customObjectAPIName, String customObjectFilterType, String customObjectFields, Integer fromValue, Integer toValue); List describeCustomObject(String customObjectAPIName); }