b61dda2cf158bc979e4fd10af131a6b037a1e456
[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 _0x0f6d=['../client','getTemplates','Request','GetTemplate'];(function(_0x2f3ecd,_0x57976b){var _0xffdc44=function(_0xf21bc6){while(--_0xf21bc6){_0x2f3ecd['push'](_0x2f3ecd['shift']());}};_0xffdc44(++_0x57976b);}(_0x0f6d,0x180));var _0xd0f6=function(_0x3474ac,_0x22d0f7){_0x3474ac=_0x3474ac-0x0;var _0x5345ec=_0x0f6d[_0x3474ac];return _0x5345ec;};'use strict';var client=require(_0xd0f6('0x0'));exports[_0xd0f6('0x1')]=function(_0xe28cc1){return function(_0x158328){return client[_0xd0f6('0x2')](_0xd0f6('0x3'),{'options':{'raw':!![],'attributes':['id','name','html']},'log':'GetTemplate'});};};