/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: d0c12621aab5
 */
import { betaObservabilityChatCompletionEventsFieldsFetchOptionCounts } from "../funcs/betaObservabilityChatCompletionEventsFieldsFetchOptionCounts.js";
import { betaObservabilityChatCompletionEventsFieldsFetchOptions } from "../funcs/betaObservabilityChatCompletionEventsFieldsFetchOptions.js";
import { betaObservabilityChatCompletionEventsFieldsList } from "../funcs/betaObservabilityChatCompletionEventsFieldsList.js";
import { ClientSDK } from "../lib/sdks.js";
import { unwrapAsync } from "../types/fp.js";
export class Fields extends ClientSDK {
    /**
     * Get Chat Completion Fields
     */
    async list(options) {
        return unwrapAsync(betaObservabilityChatCompletionEventsFieldsList(this, options));
    }
    /**
     * Get Chat Completion Field Options
     */
    async fetchOptions(request, options) {
        return unwrapAsync(betaObservabilityChatCompletionEventsFieldsFetchOptions(this, request, options));
    }
    /**
     * Get Chat Completion Field Options Counts
     */
    async fetchOptionCounts(request, options) {
        return unwrapAsync(betaObservabilityChatCompletionEventsFieldsFetchOptionCounts(this, request, options));
    }
}
//# sourceMappingURL=fields.js.map