/**
 * LINE Messaging API(Insight)
 * This document describes LINE Messaging API(Insight).
 *
 * The version of the OpenAPI document: 0.0.1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { GetRichMenuInsightDailyResponseClick } from "./getRichMenuInsightDailyResponseClick.js";
import { GetRichMenuInsightDailyResponseImpression } from "./getRichMenuInsightDailyResponseImpression.js";

/**
 * Daily impression and click statistics for a rich menu created via the Messaging API.
 */
export type GetRichMenuInsightDailyResponse = {
  /**
   * Rich menu ID.
   */
  richMenuId: string;
  /**
   * Start date (JST) of the period actually covered by the returned metrics. Format: yyyyMMdd (e.g. 20260213).
   * Pattern: /^[0-9]{8}$/
   */
  metricsFrom?: string | null;
  /**
   * End date (JST) of the period actually covered by the returned metrics. Format: yyyyMMdd (e.g. 20260215).
   * Pattern: /^[0-9]{8}$/
   */
  metricsTo?: string | null;
  impression?: GetRichMenuInsightDailyResponseImpression;
  /**
   * Daily click metrics for each tappable area of the rich menu.
   */
  clicks?: Array<GetRichMenuInsightDailyResponseClick>;
};
