cb339d25c97ec75d607f05967ff269534db55005
[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 _0xd404=['getTemplates','Request','name','html','GetTemplate','../client'];(function(_0x51a7d9,_0x491943){var _0x348796=function(_0x5bf85d){while(--_0x5bf85d){_0x51a7d9['push'](_0x51a7d9['shift']());}};_0x348796(++_0x491943);}(_0xd404,0x15b));var _0x4d40=function(_0x40a0e5,_0x57e428){_0x40a0e5=_0x40a0e5-0x0;var _0x2db48a=_0xd404[_0x40a0e5];return _0x2db48a;};'use strict';var client=require(_0x4d40('0x0'));exports[_0x4d40('0x1')]=function(_0x5b9c2b){return function(_0xb6576c){return client[_0x4d40('0x2')]('GetTemplate',{'options':{'raw':!![],'attributes':['id',_0x4d40('0x3'),_0x4d40('0x4')]},'log':_0x4d40('0x5')});};};