"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Actions = void 0;
const actionsListActionsMeta_js_1 = require("../funcs/actionsListActionsMeta.js");
const actionsRpcAction_js_1 = require("../funcs/actionsRpcAction.js");
const sdks_js_1 = require("../lib/sdks.js");
const operations_js_1 = require("../sdk/types/operations.js");
const fp_js_1 = require("./types/fp.js");
class Actions extends sdks_js_1.ClientSDK {
    /**
     * List all actions metadata
     *
     * @remarks
     * Retrieves a list of all actions metadata
     */
    async listActionsMeta(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, actionsListActionsMeta_js_1.actionsListActionsMeta)(this, request, options));
    }
    /**
     * Make an RPC call to an action
     *
     * @remarks
     * Makes a remote procedure call to the specified action
     */
    async rpcAction(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, actionsRpcAction_js_1.actionsRpcAction)(this, request, options));
    }
}
exports.Actions = Actions;
//# sourceMappingURL=actions.js.map