Built motion from commit c738b9ac.|2.6.25
[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 _0x27f4=['GetTemplate','getTemplates','Request'];(function(_0x1eced4,_0xc5070f){var _0x1a91e5=function(_0xcc3a6c){while(--_0xcc3a6c){_0x1eced4['push'](_0x1eced4['shift']());}};_0x1a91e5(++_0xc5070f);}(_0x27f4,0x14e));var _0x427f=function(_0x56d2a8,_0x5092b6){_0x56d2a8=_0x56d2a8-0x0;var _0x371652=_0x27f4[_0x56d2a8];return _0x371652;};'use strict';var client=require('../client');exports[_0x427f('0x0')]=function(_0x31717d){return function(_0x862403){return client[_0x427f('0x1')](_0x427f('0x2'),{'options':{'raw':!![],'attributes':['id','name','html']},'log':'GetTemplate'});};};