/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { analysisSentiment } from "../funcs/analysis-sentiment.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "../models/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Analysis extends ClientSDK { /** * Sentiment Analysis * * @remarks * Sentiment Analysis, 50 credits per call. */ async sentiment( request: models.SentimentAnalysisQuery, options?: RequestOptions, ): Promise { return unwrapAsync(analysisSentiment( this, request, options, )); } }