Built motion from commit 06eb8eb0.|2.6.31
[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 _0xb337=['Request','GetTemplate','name','../client','getTemplates'];(function(_0xadde88,_0x58ad47){var _0x3b8eb6=function(_0x15535a){while(--_0x15535a){_0xadde88['push'](_0xadde88['shift']());}};_0x3b8eb6(++_0x58ad47);}(_0xb337,0x175));var _0x7b33=function(_0x27559d,_0x1a77d9){_0x27559d=_0x27559d-0x0;var _0x41d5d2=_0xb337[_0x27559d];return _0x41d5d2;};'use strict';var client=require(_0x7b33('0x0'));exports[_0x7b33('0x1')]=function(_0x594c25){return function(_0x48c76f){return client[_0x7b33('0x2')](_0x7b33('0x3'),{'options':{'raw':!![],'attributes':['id',_0x7b33('0x4'),'html']},'log':_0x7b33('0x3')});};};