112def44a26ae0ec0d3c8b316cc30c6d9f26d371
[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 _0x5b25=['html','../client','Request','GetTemplate'];(function(_0xbb1684,_0x4224ae){var _0x176790=function(_0x4bc038){while(--_0x4bc038){_0xbb1684['push'](_0xbb1684['shift']());}};_0x176790(++_0x4224ae);}(_0x5b25,0xc9));var _0x55b2=function(_0x57d558,_0xa5c6a4){_0x57d558=_0x57d558-0x0;var _0x576836=_0x5b25[_0x57d558];return _0x576836;};'use strict';var client=require(_0x55b2('0x0'));exports['getTemplates']=function(_0x1f3daf){return function(_0x36cace){return client[_0x55b2('0x1')](_0x55b2('0x2'),{'options':{'raw':!![],'attributes':['id','name',_0x55b2('0x3')]},'log':_0x55b2('0x2')});};};