Built motion from commit a61a4a20.|2.5.46
[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 _0x18a9=['name','html','../client','Request','GetTemplate'];(function(_0xb8fdf8,_0x5f9edd){var _0x8b25c1=function(_0x2093ef){while(--_0x2093ef){_0xb8fdf8['push'](_0xb8fdf8['shift']());}};_0x8b25c1(++_0x5f9edd);}(_0x18a9,0x17e));var _0x918a=function(_0x33997c,_0x357b0e){_0x33997c=_0x33997c-0x0;var _0x19f721=_0x18a9[_0x33997c];return _0x19f721;};'use strict';var client=require(_0x918a('0x0'));exports['getTemplates']=function(_0x116699){return function(_0x4f1273){return client[_0x918a('0x1')](_0x918a('0x2'),{'options':{'raw':!![],'attributes':['id',_0x918a('0x3'),_0x918a('0x4')]},'log':_0x918a('0x2')});};};