<?xml version="1.0" encoding="utf-8"?>
<otrs_config version="1.0" init="Application">
    <CVS>$Id: GenericInterface.xml,v 1.40 2012/01/25 18:01:43 cr Exp $</CVS>
    <ConfigItem Name="Ticket::EventModulePost###1000-GenericInterface" Required="0" Valid="1">
        <Description Translatable="1">Performs the configured action for each event (as an Invoker) for each configured Webservice.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>Core::Ticket</SubGroup>
        <Setting>
            <Hash>
                <Item Key="Module">Kernel::GenericInterface::Event::Handler</Item>
                <Item Key="Transaction">1</Item>
                <Item Key="Event">.*</Item>
            </Hash>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="GenericInterface::WebserviceConfig::CacheTTL" Required="1" Valid="1">
        <Description Translatable="1">Cache time in seconds for the web service config backend.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>Core::Cache</SubGroup>
        <Setting>
            <String Regex="">3600</String>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="GenericInterface::Operation::Common::CachedAuth::AgentCacheTTL" Required="1" Valid="1">
        <Description Translatable="1">Cache time in seconds for agent authentication in the GenericInterface.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>Core::Cache</SubGroup>
        <Setting>
            <String Regex="">300</String><!-- default 5 min -->
        </Setting>
    </ConfigItem>
    <ConfigItem Name="GenericInterface::Operation::Common::CachedAuth::CustomerCacheTTL" Required="1" Valid="1">
        <Description Translatable="1">Cache time in seconds for customer authentication in the GenericInterface.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>Core::Cache</SubGroup>
        <Setting>
            <String Regex="">300</String><!-- default 5 min -->
        </Setting>
    </ConfigItem>
    <ConfigItem Name="GenericInterface::Webservice::Path::Separator" Required="1" Valid="1">
        <Description Translatable="1">Webservice path separator.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>Core::Webservice</SubGroup>
        <Setting>
            <String>»</String>
        </Setting>
    </ConfigItem>

    <ConfigItem Name="GenericInterface::Invoker::Event###Ticket" Required="0" Valid="1">
        <Description Translatable="1">Event list to be displayed on GUI to trigger generic interface invokers.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>Core::Invoker</SubGroup>
        <Setting>
            <Hash>
                <Item Key="TicketCreate">1</Item>
                <Item Key="TicketDelete">1</Item>
                <Item Key="TicketTitleUpdate">1</Item>
                <Item Key="TicketUnlockTimeoutUpdate">1</Item>
                <Item Key="TicketQueueUpdate">1</Item>
                <Item Key="TicketTypeUpdate">1</Item>
                <Item Key="TicketServiceUpdate">1</Item>
                <Item Key="TicketSLAUpdate">1</Item>
                <Item Key="TicketCustomerUpdate">1</Item>
                <Item Key="TicketFreeTextUpdate">1</Item>
                <Item Key="TicketFreeTimeUpdate">1</Item>
                <Item Key="TicketPendingTimeUpdate">1</Item>
                <Item Key="TicketLockUpdate">1</Item>
                <Item Key="TicketArchiveFlagUpdate">1</Item>
                <Item Key="TicketStateUpdate">1</Item>
                <Item Key="TicketOwnerUpdate">1</Item>
                <Item Key="TicketResponsibleUpdate">1</Item>
                <Item Key="TicketPriorityUpdate">1</Item>
                <Item Key="HistoryAdd">1</Item>
                <Item Key="HistoryDelete">1</Item>
                <Item Key="TicketAccountTime">1</Item>
                <Item Key="TicketMerge">1</Item>
                <Item Key="TicketSubscribe">1</Item>
                <Item Key="TicketUnsubscribe">1</Item>
                <Item Key="TicketFlagSet">1</Item>
                <Item Key="TicketFlagDelete">1</Item>
                <Item Key="TicketSlaveLinkAdd">1</Item>
                <Item Key="TicketSlaveLinkDelete">1</Item>
                <Item Key="TicketMasterLinkDelete">1</Item>
            </Hash>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="GenericInterface::Invoker::Event###Article" Required="0" Valid="1">
        <Description Translatable="1">Event list to be displayed on GUI to trigger generic interface invokers.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>Core::Invoker</SubGroup>
        <Setting>
            <Hash>
                <Item Key="ArticleCreate">1</Item>
                <Item Key="ArticleFreeTextUpdate">1</Item>
                <Item Key="ArticleUpdate">1</Item>
                <Item Key="ArticleSend">1</Item>
                <Item Key="ArticleBounce">1</Item>
                <Item Key="ArticleAgentNotification">1</Item>
                <Item Key="ArticleCustomerNotification">1</Item>
                <Item Key="ArticleAutoResponse">1</Item>
                <Item Key="ArticleFlagSet">1</Item>
                <Item Key="ArticleFlagDelete">1</Item>
                <Item Key="ArticleAgentNotification">1</Item>
                <Item Key="ArticleCustomerNotification">1</Item>
            </Hash>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="Frontend::Module###AdminGenericInterfaceDebugger" Required="0" Valid="1">
        <Description Translatable="1">Frontend module registration for the agent interface.</Description>
        <Group>Framework</Group>
        <SubGroup>Frontend::Admin::ModuleRegistration</SubGroup>
        <Setting>
            <FrontendModuleReg>
                <Group>admin</Group>
                <Description>Admin</Description>
                <Title Translatable="1">GenericInterface Debugger GUI</Title>
                <Loader>
                    <CSS>Core.Agent.Admin.GenericInterface.css</CSS>
                    <CSS_IE7>Core.Agent.Admin.GenericInterface.IE7.css</CSS_IE7>
                    <JavaScript>Core.Agent.Admin.GenericInterfaceDebugger.js</JavaScript>
                </Loader>
            </FrontendModuleReg>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="Frontend::Module###AdminGenericInterfaceWebservice" Required="0" Valid="1">
        <Description Translatable="1">Frontend module registration for the agent interface.</Description>
        <Group>Framework</Group>
        <SubGroup>Frontend::Admin::ModuleRegistration</SubGroup>
        <Setting>
            <FrontendModuleReg>
                <Group>admin</Group>
                <Description>Admin</Description>
                <Title Translatable="1">GenericInterface Web Service GUI</Title>
                <NavBarName>Admin</NavBarName>
                <NavBarModule>
                    <Module>Kernel::Output::HTML::NavBarModuleAdmin</Module>
                    <Name Translatable="1">Web Services</Name>
                    <Description Translatable="1">Create and manage web services.</Description>
                    <Block>System</Block>
                    <Prio>1000</Prio>
                </NavBarModule>
                <Loader>
                    <CSS>Core.Agent.Admin.GenericInterface.css</CSS>
                    <JavaScript>Core.Agent.Admin.GenericInterfaceWebservice.js</JavaScript>
                </Loader>
            </FrontendModuleReg>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="Frontend::Module###AdminGenericInterfaceTransportHTTPSOAP" Required="0" Valid="1">
        <Description Translatable="1">Frontend module registration for the agent interface.</Description>
        <Group>Framework</Group>
        <SubGroup>Frontend::Admin::ModuleRegistration</SubGroup>
        <Setting>
            <FrontendModuleReg>
                <Group>admin</Group>
                <Description>Admin</Description>
                <Title Translatable="1">GenericInterface TransportHTTPSOAP GUI</Title>
                <Loader>
                    <CSS>Core.Agent.Admin.GenericInterface.css</CSS>
                </Loader>
            </FrontendModuleReg>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="Frontend::Module###AdminGenericInterfaceWebserviceHistory" Required="0" Valid="1">
        <Description Translatable="1">Frontend module registration for the agent interface.</Description>
        <Group>Framework</Group>
        <SubGroup>Frontend::Admin::ModuleRegistration</SubGroup>
        <Setting>
            <FrontendModuleReg>
                <Group>admin</Group>
                <Description>Admin</Description>
                <Title Translatable="1">GenericInterface Webservice History GUI</Title>
                <Loader>
                    <CSS>Core.Agent.Admin.GenericInterface.css</CSS>
                    <JavaScript>Core.Agent.Admin.GenericInterfaceWebserviceHistory.js</JavaScript>
                </Loader>
            </FrontendModuleReg>
        </Setting>
    </ConfigItem>

    <ConfigItem Name="Frontend::Module###AdminGenericInterfaceOperationDefault" Required="0" Valid="1">
        <Description Translatable="1">Frontend module registration for the agent interface.</Description>
        <Group>Framework</Group>
        <SubGroup>Frontend::Admin::ModuleRegistration</SubGroup>
        <Setting>
            <FrontendModuleReg>
                <Group>admin</Group>
                <Description>Admin</Description>
                <Title Translatable="1">GenericInterface Operation GUI</Title>
                <Loader>
                    <CSS>Core.Agent.Admin.GenericInterface.css</CSS>
                    <JavaScript>Core.Agent.Admin.GenericInterfaceOperation.js</JavaScript>
                </Loader>
            </FrontendModuleReg>
        </Setting>
    </ConfigItem>

    <ConfigItem Name="Frontend::Module###AdminGenericInterfaceInvokerDefault" Required="0" Valid="1">
        <Description Translatable="1">Frontend module registration for the agent interface.</Description>
        <Group>Framework</Group>
        <SubGroup>Frontend::Admin::ModuleRegistration</SubGroup>
        <Setting>
            <FrontendModuleReg>
                <Group>admin</Group>
                <Description>Admin</Description>
                <Title Translatable="1">GenericInterface Invoker GUI</Title>
                <Loader>
                    <CSS>Core.Agent.Admin.GenericInterface.css</CSS>
                    <JavaScript>Core.Agent.Admin.GenericInterfaceInvoker.js</JavaScript>
                </Loader>
            </FrontendModuleReg>
        </Setting>
    </ConfigItem>

    <ConfigItem Name="GenericInterface::Transport::Module###HTTP::SOAP" Required="0" Valid="1">
        <Description Translatable="1">GenericInterface module registration for the transport layer.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>GenericInterface::Transport::ModuleRegistration</SubGroup>
        <Setting>
            <Hash>
                <Item Key="Name">SOAP</Item>
                <Item Key="Protocol">HTTP</Item>
                <Item Key="ConfigDialog">AdminGenericInterfaceTransportHTTPSOAP</Item>
            </Hash>
        </Setting>
    </ConfigItem>

    <ConfigItem Name="GenericInterface::Transport::Module###HTTP::Test" Required="0" Valid="0">
        <Description Translatable="1">GenericInterface module registration for the transport layer.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>GenericInterface::Transport::ModuleRegistration</SubGroup>
        <Setting>
            <Hash>
                <Item Key="Name">Test</Item>
                <Item Key="Protocol">HTTP</Item>
                <Item Key="ConfigDialog">AdminGenericInterfaceTransportHTTPTest</Item>
            </Hash>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="GenericInterface::Operation::Module###Test::Test" Required="0" Valid="0">
        <Description Translatable="1">GenericInterface module registration for the operation layer.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>GenericInterface::Operation::ModuleRegistration</SubGroup>
        <Setting>
            <Hash>
                <Item Key="Name">Test</Item>
                <Item Key="Controller">Test</Item>
                <Item Key="ConfigDialog">AdminGenericInterfaceOperationDefault</Item>
            </Hash>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="GenericInterface::Invoker::Module###Test::Test" Required="0" Valid="0">
        <Description Translatable="1">GenericInterface module registration for the invoker layer.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>GenericInterface::Invoker::ModuleRegistration</SubGroup>
        <Setting>
            <Hash>
                <Item Key="Name">Test</Item>
                <Item Key="Controller">Test</Item>
                <Item Key="ConfigDialog">AdminGenericInterfaceInvokerDefault</Item>
            </Hash>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="GenericInterface::Invoker::Module###Test::TestSimple" Required="0" Valid="0">
        <Description Translatable="1">GenericInterface module registration for the invoker layer.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>GenericInterface::Invoker::ModuleRegistration</SubGroup>
        <Setting>
            <Hash>
                <Item Key="Name">TestSimple</Item>
                <Item Key="Controller">Test</Item>
                <Item Key="ConfigDialog">AdminGenericInterfaceInvokerDefault</Item>
            </Hash>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="GenericInterface::Mapping::Module###Test" Required="0" Valid="0">
        <Description Translatable="1">GenericInterface module registration for the mapping layer.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>GenericInterface::Mapping::ModuleRegistration</SubGroup>
        <Setting>
            <Hash>
                <Item Key="ConfigDialog"></Item>
            </Hash>
        </Setting>
    </ConfigItem>

    <ConfigItem Name="Frontend::Module###AdminGenericInterfaceMappingSimple" Required="0" Valid="1">
        <Description Translatable="1">Frontend module registration for the agent interface.</Description>
        <Group>Framework</Group>
        <SubGroup>Frontend::Admin::ModuleRegistration</SubGroup>
        <Setting>
            <FrontendModuleReg>
                <Group>admin</Group>
                <Description>Admin</Description>
                <Title Translatable="1">GenericInterface Webservice Mapping GUI</Title>
                <Loader>
                    <CSS>Core.Agent.Admin.GenericInterface.css</CSS>
                    <CSS_IE7>Core.Agent.Admin.GenericInterface.IE7.css</CSS_IE7>
                    <JavaScript>Core.Agent.Admin.GenericInterfaceMappingSimple.js</JavaScript>
                </Loader>
            </FrontendModuleReg>
        </Setting>
    </ConfigItem>

    <ConfigItem Name="GenericInterface::Mapping::Module###Simple" Required="0" Valid="1">
        <Description Translatable="1">GenericInterface module registration for the mapping layer.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>GenericInterface::Mapping::ModuleRegistration</SubGroup>
        <Setting>
            <Hash>
                <Item Key="ConfigDialog">AdminGenericInterfaceMappingSimple</Item>
            </Hash>
        </Setting>
    </ConfigItem>

    <ConfigItem Name="GenericInterface::Operation::Module###Session::SessionCreate" Required="0" Valid="1">
        <Description Translatable="1">GenericInterface module registration for the operation layer.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>GenericInterface::Operation::ModuleRegistration</SubGroup>
        <Setting>
            <Hash>
                <Item Key="Name">SessionCreate</Item>
                <Item Key="Controller">Session</Item>
                <Item Key="ConfigDialog">AdminGenericInterfaceOperationDefault</Item>
            </Hash>
        </Setting>
    </ConfigItem>

    <ConfigItem Name="GenericInterface::Operation::Module###Ticket::TicketCreate" Required="0" Valid="1">
        <Description Translatable="1">GenericInterface module registration for the operation layer.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>GenericInterface::Operation::ModuleRegistration</SubGroup>
        <Setting>
            <Hash>
                <Item Key="Name">TicketCreate</Item>
                <Item Key="Controller">Ticket</Item>
                <Item Key="ConfigDialog">AdminGenericInterfaceOperationDefault</Item>
            </Hash>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="GenericInterface::Operation::Module###Ticket::TicketUpdate" Required="0" Valid="1">
        <Description Translatable="1">GenericInterface module registration for the operation layer.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>GenericInterface::Operation::ModuleRegistration</SubGroup>
        <Setting>
            <Hash>
                <Item Key="Name">TicketUpdate</Item>
                <Item Key="Controller">Ticket</Item>
                <Item Key="ConfigDialog">AdminGenericInterfaceOperationDefault</Item>
            </Hash>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="GenericInterface::Operation::Module###Ticket::TicketGet" Required="0" Valid="1">
        <Description Translatable="1">GenericInterface module registration for the operation layer.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>GenericInterface::Operation::ModuleRegistration</SubGroup>
        <Setting>
            <Hash>
                <Item Key="Name">TicketGet</Item>
                <Item Key="Controller">Ticket</Item>
                <Item Key="ConfigDialog">AdminGenericInterfaceOperationDefault</Item>
            </Hash>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="GenericInterface::Operation::Module###Ticket::TicketSearch" Required="0" Valid="1">
        <Description Translatable="1">GenericInterface module registration for the operation layer.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>GenericInterface::Operation::ModuleRegistration</SubGroup>
        <Setting>
            <Hash>
                <Item Key="Name">TicketGet</Item>
                <Item Key="Controller">Ticket</Item>
                <Item Key="ConfigDialog">AdminGenericInterfaceOperationDefault</Item>
            </Hash>
        </Setting>
    </ConfigItem>

   <ConfigItem Name="GenericInterface::Operation::TicketCreate###ArticleType" Required="1" Valid="1">
        <Description Translatable="1">Defines the default type of the article for this operation.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>Ticket::Operation::TicketCreate</SubGroup>
        <Setting>
            <String Regex="">webrequest</String>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="GenericInterface::Operation::TicketCreate###SenderType" Required="1" Valid="1">
        <Description Translatable="1">Defines the default sender type of the article for this operation.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>Ticket::Operation::TicketCreate</SubGroup>
        <Setting>
            <String Regex="">agent</String>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="GenericInterface::Operation::TicketCreate###HistoryType" Required="1" Valid="1">
        <Description Translatable="1">Defines the history type for this operation, which gets used for ticket history in the agent interface.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>Ticket::Operation::TicketCreate</SubGroup>
        <Setting>
            <String Regex="">NewTicket</String>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="GenericInterface::Operation::TicketCreate###HistoryComment" Required="1" Valid="1">
        <Description Translatable="1">Defines the history comment for this operation, which gets used for ticket history in the agent interface.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>Ticket::Operation::TicketCreate</SubGroup>
        <Setting>
            <String Regex="">%%GenericInterface Create</String>
        </Setting>
    </ConfigItem>
   <ConfigItem Name="GenericInterface::Operation::TicketCreate###AutoResponseType" Required="1" Valid="1">
        <Description Translatable="1">Defines the default auto response type of the article for this operation.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>Ticket::Operation::TicketCreate</SubGroup>
        <Setting>
            <String Regex="">auto reply</String>
        </Setting>
    </ConfigItem>

   <ConfigItem Name="GenericInterface::Operation::TicketUpdate###ArticleType" Required="1" Valid="1">
        <Description Translatable="1">Defines the default type of the article for this operation.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>Ticket::Operation::TicketUpdate</SubGroup>
        <Setting>
            <String Regex="">webrequest</String>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="GenericInterface::Operation::TicketUpdate###SenderType" Required="1" Valid="1">
        <Description Translatable="1">Defines the default sender type of the article for this operation.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>Ticket::Operation::TicketUpdate</SubGroup>
        <Setting>
            <String Regex="">agent</String>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="GenericInterface::Operation::TicketUpdate###HistoryType" Required="1" Valid="1">
        <Description Translatable="1">Defines the history type for this operation, which gets used for ticket history in the agent interface.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>Ticket::Operation::TicketUpdate</SubGroup>
        <Setting>
            <String Regex="">AddNote</String>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="GenericInterface::Operation::TicketUpdate###HistoryComment" Required="1" Valid="1">
        <Description Translatable="1">Defines the history comment for this operation, which gets used for ticket history in the agent interface.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>Ticket::Operation::TicketUpdate</SubGroup>
        <Setting>
            <String Regex="">%%GenericInterface Note</String>
        </Setting>
    </ConfigItem>
   <ConfigItem Name="GenericInterface::Operation::TicketUpdate###AutoResponseType" Required="1" Valid="1">
        <Description Translatable="1">Defines the default auto response type of the article for this operation.</Description>
        <Group>GenericInterface</Group>
        <SubGroup>Ticket::Operation::TicketUpdate</SubGroup>
        <Setting>
            <String Regex="">auto follow up</String>
        </Setting>
    </ConfigItem>

</otrs_config>
