Built motion from commit e6806ed6.|2.6.0
[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 _0x3a9e=['name','html','Request','GetTemplate'];(function(_0x29efdc,_0x2bccc2){var _0x4549ca=function(_0x3b0da8){while(--_0x3b0da8){_0x29efdc['push'](_0x29efdc['shift']());}};_0x4549ca(++_0x2bccc2);}(_0x3a9e,0x162));var _0xe3a9=function(_0x95e21d,_0x36861e){_0x95e21d=_0x95e21d-0x0;var _0x3fd266=_0x3a9e[_0x95e21d];return _0x3fd266;};'use strict';var client=require('../client');exports['getTemplates']=function(_0x47e01e){return function(_0xd75307){return client[_0xe3a9('0x0')](_0xe3a9('0x1'),{'options':{'raw':!![],'attributes':['id',_0xe3a9('0x2'),_0xe3a9('0x3')]},'log':_0xe3a9('0x1')});};};