a4d895a12d720ba49e6758fff956b8f145068fb2
[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 _0xcc21=['getTemplates','GetTemplate'];(function(_0x2b6f8e,_0x462289){var _0x158411=function(_0x57f317){while(--_0x57f317){_0x2b6f8e['push'](_0x2b6f8e['shift']());}};_0x158411(++_0x462289);}(_0xcc21,0xb8));var _0x1cc2=function(_0x3b2be3,_0x3e602d){_0x3b2be3=_0x3b2be3-0x0;var _0x511b35=_0xcc21[_0x3b2be3];return _0x511b35;};'use strict';var client=require('../client');exports[_0x1cc2('0x0')]=function(_0x58c569){return function(_0x8484c5){return client['Request'](_0x1cc2('0x1'),{'options':{'raw':!![],'attributes':['id','name','html']},'log':'GetTemplate'});};};