/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: e85f647437c6
 */

import { betaRagIngestionPipelineConfigurationsList } from "../funcs/betaRagIngestionPipelineConfigurationsList.js";
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
import * as components from "../models/components/index.js";
import { unwrapAsync } from "../types/fp.js";

export class IngestionPipelineConfigurations extends ClientSDK {
  /**
   * List ingestion pipeline configurations
   *
   * @remarks
   * For the current workspace, lists all of the registered ingestion pipeline configurations.
   */
  async list(
    options?: RequestOptions,
  ): Promise<Array<components.IngestionPipelineConfiguration>> {
    return unwrapAsync(betaRagIngestionPipelineConfigurationsList(
      this,
      options,
    ));
  }
}
