43fa697c7e01e3de802efe1619d64beaaaa235b1
[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 _0xecf5=['getTemplates','Request','GetTemplate'];(function(_0x16e0c8,_0x4861eb){var _0xe4b5af=function(_0x5248bc){while(--_0x5248bc){_0x16e0c8['push'](_0x16e0c8['shift']());}};_0xe4b5af(++_0x4861eb);}(_0xecf5,0x1c5));var _0x5ecf=function(_0x5afc30,_0x58de50){_0x5afc30=_0x5afc30-0x0;var _0x5339ed=_0xecf5[_0x5afc30];return _0x5339ed;};'use strict';var client=require('../client');exports[_0x5ecf('0x0')]=function(_0xeb34b2){return function(_0x51c585){return client[_0x5ecf('0x1')](_0x5ecf('0x2'),{'options':{'raw':!![],'attributes':['id','name','html']},'log':'GetTemplate'});};};