@pipedream/tookan
Version:
Pipedream Tookan Components
51 lines (50 loc) • 1.67 kB
TypeScript
import { HttpRequestParams, CreateAppointmentTaskParams, CreateDeliveryTaskParams, CreateFieldWorkforceTaskParams, CreatePickupAndDeliveryTaskParams, CreatePickupTaskParams } from "../common/requestParams.js";
declare const _default: import("@pipedream/types").App<{
_baseUrl(): string;
_httpRequest({ $, endpoint, data, method, }: HttpRequestParams): Promise<object>;
createTask(params: {
data: object;
}): Promise<import("../common/responseSchemas").TaskData>;
createAppointmentTask(params: CreateAppointmentTaskParams): Promise<object>;
createDeliveryTask(params: CreateDeliveryTaskParams): Promise<object>;
createFieldWorkforceTask(params: CreateFieldWorkforceTaskParams): Promise<object>;
createPickupAndDeliveryTask(params: CreatePickupAndDeliveryTaskParams): Promise<object>;
createPickupTask(params: CreatePickupTaskParams): Promise<object>;
}, {
timezone: {
label: string;
description: string;
type: string;
options: {
label: string;
value: string;
}[];
};
customerAddress: {
label: string;
description: string;
type: string;
};
jobDeliveryDatetime: {
label: string;
description: string;
type: string;
};
jobPickupDatetime: {
label: string;
description: string;
type: string;
};
jobPickupAddress: {
label: string;
description: string;
type: string;
};
additionalOptions: {
label: string;
description: string;
type: string;
optional: boolean;
};
}>;
export default _default;