Built motion from commit 0900f080.|2.5.45
[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 _0x9afa=['getTemplates','Request','GetTemplate','name','html','../client'];(function(_0x1952b1,_0x5984c4){var _0x52f85b=function(_0x964308){while(--_0x964308){_0x1952b1['push'](_0x1952b1['shift']());}};_0x52f85b(++_0x5984c4);}(_0x9afa,0x1af));var _0xa9af=function(_0x56a88d,_0x351241){_0x56a88d=_0x56a88d-0x0;var _0x57b39e=_0x9afa[_0x56a88d];return _0x57b39e;};'use strict';var client=require(_0xa9af('0x0'));exports[_0xa9af('0x1')]=function(_0x2501e9){return function(_0x1fffc5){return client[_0xa9af('0x2')](_0xa9af('0x3'),{'options':{'raw':!![],'attributes':['id',_0xa9af('0x4'),_0xa9af('0x5')]},'log':_0xa9af('0x3')});};};