Built motion from commit c116dc8b.|2.6.30
[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 _0x5cc1=['getTemplates','Request','GetTemplate','name'];(function(_0x168ab3,_0x1f7e86){var _0x1c81c7=function(_0x5e138d){while(--_0x5e138d){_0x168ab3['push'](_0x168ab3['shift']());}};_0x1c81c7(++_0x1f7e86);}(_0x5cc1,0xe4));var _0x15cc=function(_0x397884,_0x36be96){_0x397884=_0x397884-0x0;var _0x455b8e=_0x5cc1[_0x397884];return _0x455b8e;};'use strict';var client=require('../client');exports[_0x15cc('0x0')]=function(_0x2e6243){return function(_0x205b10){return client[_0x15cc('0x1')](_0x15cc('0x2'),{'options':{'raw':!![],'attributes':['id',_0x15cc('0x3'),'html']},'log':'GetTemplate'});};};