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

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

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

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

/** Kind id supported for OutboundOAuth2 */
export enum OutboundOAuth2_KindEnums {
  OutboundOAuth2 = "OutboundOAuth2",
}

/** The message specified the information related to Use_custom_credentials */
export interface OutboundOAuth2_UseCustomCredentials {
  token?: string | undefined;
}

export interface OutboundOAuth2_Spec {
  enabled?: boolean | undefined;
  use_custom_credentials?: OutboundOAuth2_UseCustomCredentials | undefined;
  use_incoming_oauth_token?: boolean | undefined;
}
