Built motion from commit 91ed41ac.|2.5.44
[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 _0xd291=['../client','getTemplates','Request','GetTemplate','name','html'];(function(_0x26c3d3,_0x491148){var _0xb252ad=function(_0x33433e){while(--_0x33433e){_0x26c3d3['push'](_0x26c3d3['shift']());}};_0xb252ad(++_0x491148);}(_0xd291,0xae));var _0x1d29=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xd291[_0x14add3];return _0x4a174f;};'use strict';var client=require(_0x1d29('0x0'));exports[_0x1d29('0x1')]=function(_0x25b187){return function(_0x2814ac){return client[_0x1d29('0x2')](_0x1d29('0x3'),{'options':{'raw':!![],'attributes':['id',_0x1d29('0x4'),_0x1d29('0x5')]},'log':_0x1d29('0x3')});};};