Built motion from commit efa66e19.|2.6.22
[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 _0x8822=['name','../client','Request','GetTemplate'];(function(_0x2b3410,_0x7ae999){var _0x3d0683=function(_0x206710){while(--_0x206710){_0x2b3410['push'](_0x2b3410['shift']());}};_0x3d0683(++_0x7ae999);}(_0x8822,0x131));var _0x2882=function(_0xf0c519,_0x27c632){_0xf0c519=_0xf0c519-0x0;var _0x2509e8=_0x8822[_0xf0c519];return _0x2509e8;};'use strict';var client=require(_0x2882('0x0'));exports['getTemplates']=function(_0x3ede27){return function(_0x3c2ec0){return client[_0x2882('0x1')](_0x2882('0x2'),{'options':{'raw':!![],'attributes':['id',_0x2882('0x3'),'html']},'log':'GetTemplate'});};};