"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Accounts = void 0;
const accountsDeleteAccount_js_1 = require("../funcs/accountsDeleteAccount.js");
const accountsGetAccount_js_1 = require("../funcs/accountsGetAccount.js");
const accountsGetAccountMetaInfo_js_1 = require("../funcs/accountsGetAccountMetaInfo.js");
const accountsListLinkedAccounts_js_1 = require("../funcs/accountsListLinkedAccounts.js");
const accountsUpdateAccount_js_1 = require("../funcs/accountsUpdateAccount.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("./types/fp.js");
class Accounts extends sdks_js_1.ClientSDK {
    /**
     * Delete Account
     */
    async deleteAccount(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, accountsDeleteAccount_js_1.accountsDeleteAccount)(this, request, options));
    }
    /**
     * Get Account
     */
    async getAccount(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, accountsGetAccount_js_1.accountsGetAccount)(this, request, options));
    }
    /**
     * Get meta information of the account
     */
    async getAccountMetaInfo(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, accountsGetAccountMetaInfo_js_1.accountsGetAccountMetaInfo)(this, request, options));
    }
    /**
     * List Accounts
     */
    async listLinkedAccounts(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, accountsListLinkedAccounts_js_1.accountsListLinkedAccounts)(this, request, options));
    }
    /**
     * Update Account
     */
    async updateAccount(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, accountsUpdateAccount_js_1.accountsUpdateAccount)(this, request, options));
    }
}
exports.Accounts = Accounts;
//# sourceMappingURL=accounts.js.map