/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */

import { analyticsGetVerifications } from "../funcs/analyticsGetVerifications.js";
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
import * as components from "../models/components/index.js";
import { unwrapAsync } from "../types/fp.js";

export class Analytics extends ClientSDK {
  /**
   * Query key verification data
   *
   * @remarks
   * Execute custom SQL queries against your key verification analytics.
   * For complete documentation including available tables, columns, data types, query examples, see the schema reference in the API documentation.
   */
  async getVerifications(
    request: components.V2AnalyticsGetVerificationsRequestBody,
    options?: RequestOptions,
  ): Promise<components.V2AnalyticsGetVerificationsResponseBody> {
    return unwrapAsync(analyticsGetVerifications(
      this,
      request,
      options,
    ));
  }
}
