5197d41615695ba4ab92346629f3841a7eb1b75e
[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 _0xe9e8=['GetTemplate','name','../client','getTemplates','Request'];(function(_0x3482b2,_0x2bb59a){var _0x234bd8=function(_0x330182){while(--_0x330182){_0x3482b2['push'](_0x3482b2['shift']());}};_0x234bd8(++_0x2bb59a);}(_0xe9e8,0x6b));var _0x8e9e=function(_0x244cfb,_0x4c62a3){_0x244cfb=_0x244cfb-0x0;var _0x2ac20d=_0xe9e8[_0x244cfb];return _0x2ac20d;};'use strict';var client=require(_0x8e9e('0x0'));exports[_0x8e9e('0x1')]=function(_0x382aa3){return function(_0x2e88db){return client[_0x8e9e('0x2')](_0x8e9e('0x3'),{'options':{'raw':!![],'attributes':['id',_0x8e9e('0x4'),'html']},'log':_0x8e9e('0x3')});};};