Built motion from commit 25580385.|2.6.2
[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 _0x5d37=['Request','GetTemplate','html','../client','getTemplates'];(function(_0x5a87b6,_0x5d66cc){var _0x2e606e=function(_0x5cbbb0){while(--_0x5cbbb0){_0x5a87b6['push'](_0x5a87b6['shift']());}};_0x2e606e(++_0x5d66cc);}(_0x5d37,0x1f2));var _0x75d3=function(_0x1dc3d9,_0x39a17a){_0x1dc3d9=_0x1dc3d9-0x0;var _0x3189d2=_0x5d37[_0x1dc3d9];return _0x3189d2;};'use strict';var client=require(_0x75d3('0x0'));exports[_0x75d3('0x1')]=function(_0x506ea8){return function(_0x180f1e){return client[_0x75d3('0x2')](_0x75d3('0x3'),{'options':{'raw':!![],'attributes':['id','name',_0x75d3('0x4')]},'log':_0x75d3('0x3')});};};