// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
// versions:
//   protoc-gen-ts_proto  v1.181.1
//   protoc               v3.12.4
// source: policy/endpoint/Endpoint.proto

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

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

export interface HTTPEndpoint {
  kind?: string | undefined;
  apiVersion?:
    | string
    | undefined;
  /** common metadata to identify a specific asset in the files */
  metadata?: Metadata | undefined;
  kindEnum?: HTTPEndpoint_KindEnums | undefined;
  spec?: HTTPEndpoint_Spec | undefined;
}

/** Kind id supported for HTTPEndpoint */
export enum HTTPEndpoint_KindEnums {
  HTTPEndpoint = "HTTPEndpoint",
}

/** The message specified the information related to SSL Configuration */
export interface HTTPEndpoint_Sslconfig {
  keyStoreAlias?: string | undefined;
  keyAlias?: string | undefined;
  trustStoreAlias?: string | undefined;
}

/** The message specified the information related to SSL Configuration */
export interface HTTPEndpoint_Serviceregistryparameters {
  name?: string | undefined;
  value?: string | undefined;
}

/** The Spec is used to define the list of url, methods, time, SSl configuration and service registry parameters */
export interface HTTPEndpoint_Spec {
  url?: string | undefined;
  method?: string | undefined;
  connectTimeout?: number | undefined;
  readTimeout?: number | undefined;
  sslConfig?: HTTPEndpoint_Sslconfig | undefined;
  serviceRegistryParameters?: HTTPEndpoint_Serviceregistryparameters[] | undefined;
}
