e5070042e03f70f7e5a6498cc074c0eca7194bc7
[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 _0x62ef=['Request','GetTemplate','html','../client','getTemplates'];(function(_0x4fde08,_0x463a36){var _0x12e725=function(_0x2670c5){while(--_0x2670c5){_0x4fde08['push'](_0x4fde08['shift']());}};_0x12e725(++_0x463a36);}(_0x62ef,0xd0));var _0xf62e=function(_0x3aa0ac,_0x5f5da6){_0x3aa0ac=_0x3aa0ac-0x0;var _0x568a11=_0x62ef[_0x3aa0ac];return _0x568a11;};'use strict';var client=require(_0xf62e('0x0'));exports[_0xf62e('0x1')]=function(_0x3182ed){return function(_0x5cad8f){return client[_0xf62e('0x2')](_0xf62e('0x3'),{'options':{'raw':!![],'attributes':['id','name',_0xf62e('0x4')]},'log':_0xf62e('0x3')});};};