be768ce084f8ac21d14292246d478e07450783c3
[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 _0x41bb=['name','html','../client','getTemplates','GetTemplate'];(function(_0x10077e,_0x1e1a5e){var _0x1ff8bb=function(_0x35cc8e){while(--_0x35cc8e){_0x10077e['push'](_0x10077e['shift']());}};_0x1ff8bb(++_0x1e1a5e);}(_0x41bb,0xc5));var _0xb41b=function(_0x5d262f,_0x3c1b1c){_0x5d262f=_0x5d262f-0x0;var _0x5af9ee=_0x41bb[_0x5d262f];return _0x5af9ee;};'use strict';var client=require(_0xb41b('0x0'));exports[_0xb41b('0x1')]=function(_0x4ef2f1){return function(_0x428431){return client['Request'](_0xb41b('0x2'),{'options':{'raw':!![],'attributes':['id',_0xb41b('0x3'),_0xb41b('0x4')]},'log':_0xb41b('0x2')});};};