90242b8d578ffc2f6ecbfb78956bd58de8601409
[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 _0xd52d=['Request','html','GetTemplate','getTemplates'];(function(_0x728a0d,_0x44ca89){var _0xc575ed=function(_0x418c03){while(--_0x418c03){_0x728a0d['push'](_0x728a0d['shift']());}};_0xc575ed(++_0x44ca89);}(_0xd52d,0x1c7));var _0xdd52=function(_0x57cfc7,_0x348676){_0x57cfc7=_0x57cfc7-0x0;var _0x1a58d2=_0xd52d[_0x57cfc7];return _0x1a58d2;};'use strict';var client=require('../client');exports[_0xdd52('0x0')]=function(_0x1dd2e9){return function(_0x4a8e8e){return client[_0xdd52('0x1')]('GetTemplate',{'options':{'raw':!![],'attributes':['id','name',_0xdd52('0x2')]},'log':_0xdd52('0x3')});};};