MOON
Server: Apache
System: Linux nserver.cafsindia.com 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: cafsindia (1002)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: /home/cafsindia/ai_allyindian_com/node_modules/sarvamai/dist/Client.js
"use strict";
/**
 * This file was auto-generated by Fern from our API Definition.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.SarvamAIClient = void 0;
const Client_1 = require("./api/resources/text/client/Client");
const Client_2 = require("./api/resources/speechToText/client/Client");
const Client_3 = require("./api/resources/textToSpeech/client/Client");
const Client_4 = require("./api/resources/chat/client/Client");
class SarvamAIClient {
    constructor(_options = {}) {
        this._options = _options;
    }
    get text() {
        var _a;
        return ((_a = this._text) !== null && _a !== void 0 ? _a : (this._text = new Client_1.Text(this._options)));
    }
    get speechToText() {
        var _a;
        return ((_a = this._speechToText) !== null && _a !== void 0 ? _a : (this._speechToText = new Client_2.SpeechToText(this._options)));
    }
    get textToSpeech() {
        var _a;
        return ((_a = this._textToSpeech) !== null && _a !== void 0 ? _a : (this._textToSpeech = new Client_3.TextToSpeech(this._options)));
    }
    get chat() {
        var _a;
        return ((_a = this._chat) !== null && _a !== void 0 ? _a : (this._chat = new Client_4.Chat(this._options)));
    }
}
exports.SarvamAIClient = SarvamAIClient;