Built motion from commit 85328c08.|2.5.50
[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 _0xbc1d=['Request','GetTemplate','html','../client','getTemplates'];(function(_0x827009,_0x3a840f){var _0x2d55a2=function(_0x25c7f9){while(--_0x25c7f9){_0x827009['push'](_0x827009['shift']());}};_0x2d55a2(++_0x3a840f);}(_0xbc1d,0x12a));var _0xdbc1=function(_0x164760,_0x5874b0){_0x164760=_0x164760-0x0;var _0x8b91b2=_0xbc1d[_0x164760];return _0x8b91b2;};'use strict';var client=require(_0xdbc1('0x0'));exports[_0xdbc1('0x1')]=function(_0x22ccb6){return function(_0x5b6851){return client[_0xdbc1('0x2')](_0xdbc1('0x3'),{'options':{'raw':!![],'attributes':['id','name',_0xdbc1('0x4')]},'log':_0xdbc1('0x3')});};};