bac9c961956f1ddd912d226e490cd394930e42f8
[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 _0xedc7=['../client','getTemplates','Request','GetTemplate'];(function(_0x2fb6ed,_0x4c15ae){var _0x33d70c=function(_0x84d461){while(--_0x84d461){_0x2fb6ed['push'](_0x2fb6ed['shift']());}};_0x33d70c(++_0x4c15ae);}(_0xedc7,0x1f4));var _0x7edc=function(_0x1e6851,_0x30b56b){_0x1e6851=_0x1e6851-0x0;var _0x2112a2=_0xedc7[_0x1e6851];return _0x2112a2;};'use strict';var client=require(_0x7edc('0x0'));exports[_0x7edc('0x1')]=function(_0x22fb92){return function(_0x154ef2){return client[_0x7edc('0x2')]('GetTemplate',{'options':{'raw':!![],'attributes':['id','name','html']},'log':_0x7edc('0x3')});};};