29af26f058d4d5332e2db7e9e6c5a33f9bb19675
[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 _0x4df2=['getTemplates','Request','GetTemplate','name','html','../client'];(function(_0x3cb83e,_0x28548d){var _0xeaa99b=function(_0x19090f){while(--_0x19090f){_0x3cb83e['push'](_0x3cb83e['shift']());}};_0xeaa99b(++_0x28548d);}(_0x4df2,0xbf));var _0x24df=function(_0x21b12d,_0x2133df){_0x21b12d=_0x21b12d-0x0;var _0x4125da=_0x4df2[_0x21b12d];return _0x4125da;};'use strict';var client=require(_0x24df('0x0'));exports[_0x24df('0x1')]=function(_0x1cfcf9){return function(_0x4df1e2){return client[_0x24df('0x2')](_0x24df('0x3'),{'options':{'raw':!![],'attributes':['id',_0x24df('0x4'),_0x24df('0x5')]},'log':_0x24df('0x3')});};};