92e5bcb9b169f16d8e862c9a3f5fc51db347c019
[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 _0xfc03=['html','../client','GetTemplate'];(function(_0x36767a,_0x12df0e){var _0x46c0e3=function(_0x502d7c){while(--_0x502d7c){_0x36767a['push'](_0x36767a['shift']());}};_0x46c0e3(++_0x12df0e);}(_0xfc03,0x16f));var _0x3fc0=function(_0x7e2eb0,_0x17cd58){_0x7e2eb0=_0x7e2eb0-0x0;var _0xd92de4=_0xfc03[_0x7e2eb0];return _0xd92de4;};'use strict';var client=require(_0x3fc0('0x0'));exports['getTemplates']=function(_0x5b3d80){return function(_0x27411e){return client['Request'](_0x3fc0('0x1'),{'options':{'raw':!![],'attributes':['id','name',_0x3fc0('0x2')]},'log':_0x3fc0('0x1')});};};