intercom-client
Version:
Official Node bindings to the Intercom API
29 lines (28 loc) • 1.38 kB
TypeScript
/**
* This file was auto-generated by Fern from our API Definition.
*/
/**
* @example
* {}
*/
export interface ListEventSummariesRequest {
/** 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?: ListEventSummariesRequest.EventSummaries;
}
export declare namespace ListEventSummariesRequest {
/**
* 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`.
*/
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;
}
}