9deb4837908ca7b9e74b6b7df102062b266e2205
[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 _0x9354=['getTemplates','Request','GetTemplate','name','html'];(function(_0x348071,_0x4218b9){var _0x19e327=function(_0x4bfa44){while(--_0x4bfa44){_0x348071['push'](_0x348071['shift']());}};_0x19e327(++_0x4218b9);}(_0x9354,0x96));var _0x4935=function(_0x399e3b,_0x5dd3d2){_0x399e3b=_0x399e3b-0x0;var _0x28c6a4=_0x9354[_0x399e3b];return _0x28c6a4;};'use strict';var client=require('../client');exports[_0x4935('0x0')]=function(_0xc3c1f3){return function(_0x4896da){return client[_0x4935('0x1')](_0x4935('0x2'),{'options':{'raw':!![],'attributes':['id',_0x4935('0x3'),_0x4935('0x4')]},'log':'GetTemplate'});};};