Built motion from commit 00bf23f6.|2.6.16
[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 _0xd1bf=['name','GetTemplate','../client','getTemplates'];(function(_0x376b45,_0x5964fb){var _0x2341b3=function(_0x5a7f01){while(--_0x5a7f01){_0x376b45['push'](_0x376b45['shift']());}};_0x2341b3(++_0x5964fb);}(_0xd1bf,0x162));var _0xfd1b=function(_0x1b9310,_0x5d76cd){_0x1b9310=_0x1b9310-0x0;var _0x53b4a8=_0xd1bf[_0x1b9310];return _0x53b4a8;};'use strict';var client=require(_0xfd1b('0x0'));exports[_0xfd1b('0x1')]=function(_0x10f4a0){return function(_0x422132){return client['Request']('GetTemplate',{'options':{'raw':!![],'attributes':['id',_0xfd1b('0x2'),'html']},'log':_0xfd1b('0x3')});};};