Built motion from commit 3e059bc2.|2.5.32
[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 _0x9cab=['Request','GetTemplate','name','getTemplates'];(function(_0x3ea913,_0x255df2){var _0x2b4f28=function(_0x48bb25){while(--_0x48bb25){_0x3ea913['push'](_0x3ea913['shift']());}};_0x2b4f28(++_0x255df2);}(_0x9cab,0x1e7));var _0xb9ca=function(_0x1654af,_0x1401dd){_0x1654af=_0x1654af-0x0;var _0x276215=_0x9cab[_0x1654af];return _0x276215;};'use strict';var client=require('../client');exports[_0xb9ca('0x0')]=function(_0x2d3077){return function(_0x24ae6d){return client[_0xb9ca('0x1')](_0xb9ca('0x2'),{'options':{'raw':!![],'attributes':['id',_0xb9ca('0x3'),'html']},'log':_0xb9ca('0x2')});};};