/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { statsProjectsGet } from "../funcs/statsProjectsGet.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class StatsProjects extends ClientSDK { /** * Show Project Stats * * @remarks * Retrieve stats for a project. This endpoint provides statistics for a specific project identified by its project-id. * * * ## Requires api token with one of the following permissions * ``` * Read detailed stats * ``` * */ async get( request: operations.GetStatsProjectsProjectIdRequest, options?: RequestOptions, ): Promise { return unwrapAsync(statsProjectsGet( this, request, options, )); } }