Built motion from commit 1fa89557.|2.6.10
[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 _0xd878=['../client','getTemplates','Request','GetTemplate','name'];(function(_0x1996fa,_0x2a698f){var _0x5952e1=function(_0x20634e){while(--_0x20634e){_0x1996fa['push'](_0x1996fa['shift']());}};_0x5952e1(++_0x2a698f);}(_0xd878,0x118));var _0x8d87=function(_0x14c859,_0x42006e){_0x14c859=_0x14c859-0x0;var _0x4deaf1=_0xd878[_0x14c859];return _0x4deaf1;};'use strict';var client=require(_0x8d87('0x0'));exports[_0x8d87('0x1')]=function(_0x35bd0a){return function(_0x449176){return client[_0x8d87('0x2')](_0x8d87('0x3'),{'options':{'raw':!![],'attributes':['id',_0x8d87('0x4'),'html']},'log':'GetTemplate'});};};