function serializeSchedule(item) {
  return {
    id: item.id,
    integrationId: item.integrationId,
    entityType: item.entityType,
    direction: item.direction,
    scheduleType: item.scheduleType,
    scheduleValue: item.scheduleValue,
    timezone: item.timezone,
    fullSync: item.fullSync,
    isEnabled: item.isEnabled,
    scheduledJobId: item.scheduledJobId ?? null,
    lastRunAt: item.lastRunAt?.toISOString() ?? null,
    createdAt: item.createdAt.toISOString(),
    updatedAt: item.updatedAt.toISOString()
  };
}
export {
  serializeSchedule
};
//# sourceMappingURL=serialize.js.map
