Built motion from commit b5996064.|2.6.21
[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 _0xa9bf=['name','../client','Request','GetTemplate'];(function(_0x1b62cf,_0x91d87d){var _0x49723d=function(_0x33288d){while(--_0x33288d){_0x1b62cf['push'](_0x1b62cf['shift']());}};_0x49723d(++_0x91d87d);}(_0xa9bf,0x8d));var _0xfa9b=function(_0x3a8d18,_0x34096f){_0x3a8d18=_0x3a8d18-0x0;var _0x13cb5d=_0xa9bf[_0x3a8d18];return _0x13cb5d;};'use strict';var client=require(_0xfa9b('0x0'));exports['getTemplates']=function(_0x1fc9e1){return function(_0x433f4d){return client[_0xfa9b('0x1')](_0xfa9b('0x2'),{'options':{'raw':!![],'attributes':['id',_0xfa9b('0x3'),'html']},'log':'GetTemplate'});};};