Built motion from commit da24aabd.|2.6.20
[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 _0x39be=['name','html','../client','getTemplates','Request','GetTemplate'];(function(_0x5ec454,_0xfcd77e){var _0x5ebf50=function(_0x29de85){while(--_0x29de85){_0x5ec454['push'](_0x5ec454['shift']());}};_0x5ebf50(++_0xfcd77e);}(_0x39be,0x19a));var _0xe39b=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x39be[_0x3b380d];return _0x54502b;};'use strict';var client=require(_0xe39b('0x0'));exports[_0xe39b('0x1')]=function(_0x386194){return function(_0x482024){return client[_0xe39b('0x2')](_0xe39b('0x3'),{'options':{'raw':!![],'attributes':['id',_0xe39b('0x4'),_0xe39b('0x5')]},'log':'GetTemplate'});};};