1d12f405320efa79dfca4705d43b3302d081e904
[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 _0x0fd9=['Request','html','GetTemplate','getTemplates'];(function(_0x16c0bd,_0x9676d2){var _0x48fd60=function(_0x2e3eb3){while(--_0x2e3eb3){_0x16c0bd['push'](_0x16c0bd['shift']());}};_0x48fd60(++_0x9676d2);}(_0x0fd9,0xa3));var _0x90fd=function(_0x27beea,_0x3bc9f4){_0x27beea=_0x27beea-0x0;var _0x122645=_0x0fd9[_0x27beea];return _0x122645;};'use strict';var client=require('../client');exports[_0x90fd('0x0')]=function(_0x4380e6){return function(_0x685cd0){return client[_0x90fd('0x1')]('GetTemplate',{'options':{'raw':!![],'attributes':['id','name',_0x90fd('0x2')]},'log':_0x90fd('0x3')});};};