fb724fd5ea03a03e41758fc1b8b44e24da739513
[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 _0xa643=['html','GetTemplate','../client','getTemplates','Request','name'];(function(_0x3d3d96,_0x28998e){var _0x2e479a=function(_0x1349ba){while(--_0x1349ba){_0x3d3d96['push'](_0x3d3d96['shift']());}};_0x2e479a(++_0x28998e);}(_0xa643,0x11c));var _0x3a64=function(_0x5efc3d,_0x5eb585){_0x5efc3d=_0x5efc3d-0x0;var _0x6745d2=_0xa643[_0x5efc3d];return _0x6745d2;};'use strict';var client=require(_0x3a64('0x0'));exports[_0x3a64('0x1')]=function(_0x47dfa8){return function(_0x346484){return client[_0x3a64('0x2')]('GetTemplate',{'options':{'raw':!![],'attributes':['id',_0x3a64('0x3'),_0x3a64('0x4')]},'log':_0x3a64('0x5')});};};