UNPKG

pesco-karavan-core

Version:
1,044 lines (1,043 loc) 123 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); exports.PolicyDefinition = exports.PipelineDefinition = exports.PausableDefinition = exports.PackageScanDefinition = exports.OutputTypeDefinition = exports.OutputDefinition = exports.OtherwiseDefinition = exports.OptimisticLockRetryPolicyDefinition = exports.OnFallbackDefinition = exports.OnExceptionDefinition = exports.OnCompletionDefinition = exports.MulticastDefinition = exports.MarshalDefinition = exports.LoopDefinition = exports.LogDefinition = exports.LoadBalanceDefinition = exports.KameletDefinition = exports.InterceptSendToEndpointDefinition = exports.InterceptFromDefinition = exports.InterceptDefinition = exports.InputTypeDefinition = exports.InOutDefinition = exports.InOnlyDefinition = exports.IdempotentConsumerDefinition = exports.GlobalOptionsDefinition = exports.GlobalOptionDefinition = exports.FromDefinition = exports.FinallyDefinition = exports.FilterDefinition = exports.FaultToleranceConfigurationDefinition = exports.ExpressionSubElementDefinition = exports.ErrorHandlerDefinition = exports.EnrichDefinition = exports.DynamicRouterDefinition = exports.DescriptionDefinition = exports.DelayDefinition = exports.DataFormatDefinition = exports.ConvertBodyDefinition = exports.ContextScanDefinition = exports.ClaimCheckDefinition = exports.CircuitBreakerDefinition = exports.ChoiceDefinition = exports.CatchDefinition = exports.BeanDefinition = exports.AggregateDefinition = exports.OutputAwareFromDefinition = exports.NamedBeanDefinition = exports.ErrorHandlerBuilderDeserializer = exports.BeansDeserializer = exports.ProcessorDefinition = void 0; exports.ValidateDefinition = exports.UnmarshalDefinition = exports.TryDefinition = exports.TransformDefinition = exports.TransactedDefinition = exports.ToDynamicDefinition = exports.ToDefinition = exports.ThrowExceptionDefinition = exports.ThrottleDefinition = exports.ThreadsDefinition = exports.ThreadPoolProfileDefinition = exports.TemplatedRouteParameterDefinition = exports.TemplatedRouteDefinition = exports.TemplatedRouteBeanDefinition = exports.StopDefinition = exports.StepDefinition = exports.SplitDefinition = exports.SortDefinition = exports.SetPropertyDefinition = exports.SetHeaderDefinition = exports.SetExchangePatternDefinition = exports.SetBodyDefinition = exports.ScriptDefinition = exports.SamplingDefinition = exports.SagaDefinition = exports.SagaActionUriDefinition = exports.RoutingSlipDefinition = exports.RouteTemplateParameterDefinition = exports.RouteTemplateDefinition = exports.RouteTemplateBeanDefinition = exports.RouteDefinition = exports.RouteContextRefDefinition = exports.RouteConfigurationDefinition = exports.RouteConfigurationContextRefDefinition = exports.RouteBuilderDefinition = exports.RollbackDefinition = exports.ResumableDefinition = exports.RestContextRefDefinition = exports.Resilience4jConfigurationDefinition = exports.ResequenceDefinition = exports.RemovePropertyDefinition = exports.RemovePropertiesDefinition = exports.RemoveHeadersDefinition = exports.RemoveHeaderDefinition = exports.RedeliveryPolicyDefinition = exports.RecipientListDefinition = exports.PropertyExpressionDefinition = exports.PropertyDefinition = exports.ProcessDefinition = exports.PollEnrichDefinition = void 0; exports.PGPDataFormat = exports.MimeMultipartDataFormat = exports.LZFDataFormat = exports.JsonDataFormat = exports.JsonApiDataFormat = exports.JaxbDataFormat = exports.JacksonXMLDataFormat = exports.IcalDataFormat = exports.HL7DataFormat = exports.GzipDeflaterDataFormat = exports.GrokDataFormat = exports.FlatpackDataFormat = exports.FhirXmlDataFormat = exports.FhirJsonDataFormat = exports.DataFormatsDefinition = exports.CustomDataFormat = exports.CsvDataFormat = exports.CryptoDataFormat = exports.CBORDataFormat = exports.BindyDataFormat = exports.Base64DataFormat = exports.BarcodeDataFormat = exports.AvroDataFormat = exports.Any23DataFormat = exports.ASN1DataFormat = exports.StreamResequencerConfig = exports.BatchResequencerConfig = exports.ZooKeeperServiceCallServiceDiscoveryConfiguration = exports.StaticServiceCallServiceDiscoveryConfiguration = exports.ServiceCallServiceLoadBalancerConfiguration = exports.ServiceCallServiceFilterConfiguration = exports.ServiceCallServiceDiscoveryConfiguration = exports.ServiceCallServiceChooserConfiguration = exports.ServiceCallExpressionConfiguration = exports.ServiceCallDefinition = exports.ServiceCallConfigurationDefinition = exports.PassThroughServiceCallServiceFilterConfiguration = exports.KubernetesServiceCallServiceDiscoveryConfiguration = exports.HealthyServiceCallServiceFilterConfiguration = exports.DnsServiceCallServiceDiscoveryConfiguration = exports.DefaultServiceCallServiceLoadBalancerConfiguration = exports.CustomServiceCallServiceFilterConfiguration = exports.ConsulServiceCallServiceDiscoveryConfiguration = exports.CombinedServiceCallServiceFilterConfiguration = exports.CombinedServiceCallServiceDiscoveryConfiguration = exports.CachingServiceCallServiceDiscoveryConfiguration = exports.BlacklistServiceCallServiceFilterConfiguration = exports.WireTapDefinition = exports.WhenSkipSendToEndpointDefinition = exports.WhenDefinition = void 0; exports.StickyLoadBalancerDefinition = exports.RoundRobinLoadBalancerDefinition = exports.RandomLoadBalancerDefinition = exports.FailoverLoadBalancerDefinition = exports.CustomLoadBalancerDefinition = exports.XQueryExpression = exports.XPathExpression = exports.XMLTokenizerExpression = exports.TokenizerExpression = exports.SpELExpression = exports.SimpleExpression = exports.RefExpression = exports.OgnlExpression = exports.MvelExpression = exports.MethodCallExpression = exports.LanguageExpression = exports.JsonPathExpression = exports.JqExpression = exports.JoorExpression = exports.Hl7TerserExpression = exports.HeaderExpression = exports.GroovyExpression = exports.ExpressionDefinition = exports.ExchangePropertyExpression = exports.DatasonnetExpression = exports.ConstantExpression = exports.CSimpleExpression = exports.SpringTransactionErrorHandlerDefinition = exports.NoErrorHandlerDefinition = exports.JtaTransactionErrorHandlerDefinition = exports.ErrorHandlerRefDefinition = exports.DefaultErrorHandlerDefinition = exports.DeadLetterChannelDefinition = exports.ZipFileDataFormat = exports.ZipDeflaterDataFormat = exports.YAMLTypeFilterDefinition = exports.YAMLDataFormat = exports.XStreamDataFormat = exports.XMLSecurityDataFormat = exports.UniVocityTsvDataFormat = exports.UniVocityHeader = exports.UniVocityFixedDataFormat = exports.UniVocityCsvDataFormat = exports.TidyMarkupDataFormat = exports.ThriftDataFormat = exports.TarFileDataFormat = exports.SyslogDataFormat = exports.SoapDataFormat = exports.RssDataFormat = exports.ProtobufDataFormat = void 0; exports.ValidatorsDefinition = exports.PredicateValidatorDefinition = exports.EndpointValidatorDefinition = exports.CustomValidatorDefinition = exports.TransformersDefinition = exports.EndpointTransformerDefinition = exports.DataFormatTransformerDefinition = exports.CustomTransformerDefinition = exports.SecurityDefinition = exports.RestsDefinition = exports.RestSecuritiesDefinition = exports.RestPropertyDefinition = exports.RestDefinition = exports.RestConfigurationDefinition = exports.RestBindingDefinition = exports.ResponseMessageDefinition = exports.ResponseHeaderDefinition = exports.PutDefinition = exports.PostDefinition = exports.PatchDefinition = exports.ParamDefinition = exports.OpenIdConnectDefinition = exports.OAuth2Definition = exports.MutualTLSDefinition = exports.HeadDefinition = exports.GetDefinition = exports.DeleteDefinition = exports.BearerTokenDefinition = exports.BasicAuthDefinition = exports.ApiKeyDefinition = exports.WeightedLoadBalancerDefinition = exports.TopicLoadBalancerDefinition = void 0; /** * Generated by karavan build tools - do NOT edit this file! */ var IntegrationDefinition_1 = require("./IntegrationDefinition"); var ProcessorDefinition = /** @class */ (function (_super) { __extends(ProcessorDefinition, _super); function ProcessorDefinition(init) { var _this = _super.call(this, 'ProcessorDefinition') || this; _this.stepName = 'processor'; Object.assign(_this, init); return _this; } return ProcessorDefinition; }(IntegrationDefinition_1.CamelElement)); exports.ProcessorDefinition = ProcessorDefinition; var BeansDeserializer = /** @class */ (function (_super) { __extends(BeansDeserializer, _super); function BeansDeserializer(init) { var _this = _super.call(this, 'BeansDeserializer') || this; Object.assign(_this, init); return _this; } return BeansDeserializer; }(IntegrationDefinition_1.CamelElement)); exports.BeansDeserializer = BeansDeserializer; var ErrorHandlerBuilderDeserializer = /** @class */ (function (_super) { __extends(ErrorHandlerBuilderDeserializer, _super); function ErrorHandlerBuilderDeserializer(init) { var _this = _super.call(this, 'ErrorHandlerBuilderDeserializer') || this; Object.assign(_this, init); return _this; } return ErrorHandlerBuilderDeserializer; }(IntegrationDefinition_1.CamelElement)); exports.ErrorHandlerBuilderDeserializer = ErrorHandlerBuilderDeserializer; var NamedBeanDefinition = /** @class */ (function (_super) { __extends(NamedBeanDefinition, _super); function NamedBeanDefinition(init) { var _this = _super.call(this, 'NamedBeanDefinition') || this; _this.name = ''; _this.type = ''; _this.properties = {}; Object.assign(_this, init); return _this; } return NamedBeanDefinition; }(IntegrationDefinition_1.CamelElement)); exports.NamedBeanDefinition = NamedBeanDefinition; var OutputAwareFromDefinition = /** @class */ (function (_super) { __extends(OutputAwareFromDefinition, _super); function OutputAwareFromDefinition(init) { var _this = _super.call(this, 'OutputAwareFromDefinition') || this; _this.parameters = {}; _this.steps = []; _this.uri = ''; Object.assign(_this, init); return _this; } return OutputAwareFromDefinition; }(IntegrationDefinition_1.CamelElement)); exports.OutputAwareFromDefinition = OutputAwareFromDefinition; var AggregateDefinition = /** @class */ (function (_super) { __extends(AggregateDefinition, _super); function AggregateDefinition(init) { var _this = _super.call(this, 'AggregateDefinition') || this; _this.aggregationStrategy = ''; _this.stepName = 'aggregate'; _this.steps = []; Object.assign(_this, init); return _this; } return AggregateDefinition; }(IntegrationDefinition_1.CamelElement)); exports.AggregateDefinition = AggregateDefinition; var BeanDefinition = /** @class */ (function (_super) { __extends(BeanDefinition, _super); function BeanDefinition(init) { var _this = _super.call(this, 'BeanDefinition') || this; _this.stepName = 'bean'; Object.assign(_this, init); return _this; } return BeanDefinition; }(IntegrationDefinition_1.CamelElement)); exports.BeanDefinition = BeanDefinition; var CatchDefinition = /** @class */ (function (_super) { __extends(CatchDefinition, _super); function CatchDefinition(init) { var _this = _super.call(this, 'CatchDefinition') || this; _this.exception = []; _this.stepName = 'doCatch'; _this.steps = []; Object.assign(_this, init); return _this; } return CatchDefinition; }(IntegrationDefinition_1.CamelElement)); exports.CatchDefinition = CatchDefinition; var ChoiceDefinition = /** @class */ (function (_super) { __extends(ChoiceDefinition, _super); function ChoiceDefinition(init) { var _this = _super.call(this, 'ChoiceDefinition') || this; _this.stepName = 'choice'; _this.when = []; Object.assign(_this, init); return _this; } return ChoiceDefinition; }(IntegrationDefinition_1.CamelElement)); exports.ChoiceDefinition = ChoiceDefinition; var CircuitBreakerDefinition = /** @class */ (function (_super) { __extends(CircuitBreakerDefinition, _super); function CircuitBreakerDefinition(init) { var _this = _super.call(this, 'CircuitBreakerDefinition') || this; _this.stepName = 'circuitBreaker'; _this.steps = []; Object.assign(_this, init); return _this; } return CircuitBreakerDefinition; }(IntegrationDefinition_1.CamelElement)); exports.CircuitBreakerDefinition = CircuitBreakerDefinition; var ClaimCheckDefinition = /** @class */ (function (_super) { __extends(ClaimCheckDefinition, _super); function ClaimCheckDefinition(init) { var _this = _super.call(this, 'ClaimCheckDefinition') || this; _this.stepName = 'claimCheck'; _this.operation = ''; Object.assign(_this, init); return _this; } return ClaimCheckDefinition; }(IntegrationDefinition_1.CamelElement)); exports.ClaimCheckDefinition = ClaimCheckDefinition; var ContextScanDefinition = /** @class */ (function (_super) { __extends(ContextScanDefinition, _super); function ContextScanDefinition(init) { var _this = _super.call(this, 'ContextScanDefinition') || this; _this.excludes = []; _this.stepName = 'contextScan'; _this.includes = []; Object.assign(_this, init); return _this; } return ContextScanDefinition; }(IntegrationDefinition_1.CamelElement)); exports.ContextScanDefinition = ContextScanDefinition; var ConvertBodyDefinition = /** @class */ (function (_super) { __extends(ConvertBodyDefinition, _super); function ConvertBodyDefinition(init) { var _this = _super.call(this, 'ConvertBodyDefinition') || this; _this.stepName = 'convertBodyTo'; _this.type = ''; Object.assign(_this, init); return _this; } return ConvertBodyDefinition; }(IntegrationDefinition_1.CamelElement)); exports.ConvertBodyDefinition = ConvertBodyDefinition; var DataFormatDefinition = /** @class */ (function (_super) { __extends(DataFormatDefinition, _super); function DataFormatDefinition(init) { var _this = _super.call(this, 'DataFormatDefinition') || this; _this.stepName = 'dataFormat'; Object.assign(_this, init); return _this; } return DataFormatDefinition; }(IntegrationDefinition_1.CamelElement)); exports.DataFormatDefinition = DataFormatDefinition; var DelayDefinition = /** @class */ (function (_super) { __extends(DelayDefinition, _super); function DelayDefinition(init) { var _this = _super.call(this, 'DelayDefinition') || this; _this.stepName = 'delay'; Object.assign(_this, init); return _this; } return DelayDefinition; }(IntegrationDefinition_1.CamelElement)); exports.DelayDefinition = DelayDefinition; var DescriptionDefinition = /** @class */ (function (_super) { __extends(DescriptionDefinition, _super); function DescriptionDefinition(init) { var _this = _super.call(this, 'DescriptionDefinition') || this; _this.stepName = 'description'; Object.assign(_this, init); return _this; } return DescriptionDefinition; }(IntegrationDefinition_1.CamelElement)); exports.DescriptionDefinition = DescriptionDefinition; var DynamicRouterDefinition = /** @class */ (function (_super) { __extends(DynamicRouterDefinition, _super); function DynamicRouterDefinition(init) { var _this = _super.call(this, 'DynamicRouterDefinition') || this; _this.stepName = 'dynamicRouter'; Object.assign(_this, init); return _this; } return DynamicRouterDefinition; }(IntegrationDefinition_1.CamelElement)); exports.DynamicRouterDefinition = DynamicRouterDefinition; var EnrichDefinition = /** @class */ (function (_super) { __extends(EnrichDefinition, _super); function EnrichDefinition(init) { var _this = _super.call(this, 'EnrichDefinition') || this; _this.stepName = 'enrich'; Object.assign(_this, init); return _this; } return EnrichDefinition; }(IntegrationDefinition_1.CamelElement)); exports.EnrichDefinition = EnrichDefinition; var ErrorHandlerDefinition = /** @class */ (function (_super) { __extends(ErrorHandlerDefinition, _super); function ErrorHandlerDefinition(init) { var _this = _super.call(this, 'ErrorHandlerDefinition') || this; _this.stepName = 'errorHandler'; Object.assign(_this, init); return _this; } return ErrorHandlerDefinition; }(IntegrationDefinition_1.CamelElement)); exports.ErrorHandlerDefinition = ErrorHandlerDefinition; var ExpressionSubElementDefinition = /** @class */ (function (_super) { __extends(ExpressionSubElementDefinition, _super); function ExpressionSubElementDefinition(init) { var _this = _super.call(this, 'ExpressionSubElementDefinition') || this; _this.stepName = 'expressionSubElement'; Object.assign(_this, init); return _this; } return ExpressionSubElementDefinition; }(IntegrationDefinition_1.CamelElement)); exports.ExpressionSubElementDefinition = ExpressionSubElementDefinition; var FaultToleranceConfigurationDefinition = /** @class */ (function (_super) { __extends(FaultToleranceConfigurationDefinition, _super); function FaultToleranceConfigurationDefinition(init) { var _this = _super.call(this, 'FaultToleranceConfigurationDefinition') || this; _this.stepName = 'faultToleranceConfiguration'; Object.assign(_this, init); return _this; } return FaultToleranceConfigurationDefinition; }(IntegrationDefinition_1.CamelElement)); exports.FaultToleranceConfigurationDefinition = FaultToleranceConfigurationDefinition; var FilterDefinition = /** @class */ (function (_super) { __extends(FilterDefinition, _super); function FilterDefinition(init) { var _this = _super.call(this, 'FilterDefinition') || this; _this.stepName = 'filter'; _this.steps = []; Object.assign(_this, init); return _this; } return FilterDefinition; }(IntegrationDefinition_1.CamelElement)); exports.FilterDefinition = FilterDefinition; var FinallyDefinition = /** @class */ (function (_super) { __extends(FinallyDefinition, _super); function FinallyDefinition(init) { var _this = _super.call(this, 'FinallyDefinition') || this; _this.stepName = 'doFinally'; _this.steps = []; Object.assign(_this, init); return _this; } return FinallyDefinition; }(IntegrationDefinition_1.CamelElement)); exports.FinallyDefinition = FinallyDefinition; var FromDefinition = /** @class */ (function (_super) { __extends(FromDefinition, _super); function FromDefinition(init) { var _this = _super.call(this, 'FromDefinition') || this; _this.stepName = 'from'; _this.parameters = {}; _this.steps = []; _this.uri = ''; Object.assign(_this, init); return _this; } return FromDefinition; }(IntegrationDefinition_1.CamelElement)); exports.FromDefinition = FromDefinition; var GlobalOptionDefinition = /** @class */ (function (_super) { __extends(GlobalOptionDefinition, _super); function GlobalOptionDefinition(init) { var _this = _super.call(this, 'GlobalOptionDefinition') || this; _this.stepName = 'globalOption'; _this.value = ''; _this.key = ''; Object.assign(_this, init); return _this; } return GlobalOptionDefinition; }(IntegrationDefinition_1.CamelElement)); exports.GlobalOptionDefinition = GlobalOptionDefinition; var GlobalOptionsDefinition = /** @class */ (function (_super) { __extends(GlobalOptionsDefinition, _super); function GlobalOptionsDefinition(init) { var _this = _super.call(this, 'GlobalOptionsDefinition') || this; _this.stepName = 'globalOptions'; _this.globalOption = []; Object.assign(_this, init); return _this; } return GlobalOptionsDefinition; }(IntegrationDefinition_1.CamelElement)); exports.GlobalOptionsDefinition = GlobalOptionsDefinition; var IdempotentConsumerDefinition = /** @class */ (function (_super) { __extends(IdempotentConsumerDefinition, _super); function IdempotentConsumerDefinition(init) { var _this = _super.call(this, 'IdempotentConsumerDefinition') || this; _this.stepName = 'idempotentConsumer'; _this.idempotentRepository = ''; _this.steps = []; Object.assign(_this, init); return _this; } return IdempotentConsumerDefinition; }(IntegrationDefinition_1.CamelElement)); exports.IdempotentConsumerDefinition = IdempotentConsumerDefinition; var InOnlyDefinition = /** @class */ (function (_super) { __extends(InOnlyDefinition, _super); function InOnlyDefinition(init) { var _this = _super.call(this, 'InOnlyDefinition') || this; _this.stepName = 'inOnly'; _this.parameters = {}; _this.uri = ''; Object.assign(_this, init); return _this; } return InOnlyDefinition; }(IntegrationDefinition_1.CamelElement)); exports.InOnlyDefinition = InOnlyDefinition; var InOutDefinition = /** @class */ (function (_super) { __extends(InOutDefinition, _super); function InOutDefinition(init) { var _this = _super.call(this, 'InOutDefinition') || this; _this.stepName = 'inOut'; _this.parameters = {}; _this.uri = ''; Object.assign(_this, init); return _this; } return InOutDefinition; }(IntegrationDefinition_1.CamelElement)); exports.InOutDefinition = InOutDefinition; var InputTypeDefinition = /** @class */ (function (_super) { __extends(InputTypeDefinition, _super); function InputTypeDefinition(init) { var _this = _super.call(this, 'InputTypeDefinition') || this; _this.urn = ''; _this.stepName = 'inputType'; Object.assign(_this, init); return _this; } return InputTypeDefinition; }(IntegrationDefinition_1.CamelElement)); exports.InputTypeDefinition = InputTypeDefinition; var InterceptDefinition = /** @class */ (function (_super) { __extends(InterceptDefinition, _super); function InterceptDefinition(init) { var _this = _super.call(this, 'InterceptDefinition') || this; _this.stepName = 'intercept'; _this.steps = []; Object.assign(_this, init); return _this; } return InterceptDefinition; }(IntegrationDefinition_1.CamelElement)); exports.InterceptDefinition = InterceptDefinition; var InterceptFromDefinition = /** @class */ (function (_super) { __extends(InterceptFromDefinition, _super); function InterceptFromDefinition(init) { var _this = _super.call(this, 'InterceptFromDefinition') || this; _this.stepName = 'interceptFrom'; _this.steps = []; Object.assign(_this, init); return _this; } return InterceptFromDefinition; }(IntegrationDefinition_1.CamelElement)); exports.InterceptFromDefinition = InterceptFromDefinition; var InterceptSendToEndpointDefinition = /** @class */ (function (_super) { __extends(InterceptSendToEndpointDefinition, _super); function InterceptSendToEndpointDefinition(init) { var _this = _super.call(this, 'InterceptSendToEndpointDefinition') || this; _this.stepName = 'interceptSendToEndpoint'; _this.steps = []; _this.uri = ''; Object.assign(_this, init); return _this; } return InterceptSendToEndpointDefinition; }(IntegrationDefinition_1.CamelElement)); exports.InterceptSendToEndpointDefinition = InterceptSendToEndpointDefinition; var KameletDefinition = /** @class */ (function (_super) { __extends(KameletDefinition, _super); function KameletDefinition(init) { var _this = _super.call(this, 'KameletDefinition') || this; _this.stepName = 'kamelet'; _this.name = ''; _this.parameters = {}; Object.assign(_this, init); return _this; } return KameletDefinition; }(IntegrationDefinition_1.CamelElement)); exports.KameletDefinition = KameletDefinition; var LoadBalanceDefinition = /** @class */ (function (_super) { __extends(LoadBalanceDefinition, _super); function LoadBalanceDefinition(init) { var _this = _super.call(this, 'LoadBalanceDefinition') || this; _this.stepName = 'loadBalance'; _this.steps = []; Object.assign(_this, init); return _this; } return LoadBalanceDefinition; }(IntegrationDefinition_1.CamelElement)); exports.LoadBalanceDefinition = LoadBalanceDefinition; var LogDefinition = /** @class */ (function (_super) { __extends(LogDefinition, _super); function LogDefinition(init) { var _this = _super.call(this, 'LogDefinition') || this; _this.stepName = 'log'; _this.message = ''; Object.assign(_this, init); return _this; } return LogDefinition; }(IntegrationDefinition_1.CamelElement)); exports.LogDefinition = LogDefinition; var LoopDefinition = /** @class */ (function (_super) { __extends(LoopDefinition, _super); function LoopDefinition(init) { var _this = _super.call(this, 'LoopDefinition') || this; _this.stepName = 'loop'; _this.steps = []; Object.assign(_this, init); return _this; } return LoopDefinition; }(IntegrationDefinition_1.CamelElement)); exports.LoopDefinition = LoopDefinition; var MarshalDefinition = /** @class */ (function (_super) { __extends(MarshalDefinition, _super); function MarshalDefinition(init) { var _this = _super.call(this, 'MarshalDefinition') || this; _this.stepName = 'marshal'; Object.assign(_this, init); return _this; } return MarshalDefinition; }(IntegrationDefinition_1.CamelElement)); exports.MarshalDefinition = MarshalDefinition; var MulticastDefinition = /** @class */ (function (_super) { __extends(MulticastDefinition, _super); function MulticastDefinition(init) { var _this = _super.call(this, 'MulticastDefinition') || this; _this.steps = []; _this.stepName = 'multicast'; Object.assign(_this, init); return _this; } return MulticastDefinition; }(IntegrationDefinition_1.CamelElement)); exports.MulticastDefinition = MulticastDefinition; var OnCompletionDefinition = /** @class */ (function (_super) { __extends(OnCompletionDefinition, _super); function OnCompletionDefinition(init) { var _this = _super.call(this, 'OnCompletionDefinition') || this; _this.stepName = 'onCompletion'; _this.steps = []; Object.assign(_this, init); return _this; } return OnCompletionDefinition; }(IntegrationDefinition_1.CamelElement)); exports.OnCompletionDefinition = OnCompletionDefinition; var OnExceptionDefinition = /** @class */ (function (_super) { __extends(OnExceptionDefinition, _super); function OnExceptionDefinition(init) { var _this = _super.call(this, 'OnExceptionDefinition') || this; _this.exception = []; _this.steps = []; _this.stepName = 'onException'; Object.assign(_this, init); return _this; } return OnExceptionDefinition; }(IntegrationDefinition_1.CamelElement)); exports.OnExceptionDefinition = OnExceptionDefinition; var OnFallbackDefinition = /** @class */ (function (_super) { __extends(OnFallbackDefinition, _super); function OnFallbackDefinition(init) { var _this = _super.call(this, 'OnFallbackDefinition') || this; _this.stepName = 'onFallback'; _this.steps = []; Object.assign(_this, init); return _this; } return OnFallbackDefinition; }(IntegrationDefinition_1.CamelElement)); exports.OnFallbackDefinition = OnFallbackDefinition; var OptimisticLockRetryPolicyDefinition = /** @class */ (function (_super) { __extends(OptimisticLockRetryPolicyDefinition, _super); function OptimisticLockRetryPolicyDefinition(init) { var _this = _super.call(this, 'OptimisticLockRetryPolicyDefinition') || this; _this.stepName = 'optimisticLockRetryPolicy'; Object.assign(_this, init); return _this; } return OptimisticLockRetryPolicyDefinition; }(IntegrationDefinition_1.CamelElement)); exports.OptimisticLockRetryPolicyDefinition = OptimisticLockRetryPolicyDefinition; var OtherwiseDefinition = /** @class */ (function (_super) { __extends(OtherwiseDefinition, _super); function OtherwiseDefinition(init) { var _this = _super.call(this, 'OtherwiseDefinition') || this; _this.stepName = 'otherwise'; _this.steps = []; Object.assign(_this, init); return _this; } return OtherwiseDefinition; }(IntegrationDefinition_1.CamelElement)); exports.OtherwiseDefinition = OtherwiseDefinition; var OutputDefinition = /** @class */ (function (_super) { __extends(OutputDefinition, _super); function OutputDefinition(init) { var _this = _super.call(this, 'OutputDefinition') || this; _this.stepName = 'output'; _this.steps = []; Object.assign(_this, init); return _this; } return OutputDefinition; }(IntegrationDefinition_1.CamelElement)); exports.OutputDefinition = OutputDefinition; var OutputTypeDefinition = /** @class */ (function (_super) { __extends(OutputTypeDefinition, _super); function OutputTypeDefinition(init) { var _this = _super.call(this, 'OutputTypeDefinition') || this; _this.urn = ''; _this.stepName = 'outputType'; Object.assign(_this, init); return _this; } return OutputTypeDefinition; }(IntegrationDefinition_1.CamelElement)); exports.OutputTypeDefinition = OutputTypeDefinition; var PackageScanDefinition = /** @class */ (function (_super) { __extends(PackageScanDefinition, _super); function PackageScanDefinition(init) { var _this = _super.call(this, 'PackageScanDefinition') || this; _this.excludes = []; _this.package = []; _this.stepName = 'packageScan'; _this.includes = []; Object.assign(_this, init); return _this; } return PackageScanDefinition; }(IntegrationDefinition_1.CamelElement)); exports.PackageScanDefinition = PackageScanDefinition; var PausableDefinition = /** @class */ (function (_super) { __extends(PausableDefinition, _super); function PausableDefinition(init) { var _this = _super.call(this, 'PausableDefinition') || this; _this.untilCheck = ''; _this.stepName = 'pausable'; _this.consumerListener = ''; Object.assign(_this, init); return _this; } return PausableDefinition; }(IntegrationDefinition_1.CamelElement)); exports.PausableDefinition = PausableDefinition; var PipelineDefinition = /** @class */ (function (_super) { __extends(PipelineDefinition, _super); function PipelineDefinition(init) { var _this = _super.call(this, 'PipelineDefinition') || this; _this.stepName = 'pipeline'; _this.steps = []; Object.assign(_this, init); return _this; } return PipelineDefinition; }(IntegrationDefinition_1.CamelElement)); exports.PipelineDefinition = PipelineDefinition; var PolicyDefinition = /** @class */ (function (_super) { __extends(PolicyDefinition, _super); function PolicyDefinition(init) { var _this = _super.call(this, 'PolicyDefinition') || this; _this.ref = ''; _this.stepName = 'policy'; _this.steps = []; Object.assign(_this, init); return _this; } return PolicyDefinition; }(IntegrationDefinition_1.CamelElement)); exports.PolicyDefinition = PolicyDefinition; var PollEnrichDefinition = /** @class */ (function (_super) { __extends(PollEnrichDefinition, _super); function PollEnrichDefinition(init) { var _this = _super.call(this, 'PollEnrichDefinition') || this; _this.stepName = 'pollEnrich'; Object.assign(_this, init); return _this; } return PollEnrichDefinition; }(IntegrationDefinition_1.CamelElement)); exports.PollEnrichDefinition = PollEnrichDefinition; var ProcessDefinition = /** @class */ (function (_super) { __extends(ProcessDefinition, _super); function ProcessDefinition(init) { var _this = _super.call(this, 'ProcessDefinition') || this; _this.ref = ''; _this.stepName = 'process'; Object.assign(_this, init); return _this; } return ProcessDefinition; }(IntegrationDefinition_1.CamelElement)); exports.ProcessDefinition = ProcessDefinition; var PropertyDefinition = /** @class */ (function (_super) { __extends(PropertyDefinition, _super); function PropertyDefinition(init) { var _this = _super.call(this, 'PropertyDefinition') || this; _this.stepName = 'property'; _this.value = ''; _this.key = ''; Object.assign(_this, init); return _this; } return PropertyDefinition; }(IntegrationDefinition_1.CamelElement)); exports.PropertyDefinition = PropertyDefinition; var PropertyExpressionDefinition = /** @class */ (function (_super) { __extends(PropertyExpressionDefinition, _super); function PropertyExpressionDefinition(init) { var _this = _super.call(this, 'PropertyExpressionDefinition') || this; _this.stepName = 'propertyExpression'; _this.key = ''; Object.assign(_this, init); return _this; } return PropertyExpressionDefinition; }(IntegrationDefinition_1.CamelElement)); exports.PropertyExpressionDefinition = PropertyExpressionDefinition; var RecipientListDefinition = /** @class */ (function (_super) { __extends(RecipientListDefinition, _super); function RecipientListDefinition(init) { var _this = _super.call(this, 'RecipientListDefinition') || this; _this.stepName = 'recipientList'; Object.assign(_this, init); return _this; } return RecipientListDefinition; }(IntegrationDefinition_1.CamelElement)); exports.RecipientListDefinition = RecipientListDefinition; var RedeliveryPolicyDefinition = /** @class */ (function (_super) { __extends(RedeliveryPolicyDefinition, _super); function RedeliveryPolicyDefinition(init) { var _this = _super.call(this, 'RedeliveryPolicyDefinition') || this; _this.stepName = 'redeliveryPolicy'; Object.assign(_this, init); return _this; } return RedeliveryPolicyDefinition; }(IntegrationDefinition_1.CamelElement)); exports.RedeliveryPolicyDefinition = RedeliveryPolicyDefinition; var RemoveHeaderDefinition = /** @class */ (function (_super) { __extends(RemoveHeaderDefinition, _super); function RemoveHeaderDefinition(init) { var _this = _super.call(this, 'RemoveHeaderDefinition') || this; _this.stepName = 'removeHeader'; _this.name = ''; Object.assign(_this, init); return _this; } return RemoveHeaderDefinition; }(IntegrationDefinition_1.CamelElement)); exports.RemoveHeaderDefinition = RemoveHeaderDefinition; var RemoveHeadersDefinition = /** @class */ (function (_super) { __extends(RemoveHeadersDefinition, _super); function RemoveHeadersDefinition(init) { var _this = _super.call(this, 'RemoveHeadersDefinition') || this; _this.stepName = 'removeHeaders'; _this.pattern = ''; Object.assign(_this, init); return _this; } return RemoveHeadersDefinition; }(IntegrationDefinition_1.CamelElement)); exports.RemoveHeadersDefinition = RemoveHeadersDefinition; var RemovePropertiesDefinition = /** @class */ (function (_super) { __extends(RemovePropertiesDefinition, _super); function RemovePropertiesDefinition(init) { var _this = _super.call(this, 'RemovePropertiesDefinition') || this; _this.stepName = 'removeProperties'; _this.pattern = ''; Object.assign(_this, init); return _this; } return RemovePropertiesDefinition; }(IntegrationDefinition_1.CamelElement)); exports.RemovePropertiesDefinition = RemovePropertiesDefinition; var RemovePropertyDefinition = /** @class */ (function (_super) { __extends(RemovePropertyDefinition, _super); function RemovePropertyDefinition(init) { var _this = _super.call(this, 'RemovePropertyDefinition') || this; _this.stepName = 'removeProperty'; _this.name = ''; Object.assign(_this, init); return _this; } return RemovePropertyDefinition; }(IntegrationDefinition_1.CamelElement)); exports.RemovePropertyDefinition = RemovePropertyDefinition; var ResequenceDefinition = /** @class */ (function (_super) { __extends(ResequenceDefinition, _super); function ResequenceDefinition(init) { var _this = _super.call(this, 'ResequenceDefinition') || this; _this.expression = new ExpressionDefinition(); _this.stepName = 'resequence'; _this.steps = []; Object.assign(_this, init); return _this; } return ResequenceDefinition; }(IntegrationDefinition_1.CamelElement)); exports.ResequenceDefinition = ResequenceDefinition; var Resilience4jConfigurationDefinition = /** @class */ (function (_super) { __extends(Resilience4jConfigurationDefinition, _super); function Resilience4jConfigurationDefinition(init) { var _this = _super.call(this, 'Resilience4jConfigurationDefinition') || this; _this.stepName = 'resilience4jConfiguration'; Object.assign(_this, init); return _this; } return Resilience4jConfigurationDefinition; }(IntegrationDefinition_1.CamelElement)); exports.Resilience4jConfigurationDefinition = Resilience4jConfigurationDefinition; var RestContextRefDefinition = /** @class */ (function (_super) { __extends(RestContextRefDefinition, _super); function RestContextRefDefinition(init) { var _this = _super.call(this, 'RestContextRefDefinition') || this; _this.ref = ''; _this.stepName = 'restContextRef'; Object.assign(_this, init); return _this; } return RestContextRefDefinition; }(IntegrationDefinition_1.CamelElement)); exports.RestContextRefDefinition = RestContextRefDefinition; var ResumableDefinition = /** @class */ (function (_super) { __extends(ResumableDefinition, _super); function ResumableDefinition(init) { var _this = _super.call(this, 'ResumableDefinition') || this; _this.stepName = 'resumable'; _this.resumeStrategy = ''; Object.assign(_this, init); return _this; } return ResumableDefinition; }(IntegrationDefinition_1.CamelElement)); exports.ResumableDefinition = ResumableDefinition; var RollbackDefinition = /** @class */ (function (_super) { __extends(RollbackDefinition, _super); function RollbackDefinition(init) { var _this = _super.call(this, 'RollbackDefinition') || this; _this.stepName = 'rollback'; Object.assign(_this, init); return _this; } return RollbackDefinition; }(IntegrationDefinition_1.CamelElement)); exports.RollbackDefinition = RollbackDefinition; var RouteBuilderDefinition = /** @class */ (function (_super) { __extends(RouteBuilderDefinition, _super); function RouteBuilderDefinition(init) { var _this = _super.call(this, 'RouteBuilderDefinition') || this; _this.ref = ''; _this.stepName = 'routeBuilder'; Object.assign(_this, init); return _this; } return RouteBuilderDefinition; }(IntegrationDefinition_1.CamelElement)); exports.RouteBuilderDefinition = RouteBuilderDefinition; var RouteConfigurationContextRefDefinition = /** @class */ (function (_super) { __extends(RouteConfigurationContextRefDefinition, _super); function RouteConfigurationContextRefDefinition(init) { var _this = _super.call(this, 'RouteConfigurationContextRefDefinition') || this; _this.ref = ''; _this.stepName = 'routeConfigurationContextRef'; Object.assign(_this, init); return _this; } return RouteConfigurationContextRefDefinition; }(IntegrationDefinition_1.CamelElement)); exports.RouteConfigurationContextRefDefinition = RouteConfigurationContextRefDefinition; var RouteConfigurationDefinition = /** @class */ (function (_super) { __extends(RouteConfigurationDefinition, _super); function RouteConfigurationDefinition(init) { var _this = _super.call(this, 'RouteConfigurationDefinition') || this; _this.onCompletion = []; _this.interceptSendToEndpoint = []; _this.stepName = 'routeConfiguration'; _this.intercept = []; _this.onException = []; _this.interceptFrom = []; Object.assign(_this, init); return _this; } return RouteConfigurationDefinition; }(IntegrationDefinition_1.CamelElement)); exports.RouteConfigurationDefinition = RouteConfigurationDefinition; var RouteContextRefDefinition = /** @class */ (function (_super) { __extends(RouteContextRefDefinition, _super); function RouteContextRefDefinition(init) { var _this = _super.call(this, 'RouteContextRefDefinition') || this; _this.ref = ''; _this.stepName = 'routeContextRef'; Object.assign(_this, init); return _this; } return RouteContextRefDefinition; }(IntegrationDefinition_1.CamelElement)); exports.RouteContextRefDefinition = RouteContextRefDefinition; var RouteDefinition = /** @class */ (function (_super) { __extends(RouteDefinition, _super); function RouteDefinition(init) { var _this = _super.call(this, 'RouteDefinition') || this; _this.stepName = 'route'; _this.from = new FromDefinition(); Object.assign(_this, init); return _this; } return RouteDefinition; }(IntegrationDefinition_1.CamelElement)); exports.RouteDefinition = RouteDefinition; var RouteTemplateBeanDefinition = /** @class */ (function (_super) { __extends(RouteTemplateBeanDefinition, _super); function RouteTemplateBeanDefinition(init) { var _this = _super.call(this, 'RouteTemplateBeanDefinition') || this; _this.stepName = 'routeTemplateBean'; _this.name = ''; _this.property = []; _this.type = ''; _this.properties = {}; Object.assign(_this, init); return _this; } return RouteTemplateBeanDefinition; }(IntegrationDefinition_1.CamelElement)); exports.RouteTemplateBeanDefinition = RouteTemplateBeanDefinition; var RouteTemplateDefinition = /** @class */ (function (_super) { __extends(RouteTemplateDefinition, _super); function RouteTemplateDefinition(init) { var _this = _super.call(this, 'RouteTemplateDefinition') || this; _this.stepName = 'routeTemplate'; _this.beans = []; _this.id = ''; _this.parameters = []; Object.assign(_this, init); return _this; } return RouteTemplateDefinition; }(IntegrationDefinition_1.CamelElement)); exports.RouteTemplateDefinition = RouteTemplateDefinition; var RouteTemplateParameterDefinition = /** @class */ (function (_super) { __extends(RouteTemplateParameterDefinition, _super); function RouteTemplateParameterDefinition(init) { var _this = _super.call(this, 'RouteTemplateParameterDefinition') || this; _this.stepName = 'routeTemplateParameter'; _this.name = ''; Object.assign(_this, init); return _this; } return RouteTemplateParameterDefinition; }(IntegrationDefinition_1.CamelElement)); exports.RouteTemplateParameterDefinition = RouteTemplateParameterDefinition; var RoutingSlipDefinition = /** @class */ (function (_super) { __extends(RoutingSlipDefinition, _super); function RoutingSlipDefinition(init) { var _this = _super.call(this, 'RoutingSlipDefinition') || this; _this.stepName = 'routingSlip'; Object.assign(_this, init); return _this; } return RoutingSlipDefinition; }(IntegrationDefinition_1.CamelElement)); exports.RoutingSlipDefinition = RoutingSlipDefinition; var SagaActionUriDefinition = /** @class */ (function (_super) { __extends(SagaActionUriDefinition, _super); function SagaActionUriDefinition(init) { var _this = _super.call(this, 'SagaActionUriDefinition') || this; _this.stepName = 'sagaActionUri'; _this.parameters = {}; _this.uri = ''; Object.assign(_this, init); return _this; } return SagaActionUriDefinition; }(IntegrationDefinition_1.CamelElement)); exports.SagaActionUriDefinition = SagaActionUriDefinition; var SagaDefinition = /** @class */ (function (_super) { __extends(SagaDefinition, _super); function SagaDefinition(init) { var _this = _super.call(this, 'SagaDefinition') || this; _this.stepName = 'saga'; _this.steps = []; _this.option = []; Object.assign(_this, init); return _this; } return SagaDefinition; }(IntegrationDefinition_1.CamelElement)); exports.SagaDefinition = SagaDefinition; var SamplingDefinition = /** @class */ (function (_super) { __extends(SamplingDefinition, _super); function SamplingDefinition(init) { var _this = _super.call(this, 'SamplingDefinition') || this; _this.stepName = 'sample'; Object.assign(_this, init); return _this; } return SamplingDefinition; }(IntegrationDefinition_1.CamelElement)); exports.SamplingDefinition = SamplingDefinition; var ScriptDefinition = /** @class */ (function (_super) { __extends(ScriptDefinition, _super); function ScriptDefinition(init) { var _this = _super.call(this, 'ScriptDefinition') || this; _this.stepName = 'script'; Object.assign(_this, init); return _this; } return ScriptDefinition; }(IntegrationDefinition_1.CamelElement)); exports.ScriptDefinition = ScriptDefinition; var SetBodyDefinition = /** @class */ (function (_super) { __extends(SetBodyDefinition, _super); function SetBodyDefinition(init) { var _this = _super.call(this, 'SetBodyDefinition') || this; _this.stepName = 'setBody'; Object.assign(_this, init); return _this; } return SetBodyDefinition; }(IntegrationDefinition_1.CamelElement)); exports.SetBodyDefinition = SetBodyDefinition; var SetExchangePatternDefinition = /** @class */ (function (_super) { __extends(SetExchangePatternDefinition, _super); function SetExchangePatternDefinition(init) { var _this = _super.call(this, 'SetExchangePatternDefinition') || this; _this.stepName = 'setExchangePattern'; _this.pattern = ''; Object.assign(_this, init); return _this; } return SetExchangePatternDefinition; }(IntegrationDefinition_1.CamelElement)); exports.SetExchangePatternDefinition = SetExchangePatternDefinition; var SetHeaderDefinition = /** @class */ (function (_super) { __extends(SetHeaderDefinition, _super); function SetHeaderDefinition(init) { var _this = _super.call(this, 'SetHeaderDefinition') || this; _this.stepName = 'setHeader'; _this.name = ''; Object.assign(_this, init); return _this; } return SetHeaderDefinition; }(IntegrationDefinition_1.CamelElement)); exports.SetHeaderDefinition = SetHeaderDefinition; var SetPropertyDefinition = /** @class */ (function (_super) { __extends(SetPropertyDefinition, _super); function SetPropertyDefinition(init) { var _this = _super.call(this, 'SetPropertyDefinition') || this; _this.stepName = 'setProperty'; _this.name = ''; Object.assign(_this, init); return _this; } return SetPropertyDefinition; }(IntegrationDefinition_1.CamelElement)); exports.SetPropertyDefinition = SetPropertyDefinition; var SortDefinition = /** @class */ (function (_super) { __extends(SortDefinition, _super); function SortDefinition(init) { var _this = _super.call(this, 'SortDefinition') || this; _this.stepName = 'sort'; Object.assign(_this, init); return _this; } return SortDefinition; }(IntegrationDefinition_1.CamelElement)); exports.SortDefinition = SortDefinition; var SplitDefinition = /** @class */ (function (_super) { __extends(SplitDefinition, _super); function SplitDefinition(init) { var _this = _super.call(this, 'SplitDefinition') || this; _this.steps = []; _this.stepName = 'split'; Object.assign(_this, init); return _this; } return SplitDefinition; }(IntegrationDefinition_1.CamelElement)); exports.SplitDefinition = SplitDefinition; var StepDefinition = /** @class */ (function (_super) { __extends(StepDefinition, _super); function StepDefinition(init) { var _this = _super.call(this, 'StepDefinition') || this;