/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 17a3c078d231 */ import { clientInsightsRetrieve } from "../funcs/clientInsightsRetrieve.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Insights extends ClientSDK { /** * Get insights * * @remarks * Gets the aggregate usage insights data displayed in the Insights Dashboards. */ async retrieve( insightsRequest: components.InsightsRequest, locale?: string | undefined, options?: RequestOptions, ): Promise { return unwrapAsync(clientInsightsRetrieve( this, insightsRequest, locale, options, )); } }