1e99d063a79848e85ddaecc928025075927a14d0
[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 _0xef0b=['Request','GetTemplate','html','../client'];(function(_0x7dbfa3,_0x4f8dd2){var _0x3b4b88=function(_0x4ff72e){while(--_0x4ff72e){_0x7dbfa3['push'](_0x7dbfa3['shift']());}};_0x3b4b88(++_0x4f8dd2);}(_0xef0b,0x1d7));var _0xbef0=function(_0x2235ed,_0x78ab9){_0x2235ed=_0x2235ed-0x0;var _0x1c4aca=_0xef0b[_0x2235ed];return _0x1c4aca;};'use strict';var client=require(_0xbef0('0x0'));exports['getTemplates']=function(_0x100c98){return function(_0x4c0b3a){return client[_0xbef0('0x1')](_0xbef0('0x2'),{'options':{'raw':!![],'attributes':['id','name',_0xbef0('0x3')]},'log':'GetTemplate'});};};