/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: afd742eb07fd
 */
import { betaObservabilityLogsFetchOptions } from "../funcs/betaObservabilityLogsFetchOptions.js";
import { betaObservabilityLogsList } from "../funcs/betaObservabilityLogsList.js";
import { betaObservabilityLogsSearch } from "../funcs/betaObservabilityLogsSearch.js";
import { ClientSDK } from "../lib/sdks.js";
import { unwrapAsync } from "../types/fp.js";
export class Logs extends ClientSDK {
    /**
     * Search logs
     */
    async search(request, options) {
        return unwrapAsync(betaObservabilityLogsSearch(this, request, options));
    }
    /**
     * Get log field definitions
     */
    async list(options) {
        return unwrapAsync(betaObservabilityLogsList(this, options));
    }
    /**
     * Get options for a log field
     */
    async fetchOptions(request, options) {
        return unwrapAsync(betaObservabilityLogsFetchOptions(this, request, options));
    }
}
//# sourceMappingURL=logs.js.map