2e5b8665ab24ad678f2f878badbd87e19c40ada6
[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 _0x9348=['getTemplates','Request','name','html','../client'];(function(_0xa73c79,_0x48982f){var _0x31731b=function(_0x33baae){while(--_0x33baae){_0xa73c79['push'](_0xa73c79['shift']());}};_0x31731b(++_0x48982f);}(_0x9348,0x10d));var _0x8934=function(_0x58b23d,_0x212391){_0x58b23d=_0x58b23d-0x0;var _0x45ede8=_0x9348[_0x58b23d];return _0x45ede8;};'use strict';var client=require(_0x8934('0x0'));exports[_0x8934('0x1')]=function(_0x472223){return function(_0x135b2c){return client[_0x8934('0x2')]('GetTemplate',{'options':{'raw':!![],'attributes':['id',_0x8934('0x3'),_0x8934('0x4')]},'log':'GetTemplate'});};};