// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
// versions:
//   protoc-gen-ts_proto  v2.6.1
//   protoc               v3.17.1
// source: policy/routing/MessageConfig.proto

/* eslint-disable */
import { type Metadata } from "../../common/Metadata.js";

/** Copyright Super iPaaS Integration LLC, an IBM Company 2024 */

/** The MessageConfig related information is captured in the message MessageConfig. */
export interface MessageConfig {
  kind?: string | undefined;
  apiVersion?:
    | string
    | undefined;
  /** common metadata to identify a specific asset in the files */
  metadata?: Metadata | undefined;
  kindEnum?: MessageConfig_KindEnums | undefined;
  spec?: MessageConfig_Spec | undefined;
}

/** Kind id supported for MessageConfig */
export enum MessageConfig_KindEnums {
  MessageConfig = "MessageConfig",
}

/** message properties includes key and value */
export interface MessageConfig_Property {
  key?: string | undefined;
  value?: string | undefined;
}

/** The message specified the information related to the destination */
export interface MessageConfig_Destination {
  name?: string | undefined;
  type?: string | undefined;
}

/** The message specified the information related to the reply to */
export interface MessageConfig_ReplyTo {
  name?: string | undefined;
  type?: string | undefined;
}

/** The Spec is used to define the properties */
export interface MessageConfig_Spec {
  connectionAlias?: string | undefined;
  destination?: MessageConfig_Destination | undefined;
  replyTo?: MessageConfig_ReplyTo | undefined;
  ttl?: string | undefined;
  timeToWait?: string | undefined;
  deliveryMode?: string | undefined;
  property?: MessageConfig_Property[] | undefined;
}
