44d9c0ce0c3f44ea9eab204dcc43d184fbfc936a
[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 _0x96cc=['Request','GetTemplate','name','html','../client'];(function(_0x3097ab,_0x84abfa){var _0x4a7358=function(_0x13df1){while(--_0x13df1){_0x3097ab['push'](_0x3097ab['shift']());}};_0x4a7358(++_0x84abfa);}(_0x96cc,0x16c));var _0xc96c=function(_0x169d90,_0x1e8ddf){_0x169d90=_0x169d90-0x0;var _0x2b501e=_0x96cc[_0x169d90];return _0x2b501e;};'use strict';var client=require(_0xc96c('0x0'));exports['getTemplates']=function(_0x15025f){return function(_0x5f11f2){return client[_0xc96c('0x1')](_0xc96c('0x2'),{'options':{'raw':!![],'attributes':['id',_0xc96c('0x3'),_0xc96c('0x4')]},'log':_0xc96c('0x2')});};};