import { IDevKnativeEventingPkgApisEventingV1alpha1EventTransformations } from "./EventTransformations.js"; import { IDevKnativeEventingPkgApisEventingV1alpha1JsonataEventTransformationSpec } from "./JsonataEventTransformationSpec.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * ReplySpec is the configurations on how to handle responses from Sink. */ export interface IReplySpec extends IDevKnativeEventingPkgApisEventingV1alpha1EventTransformations { /** * Discard discards responses from Sink and return empty response body. * * When set to false, it returns the exact sink response body. * When set to true, Discard is mutually exclusive with EventTransformations in the reply * section, it can either be discarded or transformed. * * Default: false. */ "discard"?: boolean; } /** * ReplySpec is the configurations on how to handle responses from Sink. */ export declare class ReplySpec extends Model implements IReplySpec { "jsonata"?: IDevKnativeEventingPkgApisEventingV1alpha1JsonataEventTransformationSpec; "discard"?: boolean; constructor(data?: ModelData); } export type { IReplySpec as IDevKnativeEventingPkgApisEventingV1alpha1ReplySpec, ReplySpec as DevKnativeEventingPkgApisEventingV1alpha1ReplySpec };