62f7570ba18624beef7ef21ef66a787370cf87d3
[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 _0x621a=['getTemplates','Request','name','html','GetTemplate'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x621a,0x195));var _0xa621=function(_0x5ecb26,_0xdd72bd){_0x5ecb26=_0x5ecb26-0x0;var _0x5c374a=_0x621a[_0x5ecb26];return _0x5c374a;};'use strict';var client=require('../client');exports[_0xa621('0x0')]=function(_0x3fdd01){return function(_0x3b4eeb){return client[_0xa621('0x1')]('GetTemplate',{'options':{'raw':!![],'attributes':['id',_0xa621('0x2'),_0xa621('0x3')]},'log':_0xa621('0x4')});};};