/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: c7d130088b17
 */
import { eventsGetStreamEvents } from "../funcs/eventsGetStreamEvents.js";
import { eventsGetWorkflowEvents } from "../funcs/eventsGetWorkflowEvents.js";
import { ClientSDK } from "../lib/sdks.js";
import { unwrapAsync } from "../types/fp.js";
export class Events extends ClientSDK {
    /**
     * Get Stream Events
     */
    async getStreamEvents(request, options) {
        return unwrapAsync(eventsGetStreamEvents(this, request, options));
    }
    /**
     * Get Workflow Events
     */
    async getWorkflowEvents(request, options) {
        return unwrapAsync(eventsGetWorkflowEvents(this, request, options));
    }
}
//# sourceMappingURL=events.js.map