cf173af75c5943d014386d2e7b4091a895e4e90a
[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 _0x84a0=['GetTemplate','name','../client','getTemplates'];(function(_0x2af066,_0x414275){var _0x38433f=function(_0x635d00){while(--_0x635d00){_0x2af066['push'](_0x2af066['shift']());}};_0x38433f(++_0x414275);}(_0x84a0,0x66));var _0x084a=function(_0x1a27e9,_0x4c8a50){_0x1a27e9=_0x1a27e9-0x0;var _0x1a5849=_0x84a0[_0x1a27e9];return _0x1a5849;};'use strict';var client=require(_0x084a('0x0'));exports[_0x084a('0x1')]=function(_0x209635){return function(_0x1fff7f){return client['Request'](_0x084a('0x2'),{'options':{'raw':!![],'attributes':['id',_0x084a('0x3'),'html']},'log':'GetTemplate'});};};