df2383855b621a001ef950a8903b7a885a2064da
[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 _0x0e30=['html','Request','GetTemplate','name'];(function(_0x3800d3,_0x428dfd){var _0x491c71=function(_0x55a174){while(--_0x55a174){_0x3800d3['push'](_0x3800d3['shift']());}};_0x491c71(++_0x428dfd);}(_0x0e30,0x1d5));var _0x00e3=function(_0x1eeedd,_0x21408b){_0x1eeedd=_0x1eeedd-0x0;var _0x12d287=_0x0e30[_0x1eeedd];return _0x12d287;};'use strict';var client=require('../client');exports['getTemplates']=function(_0x2c185d){return function(_0x4796bd){return client[_0x00e3('0x0')](_0x00e3('0x1'),{'options':{'raw':!![],'attributes':['id',_0x00e3('0x2'),_0x00e3('0x3')]},'log':_0x00e3('0x1')});};};