"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.AccessTokens = void 0;
const accessTokensIssueAccessToken_js_1 = require("../funcs/accessTokensIssueAccessToken.js");
const accessTokensListAccessTokens_js_1 = require("../funcs/accessTokensListAccessTokens.js");
const accessTokensRevokeAccessToken_js_1 = require("../funcs/accessTokensRevokeAccessToken.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("../types/fp.js");
class AccessTokens extends sdks_js_1.ClientSDK {
    /**
     * List access tokens.
     */
    async listAccessTokens(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, accessTokensListAccessTokens_js_1.accessTokensListAccessTokens)(this, request, options));
    }
    /**
     * Issue a new access token.
     */
    async issueAccessToken(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, accessTokensIssueAccessToken_js_1.accessTokensIssueAccessToken)(this, request, options));
    }
    /**
     * Revoke an access token.
     */
    async revokeAccessToken(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, accessTokensRevokeAccessToken_js_1.accessTokensRevokeAccessToken)(this, request, options));
    }
}
exports.AccessTokens = AccessTokens;
//# sourceMappingURL=accesstokens.js.map