/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { governanceMetricsGetApiV3GovernanceMetrics } from "../funcs/governanceMetricsGetApiV3GovernanceMetrics.js"; import { governanceMetricsGetApiV3GovernanceMetricsName } from "../funcs/governanceMetricsGetApiV3GovernanceMetricsName.js"; import { governanceMetricsGetApiV3StakingMetrics } from "../funcs/governanceMetricsGetApiV3StakingMetrics.js"; import { governanceMetricsGetApiV3StakingMetricsName } from "../funcs/governanceMetricsGetApiV3StakingMetricsName.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "../models/index.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class GovernanceMetrics extends ClientSDK { async getApiV3GovernanceMetrics( options?: RequestOptions, ): Promise { return unwrapAsync(governanceMetricsGetApiV3GovernanceMetrics( this, options, )); } /** * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ async getApiV3StakingMetrics( options?: RequestOptions, ): Promise { return unwrapAsync(governanceMetricsGetApiV3StakingMetrics( this, options, )); } async getApiV3GovernanceMetricsName( request: operations.GetApiV3GovernanceMetricsNameRequest, options?: RequestOptions, ): Promise { return unwrapAsync(governanceMetricsGetApiV3GovernanceMetricsName( this, request, options, )); } /** * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ async getApiV3StakingMetricsName( request: operations.GetApiV3StakingMetricsNameRequest, options?: RequestOptions, ): Promise { return unwrapAsync(governanceMetricsGetApiV3StakingMetricsName( this, request, options, )); } }