440328000a30801f91e4a2c87c548b74bd3c23cd
[motion2.git] / server / services / ami / rpc / template.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x1e9c=['Request','html','GetTemplate','../client','getTemplates'];(function(_0x2dadb9,_0x42cfe6){var _0x2f0097=function(_0x21163f){while(--_0x21163f){_0x2dadb9['push'](_0x2dadb9['shift']());}};_0x2f0097(++_0x42cfe6);}(_0x1e9c,0x1d9));var _0xc1e9=function(_0x26462c,_0xd20a35){_0x26462c=_0x26462c-0x0;var _0x509a42=_0x1e9c[_0x26462c];return _0x509a42;};'use strict';var client=require(_0xc1e9('0x0'));exports[_0xc1e9('0x1')]=function(_0xb60249){return function(_0x3aab0c){return client[_0xc1e9('0x2')]('GetTemplate',{'options':{'raw':!![],'attributes':['id','name',_0xc1e9('0x3')]},'log':_0xc1e9('0x4')});};};