def METHOD_NAME(
    self, sync_mode: SyncMode, cursor_field: List[str] = None, stream_state: Mapping[str, Any] = None
) -> Iterable[Optional[Mapping[str, Any]]]:
    """
    Slices whole time range to more granular slices (24h slices). Latest time slice should be the first to avoid data loss
    """
    cursor_data = stream_state.get(self.cursor_field) if stream_state else 0
    end_time = pendulum.now()
    # API stores data for last 90 days. Adjust starting time to avoid unnecessary API requests
    # ignores state if start_date option is higher than cursor
    start_time = max(end_time.int_timestamp - self.data_lifetime, self.start_date, cursor_data)
    last_start_time = pendulum.from_timestamp(start_time)
    slices = []
    while last_start_time < end_time:
        slices.append(
            {
                "StartTime": last_start_time.int_timestamp,
                # decrement second as API include records with specified StartTime and EndTime
                "EndTime": last_start_time.add(days=1).int_timestamp - 1,
            }
        )
        last_start_time = last_start_time.add(days=1)
    return slices