/** * Linkbreakers API * This is a documentation of all the APIs of Linkbreakers * * The version of the OpenAPI document: 1.118.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Aggregated analytics calculated on demand for time windows, giving Linkbreakers UIs headline numbers without exposing raw events. * @export * @interface EventsMetric */ export interface EventsMetric { /** * * @type {number} * @memberof EventsMetric */ averageLeadScore?: number; /** * * @type {Date} * @memberof EventsMetric */ firstAt?: Date; /** * * @type {Date} * @memberof EventsMetric */ lastAt?: Date; /** * * @type {string} * @memberof EventsMetric */ topCity?: string; /** * * @type {string} * @memberof EventsMetric */ topCountry?: string; /** * DeviceType represents the physical form factor of the device. * This describes the hardware category (phone, tablet, laptop, etc.), * NOT who or what is operating it — see DeviceActor for that. * * - DEVICE_TYPE_UNSPECIFIED: Device type not specified or not yet detected * - DEVICE_TYPE_NATIVE: Native QR scanner (no browser capabilities reported) * - DEVICE_TYPE_MOBILE: Mobile handset browser * - DEVICE_TYPE_TABLET: Tablet browser * - DEVICE_TYPE_DESKTOP: Desktop or laptop browser * - DEVICE_TYPE_UNKNOWN: Unable to classify the device * @type {EventsMetricTopDeviceTypeEnum} * @memberof EventsMetric */ topDeviceType?: EventsMetricTopDeviceTypeEnum; /** * * @type {number} * @memberof EventsMetric */ totalCities?: number; /** * * @type {number} * @memberof EventsMetric */ totalCountries?: number; /** * * @type {number} * @memberof EventsMetric */ totalDeviceTypes?: number; /** * * @type {number} * @memberof EventsMetric */ totalEvents?: number; } /** * @export */ export declare const EventsMetricTopDeviceTypeEnum: { readonly DeviceTypeUnspecified: "DEVICE_TYPE_UNSPECIFIED"; readonly DeviceTypeNative: "DEVICE_TYPE_NATIVE"; readonly DeviceTypeMobile: "DEVICE_TYPE_MOBILE"; readonly DeviceTypeTablet: "DEVICE_TYPE_TABLET"; readonly DeviceTypeDesktop: "DEVICE_TYPE_DESKTOP"; readonly DeviceTypeUnknown: "DEVICE_TYPE_UNKNOWN"; }; export type EventsMetricTopDeviceTypeEnum = typeof EventsMetricTopDeviceTypeEnum[keyof typeof EventsMetricTopDeviceTypeEnum]; /** * Check if a given object implements the EventsMetric interface. */ export declare function instanceOfEventsMetric(value: object): value is EventsMetric; export declare function EventsMetricFromJSON(json: any): EventsMetric; export declare function EventsMetricFromJSONTyped(json: any, ignoreDiscriminator: boolean): EventsMetric; export declare function EventsMetricToJSON(json: any): EventsMetric; export declare function EventsMetricToJSONTyped(value?: EventsMetric | null, ignoreDiscriminator?: boolean): any;