/*
 * Copyright (c) 2023-2025 Datalayer, Inc.
 * Distributed under the terms of the Modified BSD License.
 */
export const asContactEvent = (ce) => {
    return {
        id: ce.uid,
        message: ce.message ?? '',
        subType: ce.subType,
        detailsJson: ce.detailsJson ?? '',
        token: ce.token,
        eventDate: ce.eventDate,
    };
};
