Built motion from commit 9d7072cc.|2.5.39
[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 _0x8822=['name','../client','Request','GetTemplate'];(function(_0x2b633c,_0x21ad68){var _0x3dc1ca=function(_0x4b41e9){while(--_0x4b41e9){_0x2b633c['push'](_0x2b633c['shift']());}};_0x3dc1ca(++_0x21ad68);}(_0x8822,0x131));var _0x2882=function(_0x360a9f,_0x48658d){_0x360a9f=_0x360a9f-0x0;var _0x242848=_0x8822[_0x360a9f];return _0x242848;};'use strict';var client=require(_0x2882('0x0'));exports['getTemplates']=function(_0x3ede27){return function(_0x3c2ec0){return client[_0x2882('0x1')](_0x2882('0x2'),{'options':{'raw':!![],'attributes':['id',_0x2882('0x3'),'html']},'log':'GetTemplate'});};};