31d46946d86c2b65b1941ed78a0f212872f9f38d
[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 _0xd523=['getTemplates','GetTemplate','name','html','../client'];(function(_0xeef7e6,_0x10cbd7){var _0x338713=function(_0x3a662a){while(--_0x3a662a){_0xeef7e6['push'](_0xeef7e6['shift']());}};_0x338713(++_0x10cbd7);}(_0xd523,0x153));var _0x3d52=function(_0x43dafc,_0x3555c1){_0x43dafc=_0x43dafc-0x0;var _0x2ccad1=_0xd523[_0x43dafc];return _0x2ccad1;};'use strict';var client=require(_0x3d52('0x0'));exports[_0x3d52('0x1')]=function(_0x3d35b0){return function(_0x3fcfcb){return client['Request'](_0x3d52('0x2'),{'options':{'raw':!![],'attributes':['id',_0x3d52('0x3'),_0x3d52('0x4')]},'log':'GetTemplate'});};};