Built motion from commit 87cd5f02.|2.5.48
[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 _0x6038=['html','GetTemplate','../client','getTemplates','Request','name'];(function(_0x2f2077,_0x4bde1d){var _0x15efeb=function(_0x3ca54c){while(--_0x3ca54c){_0x2f2077['push'](_0x2f2077['shift']());}};_0x15efeb(++_0x4bde1d);}(_0x6038,0x1f4));var _0x8603=function(_0x409239,_0xdbb704){_0x409239=_0x409239-0x0;var _0xd8e896=_0x6038[_0x409239];return _0xd8e896;};'use strict';var client=require(_0x8603('0x0'));exports[_0x8603('0x1')]=function(_0x3bf8ed){return function(_0x36e329){return client[_0x8603('0x2')]('GetTemplate',{'options':{'raw':!![],'attributes':['id',_0x8603('0x3'),_0x8603('0x4')]},'log':_0x8603('0x5')});};};