5135ae6ee63a3bcfad951ae876ba9f9d59c2807e
[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 _0x4d1f=['GetTemplate','../client','getTemplates','Request'];(function(_0x5820b7,_0x5d9dca){var _0x14cf2b=function(_0x3fee49){while(--_0x3fee49){_0x5820b7['push'](_0x5820b7['shift']());}};_0x14cf2b(++_0x5d9dca);}(_0x4d1f,0x141));var _0xf4d1=function(_0x4490ae,_0x479123){_0x4490ae=_0x4490ae-0x0;var _0x114e0f=_0x4d1f[_0x4490ae];return _0x114e0f;};'use strict';var client=require(_0xf4d1('0x0'));exports[_0xf4d1('0x1')]=function(_0x2bbab3){return function(_0x33d7e4){return client[_0xf4d1('0x2')](_0xf4d1('0x3'),{'options':{'raw':!![],'attributes':['id','name','html']},'log':_0xf4d1('0x3')});};};