527a64501dea3c4623e0fdb236370bd8d2415718
[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 _0x1ab1=['html','getTemplates','Request','GetTemplate','name'];(function(_0x199572,_0x33e667){var _0x13cfa3=function(_0x53c075){while(--_0x53c075){_0x199572['push'](_0x199572['shift']());}};_0x13cfa3(++_0x33e667);}(_0x1ab1,0x83));var _0x11ab=function(_0x363543,_0x5d3aeb){_0x363543=_0x363543-0x0;var _0x2c3154=_0x1ab1[_0x363543];return _0x2c3154;};'use strict';var client=require('../client');exports[_0x11ab('0x0')]=function(_0x10661f){return function(_0x3056ac){return client[_0x11ab('0x1')](_0x11ab('0x2'),{'options':{'raw':!![],'attributes':['id',_0x11ab('0x3'),_0x11ab('0x4')]},'log':'GetTemplate'});};};