// This file was auto-generated by Fern from our API Definition.

/**
 * @example
 *     {}
 */
export interface CreateDataEventSummariesRequest {
    /** Your identifier for the user. */
    user_id?: string;
    /** A list of event summaries for the user. Each event summary should contain the event name, the time the event occurred, and the number of times the event occurred. The event name should be a past tense 'verb-noun' combination, to improve readability, for example `updated-plan`. */
    event_summaries?: CreateDataEventSummariesRequest.EventSummaries;
}

export namespace CreateDataEventSummariesRequest {
    /**
     * A list of event summaries for the user. Each event summary should contain the event name, the time the event occurred, and the number of times the event occurred. The event name should be a past tense 'verb-noun' combination, to improve readability, for example `updated-plan`.
     */
    export interface EventSummaries {
        /** The name of the event that occurred. A good event name is typically a past tense 'verb-noun' combination, to improve readability, for example `updated-plan`. */
        event_name?: string;
        /** The number of times the event occurred. */
        count?: number;
        /** The first time the event was sent */
        first?: number;
        /** The last time the event was sent */
        last?: number;
    }
}
