import { APIResource } from "../core/resource.mjs"; import { APIPromise } from "../core/api-promise.mjs"; import { RequestOptions } from "../internal/request-options.mjs"; export declare class RegisterExternalPipeline extends APIResource { /** * Registers an external pipeline by verifying the connection and storing the * configuration. This endpoint calls the external pipeline's /verify endpoint to * ensure it's accessible and properly configured before registration. */ registerExternalPipeline(params: RegisterExternalPipelineRegisterExternalPipelineParams, options?: RequestOptions): APIPromise; } /** * Response model for registering external pipeline. * * Attributes: status (str): The status of the external pipeline registration. * message (str): A descriptive message about the registration result. */ export interface RegisterExternalPipelineResponse { /** * A descriptive message about the registration result */ message: string; /** * The status of the external pipeline registration */ status: string; } export interface RegisterExternalPipelineRegisterExternalPipelineParams { /** * Body param: The API key for authenticating with the external pipeline service */ api_key: string; /** * Body param: The base URL of the external pipeline service */ url: string; /** * Header param */ 'Accept-Language'?: string; /** * Header param: Set to `structured` to receive errors in the structured envelope. * Omit it to keep the legacy error body. */ 'X-Error-Format'?: string; } export declare namespace RegisterExternalPipeline { export { type RegisterExternalPipelineResponse as RegisterExternalPipelineResponse, type RegisterExternalPipelineRegisterExternalPipelineParams as RegisterExternalPipelineRegisterExternalPipelineParams, }; } //# sourceMappingURL=register-external-pipeline.d.mts.map