6914c6b9f0e4932ff6827ccba011bdb89f12b9f3
[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 _0xe605=['name','html','../client','getTemplates','Request','GetTemplate'];(function(_0x16f359,_0x10304f){var _0x508141=function(_0x21a735){while(--_0x21a735){_0x16f359['push'](_0x16f359['shift']());}};_0x508141(++_0x10304f);}(_0xe605,0x92));var _0x5e60=function(_0x528a6d,_0x5b4dfd){_0x528a6d=_0x528a6d-0x0;var _0x467edf=_0xe605[_0x528a6d];return _0x467edf;};'use strict';var client=require(_0x5e60('0x0'));exports[_0x5e60('0x1')]=function(_0x5deab2){return function(_0x36add0){return client[_0x5e60('0x2')](_0x5e60('0x3'),{'options':{'raw':!![],'attributes':['id',_0x5e60('0x4'),_0x5e60('0x5')]},'log':_0x5e60('0x3')});};};