/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { utilitiesGetOpenAPI } from "../funcs/utilitiesGetOpenAPI.js"; import { utilitiesGetOpenApiv3 } from "../funcs/utilitiesGetOpenApiv3.js"; import { utilitiesIdentity } from "../funcs/utilitiesIdentity.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Utilities extends ClientSDK { /** * Identity Utilities V1 * * @remarks * Test if your API key is valid, and which roles it has. */ async identity( options?: RequestOptions, ): Promise { return unwrapAsync(utilitiesIdentity( this, options, )); } /** * OpenAPI Utilities V1 * * @remarks * Get the OpenAPI (v2) definition. */ async getOpenAPI( options?: RequestOptions, ): Promise { return unwrapAsync(utilitiesGetOpenAPI( this, options, )); } /** * OpenAPIV3 Utilities V1 * * @remarks * Get the OpenAPI (v3) definition. */ async getOpenApiv3( options?: RequestOptions, ): Promise { return unwrapAsync(utilitiesGetOpenApiv3( this, options, )); } }