a25e3c4db5ae02ec886274c20e9bef87c6d529f1
[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 _0x41bb=['name','html','../client','getTemplates','GetTemplate'];(function(_0x257333,_0x3c70d9){var _0x3c9f78=function(_0x1a8108){while(--_0x1a8108){_0x257333['push'](_0x257333['shift']());}};_0x3c9f78(++_0x3c70d9);}(_0x41bb,0xc5));var _0xb41b=function(_0x252566,_0x5a86e6){_0x252566=_0x252566-0x0;var _0x308920=_0x41bb[_0x252566];return _0x308920;};'use strict';var client=require(_0xb41b('0x0'));exports[_0xb41b('0x1')]=function(_0x4ef2f1){return function(_0x428431){return client['Request'](_0xb41b('0x2'),{'options':{'raw':!![],'attributes':['id',_0xb41b('0x3'),_0xb41b('0x4')]},'log':_0xb41b('0x2')});};};